crypto-policies 20190218 master
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 19 Feb 2019 05:21:06 +0000 (23:21 -0600)
committerYaakov Selkowitz <yselkowi@redhat.com>
Tue, 19 Feb 2019 05:21:06 +0000 (23:21 -0600)
20190218-cygwin-asciidoc.patch [new file with mode: 0644]
crypto-policies.cygport [new file with mode: 0644]

diff --git a/20190218-cygwin-asciidoc.patch b/20190218-cygwin-asciidoc.patch
new file mode 100644 (file)
index 0000000..39160b9
--- /dev/null
@@ -0,0 +1,11 @@
+--- origsrc/fedora-crypto-policies/Makefile    2019-02-18 21:39:07.000000000 -0600
++++ src/fedora-crypto-policies/Makefile        2019-02-18 21:42:22.719906300 -0600
+@@ -40,7 +40,7 @@ clean:
+ %: %.txt
+       asciidoc.py -v -d manpage -b docbook $<
+-      xsltproc --nonet -o $@ /usr/share/asciidoc/docbook-xsl/manpage.xsl $@.xml
++      xsltproc --nonet -o $@ /etc/asciidoc/docbook-xsl/manpage.xsl $@.xml
+ dist:
+       rm -rf crypto-policies && git clone . crypto-policies && rm -rf crypto-policies/.git/ && tar -czf crypto-policies-git$(VERSION).tar.gz crypto-policies && rm -rf crypto-policies
diff --git a/crypto-policies.cygport b/crypto-policies.cygport
new file mode 100644 (file)
index 0000000..ad9d4a5
--- /dev/null
@@ -0,0 +1,36 @@
+GIT_URI="https://gitlab.com/redhat-crypto/fedora-crypto-policies.git"
+inherit git
+
+NAME="crypto-policies"
+VERSION=20190218
+RELEASE=1
+CATEGORY="Base"
+SUMMARY="System-wide crypto policy configuration"
+DESCRIPTION="This package provides a tool update-crypto-policies, which sets
+the policy applicable for the various cryptographic back-ends, such as SSL/TLS
+libraries. The policy set by the tool will be the default policy used by these
+back-ends unless the application user configures them otherwise."
+HOMEPAGE="https://docs.fedoraproject.org/en-US/packaging-guidelines/CryptoPolicies/"
+
+PATCH_URI="20190218-cygwin-asciidoc.patch"
+
+ARCH=noarch
+
+src_compile() {
+       lndirs
+       cd ${B}
+       cygmake
+}
+
+src_install() {
+       cd ${B}
+       cyginstall
+
+       insinto /etc/crypto-policies
+       newins default-config config
+       make_etc_defaults /etc/crypto-policies/config
+
+       echo /usr/bin/update-crypto-policies >> ${D}/etc/postinstall/${NAME}.sh
+
+       rm -f ${D}/usr/bin/fips-* ${D}/usr/share/man/man8/fips-*
+}
This page took 0.020801 seconds and 5 git commands to generate.