selinux: remove git version
PATCH 1/1 selinux: remove git version
The git version of libselinux libsemanage libsepol checkpolicy and policycoreutils are far behind the master branch and now they can not build due to the do_patch error. The current stable 2.8 version works well so we can remove them.
--- recipes-security/selinux/checkpolicy_git.bb | 6 ------ recipes-security/selinux/libselinux_git.bb | 14 -------------- recipes-security/selinux/libsemanage_git.bb | 17 ----------------- recipes-security/selinux/libsepol_git.bb | 8 -------- recipes-security/selinux/policycoreutils_git.bb | 6 ------ recipes-security/selinux/selinux_git.inc | 11 ----------- 6 files changed, 62 deletions(-) delete mode 100644 recipes-security/selinux/checkpolicy_git.bb delete mode 100644 recipes-security/selinux/libselinux_git.bb delete mode 100644 recipes-security/selinux/libsemanage_git.bb delete mode 100644 recipes-security/selinux/libsepol_git.bb delete mode 100644 recipes-security/selinux/policycoreutils_git.bb delete mode 100644 recipes-security/selinux/selinux_git.inc
recipes-security/selinux/checkpolicy_git.bb deleted +0 -6
@@ -1,6 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
recipes-security/selinux/libselinux_git.bb deleted +0 -14
@@ -1,14 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" - -SRC_URI += "\ - file://libselinux-drop-Wno-unused-but-set-variable.patch \ - file://libselinux-make-O_CLOEXEC-optional.patch \ - file://libselinux-make-SOCK_CLOEXEC-optional.patch \ - file://libselinux-define-FD_CLOEXEC-as-necessary.patch \ - file://0001-src-Makefile-fix-includedir-in-libselinux.pc.patch \ - "
recipes-security/selinux/libsemanage_git.bb deleted +0 -17
@@ -1,17 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI += "\ - file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \ - file://libsemanage-fix-path-nologin.patch \ - file://libsemanage-drop-Wno-unused-but-set-variable.patch \ - file://libsemanage-define-FD_CLOEXEC-as-necessary.patch;striplevel=2 \ - file://libsemanage-allow-to-disable-audit-support.patch \ - file://libsemanage-disable-expand-check-on-policy-load.patch \ - file://0001-src-Makefile-fix-includedir-in-libselinux.pc.patch \ - " -FILES_${PN} += "/usr/libexec"
recipes-security/selinux/libsepol_git.bb deleted +0 -8
@@ -1,8 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI += "file://0001-src-Makefile-fix-includedir-in-libsepol.pc.patch"
recipes-security/selinux/policycoreutils_git.bb deleted +0 -6
@@ -1,6 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
recipes-security/selinux/selinux_git.inc deleted +0 -11
@@ -1,11 +0,0 @@ -SRCREV = "1bac758bf6cf884c112b80545d5fc5b668fc7d71" - -SRC_URI = "git://github.com/SELinuxProject/selinux.git;protocol=http" - -include selinux_common.inc - -# ${S} is set in selinux_common above, but we need to change it here since the -# top level directory is named differently -S = "${WORKDIR}/git/${BPN}" - -DEFAULT_PREFERENCE = "-1"
Signature · 1 line
2.7.4
Hi Yi,
I'm in the process of updating a big portion of the meta-selinux layer, starting with the policy and working outward. I am planning to update these packages (and likely merge this) but I'm not merging your patch yet until everything else is sorted out.
Just wanted to follow up with you so you knew what was happening.
-J.
Quoted 122 lines · [[meta-selinux][PATCH] selinux: remove git version] On 19.04.02 (Tue 08:54) Yi…
The git version of libselinux libsemanage libsepol checkpolicy and policycoreutils are far behind the master branch and now they can not build due to the
do_patcherror. The current stable 2.8 version works well so we can remove them.Signed-off-by Yi Zhao <[email protected]>--- recipes-security/selinux/checkpolicy_git.bb | 6 ------ recipes-security/selinux/libselinux_git.bb | 14 -------------- recipes-security/selinux/libsemanage_git.bb | 17 ----------------- recipes-security/selinux/libsepol_git.bb | 8 -------- recipes-security/selinux/policycoreutils_git.bb | 6 ------ recipes-security/selinux/selinux_git.inc | 11 ----------- 6 files changed, 62 deletions(-) delete mode 100644 recipes-security/selinux/checkpolicy_git.bb delete mode 100644 recipes-security/selinux/libselinux_git.bb delete mode 100644 recipes-security/selinux/libsemanage_git.bb delete mode 100644 recipes-security/selinux/libsepol_git.bb delete mode 100644 recipes-security/selinux/policycoreutils_git.bb delete mode 100644 recipes-security/selinux/selinux_git.increcipes-security/selinux/checkpolicy_git.bb deleted +0
-6@@ -1,6 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"recipes-security/selinux/libselinux_git.bb deleted +0
-14@@ -1,14 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" - -SRC_URI += "\ - file://libselinux-drop-Wno-unused-but-set-variable.patch \ - file://libselinux-make-O_CLOEXEC-optional.patch \ - file://libselinux-make-SOCK_CLOEXEC-optional.patch \ - file://libselinux-define-FD_CLOEXEC-as-necessary.patch \ - file://0001-src-Makefile-fix-includedir-in-libselinux.pc.patch \ - "recipes-security/selinux/libsemanage_git.bb deleted +0
-17@@ -1,17 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI += "\ - file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \ - file://libsemanage-fix-path-nologin.patch \ - file://libsemanage-drop-Wno-unused-but-set-variable.patch \ - file://libsemanage-define-FD_CLOEXEC-as-necessary.patch;striplevel=2 \ - file://libsemanage-allow-to-disable-audit-support.patch \ - file://libsemanage-disable-expand-check-on-policy-load.patch \ - file://0001-src-Makefile-fix-includedir-in-libselinux.pc.patch \ - " -FILES_${PN} += "/usr/libexec"recipes-security/selinux/libsepol_git.bb deleted +0
-8@@ -1,8 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI += "file://0001-src-Makefile-fix-includedir-in-libsepol.pc.patch"recipes-security/selinux/policycoreutils_git.bb deleted +0
-6@@ -1,6 +0,0 @@ -PV = "2.7+git${SRCPV}" - -include selinux_git.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"recipes-security/selinux/selinux_git.inc deleted +0
-11@@ -1,11 +0,0 @@ -SRCREV = "1bac758bf6cf884c112b80545d5fc5b668fc7d71" - -SRC_URI = "git://github.com/SELinuxProject/selinux.git;protocol=http" - -include selinux_common.inc - -# ${S} is set in selinux_common above, but we need to change it here since the -# top level directory is named differently -S = "${WORKDIR}/git/${BPN}" - -DEFAULT_PREFERENCE = "-1"Signature · 1 line
2.7.4