diff options
18 files changed, 9 insertions, 28 deletions
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc index 0661e6c..736e67b 100644 --- a/recipes-security/refpolicy/refpolicy_common.inc +++ b/recipes-security/refpolicy/refpolicy_common.inc | |||
@@ -75,7 +75,7 @@ SRC_URI += " \ | |||
75 | file://0057-policy-modules-system-logging-make-syslogd_runtime_t.patch \ | 75 | file://0057-policy-modules-system-logging-make-syslogd_runtime_t.patch \ |
76 | " | 76 | " |
77 | 77 | ||
78 | S = "${WORKDIR}/refpolicy" | 78 | S = "${UNPACKDIR}/refpolicy" |
79 | 79 | ||
80 | CONFFILES:${PN} = "${sysconfdir}/selinux/config" | 80 | CONFFILES:${PN} = "${sysconfdir}/selinux/config" |
81 | FILES:${PN} += " \ | 81 | FILES:${PN} += " \ |
diff --git a/recipes-security/selinux-scripts/selinux-initsh.inc b/recipes-security/selinux-scripts/selinux-initsh.inc index efe7e88..1fc1ec1 100644 --- a/recipes-security/selinux-scripts/selinux-initsh.inc +++ b/recipes-security/selinux-scripts/selinux-initsh.inc | |||
@@ -1,5 +1,4 @@ | |||
1 | S ?= "${WORKDIR}/sources" | 1 | S = "${UNPACKDIR}" |
2 | UNPACKDIR = "${S}" | ||
3 | 2 | ||
4 | SECTION ?= "base" | 3 | SECTION ?= "base" |
5 | 4 | ||
diff --git a/recipes-security/selinux/checkpolicy_3.8.1.bb b/recipes-security/selinux/checkpolicy_3.8.1.bb index 60f506d..7ee9269 100644 --- a/recipes-security/selinux/checkpolicy_3.8.1.bb +++ b/recipes-security/selinux/checkpolicy_3.8.1.bb | |||
@@ -13,8 +13,6 @@ require selinux_common.inc | |||
13 | 13 | ||
14 | DEPENDS = "libsepol bison-native" | 14 | DEPENDS = "libsepol bison-native" |
15 | 15 | ||
16 | S = "${WORKDIR}/git/checkpolicy" | ||
17 | |||
18 | do_install:append() { | 16 | do_install:append() { |
19 | install test/dismod ${D}/${bindir}/sedismod | 17 | install test/dismod ${D}/${bindir}/sedismod |
20 | install test/dispol ${D}/${bindir}/sedispol | 18 | install test/dispol ${D}/${bindir}/sedispol |
diff --git a/recipes-security/selinux/libselinux-python_3.8.1.bb b/recipes-security/selinux/libselinux-python_3.8.1.bb index 3c5c489..dd0ccd2 100644 --- a/recipes-security/selinux/libselinux-python_3.8.1.bb +++ b/recipes-security/selinux/libselinux-python_3.8.1.bb | |||
@@ -17,7 +17,7 @@ SRC_URI += "\ | |||
17 | file://0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch \ | 17 | file://0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch \ |
18 | " | 18 | " |
19 | 19 | ||
20 | S = "${WORKDIR}/git/libselinux" | 20 | S = "${UNPACKDIR}/${BP}/libselinux" |
21 | 21 | ||
22 | DEPENDS = "libsepol libpcre2 swig-native python3-setuptools-scm-native" | 22 | DEPENDS = "libsepol libpcre2 swig-native python3-setuptools-scm-native" |
23 | DEPENDS:append:libc-musl = " fts" | 23 | DEPENDS:append:libc-musl = " fts" |
diff --git a/recipes-security/selinux/libselinux_3.8.1.bb b/recipes-security/selinux/libselinux_3.8.1.bb index b0dcde6..d58d646 100644 --- a/recipes-security/selinux/libselinux_3.8.1.bb +++ b/recipes-security/selinux/libselinux_3.8.1.bb | |||
@@ -15,8 +15,6 @@ SRC_URI += "\ | |||
15 | file://0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch \ | 15 | file://0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch \ |
16 | " | 16 | " |
17 | 17 | ||
18 | S = "${WORKDIR}/git/libselinux" | ||
19 | |||
20 | DEPENDS = "libsepol libpcre2" | 18 | DEPENDS = "libsepol libpcre2" |
21 | DEPENDS:append:libc-musl = " fts" | 19 | DEPENDS:append:libc-musl = " fts" |
22 | 20 | ||
diff --git a/recipes-security/selinux/libsemanage_3.8.1.bb b/recipes-security/selinux/libsemanage_3.8.1.bb index ef22957..9f825cd 100644 --- a/recipes-security/selinux/libsemanage_3.8.1.bb +++ b/recipes-security/selinux/libsemanage_3.8.1.bb | |||
@@ -20,8 +20,6 @@ DEPENDS = "libsepol libselinux python3 bison-native swig-native" | |||
20 | 20 | ||
21 | DEPENDS:append:class-target = " audit" | 21 | DEPENDS:append:class-target = " audit" |
22 | 22 | ||
23 | S = "${WORKDIR}/git/libsemanage" | ||
24 | |||
25 | EXTRA_OEMAKE:class-native = "DISABLE_AUDIT=y" | 23 | EXTRA_OEMAKE:class-native = "DISABLE_AUDIT=y" |
26 | 24 | ||
27 | PACKAGES =+ "${PN}-python" | 25 | PACKAGES =+ "${PN}-python" |
diff --git a/recipes-security/selinux/libsepol_3.8.1.bb b/recipes-security/selinux/libsepol_3.8.1.bb index 0c28e9b..0423a2a 100644 --- a/recipes-security/selinux/libsepol_3.8.1.bb +++ b/recipes-security/selinux/libsepol_3.8.1.bb | |||
@@ -11,8 +11,6 @@ require selinux_common.inc | |||
11 | 11 | ||
12 | inherit lib_package | 12 | inherit lib_package |
13 | 13 | ||
14 | S = "${WORKDIR}/git/libsepol" | ||
15 | |||
16 | DEPENDS = "flex-native" | 14 | DEPENDS = "flex-native" |
17 | 15 | ||
18 | BBCLASSEXTEND = "native" | 16 | BBCLASSEXTEND = "native" |
diff --git a/recipes-security/selinux/mcstrans_3.8.1.bb b/recipes-security/selinux/mcstrans_3.8.1.bb index 4c8aed3..964a566 100644 --- a/recipes-security/selinux/mcstrans_3.8.1.bb +++ b/recipes-security/selinux/mcstrans_3.8.1.bb | |||
@@ -22,8 +22,6 @@ EXTRA_OEMAKE = "SBINDIR=${base_sbindir} \ | |||
22 | SYSTEMDDIR=${systemd_unitdir} \ | 22 | SYSTEMDDIR=${systemd_unitdir} \ |
23 | " | 23 | " |
24 | 24 | ||
25 | S = "${WORKDIR}/git/mcstrans" | ||
26 | |||
27 | do_install:append() { | 25 | do_install:append() { |
28 | install -d ${D}${sbindir} | 26 | install -d ${D}${sbindir} |
29 | install -m 755 utils/untranscon ${D}${sbindir}/ | 27 | install -m 755 utils/untranscon ${D}${sbindir}/ |
diff --git a/recipes-security/selinux/policycoreutils_3.8.1.bb b/recipes-security/selinux/policycoreutils_3.8.1.bb index 9e59c4b..5a67c3b 100644 --- a/recipes-security/selinux/policycoreutils_3.8.1.bb +++ b/recipes-security/selinux/policycoreutils_3.8.1.bb | |||
@@ -21,8 +21,6 @@ PAM_SRC_URI = "file://pam.d/newrole \ | |||
21 | DEPENDS = "libsepol libselinux libsemanage gettext-native" | 21 | DEPENDS = "libsepol libselinux libsemanage gettext-native" |
22 | DEPENDS:append:class-target = " libcap-ng" | 22 | DEPENDS:append:class-target = " libcap-ng" |
23 | 23 | ||
24 | S = "${WORKDIR}/git/policycoreutils" | ||
25 | |||
26 | inherit selinux python3native | 24 | inherit selinux python3native |
27 | 25 | ||
28 | RDEPENDS:${PN}-fixfiles = "\ | 26 | RDEPENDS:${PN}-fixfiles = "\ |
diff --git a/recipes-security/selinux/restorecond_3.8.1.bb b/recipes-security/selinux/restorecond_3.8.1.bb index 8e57283..e3746b6 100644 --- a/recipes-security/selinux/restorecond_3.8.1.bb +++ b/recipes-security/selinux/restorecond_3.8.1.bb | |||
@@ -18,8 +18,6 @@ EXTRA_OEMAKE = "SYSTEMDSYSTEMUNITDIR=${systemd_system_unitdir} \ | |||
18 | SYSTEMDUSERUNITDIR=${systemd_user_unitdir} \ | 18 | SYSTEMDUSERUNITDIR=${systemd_user_unitdir} \ |
19 | " | 19 | " |
20 | 20 | ||
21 | S = "${WORKDIR}/git/restorecond" | ||
22 | |||
23 | FILES:${PN} += "${datadir}/dbus-1/services/org.selinux.Restorecond.service \ | 21 | FILES:${PN} += "${datadir}/dbus-1/services/org.selinux.Restorecond.service \ |
24 | ${systemd_user_unitdir}/* \ | 22 | ${systemd_user_unitdir}/* \ |
25 | " | 23 | " |
diff --git a/recipes-security/selinux/secilc_3.8.1.bb b/recipes-security/selinux/secilc_3.8.1.bb index 5e0da3f..efe046b 100644 --- a/recipes-security/selinux/secilc_3.8.1.bb +++ b/recipes-security/selinux/secilc_3.8.1.bb | |||
@@ -10,6 +10,4 @@ require selinux_common.inc | |||
10 | 10 | ||
11 | DEPENDS = "libsepol xmlto-native" | 11 | DEPENDS = "libsepol xmlto-native" |
12 | 12 | ||
13 | S = "${WORKDIR}/git/secilc" | ||
14 | |||
15 | BBCLASSEXTEND = "native" | 13 | BBCLASSEXTEND = "native" |
diff --git a/recipes-security/selinux/selinux-dbus_3.8.1.bb b/recipes-security/selinux/selinux-dbus_3.8.1.bb index b1198af..972f36a 100644 --- a/recipes-security/selinux/selinux-dbus_3.8.1.bb +++ b/recipes-security/selinux/selinux-dbus_3.8.1.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=393a5ca445f6965873eca0259a17f833" | |||
7 | 7 | ||
8 | require selinux_common.inc | 8 | require selinux_common.inc |
9 | 9 | ||
10 | S = "${WORKDIR}/git/dbus" | 10 | S = "${UNPACKDIR}/${BP}/dbus" |
11 | 11 | ||
12 | RDEPENDS:${PN} = "python3-core selinux-python-sepolicy" | 12 | RDEPENDS:${PN} = "python3-core selinux-python-sepolicy" |
13 | 13 | ||
diff --git a/recipes-security/selinux/selinux-gui_3.8.1.bb b/recipes-security/selinux/selinux-gui_3.8.1.bb index fbd5e70..22175cc 100644 --- a/recipes-security/selinux/selinux-gui_3.8.1.bb +++ b/recipes-security/selinux/selinux-gui_3.8.1.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=393a5ca445f6965873eca0259a17f833" | |||
8 | 8 | ||
9 | require selinux_common.inc | 9 | require selinux_common.inc |
10 | 10 | ||
11 | S = "${WORKDIR}/git/gui" | 11 | S = "${UNPACKDIR}/${BP}/gui" |
12 | 12 | ||
13 | DEPENDS = "gettext-native" | 13 | DEPENDS = "gettext-native" |
14 | RDEPENDS:${PN} = "python3-core" | 14 | RDEPENDS:${PN} = "python3-core" |
diff --git a/recipes-security/selinux/selinux-python_3.8.1.bb b/recipes-security/selinux/selinux-python_3.8.1.bb index e2dc932..5a4e2d6 100644 --- a/recipes-security/selinux/selinux-python_3.8.1.bb +++ b/recipes-security/selinux/selinux-python_3.8.1.bb | |||
@@ -14,7 +14,7 @@ SRC_URI += "file://fix-sepolicy-install-path.patch \ | |||
14 | file://0001-sepolicy-set-conf.substitutions-releasever-to-empty-.patch \ | 14 | file://0001-sepolicy-set-conf.substitutions-releasever-to-empty-.patch \ |
15 | " | 15 | " |
16 | 16 | ||
17 | S = "${WORKDIR}/git/python" | 17 | S = "${UNPACKDIR}/${BP}/python" |
18 | 18 | ||
19 | DEPENDS = "libsepol libselinux gettext-native python3-setuptools-scm-native" | 19 | DEPENDS = "libsepol libselinux gettext-native python3-setuptools-scm-native" |
20 | 20 | ||
diff --git a/recipes-security/selinux/selinux-sandbox_3.8.1.bb b/recipes-security/selinux/selinux-sandbox_3.8.1.bb index 2cb55d6..d0db69b 100644 --- a/recipes-security/selinux/selinux-sandbox_3.8.1.bb +++ b/recipes-security/selinux/selinux-sandbox_3.8.1.bb | |||
@@ -12,7 +12,7 @@ require selinux_common.inc | |||
12 | SRC_URI += "file://sandbox-de-bashify.patch \ | 12 | SRC_URI += "file://sandbox-de-bashify.patch \ |
13 | " | 13 | " |
14 | 14 | ||
15 | S = "${WORKDIR}/git/sandbox" | 15 | S = "${UNPACKDIR}/${BP}/sandbox" |
16 | 16 | ||
17 | DEPENDS = "libselinux libcap-ng gettext-native" | 17 | DEPENDS = "libselinux libcap-ng gettext-native" |
18 | 18 | ||
diff --git a/recipes-security/selinux/selinux_common.inc b/recipes-security/selinux/selinux_common.inc index 63b048b..c2aa3b8 100644 --- a/recipes-security/selinux/selinux_common.inc +++ b/recipes-security/selinux/selinux_common.inc | |||
@@ -3,6 +3,8 @@ HOMEPAGE = "https://github.com/SELinuxProject" | |||
3 | SRC_URI = "git://github.com/SELinuxProject/selinux.git;branch=main;protocol=https" | 3 | SRC_URI = "git://github.com/SELinuxProject/selinux.git;branch=main;protocol=https" |
4 | SRCREV = "8e9157bbeea1899b7b8b257e7eaa71efef3fffed" | 4 | SRCREV = "8e9157bbeea1899b7b8b257e7eaa71efef3fffed" |
5 | 5 | ||
6 | S = "${UNPACKDIR}/${BP}/${BPN}" | ||
7 | |||
6 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | 8 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
7 | 9 | ||
8 | do_compile() { | 10 | do_compile() { |
diff --git a/recipes-security/selinux/semodule-utils_3.8.1.bb b/recipes-security/selinux/semodule-utils_3.8.1.bb index 0c1c189..2015811 100644 --- a/recipes-security/selinux/semodule-utils_3.8.1.bb +++ b/recipes-security/selinux/semodule-utils_3.8.1.bb | |||
@@ -10,8 +10,6 @@ require selinux_common.inc | |||
10 | 10 | ||
11 | DEPENDS = "libsepol" | 11 | DEPENDS = "libsepol" |
12 | 12 | ||
13 | S = "${WORKDIR}/git/semodule-utils" | ||
14 | |||
15 | PACKAGES =+ "\ | 13 | PACKAGES =+ "\ |
16 | ${PN}-semodule-expand \ | 14 | ${PN}-semodule-expand \ |
17 | ${PN}-semodule-link \ | 15 | ${PN}-semodule-link \ |
diff --git a/recipes-security/setools/setools_4.5.1.bb b/recipes-security/setools/setools_4.5.1.bb index 723eeb0..c9d0bb3 100644 --- a/recipes-security/setools/setools_4.5.1.bb +++ b/recipes-security/setools/setools_4.5.1.bb | |||
@@ -14,8 +14,6 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=69a7b68f0a4a570d7c0c43465333ecbc \ | |||
14 | file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 14 | file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
15 | file://${S}/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" | 15 | file://${S}/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | DEPENDS = "libsepol libselinux" | 17 | DEPENDS = "libsepol libselinux" |
20 | 18 | ||
21 | RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" | 19 | RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" |