diff options
| author | Armin Kuster <akuster808@gmail.com> | 2024-07-22 06:31:17 -0400 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2024-07-29 20:07:01 -0400 |
| commit | ca109750337d0c4a0cd63b5be8d32b436b544704 (patch) | |
| tree | c8ee2ff511cf6abf38f88b8742d1b2f28fb42084 | |
| parent | f0deac37873e0e4c2f7adcdfa6846679743a600f (diff) | |
| download | meta-security-ca109750337d0c4a0cd63b5be8d32b436b544704.tar.gz | |
recipes-*: convert WORKDIR->UNPACKDIR
Signed-off-by: Armin Kuster <akuster808@gmail.com>
31 files changed, 49 insertions, 49 deletions
diff --git a/recipes-compliance/lynis/lynis_3.1.1.bb b/recipes-compliance/lynis/lynis_3.1.1.bb index b69f4df..f6fddd0 100644 --- a/recipes-compliance/lynis/lynis_3.1.1.bb +++ b/recipes-compliance/lynis/lynis_3.1.1.bb | |||
| @@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "d72f4ee7325816bb8dbfcf31eb104207b9fe58a2493c2a875373746a71 | |||
| 12 | 12 | ||
| 13 | #UPSTREAM_CHECK = "https://downloads.cisofy.com/lynis" | 13 | #UPSTREAM_CHECK = "https://downloads.cisofy.com/lynis" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${BPN}" | 15 | S = "${UNPACKDIR}/${BPN}" |
| 16 | 16 | ||
| 17 | inherit autotools-brokensep | 17 | inherit autotools-brokensep |
| 18 | 18 | ||
diff --git a/recipes-compliance/openscap/openscap_1.3.10.bb b/recipes-compliance/openscap/openscap_1.3.10.bb index c439d71..5433573 100644 --- a/recipes-compliance/openscap/openscap_1.3.10.bb +++ b/recipes-compliance/openscap/openscap_1.3.10.bb | |||
| @@ -15,7 +15,7 @@ SRC_URI = "git://github.com/OpenSCAP/openscap.git;branch=maint-1.3;protocol=http | |||
| 15 | file://0001-CMakeLists.txt-fix-installation-directory-for-system.patch \ | 15 | file://0001-CMakeLists.txt-fix-installation-directory-for-system.patch \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | 19 | ||
| 20 | inherit cmake pkgconfig python3native python3targetconfig perlnative systemd | 20 | inherit cmake pkgconfig python3native python3targetconfig perlnative systemd |
| 21 | 21 | ||
diff --git a/recipes-compliance/scap-security-guide/scap-security-guide_0.1.73.bb b/recipes-compliance/scap-security-guide/scap-security-guide_0.1.73.bb index 539b6cf..0396b0f 100644 --- a/recipes-compliance/scap-security-guide/scap-security-guide_0.1.73.bb +++ b/recipes-compliance/scap-security-guide/scap-security-guide_0.1.73.bb | |||
| @@ -15,7 +15,7 @@ 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 = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | B = "${S}/build" | 19 | B = "${S}/build" |
| 20 | 20 | ||
| 21 | inherit cmake pkgconfig python3native python3targetconfig ptest | 21 | inherit cmake pkgconfig python3native python3targetconfig ptest |
| @@ -54,7 +54,7 @@ do_install_ptest() { | |||
| 54 | do | 54 | do |
| 55 | sed -e 's#${HOSTTOOLS_DIR}/##g' \ | 55 | sed -e 's#${HOSTTOOLS_DIR}/##g' \ |
| 56 | -e 's#${RECIPE_SYSROOT_NATIVE}##g' \ | 56 | -e 's#${RECIPE_SYSROOT_NATIVE}##g' \ |
| 57 | -e 's#${WORKDIR}#${PTEST_PATH}#g' \ | 57 | -e 's#${UNPACKDIR}#${PTEST_PATH}#g' \ |
| 58 | -e 's#/.*/xmllint#/usr/bin/xmllint#g' \ | 58 | -e 's#/.*/xmllint#/usr/bin/xmllint#g' \ |
| 59 | -e 's#/.*/oscap#/usr/bin/oscap#g' \ | 59 | -e 's#/.*/oscap#/usr/bin/oscap#g' \ |
| 60 | -e 's#/python3-native##g' \ | 60 | -e 's#/python3-native##g' \ |
diff --git a/recipes-ids/aide/aide_0.17.4.bb b/recipes-ids/aide/aide_0.17.4.bb index 52ddc43..9d998cc 100644 --- a/recipes-ids/aide/aide_0.17.4.bb +++ b/recipes-ids/aide/aide_0.17.4.bb | |||
| @@ -35,7 +35,7 @@ do_install[nostamp] = "1" | |||
| 35 | do_install:append () { | 35 | do_install:append () { |
| 36 | install -d ${D}${libdir}/${PN}/logs | 36 | install -d ${D}${libdir}/${PN}/logs |
| 37 | install -d ${D}${sysconfdir} | 37 | install -d ${D}${sysconfdir} |
| 38 | install ${WORKDIR}/aide.conf ${D}${sysconfdir}/ | 38 | install ${UNPACKDIR}/aide.conf ${D}${sysconfdir}/ |
| 39 | 39 | ||
| 40 | for dir in ${AIDE_INCLUDE_DIRS}; do | 40 | for dir in ${AIDE_INCLUDE_DIRS}; do |
| 41 | echo "${dir} NORMAL" >> ${D}${sysconfdir}/aide.conf | 41 | echo "${dir} NORMAL" >> ${D}${sysconfdir}/aide.conf |
| @@ -50,7 +50,7 @@ do_install:class-native () { | |||
| 50 | install -d ${STAGING_AIDE_DIR}/lib/logs | 50 | install -d ${STAGING_AIDE_DIR}/lib/logs |
| 51 | 51 | ||
| 52 | install ${B}/aide ${STAGING_AIDE_DIR}/bin | 52 | install ${B}/aide ${STAGING_AIDE_DIR}/bin |
| 53 | install ${WORKDIR}/aide.conf ${STAGING_AIDE_DIR}/ | 53 | install ${UNPACKDIR}/aide.conf ${STAGING_AIDE_DIR}/ |
| 54 | 54 | ||
| 55 | sed -i -s "s:\@\@define DBDIR.*:\@\@define DBDIR ${STAGING_AIDE_DIR}/lib:" ${STAGING_AIDE_DIR}/aide.conf | 55 | sed -i -s "s:\@\@define DBDIR.*:\@\@define DBDIR ${STAGING_AIDE_DIR}/lib:" ${STAGING_AIDE_DIR}/aide.conf |
| 56 | sed -i -e "s:\@\@define LOGDIR.*:\@\@define LOGDIR ${STAGING_AIDE_DIR}/lib/logs:" ${STAGING_AIDE_DIR}/aide.conf | 56 | sed -i -e "s:\@\@define LOGDIR.*:\@\@define LOGDIR ${STAGING_AIDE_DIR}/lib/logs:" ${STAGING_AIDE_DIR}/aide.conf |
diff --git a/recipes-ids/crowdsec/crowdsec_1.1.1.bb b/recipes-ids/crowdsec/crowdsec_1.1.1.bb index 81f2b8f..deccecf 100644 --- a/recipes-ids/crowdsec/crowdsec_1.1.1.bb +++ b/recipes-ids/crowdsec/crowdsec_1.1.1.bb | |||
| @@ -12,7 +12,7 @@ GO_IMPORT = "import" | |||
| 12 | 12 | ||
| 13 | inherit go | 13 | inherit go |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${UNPACKDIR}/git" |
| 16 | 16 | ||
| 17 | do_compile() { | 17 | do_compile() { |
| 18 | export GOARCH="${TARGET_GOARCH}" | 18 | export GOARCH="${TARGET_GOARCH}" |
diff --git a/recipes-ids/ossec/ossec-hids_3.7.0.bb b/recipes-ids/ossec/ossec-hids_3.7.0.bb index 829715b..fbd1294 100644 --- a/recipes-ids/ossec/ossec-hids_3.7.0.bb +++ b/recipes-ids/ossec/ossec-hids_3.7.0.bb | |||
| @@ -15,7 +15,7 @@ UPSTREAM_CHECK_COMMITS = "1" | |||
| 15 | 15 | ||
| 16 | inherit autotools-brokensep useradd | 16 | inherit autotools-brokensep useradd |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | OSSEC_DIR="/var/ossec" | 21 | OSSEC_DIR="/var/ossec" |
diff --git a/recipes-ids/samhain/samhain.inc b/recipes-ids/samhain/samhain.inc index 61ec0da..65e6734 100644 --- a/recipes-ids/samhain/samhain.inc +++ b/recipes-ids/samhain/samhain.inc | |||
| @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ae6ee8eff3cb111b7fc14a57bcc258443dd0bcf1bfacfdf229935ed053 | |||
| 26 | UPSTREAM_CHECK_URI = "https://www.la-samhna.de/samhain/archive.html" | 26 | UPSTREAM_CHECK_URI = "https://www.la-samhna.de/samhain/archive.html" |
| 27 | UPSTREAM_CHECK_REGEX = "samhain_signed-(?P<pver>(\d+(\.\d+)+))\.tar" | 27 | UPSTREAM_CHECK_REGEX = "samhain_signed-(?P<pver>(\d+(\.\d+)+))\.tar" |
| 28 | 28 | ||
| 29 | S = "${WORKDIR}/samhain-${PV}" | 29 | S = "${UNPACKDIR}/samhain-${PV}" |
| 30 | 30 | ||
| 31 | inherit autotools-brokensep update-rc.d pkgconfig systemd | 31 | inherit autotools-brokensep update-rc.d pkgconfig systemd |
| 32 | 32 | ||
| @@ -65,7 +65,7 @@ EXTRA_OEMAKE:append:mips64 = " CPPFLAGS+=-DCONFIG_ARCH_MIPS64=1" | |||
| 65 | 65 | ||
| 66 | do_unpack_samhain() { | 66 | do_unpack_samhain() { |
| 67 | cd ${UNPACKDIR} | 67 | cd ${UNPACKDIR} |
| 68 | tar -xzvf samhain-${PV}.tar.gz -C ${WORKDIR} | 68 | tar -xzvf samhain-${PV}.tar.gz -C ${UNPACKDIR} |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | python do_unpack:append() { | 71 | python do_unpack:append() { |
diff --git a/recipes-ids/suricata/libhtp_0.5.45.bb b/recipes-ids/suricata/libhtp_0.5.45.bb index cc8285c..4273e78 100644 --- a/recipes-ids/suricata/libhtp_0.5.45.bb +++ b/recipes-ids/suricata/libhtp_0.5.45.bb | |||
| @@ -13,9 +13,9 @@ inherit autotools-brokensep pkgconfig | |||
| 13 | 13 | ||
| 14 | CFLAGS += "-D_DEFAULT_SOURCE" | 14 | CFLAGS += "-D_DEFAULT_SOURCE" |
| 15 | 15 | ||
| 16 | #S = "${WORKDIR}/suricata-${VER}/${BPN}" | 16 | #S = "${UNPACKDIR}/suricata-${VER}/${BPN}" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | 19 | ||
| 20 | do_configure () { | 20 | do_configure () { |
| 21 | cd ${S} | 21 | cd ${S} |
diff --git a/recipes-ids/suricata/suricata_7.0.0.bb b/recipes-ids/suricata/suricata_7.0.0.bb index 1f3b694..a137498 100644 --- a/recipes-ids/suricata/suricata_7.0.0.bb +++ b/recipes-ids/suricata/suricata_7.0.0.bb | |||
| @@ -96,7 +96,7 @@ do_install () { | |||
| 96 | 96 | ||
| 97 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 97 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 98 | install -d ${D}${sysconfdir}/tmpfiles.d | 98 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 99 | install -m 0644 ${WORKDIR}/tmpfiles.suricata ${D}${sysconfdir}/tmpfiles.d/suricata.conf | 99 | install -m 0644 ${UNPACKDIR}/tmpfiles.suricata ${D}${sysconfdir}/tmpfiles.d/suricata.conf |
| 100 | 100 | ||
| 101 | install -d ${D}${systemd_unitdir}/system | 101 | install -d ${D}${systemd_unitdir}/system |
| 102 | sed -e s:/etc:${sysconfdir}:g \ | 102 | sed -e s:/etc:${sysconfdir}:g \ |
| @@ -105,7 +105,7 @@ do_install () { | |||
| 105 | -e s:/usr/bin:${bindir}:g \ | 105 | -e s:/usr/bin:${bindir}:g \ |
| 106 | -e s:/bin/kill:${base_bindir}/kill:g \ | 106 | -e s:/bin/kill:${base_bindir}/kill:g \ |
| 107 | -e s:/usr/lib:${libdir}:g \ | 107 | -e s:/usr/lib:${libdir}:g \ |
| 108 | ${WORKDIR}/suricata.service > ${D}${systemd_unitdir}/system/suricata.service | 108 | ${UNPACKDIR}/suricata.service > ${D}${systemd_unitdir}/system/suricata.service |
| 109 | fi | 109 | fi |
| 110 | 110 | ||
| 111 | # Remove /var/run as it is created on startup | 111 | # Remove /var/run as it is created on startup |
diff --git a/recipes-ids/tripwire/tripwire_2.4.3.7.bb b/recipes-ids/tripwire/tripwire_2.4.3.7.bb index 9149e89..e67d3c7 100644 --- a/recipes-ids/tripwire/tripwire_2.4.3.7.bb +++ b/recipes-ids/tripwire/tripwire_2.4.3.7.bb | |||
| @@ -19,7 +19,7 @@ SRC_URI = "\ | |||
| 19 | file://run-ptest \ | 19 | file://run-ptest \ |
| 20 | " | 20 | " |
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | 22 | S = "${UNPACKDIR}/git" |
| 23 | 23 | ||
| 24 | inherit autotools-brokensep update-rc.d ptest | 24 | inherit autotools-brokensep update-rc.d ptest |
| 25 | 25 | ||
| @@ -43,11 +43,11 @@ do_install () { | |||
| 43 | install -m 0755 ${S}/bin/* ${D}${sbindir} | 43 | install -m 0755 ${S}/bin/* ${D}${sbindir} |
| 44 | install -m 0644 ${S}/lib/* ${D}${base_libdir} | 44 | install -m 0644 ${S}/lib/* ${D}${base_libdir} |
| 45 | install -m 0644 ${S}/lib/* ${D}${localstatedir}/lib/${PN} | 45 | install -m 0644 ${S}/lib/* ${D}${localstatedir}/lib/${PN} |
| 46 | install -m 0755 ${WORKDIR}/tripwire.cron ${D}${sysconfdir} | 46 | install -m 0755 ${UNPACKDIR}/tripwire.cron ${D}${sysconfdir} |
| 47 | install -m 0755 ${WORKDIR}/tripwire.sh ${D}${sysconfdir}/init.d/tripwire | 47 | install -m 0755 ${UNPACKDIR}/tripwire.sh ${D}${sysconfdir}/init.d/tripwire |
| 48 | install -m 0755 ${WORKDIR}/twinstall.sh ${D}${sysconfdir}/${PN} | 48 | install -m 0755 ${UNPACKDIR}/twinstall.sh ${D}${sysconfdir}/${PN} |
| 49 | install -m 0644 ${WORKDIR}/twpol-yocto.txt ${D}${sysconfdir}/${PN}/twpol.txt | 49 | install -m 0644 ${UNPACKDIR}/twpol-yocto.txt ${D}${sysconfdir}/${PN}/twpol.txt |
| 50 | install -m 0644 ${WORKDIR}/twcfg.txt ${D}${sysconfdir}/${PN} | 50 | install -m 0644 ${UNPACKDIR}/twcfg.txt ${D}${sysconfdir}/${PN} |
| 51 | 51 | ||
| 52 | install -m 0644 ${S}/man/man4/* ${D}${mandir}/man4 | 52 | install -m 0644 ${S}/man/man4/* ${D}${mandir}/man4 |
| 53 | install -m 0644 ${S}/man/man5/* ${D}${mandir}/man5 | 53 | install -m 0644 ${S}/man/man5/* ${D}${mandir}/man5 |
| @@ -57,7 +57,7 @@ do_install () { | |||
| 57 | install -m 0644 ${S}/policy/*txt ${D}${docdir}/${BPN} | 57 | install -m 0644 ${S}/policy/*txt ${D}${docdir}/${BPN} |
| 58 | install -m 0644 ${S}/COPYING ${D}${docdir}/${BPN} | 58 | install -m 0644 ${S}/COPYING ${D}${docdir}/${BPN} |
| 59 | install -m 0644 ${S}/TRADEMARK ${D}${docdir}/${BPN} | 59 | install -m 0644 ${S}/TRADEMARK ${D}${docdir}/${BPN} |
| 60 | install -m 0644 ${WORKDIR}/tripwire.txt ${D}${docdir}/${BPN} | 60 | install -m 0644 ${UNPACKDIR}/tripwire.txt ${D}${docdir}/${BPN} |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | do_install_ptest:append () { | 63 | do_install_ptest:append () { |
diff --git a/recipes-kernel/lkrg/lkrg-module_0.9.7.bb b/recipes-kernel/lkrg/lkrg-module_0.9.7.bb index 020c3a1..751c045 100644 --- a/recipes-kernel/lkrg/lkrg-module_0.9.7.bb +++ b/recipes-kernel/lkrg/lkrg-module_0.9.7.bb | |||
| @@ -13,7 +13,7 @@ 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 = "${WORKDIR}/git" | 16 | S = "${UNPACKDIR}/git" |
| 17 | 17 | ||
| 18 | inherit module kernel-module-split | 18 | inherit module kernel-module-split |
| 19 | 19 | ||
diff --git a/recipes-mac/AppArmor/apparmor_3.1.3.bb b/recipes-mac/AppArmor/apparmor_3.1.3.bb index fd649e4..27c518c 100644 --- a/recipes-mac/AppArmor/apparmor_3.1.3.bb +++ b/recipes-mac/AppArmor/apparmor_3.1.3.bb | |||
| @@ -22,7 +22,7 @@ SRC_URI = " \ | |||
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | SRCREV = "e69cb5047946818e6a9df326851483bb075a5cfe" | 24 | SRCREV = "e69cb5047946818e6a9df326851483bb075a5cfe" |
| 25 | S = "${WORKDIR}/git" | 25 | S = "${UNPACKDIR}/git" |
| 26 | 26 | ||
| 27 | PARALLEL_MAKE = "" | 27 | PARALLEL_MAKE = "" |
| 28 | 28 | ||
diff --git a/recipes-mac/ccs-tools/ccs-tools_1.8.9.bb b/recipes-mac/ccs-tools/ccs-tools_1.8.9.bb index 8185e51..a746c56 100644 --- a/recipes-mac/ccs-tools/ccs-tools_1.8.9.bb +++ b/recipes-mac/ccs-tools/ccs-tools_1.8.9.bb | |||
| @@ -12,7 +12,7 @@ SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/${BPN}-${PV}-${DS}.tar.gz" | |||
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "7900126cf2dd8706c42c2c1ef7a37fd8b50f1505abd7d9c3d653dc390fb4d620" | 13 | SRC_URI[sha256sum] = "7900126cf2dd8706c42c2c1ef7a37fd8b50f1505abd7d9c3d653dc390fb4d620" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${BPN}" | 15 | S = "${UNPACKDIR}/${BPN}" |
| 16 | 16 | ||
| 17 | inherit features_check | 17 | inherit features_check |
| 18 | 18 | ||
diff --git a/recipes-perl/perl/lib-perl_0.63.bb b/recipes-perl/perl/lib-perl_0.63.bb index 25d0890..6fc44e4 100644 --- a/recipes-perl/perl/lib-perl_0.63.bb +++ b/recipes-perl/perl/lib-perl_0.63.bb | |||
| @@ -16,7 +16,7 @@ SRC_URI = "http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-${PV}.tar.gz" | |||
| 16 | SRC_URI[md5sum] = "8607ac4e0d9d43585ec28312f52df67c" | 16 | SRC_URI[md5sum] = "8607ac4e0d9d43585ec28312f52df67c" |
| 17 | SRC_URI[sha256sum] = "72f63db9220098e834d7a38231626bd0c9b802c1ec54a628e2df35f3818e5a00" | 17 | SRC_URI[sha256sum] = "72f63db9220098e834d7a38231626bd0c9b802c1ec54a628e2df35f3818e5a00" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/lib-${PV}" | 19 | S = "${UNPACKDIR}/lib-${PV}" |
| 20 | 20 | ||
| 21 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | 21 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" |
| 22 | 22 | ||
diff --git a/recipes-perl/perl/libwhisker2-perl_2.5.bb b/recipes-perl/perl/libwhisker2-perl_2.5.bb index c58d883..2c32bfc 100644 --- a/recipes-perl/perl/libwhisker2-perl_2.5.bb +++ b/recipes-perl/perl/libwhisker2-perl_2.5.bb | |||
| @@ -11,7 +11,7 @@ SRC_URI = "http://sourceforge.net/projects/whisker/files/libwhisker/${PV}/libwhi | |||
| 11 | SRC_URI[md5sum] = "7cc1718dddde8f9a439d5622ae2f37eb" | 11 | SRC_URI[md5sum] = "7cc1718dddde8f9a439d5622ae2f37eb" |
| 12 | SRC_URI[sha256sum] = "f45a1cf2ad2637b29dd1b13d7221ea12e3923ea09d107ced446400f19070a42f" | 12 | SRC_URI[sha256sum] = "f45a1cf2ad2637b29dd1b13d7221ea12e3923ea09d107ced446400f19070a42f" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/libwhisker2-2.5" | 14 | S = "${UNPACKDIR}/libwhisker2-2.5" |
| 15 | 15 | ||
| 16 | inherit cpan-base | 16 | inherit cpan-base |
| 17 | 17 | ||
diff --git a/recipes-scanners/arpwatch/arpwatch_3.3.bb b/recipes-scanners/arpwatch/arpwatch_3.3.bb index e547938..cacfea7 100644 --- a/recipes-scanners/arpwatch/arpwatch_3.3.bb +++ b/recipes-scanners/arpwatch/arpwatch_3.3.bb | |||
| @@ -60,9 +60,9 @@ do_install () { | |||
| 60 | install -d ${D}/var/lib/arpwatch | 60 | install -d ${D}/var/lib/arpwatch |
| 61 | 61 | ||
| 62 | oe_runmake install DESTDIR=${D} | 62 | oe_runmake install DESTDIR=${D} |
| 63 | install -m 644 ${WORKDIR}/arpwatch.conf ${D}${sysconfdir} | 63 | install -m 644 ${UNPACKDIR}/arpwatch.conf ${D}${sysconfdir} |
| 64 | install -m 655 ${WORKDIR}/arpwatch_init ${D}${sysconfdir}/init.d/arpwatch | 64 | install -m 655 ${UNPACKDIR}/arpwatch_init ${D}${sysconfdir}/init.d/arpwatch |
| 65 | install -m 644 ${WORKDIR}/arpwatch.default ${D}${sysconfdir}/default | 65 | install -m 644 ${UNPACKDIR}/arpwatch.default ${D}${sysconfdir}/default |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | INITSCRIPT_NAME = "arpwatch" | 68 | INITSCRIPT_NAME = "arpwatch" |
diff --git a/recipes-scanners/buck-security/buck-security_0.7.bb b/recipes-scanners/buck-security/buck-security_0.7.bb index 85884a7..5d4de10 100644 --- a/recipes-scanners/buck-security/buck-security_0.7.bb +++ b/recipes-scanners/buck-security/buck-security_0.7.bb | |||
| @@ -10,7 +10,7 @@ SRC_URI = "http://sourceforge.net/projects/buck-security/files/buck-security/buc | |||
| 10 | SRC_URI[md5sum] = "611a3e9bb7ed8a8270aa15216c321c53" | 10 | SRC_URI[md5sum] = "611a3e9bb7ed8a8270aa15216c321c53" |
| 11 | SRC_URI[sha256sum] = "c533c6631ec3554dd8d39d2d1c3ed44badbbf50810ebb75469c74639fa294b01" | 11 | SRC_URI[sha256sum] = "c533c6631ec3554dd8d39d2d1c3ed44badbbf50810ebb75469c74639fa294b01" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/${BPN}_${PV}" | 13 | S = "${UNPACKDIR}/${BPN}_${PV}" |
| 14 | 14 | ||
| 15 | do_configure[noexec] = "1" | 15 | do_configure[noexec] = "1" |
| 16 | do_compile[noexec] = "1" | 16 | do_compile[noexec] = "1" |
diff --git a/recipes-scanners/checksec/checksec_2.6.0.bb b/recipes-scanners/checksec/checksec_2.6.0.bb index 1ba3721..3712e68 100644 --- a/recipes-scanners/checksec/checksec_2.6.0.bb +++ b/recipes-scanners/checksec/checksec_2.6.0.bb | |||
| @@ -9,7 +9,7 @@ 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 = "${WORKDIR}/git" | 12 | S = "${UNPACKDIR}/git" |
| 13 | 13 | ||
| 14 | do_install() { | 14 | do_install() { |
| 15 | install -d ${D}${bindir} | 15 | install -d ${D}${bindir} |
diff --git a/recipes-scanners/clamav/clamav_0.104.4.bb b/recipes-scanners/clamav/clamav_0.104.4.bb index 102f267..48cc75c 100644 --- a/recipes-scanners/clamav/clamav_0.104.4.bb +++ b/recipes-scanners/clamav/clamav_0.104.4.bb | |||
| @@ -21,7 +21,7 @@ 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 = "${WORKDIR}/git" | 24 | S = "${UNPACKDIR}/git" |
| 25 | 25 | ||
| 26 | LEAD_SONAME = "libclamav.so" | 26 | LEAD_SONAME = "libclamav.so" |
| 27 | SO_VER = "9.6.0" | 27 | SO_VER = "9.6.0" |
| @@ -58,9 +58,9 @@ do_install:append () { | |||
| 58 | install -d -o ${PN} -g ${CLAMAV_GID} ${D}/${localstatedir}/lib/clamav | 58 | install -d -o ${PN} -g ${CLAMAV_GID} ${D}/${localstatedir}/lib/clamav |
| 59 | install -d ${D}${sysconfdir}/clamav ${D}${sysconfdir}/default/volatiles | 59 | install -d ${D}${sysconfdir}/clamav ${D}${sysconfdir}/default/volatiles |
| 60 | 60 | ||
| 61 | install -m 644 ${WORKDIR}/clamd.conf ${D}/${prefix}/${sysconfdir} | 61 | install -m 644 ${UNPACKDIR}/clamd.conf ${D}/${prefix}/${sysconfdir} |
| 62 | install -m 644 ${WORKDIR}/freshclam.conf ${D}/${prefix}/${sysconfdir} | 62 | install -m 644 ${UNPACKDIR}/freshclam.conf ${D}/${prefix}/${sysconfdir} |
| 63 | install -m 0644 ${WORKDIR}/volatiles.03_clamav ${D}${sysconfdir}/default/volatiles/03_clamav | 63 | install -m 0644 ${UNPACKDIR}/volatiles.03_clamav ${D}${sysconfdir}/default/volatiles/03_clamav |
| 64 | sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/libclamav.pc | 64 | sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/libclamav.pc |
| 65 | rm ${D}/${libdir}/libclamav.so | 65 | rm ${D}/${libdir}/libclamav.so |
| 66 | if [ "${INSTALL_CLAMAV_CVD}" = "1" ]; then | 66 | if [ "${INSTALL_CLAMAV_CVD}" = "1" ]; then |
| @@ -71,7 +71,7 @@ do_install:append () { | |||
| 71 | 71 | ||
| 72 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then | 72 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then |
| 73 | install -d ${D}${sysconfdir}/tmpfiles.d | 73 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 74 | install -m 0644 ${WORKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf | 74 | install -m 0644 ${UNPACKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf |
| 75 | fi | 75 | fi |
| 76 | oe_multilib_header clamav-types.h | 76 | oe_multilib_header clamav-types.h |
| 77 | } | 77 | } |
diff --git a/recipes-security/Firejail/firejail_0.9.72.bb b/recipes-security/Firejail/firejail_0.9.72.bb index 5713f46..10023c1 100644 --- a/recipes-security/Firejail/firejail_0.9.72.bb +++ b/recipes-security/Firejail/firejail_0.9.72.bb | |||
| @@ -16,7 +16,7 @@ SRC_URI = "git://github.com/netblue30/firejail.git;protocol=https;branch=master | |||
| 16 | 16 | ||
| 17 | DEPENDS = "libseccomp" | 17 | DEPENDS = "libseccomp" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | 19 | S = "${UNPACKDIR}/git" |
| 20 | 20 | ||
| 21 | inherit autotools-brokensep pkgconfig bash-completion features_check | 21 | inherit autotools-brokensep pkgconfig bash-completion features_check |
| 22 | 22 | ||
diff --git a/recipes-security/chipsec/chipsec_1.9.1.bb b/recipes-security/chipsec/chipsec_1.9.1.bb index 9fbdaa7..24451f8 100644 --- a/recipes-security/chipsec/chipsec_1.9.1.bb +++ b/recipes-security/chipsec/chipsec_1.9.1.bb | |||
| @@ -12,7 +12,7 @@ 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 = "${WORKDIR}/git" | 15 | S = "${UNPACKDIR}/git" |
| 16 | 16 | ||
| 17 | inherit module setuptools3 | 17 | inherit module setuptools3 |
| 18 | 18 | ||
diff --git a/recipes-security/fscrypt/fscrypt_1.1.0.bb b/recipes-security/fscrypt/fscrypt_1.1.0.bb index ea9593b..c620c6e 100644 --- a/recipes-security/fscrypt/fscrypt_1.1.0.bb +++ b/recipes-security/fscrypt/fscrypt_1.1.0.bb | |||
| @@ -20,12 +20,12 @@ inherit go goarch features_check | |||
| 20 | 20 | ||
| 21 | REQUIRED_DISTRO_FEATURES = "pam" | 21 | REQUIRED_DISTRO_FEATURES = "pam" |
| 22 | 22 | ||
| 23 | S = "${WORKDIR}/git" | 23 | S = "${UNPACKDIR}/git" |
| 24 | 24 | ||
| 25 | do_compile() { | 25 | do_compile() { |
| 26 | export GOARCH=${TARGET_GOARCH} | 26 | export GOARCH=${TARGET_GOARCH} |
| 27 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | 27 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" |
| 28 | export GOPATH="${WORKDIR}/git" | 28 | export GOPATH="${UNPACKDIR}/git" |
| 29 | 29 | ||
| 30 | # Pass the needed cflags/ldflags so that cgo | 30 | # Pass the needed cflags/ldflags so that cgo |
| 31 | # can find the needed headers files and libraries | 31 | # can find the needed headers files and libraries |
diff --git a/recipes-security/fscryptctl/fscryptctl_1.1.0.bb b/recipes-security/fscryptctl/fscryptctl_1.1.0.bb index 3de2bfa..cf03a18 100644 --- a/recipes-security/fscryptctl/fscryptctl_1.1.0.bb +++ b/recipes-security/fscryptctl/fscryptctl_1.1.0.bb | |||
| @@ -12,7 +12,7 @@ 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 = "${WORKDIR}/git" | 15 | S = "${UNPACKDIR}/git" |
| 16 | 16 | ||
| 17 | do_compile:prepend() { | 17 | do_compile:prepend() { |
| 18 | sed -i 's/fscryptctl\.1//g' ${S}/Makefile | 18 | sed -i 's/fscryptctl\.1//g' ${S}/Makefile |
diff --git a/recipes-security/glome/glome_git.bb b/recipes-security/glome/glome_git.bb index 8787ddc..b99239e 100644 --- a/recipes-security/glome/glome_git.bb +++ b/recipes-security/glome/glome_git.bb | |||
| @@ -10,7 +10,7 @@ inherit meson pkgconfig | |||
| 10 | 10 | ||
| 11 | DEPENDS += "openssl" | 11 | DEPENDS += "openssl" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | 13 | S = "${UNPACKDIR}/git" |
| 14 | SRC_URI = "git://github.com/google/glome.git;branch=master;protocol=https" | 14 | SRC_URI = "git://github.com/google/glome.git;branch=master;protocol=https" |
| 15 | SRCREV = "48d28f82bd51ae4bccc84fbbee93c375b026596b" | 15 | SRCREV = "48d28f82bd51ae4bccc84fbbee93c375b026596b" |
| 16 | 16 | ||
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 8a0b1ee..ba0531c 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,7 +8,7 @@ SRCREV = "962f353aac6cfc7b804547319db40f8b804f0b6c" | |||
| 8 | 8 | ||
| 9 | DEPENDS = "libpam" | 9 | DEPENDS = "libpam" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${UNPACKDIR}/git" |
| 12 | 12 | ||
| 13 | inherit autotools features_check | 13 | inherit autotools features_check |
| 14 | 14 | ||
diff --git a/recipes-security/isic/isic_0.07.bb b/recipes-security/isic/isic_0.07.bb index 28153e3..3e56091 100644 --- a/recipes-security/isic/isic_0.07.bb +++ b/recipes-security/isic/isic_0.07.bb | |||
| @@ -17,7 +17,7 @@ SRC_URI = "http://prdownloads.sourceforge.net/isic/${BPN}-${PV}.tgz \ | |||
| 17 | SRC_URI[md5sum] = "29f70c9bde9aa9128b8f7e66a315f9a4" | 17 | SRC_URI[md5sum] = "29f70c9bde9aa9128b8f7e66a315f9a4" |
| 18 | SRC_URI[sha256sum] = "e033c53e03e26a4c72b723e2a5a1c433ee70eb4d23a1ba0d7d7e14ee1a80429d" | 18 | SRC_URI[sha256sum] = "e033c53e03e26a4c72b723e2a5a1c433ee70eb4d23a1ba0d7d7e14ee1a80429d" |
| 19 | 19 | ||
| 20 | S="${WORKDIR}/${BPN}-${PV}" | 20 | S="${UNPACKDIR}/${BPN}-${PV}" |
| 21 | 21 | ||
| 22 | inherit autotools-brokensep | 22 | inherit autotools-brokensep |
| 23 | 23 | ||
diff --git a/recipes-security/krill/krill_0.12.3.bb b/recipes-security/krill/krill_0.12.3.bb index ee959c2..2e200dd 100644 --- a/recipes-security/krill/krill_0.12.3.bb +++ b/recipes-security/krill/krill_0.12.3.bb | |||
| @@ -15,7 +15,7 @@ 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 = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | CARGO_SRC_DIR = "" | 19 | CARGO_SRC_DIR = "" |
| 20 | 20 | ||
| 21 | inherit pkgconfig useradd systemd cargo cargo-update-recipe-crates | 21 | 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 b4c6165..04bfcee 100644 --- a/recipes-security/libest/libest_3.2.0.bb +++ b/recipes-security/libest/libest_3.2.0.bb | |||
| @@ -20,7 +20,7 @@ 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 = "${WORKDIR}/git" | 23 | S = "${UNPACKDIR}/git" |
| 24 | 24 | ||
| 25 | PACKAGES = "${PN} ${PN}-dbg ${PN}-dev" | 25 | PACKAGES = "${PN} ${PN}-dbg ${PN}-dev" |
| 26 | 26 | ||
diff --git a/recipes-security/libmhash/libmhash_0.9.9.9.bb b/recipes-security/libmhash/libmhash_0.9.9.9.bb index f725a26..f5518d2 100644 --- a/recipes-security/libmhash/libmhash_0.9.9.9.bb +++ b/recipes-security/libmhash/libmhash_0.9.9.9.bb | |||
| @@ -10,7 +10,7 @@ HOMEPAGE = "http://mhash.sourceforge.net/" | |||
| 10 | LICENSE = "LGPL-2.0-only" | 10 | LICENSE = "LGPL-2.0-only" |
| 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/mhash-${PV}" | 13 | S = "${UNPACKDIR}/mhash-${PV}" |
| 14 | 14 | ||
| 15 | SECTION = "libs" | 15 | SECTION = "libs" |
| 16 | 16 | ||
diff --git a/recipes-security/libmspack/libmspack_1.11.bb b/recipes-security/libmspack/libmspack_1.11.bb index 59df84b..338701e 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 = "${WORKDIR}/git/${BPN}" | 14 | S = "${UNPACKDIR}/git/${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 8e6b444..881ee38 100644 --- a/recipes-security/ncrack/ncrack_0.7.bb +++ b/recipes-security/ncrack/ncrack_0.7.bb | |||
| @@ -13,6 +13,6 @@ DEPENDS = "openssl zlib" | |||
| 13 | 13 | ||
| 14 | inherit autotools-brokensep | 14 | inherit autotools-brokensep |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${UNPACKDIR}/git" |
| 17 | 17 | ||
| 18 | INSANE_SKIP:${PN} = "already-stripped" | 18 | INSANE_SKIP:${PN} = "already-stripped" |
