diff options
-rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index bec55a7c1c..648c8fceb8 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -744,6 +744,7 @@ RECIPE_MAINTAINER:pn-rpcbind = "Hongxu Jia <hongxu.jia@windriver.com>" | |||
744 | RECIPE_MAINTAINER:pn-rng-tools = "Anuj Mittal <anuj.mittal@intel.com>" | 744 | RECIPE_MAINTAINER:pn-rng-tools = "Anuj Mittal <anuj.mittal@intel.com>" |
745 | RECIPE_MAINTAINER:pn-rpcsvc-proto = "Khem Raj <raj.khem@gmail.com>" | 745 | RECIPE_MAINTAINER:pn-rpcsvc-proto = "Khem Raj <raj.khem@gmail.com>" |
746 | RECIPE_MAINTAINER:pn-rpm = "Robert Yang <liezhi.yang@windriver.com>" | 746 | RECIPE_MAINTAINER:pn-rpm = "Robert Yang <liezhi.yang@windriver.com>" |
747 | RECIPE_MAINTAINER:pn-rpm-sequoia-crypto-policy = "Zoltán Böszörményi <zboszor@gmail.com>" | ||
747 | RECIPE_MAINTAINER:pn-rsync = "Yi Zhao <yi.zhao@windriver.com>" | 748 | RECIPE_MAINTAINER:pn-rsync = "Yi Zhao <yi.zhao@windriver.com>" |
748 | RECIPE_MAINTAINER:pn-rt-tests = "Unassigned <unassigned@yoctoproject.org>" | 749 | RECIPE_MAINTAINER:pn-rt-tests = "Unassigned <unassigned@yoctoproject.org>" |
749 | RECIPE_MAINTAINER:pn-ruby = "Ross Burton <ross.burton@arm.com>" | 750 | RECIPE_MAINTAINER:pn-ruby = "Ross Burton <ross.burton@arm.com>" |
diff --git a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb new file mode 100644 index 0000000000..098881e3da --- /dev/null +++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Crypto policy for rpm-sequoia" | ||
2 | HOMEPAGE = "https://gitlab.com/redhat-crypto/fedora-crypto-policies/" | ||
3 | |||
4 | LICENSE = "LGPL-2.1-or-later" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
7 | |||
8 | DEPENDS = "coreutils-native openssl-native make-native" | ||
9 | |||
10 | inherit allarch python3native | ||
11 | |||
12 | SRC_URI = "git://gitlab.com/redhat-crypto/fedora-crypto-policies.git;protocol=https;branch=master" | ||
13 | |||
14 | SRCREV = "032b418a6db842f0eab330eb5909e4604e888728" | ||
15 | UPSTREAM_CHECK_COMMITS = "1" | ||
16 | |||
17 | S = "${UNPACKDIR}/git" | ||
18 | |||
19 | do_compile () { | ||
20 | # Remove most policy variants, leave DEFAULT.pol | ||
21 | # It speeds up the build and we only need DEFAULT/rpm-sequoia. | ||
22 | rm -f $(ls -1 policies/*.pol | grep -v DEFAULT.pol) || echo nothing to delete | ||
23 | |||
24 | # Don't validate openssh policy variants. | ||
25 | # Validation may fail and these variants are not needed. | ||
26 | export OLD_OPENSSH=1 | ||
27 | |||
28 | make ASCIIDOC=echo XSLTPROC=echo | ||
29 | } | ||
30 | |||
31 | do_install () { | ||
32 | install -d -m755 ${D}${datadir}/crypto-policies/back-ends | ||
33 | install -m644 ${S}/output/DEFAULT/rpm-sequoia.txt ${D}${datadir}/crypto-policies/back-ends/rpm-sequoia.config | ||
34 | } | ||
35 | |||
36 | FILES:${PN} = "${datadir}/crypto-policies/back-ends/*" | ||
37 | |||
38 | BBCLASSEXTEND = "native" | ||