This ships a crypto policy file for rpm-sequoia.

Signed-off-by: Zoltán Böszörményi <[email protected]>
---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../rpm-sequoia-crypto-policy_git.bb          | 27 +++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 
meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb

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 
<[email protected]>"
 RECIPE_MAINTAINER:pn-rng-tools = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-rpcsvc-proto = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-rpm = "Robert Yang <[email protected]>"
+RECIPE_MAINTAINER:pn-rpm-sequoia-crypto-policy = "Zoltán Böszörményi 
<[email protected]>"
 RECIPE_MAINTAINER:pn-rsync = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER:pn-rt-tests = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-ruby = "Ross Burton <[email protected]>"
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..47ca7ca6a4
--- /dev/null
+++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Crypto policy for rpm-sequoia"
+HOMEPAGE = "https://gitlab.com/redhat-crypto/fedora-crypto-policies/";
+
+LICENSE = "LGPL-2.1-or-later"
+
+LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+DEPENDS = "openssl-native asciidoc-native libxslt-native make-native"
+
+SRC_URI = 
"git://gitlab.com/redhat-crypto/fedora-crypto-policies.git;protocol=https;branch=master"
+
+# Commit ID for crypto-policies 20250124-1.git4d262e7.fc41
+SRCREV = "4d262e79be1cd15c84cad55ad88c53a2d7712e85"
+PV = "20250124"
+
+S = "${UNPACKDIR}/git"
+
+do_compile () {
+       make
+}
+
+do_install () {
+       mkdir -p ${D}${datadir}/crypto-policies/back-ends
+       install -m644 ${S}/output/DEFAULT/rpm-sequoia.txt 
${D}${datadir}/crypto-policies/back-ends/rpm-sequoia.config
+}
+
+BBCLASSEXTEND = "native"
-- 
2.48.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210898): 
https://lists.openembedded.org/g/openembedded-core/message/210898
Mute This Topic: https://lists.openembedded.org/mt/111027755/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to