Skip to contentSkip to conversation

google-authenticator-libpam: update to 1.07

PATCH New Armpit 1 participant 3 messages Dec 22, 2019

lore
Share & tools
lore

Armpit

author
#0 lore raw

PATCH 1/3 google-authenticator-libpam: update to 1.07

---
 ...cator-libpam_1.05.bb => google-authenticator-libpam_1.07.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename recipes-security/google-authenticator-libpam/{google-authenticator-libpam_1.05.bb => google-authenticator-libpam_1.07.bb} (91%)
recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.bb renamed from recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.05.bb +1 -1
similarity index 91%
rename from recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.05.bb
rename to recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.bb
index 2181629..98f895c 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 LICENSE = "Apache-2.0"
 
 SRC_URI = "git://github.com/google/google-authenticator-libpam.git"
-SRCREV = "7365ed10d54393fb4c100cac063ae8edb744eac6"
+SRCREV = "c9280f43610ce896f91eafd0f740a4eb4dcecedd"
 
 DEPENDS = "libpam"
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/3 meta-integrity: fix issues with yocto-check-layer

---
 .../recipes-core/initrdscripts/initramfs-framework-ima.bb     | 3 +++
 .../recipes-core/packagegroups/packagegroup-ima-evm-utils.bb  | 2 +-
 meta-integrity/recipes-kernel/linux/linux-%.bbappend          | 4 ++--
 .../recipes-security/ima-evm-utils/ima-evm-utils_git.bb       | 4 +++-
 .../ima_policy_appraise_all/ima-policy-appraise-all_1.0.bb    | 3 +++
 .../ima_policy_hashed/ima-policy-hashed_1.0.bb                | 3 +++
 .../ima_policy_simple/ima-policy-simple_1.0.bb                | 3 +++
 7 files changed, 18 insertions(+), 4 deletions(-)
meta-integrity/recipes-core/initrdscripts/initramfs-framework-ima.bb +3 -0
index 95c853a..dacdc8b 100644
@@ -16,6 +16,9 @@ IMA_POLICY ?= "ima-policy-hashed"
 
 SRC_URI = " file://ima"
 
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "ima"
+
 do_install () {
     install -d ${D}/${sysconfdir}/ima
     install -d ${D}/init.d
meta-integrity/recipes-core/packagegroups/packagegroup-ima-evm-utils.bb +1 -1
index 18acc9d..bc3ebd5 100644
@@ -4,6 +4,6 @@ LICENSE = "MIT"
 inherit packagegroup
 
 # Only one at the moment, but perhaps more will come in the future.
-RDEPENDS_${PN} = " \
+RDEPENDS_${PN}_ima = " \
     ima-evm-utils \
 "
meta-integrity/recipes-kernel/linux/linux-%.bbappend +2 -2
index f9a48cd..443289b 100644
@@ -1,5 +1,5 @@
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ima", " features/ima/ima.scc", "" ,d)}"
+KERNEL_FEATURES_append_ima = " ${@bb.utils.contains("DISTRO_FEATURES", "ima", " features/ima/ima.scc", "" ,d)}"
 
-KERNEL_FEATURES_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'modsign', ' features/ima/modsign.scc', '', d)}"
+KERNEL_FEATURES_append_modsign = " ${@bb.utils.contains('DISTRO_FEATURES', 'modsign', ' features/ima/modsign.scc', '', d)}"
 
 inherit ${@bb.utils.contains('DISTRO_FEATURES', 'modsign', 'kernel-modsign', '', d)}
meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils_git.bb +3 -1
index 92c24c9..7f649c2 100644
@@ -23,7 +23,9 @@ SRC_URI += "file://command-line-apply-operation-to-all-paths.patch"
 
 S = "${WORKDIR}/git"
 
-inherit pkgconfig autotools
+inherit pkgconfig autotools features_check
+
+REQUIRED_DISTRO_FEATURES = "ima"
 
 EXTRA_OECONF_append_class-target = " --with-kernel-headers=${STAGING_KERNEL_BUILDDIR}"
 
meta-integrity/recipes-security/ima_policy_appraise_all/ima-policy-appraise-all_1.0.bb +3 -0
index b58d3fe..da62a4c 100644
@@ -9,6 +9,9 @@ IMA_POLICY ?= "ima_policy_appraise_all"
 
 SRC_URI = " file://${IMA_POLICY}"
 
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "ima"
+
 do_install () {
     install -d ${D}/${sysconfdir}/ima
     install ${WORKDIR}/${IMA_POLICY}  ${D}/${sysconfdir}/ima/ima-policy
meta-integrity/recipes-security/ima_policy_hashed/ima-policy-hashed_1.0.bb +3 -0
index 3352daa..ebb0426 100644
@@ -11,6 +11,9 @@ SRC_URI = " \
     file://${IMA_POLICY} \
 "
 
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "ima"
+
 do_install () {
     install -d ${D}/${sysconfdir}/ima
     install ${WORKDIR}/${IMA_POLICY}  ${D}/${sysconfdir}/ima/ima-policy
meta-integrity/recipes-security/ima_policy_simple/ima-policy-simple_1.0.bb +3 -0
index 17132aa..cb4b6b8 100644
@@ -9,6 +9,9 @@ IMA_POLICY ?= "ima_policy_simple"
 
 SRC_URI = " file://${IMA_POLICY}"
 
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "ima"
+
 do_install () {
     install -d ${D}/${sysconfdir}/ima
     install ${WORKDIR}/${IMA_POLICY}  ${D}/${sysconfdir}/ima/ima-policy
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/3 smack-test: add feature check for smack

In reply to Armpit
---
 recipes-mac/smack/smack-test_1.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-mac/smack/smack-test_1.0.bb +4 -0
index 7cf8f2e..d5de607 100644
@@ -12,6 +12,10 @@ SRC_URI = " \
 
 S = "${WORKDIR}"
 
+inherit features_check
+
+REQUIRED_DISTRO_FEATURES = "smack"
+
 do_install() {
     install -d ${D}${sbindir}
     install -m 0755 notroot.py ${D}${sbindir}
Signature · 1 line
2.17.1