diff options
author | Scott Murray <scott.murray@konsulko.com> | 2025-07-02 20:33:28 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2025-07-04 12:41:20 -0400 |
commit | 0272225ccdfb31a84408351c5911920a68249cc7 (patch) | |
tree | 9e05dbf9514174f91104fd10f284c6d3b4924224 | |
parent | ea67ceefdca42da806f3312c6703eff769463b8b (diff) | |
download | meta-security-0272225ccdfb31a84408351c5911920a68249cc7.tar.gz |
Adapt to S/UNPACKDIR changes
Remove or update S definitions as required to work with oe-core
S/UNPACKDIR changes.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
43 files changed, 10 insertions, 79 deletions
diff --git a/dynamic-layers/meta-perl/recipes-scanners/checksecurity/checksecurity_2.0.16.bb b/dynamic-layers/meta-perl/recipes-scanners/checksecurity/checksecurity_2.0.16.bb index bc146a9..8dfb1cc 100644 --- a/dynamic-layers/meta-perl/recipes-scanners/checksecurity/checksecurity_2.0.16.bb +++ b/dynamic-layers/meta-perl/recipes-scanners/checksecurity/checksecurity_2.0.16.bb | |||
@@ -10,8 +10,7 @@ SRC_URI = "http://ftp.de.debian.org/debian/pool/main/c/checksecurity/checksecuri | |||
10 | 10 | ||
11 | SRC_URI[sha256sum] = "9803b3760e9ec48e06ebaf48cec081db48c6fe72254a476224e4c5c55ed97fb0" | 11 | SRC_URI[sha256sum] = "9803b3760e9ec48e06ebaf48cec081db48c6fe72254a476224e4c5c55ed97fb0" |
12 | 12 | ||
13 | S = "${WORKDIR}/checksecurity-${PV}+nmu1" | 13 | S = "${UNPACKDIR}/checksecurity-${PV}+nmu1" |
14 | |||
15 | 14 | ||
16 | # allow for anylocal, no need to patch | 15 | # allow for anylocal, no need to patch |
17 | LOGDIR = "/etc/checksecurity" | 16 | LOGDIR = "/etc/checksecurity" |
diff --git a/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb b/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb index 7074f68..b95ec2d 100644 --- a/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb +++ b/dynamic-layers/meta-perl/recipes-security/bastille/bastille_3.2.1.bb | |||
@@ -35,7 +35,7 @@ SRC_URI = "http://sourceforge.net/projects/bastille-linux/files/bastille-linux/3 | |||
35 | SRC_URI[md5sum] = "df803f7e38085aa5da79f85d0539f91b" | 35 | SRC_URI[md5sum] = "df803f7e38085aa5da79f85d0539f91b" |
36 | SRC_URI[sha256sum] = "0ea25191b1dc1c8f91e1b6f8cb5436a3aa1e57418809ef902293448efed5021a" | 36 | SRC_URI[sha256sum] = "0ea25191b1dc1c8f91e1b6f8cb5436a3aa1e57418809ef902293448efed5021a" |
37 | 37 | ||
38 | S = "${WORKDIR}/Bastille" | 38 | S = "${UNPACKDIR}/Bastille" |
39 | 39 | ||
40 | do_install () { | 40 | do_install () { |
41 | install -d ${D}${sbindir} | 41 | install -d ${D}${sbindir} |
diff --git a/dynamic-layers/meta-perl/recipes-security/nikto/nikto_2.1.6.bb b/dynamic-layers/meta-perl/recipes-security/nikto/nikto_2.1.6.bb index 8c21b30..6d83265 100644 --- a/dynamic-layers/meta-perl/recipes-security/nikto/nikto_2.1.6.bb +++ b/dynamic-layers/meta-perl/recipes-security/nikto/nikto_2.1.6.bb | |||
@@ -10,7 +10,7 @@ SRCREV = "f1bbd1a8756c076c8fd4f4dd0bc34a8ef215ae79" | |||
10 | SRC_URI = "git://github.com/sullo/nikto.git;branch=master;protocol=https \ | 10 | SRC_URI = "git://github.com/sullo/nikto.git;branch=master;protocol=https \ |
11 | file://location.patch" | 11 | file://location.patch" |
12 | 12 | ||
13 | S = "${WORKDIR}/git/program" | 13 | S = "${UNPACKDIR}/${BP}/program" |
14 | 14 | ||
15 | do_install() { | 15 | do_install() { |
16 | install -d ${D}${bindir} | 16 | install -d ${D}${bindir} |
diff --git a/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_git.bb b/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_git.bb index 52d35f8..7312bf8 100644 --- a/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_git.bb +++ b/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_git.bb | |||
@@ -26,8 +26,6 @@ inherit systemd | |||
26 | 26 | ||
27 | SYSTEMD_SERVICE:${PN} = "fail2ban.service" | 27 | SYSTEMD_SERVICE:${PN} = "fail2ban.service" |
28 | 28 | ||
29 | S = "${UNPACKDIR}/git" | ||
30 | |||
31 | do_install:append () { | 29 | do_install:append () { |
32 | rm -f ${D}/${bindir}/fail2ban-python | 30 | rm -f ${D}/${bindir}/fail2ban-python |
33 | install -d ${D}/${sysconfdir}/fail2ban | 31 | install -d ${D}/${sysconfdir}/fail2ban |
diff --git a/meta-tpm/recipes-tpm/libtpm/libtpms_0.10.0.bb b/meta-tpm/recipes-tpm/libtpm/libtpms_0.10.0.bb index 55a4c01..3727bb3 100644 --- a/meta-tpm/recipes-tpm/libtpm/libtpms_0.10.0.bb +++ b/meta-tpm/recipes-tpm/libtpm/libtpms_0.10.0.bb | |||
@@ -7,7 +7,6 @@ SRC_URI = "git://github.com/stefanberger/libtpms.git;branch=stable-0.10;protocol | |||
7 | 7 | ||
8 | PE = "2" | 8 | PE = "2" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | inherit autotools-brokensep pkgconfig perlnative | 10 | inherit autotools-brokensep pkgconfig perlnative |
12 | 11 | ||
13 | PACKAGECONFIG ?= "openssl" | 12 | PACKAGECONFIG ?= "openssl" |
diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb index c7159e0..d5470f4 100644 --- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.10.0.bb | |||
@@ -10,8 +10,6 @@ SRCREV = "54f4bb1e702a8b80d990ca00b6f72d5031dd131a" | |||
10 | SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.10;protocol=https" | 10 | SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.10;protocol=https" |
11 | PE = "2" | 11 | PE = "2" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | PARALLEL_MAKE = "" | 13 | PARALLEL_MAKE = "" |
16 | inherit autotools pkgconfig perlnative | 14 | inherit autotools pkgconfig perlnative |
17 | 15 | ||
diff --git a/meta-tpm/recipes-tpm1/hoth/libhoth_git.bb b/meta-tpm/recipes-tpm1/hoth/libhoth_git.bb index df1dc04..9d29f78 100644 --- a/meta-tpm/recipes-tpm1/hoth/libhoth_git.bb +++ b/meta-tpm/recipes-tpm1/hoth/libhoth_git.bb | |||
@@ -11,7 +11,5 @@ SRCREV = "e4827163741e0804f12ac96c81b8e97649be6795" | |||
11 | 11 | ||
12 | DEPENDS += "libusb1" | 12 | DEPENDS += "libusb1" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit pkgconfig meson | 14 | inherit pkgconfig meson |
17 | 15 | ||
diff --git a/meta-tpm/recipes-tpm1/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb b/meta-tpm/recipes-tpm1/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb index e3e643e..b792151 100644 --- a/meta-tpm/recipes-tpm1/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb +++ b/meta-tpm/recipes-tpm1/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb | |||
@@ -17,8 +17,6 @@ SRC_URI = "\ | |||
17 | " | 17 | " |
18 | SRCREV = "b28de5065e6eb9aa5d5afe2276904f7624c2cbaf" | 18 | SRCREV = "b28de5065e6eb9aa5d5afe2276904f7624c2cbaf" |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit autotools-brokensep pkgconfig | 20 | inherit autotools-brokensep pkgconfig |
23 | 21 | ||
24 | # The definitions below are used to decrypt the srk password. | 22 | # The definitions below are used to decrypt the srk password. |
diff --git a/meta-tpm/recipes-tpm1/pcr-extend/pcr-extend_git.bb b/meta-tpm/recipes-tpm1/pcr-extend/pcr-extend_git.bb index 2e5814b..efd8181 100644 --- a/meta-tpm/recipes-tpm1/pcr-extend/pcr-extend_git.bb +++ b/meta-tpm/recipes-tpm1/pcr-extend/pcr-extend_git.bb | |||
@@ -14,8 +14,6 @@ SRC_URI = "git://github.com/flihp/pcr-extend.git;branch=master;protocol=https \ | |||
14 | 14 | ||
15 | inherit autotools | 15 | inherit autotools |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | do_configure[noexec] = "1" | 17 | do_configure[noexec] = "1" |
20 | 18 | ||
21 | do_compile() { | 19 | do_compile() { |
diff --git a/meta-tpm/recipes-tpm1/tpm-quote-tools/tpm-quote-tools_1.0.4.bb b/meta-tpm/recipes-tpm1/tpm-quote-tools/tpm-quote-tools_1.0.4.bb index 4672bba..4b82faf 100644 --- a/meta-tpm/recipes-tpm1/tpm-quote-tools/tpm-quote-tools_1.0.4.bb +++ b/meta-tpm/recipes-tpm1/tpm-quote-tools/tpm-quote-tools_1.0.4.bb | |||
@@ -18,5 +18,4 @@ DEPENDS = "libtspi tpm-tools" | |||
18 | SRC_URI = "git://git.code.sf.net/p/tpmquotetools/tpm-quote-tools;branch=master" | 18 | SRC_URI = "git://git.code.sf.net/p/tpmquotetools/tpm-quote-tools;branch=master" |
19 | SRCREV = "4511874d5c9b4504bb96e94f8a14bd6c39a36295" | 19 | SRCREV = "4511874d5c9b4504bb96e94f8a14bd6c39a36295" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | ||
22 | inherit autotools | 21 | inherit autotools |
diff --git a/meta-tpm/recipes-tpm1/tpm-tools/tpm-tools_1.3.9.2.bb b/meta-tpm/recipes-tpm1/tpm-tools/tpm-tools_1.3.9.2.bb index 816f382..6d911c9 100644 --- a/meta-tpm/recipes-tpm1/tpm-tools/tpm-tools_1.3.9.2.bb +++ b/meta-tpm/recipes-tpm1/tpm-tools/tpm-tools_1.3.9.2.bb | |||
@@ -22,8 +22,6 @@ SRC_URI = " \ | |||
22 | 22 | ||
23 | inherit autotools-brokensep gettext | 23 | inherit autotools-brokensep gettext |
24 | 24 | ||
25 | S = "${UNPACKDIR}/git" | ||
26 | |||
27 | # Compile failing with gcc-14 | 25 | # Compile failing with gcc-14 |
28 | CFLAGS += " -Wno-incompatible-pointer-types -Wno-stringop-truncation -Wno-error=implicit-function-declaration" | 26 | CFLAGS += " -Wno-incompatible-pointer-types -Wno-stringop-truncation -Wno-error=implicit-function-declaration" |
29 | BUILD_CFLAGS += " -Wno-incompatible-pointer-types -Wno-stringop-truncation -Wno-error=implicit-function-declaration" | 27 | BUILD_CFLAGS += " -Wno-incompatible-pointer-types -Wno-stringop-truncation -Wno-error=implicit-function-declaration" |
diff --git a/meta-tpm/recipes-tpm1/trousers/trousers_git.bb b/meta-tpm/recipes-tpm1/trousers/trousers_git.bb index 44a4ee6..abbb436 100644 --- a/meta-tpm/recipes-tpm1/trousers/trousers_git.bb +++ b/meta-tpm/recipes-tpm1/trousers/trousers_git.bb | |||
@@ -18,8 +18,6 @@ SRC_URI = " \ | |||
18 | file://0001-build-don-t-override-localstatedir-mandir-sysconfdir.patch \ | 18 | file://0001-build-don-t-override-localstatedir-mandir-sysconfdir.patch \ |
19 | " | 19 | " |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | inherit autotools pkgconfig useradd update-rc.d ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} | 21 | inherit autotools pkgconfig useradd update-rc.d ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} |
24 | 22 | ||
25 | PACKAGECONFIG ?= "gmp " | 23 | PACKAGECONFIG ?= "gmp " |
diff --git a/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_183-2024-03-27.bb b/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_183-2024-03-27.bb index 7ed9569..64df708 100644 --- a/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_183-2024-03-27.bb +++ b/meta-tpm/recipes-tpm2/ibmswtpm2/ibmswtpm2_183-2024-03-27.bb | |||
@@ -23,7 +23,7 @@ SRCREV = "c37c74438429e1d5fe465232e7bf894b239a2cd4" | |||
23 | 23 | ||
24 | UPSTREAM_CHECK_GITTAGREGEX = "rev(?P<pver>\d+(\-\d+)+)" | 24 | UPSTREAM_CHECK_GITTAGREGEX = "rev(?P<pver>\d+(\-\d+)+)" |
25 | 25 | ||
26 | S = "${WORKDIR}/git/src" | 26 | S = "${UNPACKDIR}/${BP}/src" |
27 | 27 | ||
28 | CFLAGS += "-Wno-error=maybe-uninitialized" | 28 | CFLAGS += "-Wno-error=maybe-uninitialized" |
29 | 29 | ||
diff --git a/meta-tpm/recipes-tpm2/ibmtpm2tss/ibmtpm2tss_2.2.0.bb b/meta-tpm/recipes-tpm2/ibmtpm2tss/ibmtpm2tss_2.2.0.bb index 8e941d1..797222e 100644 --- a/meta-tpm/recipes-tpm2/ibmtpm2tss/ibmtpm2tss_2.2.0.bb +++ b/meta-tpm/recipes-tpm2/ibmtpm2tss/ibmtpm2tss_2.2.0.bb | |||
@@ -25,5 +25,3 @@ SRCREV = "0b9d77e304f68228b13b20ff0d72b0c16ffd2651" | |||
25 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 25 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
26 | 26 | ||
27 | EXTRA_OECONF = "--disable-tpm-1.2" | 27 | EXTRA_OECONF = "--disable-tpm-1.2" |
28 | |||
29 | S = "${WORKDIR}/git" | ||
diff --git a/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb b/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb index 9c60e2b..09bbef2 100644 --- a/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb +++ b/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | |||
@@ -14,8 +14,6 @@ SRCREV = "0241b08f069f0fdb3612f5c1b938144dbe9be811" | |||
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases" | 15 | UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
20 | 18 | ||
21 | EFIDIR ?= "/EFI/BOOT" | 19 | EFIDIR ?= "/EFI/BOOT" |
diff --git a/meta-tpm/recipes-tpm2/tpm2-totp/tpm2-totp_0.3.0.bb b/meta-tpm/recipes-tpm2/tpm2-totp/tpm2-totp_0.3.0.bb index d324e33..9c9f4c5 100644 --- a/meta-tpm/recipes-tpm2/tpm2-totp/tpm2-totp_0.3.0.bb +++ b/meta-tpm/recipes-tpm2/tpm2-totp/tpm2-totp_0.3.0.bb | |||
@@ -13,5 +13,3 @@ SRCREV = "96a1448753a48974149003bc90ea3990ae8e8d0b" | |||
13 | SRC_URI = "git://github.com/tpm2-software/tpm2-totp.git;branch=master;protocol=https" | 13 | SRC_URI = "git://github.com/tpm2-software/tpm2-totp.git;branch=master;protocol=https" |
14 | 14 | ||
15 | inherit autotools-brokensep pkgconfig | 15 | inherit autotools-brokensep pkgconfig |
16 | |||
17 | S = "${WORKDIR}/git" | ||
diff --git a/recipes-compliance/openscap/openscap_1.4.1.bb b/recipes-compliance/openscap/openscap_1.4.1.bb index 47034ad..3e5f00a 100644 --- a/recipes-compliance/openscap/openscap_1.4.1.bb +++ b/recipes-compliance/openscap/openscap_1.4.1.bb | |||
@@ -15,8 +15,6 @@ SRC_URI = "git://github.com/OpenSCAP/openscap.git;branch=main;protocol=https \ | |||
15 | 15 | ||
16 | SRCREV = "23a8ea3de3c4fd6017db4067675a81287177166e" | 16 | SRCREV = "23a8ea3de3c4fd6017db4067675a81287177166e" |
17 | 17 | ||
18 | S = "${UNPACKDIR}/git" | ||
19 | |||
20 | inherit cmake pkgconfig python3native python3targetconfig perlnative systemd | 18 | inherit cmake pkgconfig python3native python3targetconfig perlnative systemd |
21 | 19 | ||
22 | PACKAGECONFIG ?= "python3 rpm perl gcrypt ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | 20 | PACKAGECONFIG ?= "python3 rpm perl gcrypt ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" |
diff --git a/recipes-compliance/scap-security-guide/scap-security-guide_0.1.76.bb b/recipes-compliance/scap-security-guide/scap-security-guide_0.1.76.bb index 25309c7..d5a9406 100644 --- a/recipes-compliance/scap-security-guide/scap-security-guide_0.1.76.bb +++ b/recipes-compliance/scap-security-guide/scap-security-guide_0.1.76.bb | |||
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/ComplianceAsCode/content.git;branch=stable;protocol= | |||
15 | 15 | ||
16 | DEPENDS = "openscap-native python3-pyyaml-native python3-jinja2-native libxml2-native expat-native coreutils-native" | 16 | DEPENDS = "openscap-native python3-pyyaml-native python3-jinja2-native libxml2-native expat-native coreutils-native" |
17 | 17 | ||
18 | S = "${UNPACKDIR}/git" | ||
19 | B = "${S}/build" | 18 | B = "${S}/build" |
20 | 19 | ||
21 | inherit cmake pkgconfig python3native python3targetconfig ptest | 20 | inherit cmake pkgconfig python3native python3targetconfig ptest |
diff --git a/recipes-ids/crowdsec/crowdsec_1.1.1.bb b/recipes-ids/crowdsec/crowdsec_1.1.1.bb index deccecf..fa13e9d 100644 --- a/recipes-ids/crowdsec/crowdsec_1.1.1.bb +++ b/recipes-ids/crowdsec/crowdsec_1.1.1.bb | |||
@@ -12,8 +12,6 @@ GO_IMPORT = "import" | |||
12 | 12 | ||
13 | inherit go | 13 | inherit go |
14 | 14 | ||
15 | S = "${UNPACKDIR}/git" | ||
16 | |||
17 | do_compile() { | 15 | do_compile() { |
18 | export GOARCH="${TARGET_GOARCH}" | 16 | export GOARCH="${TARGET_GOARCH}" |
19 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | 17 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" |
diff --git a/recipes-ids/ossec/ossec-hids_3.7.0.bb b/recipes-ids/ossec/ossec-hids_3.7.0.bb index d9f5121..f8ee993 100644 --- a/recipes-ids/ossec/ossec-hids_3.7.0.bb +++ b/recipes-ids/ossec/ossec-hids_3.7.0.bb | |||
@@ -15,9 +15,6 @@ UPSTREAM_CHECK_COMMITS = "1" | |||
15 | 15 | ||
16 | inherit autotools-brokensep useradd | 16 | inherit autotools-brokensep useradd |
17 | 17 | ||
18 | S = "${UNPACKDIR}/git" | ||
19 | |||
20 | |||
21 | OSSEC_DIR = "/var/ossec" | 18 | OSSEC_DIR = "/var/ossec" |
22 | OSSEC_UID ?= "ossec" | 19 | OSSEC_UID ?= "ossec" |
23 | OSSEC_RUID ?= "ossecr" | 20 | OSSEC_RUID ?= "ossecr" |
diff --git a/recipes-ids/suricata/libhtp_0.5.50.bb b/recipes-ids/suricata/libhtp_0.5.50.bb index 3a795ae..7695539 100644 --- a/recipes-ids/suricata/libhtp_0.5.50.bb +++ b/recipes-ids/suricata/libhtp_0.5.50.bb | |||
@@ -13,10 +13,6 @@ inherit autotools-brokensep pkgconfig | |||
13 | 13 | ||
14 | CFLAGS += "-D_DEFAULT_SOURCE" | 14 | CFLAGS += "-D_DEFAULT_SOURCE" |
15 | 15 | ||
16 | #S = "${UNPACKDIR}/suricata-${VER}/${BPN}" | ||
17 | |||
18 | S = "${UNPACKDIR}/git" | ||
19 | |||
20 | do_configure () { | 16 | do_configure () { |
21 | cd ${S} | 17 | cd ${S} |
22 | ./autogen.sh | 18 | ./autogen.sh |
diff --git a/recipes-ids/tripwire/tripwire_2.4.3.7.bb b/recipes-ids/tripwire/tripwire_2.4.3.7.bb index 3c85027..e2968e4 100644 --- a/recipes-ids/tripwire/tripwire_2.4.3.7.bb +++ b/recipes-ids/tripwire/tripwire_2.4.3.7.bb | |||
@@ -19,8 +19,6 @@ SRC_URI = "\ | |||
19 | file://run-ptest \ | 19 | file://run-ptest \ |
20 | " | 20 | " |
21 | 21 | ||
22 | S = "${UNPACKDIR}/git" | ||
23 | |||
24 | inherit autotools-brokensep update-rc.d ptest | 22 | inherit autotools-brokensep update-rc.d ptest |
25 | 23 | ||
26 | INITSCRIPT_NAME = "tripwire" | 24 | INITSCRIPT_NAME = "tripwire" |
diff --git a/recipes-kernel/lkrg/lkrg-module_0.9.7.bb b/recipes-kernel/lkrg/lkrg-module_0.9.7.bb index 20982a8..85a9644 100644 --- a/recipes-kernel/lkrg/lkrg-module_0.9.7.bb +++ b/recipes-kernel/lkrg/lkrg-module_0.9.7.bb | |||
@@ -13,8 +13,6 @@ SRC_URI = "git://github.com/lkrg-org/lkrg.git;protocol=https;branch=main" | |||
13 | 13 | ||
14 | SRCREV = "5dc5cfea1f4dc8febdd5274d99e277c17df06acc" | 14 | SRCREV = "5dc5cfea1f4dc8febdd5274d99e277c17df06acc" |
15 | 15 | ||
16 | S = "${UNPACKDIR}/git" | ||
17 | |||
18 | inherit module kernel-module-split | 16 | inherit module kernel-module-split |
19 | 17 | ||
20 | MAKE_TARGETS = "modules" | 18 | MAKE_TARGETS = "modules" |
diff --git a/recipes-mac/AppArmor/apparmor_4.0.3.bb b/recipes-mac/AppArmor/apparmor_4.0.3.bb index 06a5010..9983157 100644 --- a/recipes-mac/AppArmor/apparmor_4.0.3.bb +++ b/recipes-mac/AppArmor/apparmor_4.0.3.bb | |||
@@ -23,7 +23,6 @@ SRC_URI = " \ | |||
23 | " | 23 | " |
24 | 24 | ||
25 | SRCREV = "b4dfdf50f50ed1d64161424d036a2453645f0cfe" | 25 | SRCREV = "b4dfdf50f50ed1d64161424d036a2453645f0cfe" |
26 | S = "${UNPACKDIR}/git" | ||
27 | 26 | ||
28 | PARALLEL_MAKE = "" | 27 | PARALLEL_MAKE = "" |
29 | 28 | ||
diff --git a/recipes-mac/smack/mmap-smack-test_1.0.bb b/recipes-mac/smack/mmap-smack-test_1.0.bb index b11fbf3..df2896c 100644 --- a/recipes-mac/smack/mmap-smack-test_1.0.bb +++ b/recipes-mac/smack/mmap-smack-test_1.0.bb | |||
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
5 | 5 | ||
6 | SRC_URI = "file://mmap.c" | 6 | SRC_URI = "file://mmap.c" |
7 | 7 | ||
8 | S = "${WORKDIR}/sources" | 8 | S = "${UNPACKDIR}" |
9 | UNPACKDIR = "${S}" | ||
10 | 9 | ||
11 | do_compile() { | 10 | do_compile() { |
12 | ${CC} mmap.c ${LDFLAGS} -o mmap_test | 11 | ${CC} mmap.c ${LDFLAGS} -o mmap_test |
diff --git a/recipes-mac/smack/smack-test_1.0.bb b/recipes-mac/smack/smack-test_1.0.bb index 0949cd5..4a581ee 100644 --- a/recipes-mac/smack/smack-test_1.0.bb +++ b/recipes-mac/smack/smack-test_1.0.bb | |||
@@ -10,8 +10,7 @@ SRC_URI = " \ | |||
10 | file://test_smack_onlycap.sh \ | 10 | file://test_smack_onlycap.sh \ |
11 | " | 11 | " |
12 | 12 | ||
13 | S = "${WORKDIR}/sources" | 13 | S = "${UNPACKDIR}" |
14 | UNPACKDIR = "${S}" | ||
15 | 14 | ||
16 | inherit features_check | 15 | inherit features_check |
17 | 16 | ||
diff --git a/recipes-mac/smack/smack_1.3.1.bb b/recipes-mac/smack/smack_1.3.1.bb index 7b20e6b..99f79b7 100644 --- a/recipes-mac/smack/smack_1.3.1.bb +++ b/recipes-mac/smack/smack_1.3.1.bb | |||
@@ -23,9 +23,6 @@ inherit features_check | |||
23 | 23 | ||
24 | REQUIRED_DISTRO_FEATURES = "smack" | 24 | REQUIRED_DISTRO_FEATURES = "smack" |
25 | 25 | ||
26 | |||
27 | S = "${WORKDIR}/git" | ||
28 | |||
29 | PACKAGECONFIG ??= "" | 26 | PACKAGECONFIG ??= "" |
30 | PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 27 | PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
31 | 28 | ||
diff --git a/recipes-mac/smack/tcp-smack-test_1.0.bb b/recipes-mac/smack/tcp-smack-test_1.0.bb index 370905d..8b7704f 100644 --- a/recipes-mac/smack/tcp-smack-test_1.0.bb +++ b/recipes-mac/smack/tcp-smack-test_1.0.bb | |||
@@ -8,8 +8,7 @@ SRC_URI = "file://tcp_server.c \ | |||
8 | file://test_smack_tcp_sockets.sh \ | 8 | file://test_smack_tcp_sockets.sh \ |
9 | " | 9 | " |
10 | 10 | ||
11 | S = "${WORKDIR}/sources" | 11 | S = "${UNPACKDIR}" |
12 | UNPACKDIR = "${S}" | ||
13 | 12 | ||
14 | do_compile() { | 13 | do_compile() { |
15 | ${CC} tcp_client.c ${LDFLAGS} -o tcp_client | 14 | ${CC} tcp_client.c ${LDFLAGS} -o tcp_client |
diff --git a/recipes-mac/smack/udp-smack-test_1.0.bb b/recipes-mac/smack/udp-smack-test_1.0.bb index 861138d..1a2e011 100644 --- a/recipes-mac/smack/udp-smack-test_1.0.bb +++ b/recipes-mac/smack/udp-smack-test_1.0.bb | |||
@@ -8,8 +8,7 @@ SRC_URI = "file://udp_server.c \ | |||
8 | file://test_smack_udp_sockets.sh \ | 8 | file://test_smack_udp_sockets.sh \ |
9 | " | 9 | " |
10 | 10 | ||
11 | S = "${WORKDIR}/sources" | 11 | S = "${UNPACKDIR}" |
12 | UNPACKDIR = "${S}" | ||
13 | 12 | ||
14 | do_compile() { | 13 | do_compile() { |
15 | ${CC} udp_client.c ${LDFLAGS} -o udp_client | 14 | ${CC} udp_client.c ${LDFLAGS} -o udp_client |
diff --git a/recipes-scanners/checksec/checksec_2.6.0.bb b/recipes-scanners/checksec/checksec_2.6.0.bb index 4767239..192e249 100644 --- a/recipes-scanners/checksec/checksec_2.6.0.bb +++ b/recipes-scanners/checksec/checksec_2.6.0.bb | |||
@@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=879b2147c754bc040c29e9c3b84da836" | |||
9 | SRCREV = "2753ebb89fcdc96433ae8a4c4e5a49214a845be2" | 9 | SRCREV = "2753ebb89fcdc96433ae8a4c4e5a49214a845be2" |
10 | SRC_URI = "git://github.com/slimm609/checksec.sh;branch=main;protocol=https" | 10 | SRC_URI = "git://github.com/slimm609/checksec.sh;branch=main;protocol=https" |
11 | 11 | ||
12 | S = "${UNPACKDIR}/git" | ||
13 | |||
14 | do_install() { | 12 | do_install() { |
15 | install -d ${D}${bindir} | 13 | install -d ${D}${bindir} |
16 | install -m 0755 ${S}/checksec ${D}${bindir} | 14 | install -m 0755 ${S}/checksec ${D}${bindir} |
diff --git a/recipes-scanners/clamav/clamav_0.104.4.bb b/recipes-scanners/clamav/clamav_0.104.4.bb index 48cc75c..7b81fd0 100644 --- a/recipes-scanners/clamav/clamav_0.104.4.bb +++ b/recipes-scanners/clamav/clamav_0.104.4.bb | |||
@@ -21,7 +21,6 @@ SRC_URI = "git://github.com/Cisco-Talos/clamav;branch=rel/0.104;protocol=https \ | |||
21 | file://headers_fixup.patch \ | 21 | file://headers_fixup.patch \ |
22 | file://oe_cmake_fixup.patch \ | 22 | file://oe_cmake_fixup.patch \ |
23 | " | 23 | " |
24 | S = "${UNPACKDIR}/git" | ||
25 | 24 | ||
26 | LEAD_SONAME = "libclamav.so" | 25 | LEAD_SONAME = "libclamav.so" |
27 | SO_VER = "9.6.0" | 26 | SO_VER = "9.6.0" |
diff --git a/recipes-security/Firejail/firejail_0.9.72.bb b/recipes-security/Firejail/firejail_0.9.72.bb index 10023c1..cf0190d 100644 --- a/recipes-security/Firejail/firejail_0.9.72.bb +++ b/recipes-security/Firejail/firejail_0.9.72.bb | |||
@@ -16,8 +16,6 @@ SRC_URI = "git://github.com/netblue30/firejail.git;protocol=https;branch=master | |||
16 | 16 | ||
17 | DEPENDS = "libseccomp" | 17 | DEPENDS = "libseccomp" |
18 | 18 | ||
19 | S = "${UNPACKDIR}/git" | ||
20 | |||
21 | inherit autotools-brokensep pkgconfig bash-completion features_check | 19 | inherit autotools-brokensep pkgconfig bash-completion features_check |
22 | 20 | ||
23 | REQUIRED_DISTRO_FEATURES = "seccomp" | 21 | REQUIRED_DISTRO_FEATURES = "seccomp" |
diff --git a/recipes-security/chipsec/chipsec_1.9.1.bb b/recipes-security/chipsec/chipsec_1.9.1.bb index 213b047..ef293bc 100644 --- a/recipes-security/chipsec/chipsec_1.9.1.bb +++ b/recipes-security/chipsec/chipsec_1.9.1.bb | |||
@@ -12,8 +12,6 @@ DEPENDS = "virtual/kernel nasm-native" | |||
12 | SRC_URI = "git://github.com/chipsec/chipsec.git;branch=main;protocol=https" | 12 | SRC_URI = "git://github.com/chipsec/chipsec.git;branch=main;protocol=https" |
13 | SRCREV = "d8c2a606bf440c32196c6289a7a458f3ae3107cc" | 13 | SRCREV = "d8c2a606bf440c32196c6289a7a458f3ae3107cc" |
14 | 14 | ||
15 | S = "${UNPACKDIR}/git" | ||
16 | |||
17 | inherit module setuptools3 | 15 | inherit module setuptools3 |
18 | 16 | ||
19 | EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'" | 17 | EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'" |
diff --git a/recipes-security/fscrypt/fscrypt_1.1.0.bb b/recipes-security/fscrypt/fscrypt_1.1.0.bb index c620c6e..6ccb8fe 100644 --- a/recipes-security/fscrypt/fscrypt_1.1.0.bb +++ b/recipes-security/fscrypt/fscrypt_1.1.0.bb | |||
@@ -20,8 +20,6 @@ inherit go goarch features_check | |||
20 | 20 | ||
21 | REQUIRED_DISTRO_FEATURES = "pam" | 21 | REQUIRED_DISTRO_FEATURES = "pam" |
22 | 22 | ||
23 | S = "${UNPACKDIR}/git" | ||
24 | |||
25 | do_compile() { | 23 | do_compile() { |
26 | export GOARCH=${TARGET_GOARCH} | 24 | export GOARCH=${TARGET_GOARCH} |
27 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | 25 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" |
diff --git a/recipes-security/fscryptctl/fscryptctl_1.1.0.bb b/recipes-security/fscryptctl/fscryptctl_1.1.0.bb index cf03a18..edd6943 100644 --- a/recipes-security/fscryptctl/fscryptctl_1.1.0.bb +++ b/recipes-security/fscryptctl/fscryptctl_1.1.0.bb | |||
@@ -12,8 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
12 | SRCREV = "7c80c73c084ce9ea49a03b814dac7a82fd7b4c23" | 12 | SRCREV = "7c80c73c084ce9ea49a03b814dac7a82fd7b4c23" |
13 | SRC_URI = "git://github.com/google/fscryptctl.git;branch=master;protocol=https" | 13 | SRC_URI = "git://github.com/google/fscryptctl.git;branch=master;protocol=https" |
14 | 14 | ||
15 | S = "${UNPACKDIR}/git" | ||
16 | |||
17 | do_compile:prepend() { | 15 | do_compile:prepend() { |
18 | sed -i 's/fscryptctl\.1//g' ${S}/Makefile | 16 | sed -i 's/fscryptctl\.1//g' ${S}/Makefile |
19 | sed -i 's/install-man//g' ${S}/Makefile | 17 | sed -i 's/install-man//g' ${S}/Makefile |
diff --git a/recipes-security/glome/glome_git.bb b/recipes-security/glome/glome_git.bb index b99239e..5a0300f 100644 --- a/recipes-security/glome/glome_git.bb +++ b/recipes-security/glome/glome_git.bb | |||
@@ -10,7 +10,6 @@ inherit meson pkgconfig | |||
10 | 10 | ||
11 | DEPENDS += "openssl" | 11 | DEPENDS += "openssl" |
12 | 12 | ||
13 | S = "${UNPACKDIR}/git" | ||
14 | SRC_URI = "git://github.com/google/glome.git;branch=master;protocol=https" | 13 | SRC_URI = "git://github.com/google/glome.git;branch=master;protocol=https" |
15 | SRCREV = "48d28f82bd51ae4bccc84fbbee93c375b026596b" | 14 | SRCREV = "48d28f82bd51ae4bccc84fbbee93c375b026596b" |
16 | 15 | ||
diff --git a/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.09.bb b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.09.bb index ba0531c..60f2c9e 100644 --- a/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.09.bb +++ b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.09.bb | |||
@@ -8,8 +8,6 @@ SRCREV = "962f353aac6cfc7b804547319db40f8b804f0b6c" | |||
8 | 8 | ||
9 | DEPENDS = "libpam" | 9 | DEPENDS = "libpam" |
10 | 10 | ||
11 | S = "${UNPACKDIR}/git" | ||
12 | |||
13 | inherit autotools features_check | 11 | inherit autotools features_check |
14 | 12 | ||
15 | REQUIRED_DISTRO_FEATURES = "pam" | 13 | REQUIRED_DISTRO_FEATURES = "pam" |
diff --git a/recipes-security/krill/krill_0.12.3.bb b/recipes-security/krill/krill_0.12.3.bb index d5917a1..472bac9 100644 --- a/recipes-security/krill/krill_0.12.3.bb +++ b/recipes-security/krill/krill_0.12.3.bb | |||
@@ -15,7 +15,6 @@ include krill-crates.inc | |||
15 | UPSTREAM_CHECK_URI = "https://github.com/NLnetLabs/${BPN}/releases" | 15 | UPSTREAM_CHECK_URI = "https://github.com/NLnetLabs/${BPN}/releases" |
16 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 16 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
17 | 17 | ||
18 | S = "${UNPACKDIR}/git" | ||
19 | CARGO_SRC_DIR = "" | 18 | CARGO_SRC_DIR = "" |
20 | 19 | ||
21 | inherit pkgconfig useradd systemd cargo cargo-update-recipe-crates | 20 | inherit pkgconfig useradd systemd cargo cargo-update-recipe-crates |
diff --git a/recipes-security/libest/libest_3.2.0.bb b/recipes-security/libest/libest_3.2.0.bb index 04bfcee..e6af2c6 100644 --- a/recipes-security/libest/libest_3.2.0.bb +++ b/recipes-security/libest/libest_3.2.0.bb | |||
@@ -20,8 +20,6 @@ EXTRA_OECONF = "--disable-pthreads --with-ssl-dir=${STAGING_LIBDIR}" | |||
20 | CFLAGS += "-fcommon" | 20 | CFLAGS += "-fcommon" |
21 | LDFLAGS:append:libc-musl = " -lexecinfo" | 21 | LDFLAGS:append:libc-musl = " -lexecinfo" |
22 | 22 | ||
23 | S = "${UNPACKDIR}/git" | ||
24 | |||
25 | PACKAGES = "${PN} ${PN}-dbg ${PN}-dev" | 23 | PACKAGES = "${PN} ${PN}-dbg ${PN}-dev" |
26 | 24 | ||
27 | FILES:${PN} = "${bindir}/* ${libdir}/libest-3.2.0p.so" | 25 | FILES:${PN} = "${bindir}/* ${libdir}/libest-3.2.0p.so" |
diff --git a/recipes-security/libgssglue/libgssglue_0.9.bb b/recipes-security/libgssglue/libgssglue_0.9.bb index 73e6dec..532227a 100644 --- a/recipes-security/libgssglue/libgssglue_0.9.bb +++ b/recipes-security/libgssglue/libgssglue_0.9.bb | |||
@@ -26,8 +26,6 @@ SRC_URI = "git://gitlab.com/gsasl/libgssglue.git;protocol=https;branch=master \ | |||
26 | " | 26 | " |
27 | SRCREV = "ada76bdaec665f70505f0b3aefe871b873e7c4b6" | 27 | SRCREV = "ada76bdaec665f70505f0b3aefe871b873e7c4b6" |
28 | 28 | ||
29 | S = "${WORKDIR}/git" | ||
30 | |||
31 | inherit autotools-brokensep ptest | 29 | inherit autotools-brokensep ptest |
32 | 30 | ||
33 | do_configure:prepend() { | 31 | do_configure:prepend() { |
diff --git a/recipes-security/libmspack/libmspack_1.11.bb b/recipes-security/libmspack/libmspack_1.11.bb index 338701e..7203dee 100644 --- a/recipes-security/libmspack/libmspack_1.11.bb +++ b/recipes-security/libmspack/libmspack_1.11.bb | |||
@@ -11,6 +11,6 @@ SRC_URI = "git://github.com/kyz/libmspack.git;branch=master;protocol=https" | |||
11 | 11 | ||
12 | inherit autotools | 12 | inherit autotools |
13 | 13 | ||
14 | S = "${UNPACKDIR}/git/${BPN}" | 14 | S = "${UNPACKDIR}/${BP}/${BPN}" |
15 | 15 | ||
16 | inherit autotools | 16 | inherit autotools |
diff --git a/recipes-security/ncrack/ncrack_0.7.bb b/recipes-security/ncrack/ncrack_0.7.bb index 881ee38..f389e3c 100644 --- a/recipes-security/ncrack/ncrack_0.7.bb +++ b/recipes-security/ncrack/ncrack_0.7.bb | |||
@@ -13,6 +13,4 @@ DEPENDS = "openssl zlib" | |||
13 | 13 | ||
14 | inherit autotools-brokensep | 14 | inherit autotools-brokensep |
15 | 15 | ||
16 | S = "${UNPACKDIR}/git" | ||
17 | |||
18 | INSANE_SKIP:${PN} = "already-stripped" | 16 | INSANE_SKIP:${PN} = "already-stripped" |
diff --git a/recipes-security/redhat-security/redhat-security_1.0.bb b/recipes-security/redhat-security/redhat-security_1.0.bb index 1f0ba6c..edd34f7 100644 --- a/recipes-security/redhat-security/redhat-security_1.0.bb +++ b/recipes-security/redhat-security/redhat-security_1.0.bb | |||
@@ -18,8 +18,7 @@ SRC_URI = "file://find-chroot-py.sh \ | |||
18 | file://selinux-check-devices.sh \ | 18 | file://selinux-check-devices.sh \ |
19 | file://selinux-ls-unconfined.sh" | 19 | file://selinux-ls-unconfined.sh" |
20 | 20 | ||
21 | S = "${WORKDIR}/sources" | 21 | S = "${UNPACKDIR}" |
22 | UNPACKDIR = "${S}" | ||
23 | 22 | ||
24 | do_install() { | 23 | do_install() { |
25 | install -d ${D}${bindir} | 24 | install -d ${D}${bindir} |