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>
This commit is contained in:
Scott Murray
2025-07-02 20:33:28 -04:00
parent ea67ceefdc
commit 0272225ccd
43 changed files with 10 additions and 79 deletions

View File

@@ -10,8 +10,7 @@ SRC_URI = "http://ftp.de.debian.org/debian/pool/main/c/checksecurity/checksecuri
SRC_URI[sha256sum] = "9803b3760e9ec48e06ebaf48cec081db48c6fe72254a476224e4c5c55ed97fb0"
S = "${WORKDIR}/checksecurity-${PV}+nmu1"
S = "${UNPACKDIR}/checksecurity-${PV}+nmu1"
# allow for anylocal, no need to patch
LOGDIR = "/etc/checksecurity"

View File

@@ -35,7 +35,7 @@ SRC_URI = "http://sourceforge.net/projects/bastille-linux/files/bastille-linux/3
SRC_URI[md5sum] = "df803f7e38085aa5da79f85d0539f91b"
SRC_URI[sha256sum] = "0ea25191b1dc1c8f91e1b6f8cb5436a3aa1e57418809ef902293448efed5021a"
S = "${WORKDIR}/Bastille"
S = "${UNPACKDIR}/Bastille"
do_install () {
install -d ${D}${sbindir}

View File

@@ -10,7 +10,7 @@ SRCREV = "f1bbd1a8756c076c8fd4f4dd0bc34a8ef215ae79"
SRC_URI = "git://github.com/sullo/nikto.git;branch=master;protocol=https \
file://location.patch"
S = "${WORKDIR}/git/program"
S = "${UNPACKDIR}/${BP}/program"
do_install() {
install -d ${D}${bindir}

View File

@@ -26,8 +26,6 @@ inherit systemd
SYSTEMD_SERVICE:${PN} = "fail2ban.service"
S = "${UNPACKDIR}/git"
do_install:append () {
rm -f ${D}/${bindir}/fail2ban-python
install -d ${D}/${sysconfdir}/fail2ban

View File

@@ -7,7 +7,6 @@ SRC_URI = "git://github.com/stefanberger/libtpms.git;branch=stable-0.10;protocol
PE = "2"
S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig perlnative
PACKAGECONFIG ?= "openssl"

View File

@@ -10,8 +10,6 @@ SRCREV = "54f4bb1e702a8b80d990ca00b6f72d5031dd131a"
SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.10;protocol=https"
PE = "2"
S = "${WORKDIR}/git"
PARALLEL_MAKE = ""
inherit autotools pkgconfig perlnative

View File

@@ -11,7 +11,5 @@ SRCREV = "e4827163741e0804f12ac96c81b8e97649be6795"
DEPENDS += "libusb1"
S = "${WORKDIR}/git"
inherit pkgconfig meson

View File

@@ -17,8 +17,6 @@ SRC_URI = "\
"
SRCREV = "b28de5065e6eb9aa5d5afe2276904f7624c2cbaf"
S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
# The definitions below are used to decrypt the srk password.

View File

@@ -14,8 +14,6 @@ SRC_URI = "git://github.com/flihp/pcr-extend.git;branch=master;protocol=https \
inherit autotools
S = "${WORKDIR}/git"
do_configure[noexec] = "1"
do_compile() {

View File

@@ -18,5 +18,4 @@ DEPENDS = "libtspi tpm-tools"
SRC_URI = "git://git.code.sf.net/p/tpmquotetools/tpm-quote-tools;branch=master"
SRCREV = "4511874d5c9b4504bb96e94f8a14bd6c39a36295"
S = "${WORKDIR}/git"
inherit autotools

View File

@@ -22,8 +22,6 @@ SRC_URI = " \
inherit autotools-brokensep gettext
S = "${UNPACKDIR}/git"
# Compile failing with gcc-14
CFLAGS += " -Wno-incompatible-pointer-types -Wno-stringop-truncation -Wno-error=implicit-function-declaration"
BUILD_CFLAGS += " -Wno-incompatible-pointer-types -Wno-stringop-truncation -Wno-error=implicit-function-declaration"

View File

@@ -18,8 +18,6 @@ SRC_URI = " \
file://0001-build-don-t-override-localstatedir-mandir-sysconfdir.patch \
"
S = "${WORKDIR}/git"
inherit autotools pkgconfig useradd update-rc.d ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)}
PACKAGECONFIG ?= "gmp "

View File

@@ -23,7 +23,7 @@ SRCREV = "c37c74438429e1d5fe465232e7bf894b239a2cd4"
UPSTREAM_CHECK_GITTAGREGEX = "rev(?P<pver>\d+(\-\d+)+)"
S = "${WORKDIR}/git/src"
S = "${UNPACKDIR}/${BP}/src"
CFLAGS += "-Wno-error=maybe-uninitialized"

View File

@@ -25,5 +25,3 @@ SRCREV = "0b9d77e304f68228b13b20ff0d72b0c16ffd2651"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
EXTRA_OECONF = "--disable-tpm-1.2"
S = "${WORKDIR}/git"

View File

@@ -14,8 +14,6 @@ SRCREV = "0241b08f069f0fdb3612f5c1b938144dbe9be811"
UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
EFIDIR ?= "/EFI/BOOT"

View File

@@ -13,5 +13,3 @@ SRCREV = "96a1448753a48974149003bc90ea3990ae8e8d0b"
SRC_URI = "git://github.com/tpm2-software/tpm2-totp.git;branch=master;protocol=https"
inherit autotools-brokensep pkgconfig
S = "${WORKDIR}/git"

View File

@@ -15,8 +15,6 @@ SRC_URI = "git://github.com/OpenSCAP/openscap.git;branch=main;protocol=https \
SRCREV = "23a8ea3de3c4fd6017db4067675a81287177166e"
S = "${UNPACKDIR}/git"
inherit cmake pkgconfig python3native python3targetconfig perlnative systemd
PACKAGECONFIG ?= "python3 rpm perl gcrypt ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"

View File

@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/ComplianceAsCode/content.git;branch=stable;protocol=
DEPENDS = "openscap-native python3-pyyaml-native python3-jinja2-native libxml2-native expat-native coreutils-native"
S = "${UNPACKDIR}/git"
B = "${S}/build"
inherit cmake pkgconfig python3native python3targetconfig ptest

View File

@@ -12,8 +12,6 @@ GO_IMPORT = "import"
inherit go
S = "${UNPACKDIR}/git"
do_compile() {
export GOARCH="${TARGET_GOARCH}"
export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"

View File

@@ -15,9 +15,6 @@ UPSTREAM_CHECK_COMMITS = "1"
inherit autotools-brokensep useradd
S = "${UNPACKDIR}/git"
OSSEC_DIR = "/var/ossec"
OSSEC_UID ?= "ossec"
OSSEC_RUID ?= "ossecr"

View File

@@ -13,10 +13,6 @@ inherit autotools-brokensep pkgconfig
CFLAGS += "-D_DEFAULT_SOURCE"
#S = "${UNPACKDIR}/suricata-${VER}/${BPN}"
S = "${UNPACKDIR}/git"
do_configure () {
cd ${S}
./autogen.sh

View File

@@ -19,8 +19,6 @@ SRC_URI = "\
file://run-ptest \
"
S = "${UNPACKDIR}/git"
inherit autotools-brokensep update-rc.d ptest
INITSCRIPT_NAME = "tripwire"

View File

@@ -13,8 +13,6 @@ SRC_URI = "git://github.com/lkrg-org/lkrg.git;protocol=https;branch=main"
SRCREV = "5dc5cfea1f4dc8febdd5274d99e277c17df06acc"
S = "${UNPACKDIR}/git"
inherit module kernel-module-split
MAKE_TARGETS = "modules"

View File

@@ -23,7 +23,6 @@ SRC_URI = " \
"
SRCREV = "b4dfdf50f50ed1d64161424d036a2453645f0cfe"
S = "${UNPACKDIR}/git"
PARALLEL_MAKE = ""

View File

@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI = "file://mmap.c"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
do_compile() {
${CC} mmap.c ${LDFLAGS} -o mmap_test

View File

@@ -10,8 +10,7 @@ SRC_URI = " \
file://test_smack_onlycap.sh \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
inherit features_check

View File

@@ -23,9 +23,6 @@ inherit features_check
REQUIRED_DISTRO_FEATURES = "smack"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= ""
PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"

View File

@@ -8,8 +8,7 @@ SRC_URI = "file://tcp_server.c \
file://test_smack_tcp_sockets.sh \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
do_compile() {
${CC} tcp_client.c ${LDFLAGS} -o tcp_client

View File

@@ -8,8 +8,7 @@ SRC_URI = "file://udp_server.c \
file://test_smack_udp_sockets.sh \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
do_compile() {
${CC} udp_client.c ${LDFLAGS} -o udp_client

View File

@@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=879b2147c754bc040c29e9c3b84da836"
SRCREV = "2753ebb89fcdc96433ae8a4c4e5a49214a845be2"
SRC_URI = "git://github.com/slimm609/checksec.sh;branch=main;protocol=https"
S = "${UNPACKDIR}/git"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/checksec ${D}${bindir}

View File

@@ -21,7 +21,6 @@ SRC_URI = "git://github.com/Cisco-Talos/clamav;branch=rel/0.104;protocol=https \
file://headers_fixup.patch \
file://oe_cmake_fixup.patch \
"
S = "${UNPACKDIR}/git"
LEAD_SONAME = "libclamav.so"
SO_VER = "9.6.0"

View File

@@ -16,8 +16,6 @@ SRC_URI = "git://github.com/netblue30/firejail.git;protocol=https;branch=master
DEPENDS = "libseccomp"
S = "${UNPACKDIR}/git"
inherit autotools-brokensep pkgconfig bash-completion features_check
REQUIRED_DISTRO_FEATURES = "seccomp"

View File

@@ -12,8 +12,6 @@ DEPENDS = "virtual/kernel nasm-native"
SRC_URI = "git://github.com/chipsec/chipsec.git;branch=main;protocol=https"
SRCREV = "d8c2a606bf440c32196c6289a7a458f3ae3107cc"
S = "${UNPACKDIR}/git"
inherit module setuptools3
EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'"

View File

@@ -20,8 +20,6 @@ inherit go goarch features_check
REQUIRED_DISTRO_FEATURES = "pam"
S = "${UNPACKDIR}/git"
do_compile() {
export GOARCH=${TARGET_GOARCH}
export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"

View File

@@ -12,8 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRCREV = "7c80c73c084ce9ea49a03b814dac7a82fd7b4c23"
SRC_URI = "git://github.com/google/fscryptctl.git;branch=master;protocol=https"
S = "${UNPACKDIR}/git"
do_compile:prepend() {
sed -i 's/fscryptctl\.1//g' ${S}/Makefile
sed -i 's/install-man//g' ${S}/Makefile

View File

@@ -10,7 +10,6 @@ inherit meson pkgconfig
DEPENDS += "openssl"
S = "${UNPACKDIR}/git"
SRC_URI = "git://github.com/google/glome.git;branch=master;protocol=https"
SRCREV = "48d28f82bd51ae4bccc84fbbee93c375b026596b"

View File

@@ -8,8 +8,6 @@ SRCREV = "962f353aac6cfc7b804547319db40f8b804f0b6c"
DEPENDS = "libpam"
S = "${UNPACKDIR}/git"
inherit autotools features_check
REQUIRED_DISTRO_FEATURES = "pam"

View File

@@ -15,7 +15,6 @@ include krill-crates.inc
UPSTREAM_CHECK_URI = "https://github.com/NLnetLabs/${BPN}/releases"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
S = "${UNPACKDIR}/git"
CARGO_SRC_DIR = ""
inherit pkgconfig useradd systemd cargo cargo-update-recipe-crates

View File

@@ -20,8 +20,6 @@ EXTRA_OECONF = "--disable-pthreads --with-ssl-dir=${STAGING_LIBDIR}"
CFLAGS += "-fcommon"
LDFLAGS:append:libc-musl = " -lexecinfo"
S = "${UNPACKDIR}/git"
PACKAGES = "${PN} ${PN}-dbg ${PN}-dev"
FILES:${PN} = "${bindir}/* ${libdir}/libest-3.2.0p.so"

View File

@@ -26,8 +26,6 @@ SRC_URI = "git://gitlab.com/gsasl/libgssglue.git;protocol=https;branch=master \
"
SRCREV = "ada76bdaec665f70505f0b3aefe871b873e7c4b6"
S = "${WORKDIR}/git"
inherit autotools-brokensep ptest
do_configure:prepend() {

View File

@@ -11,6 +11,6 @@ SRC_URI = "git://github.com/kyz/libmspack.git;branch=master;protocol=https"
inherit autotools
S = "${UNPACKDIR}/git/${BPN}"
S = "${UNPACKDIR}/${BP}/${BPN}"
inherit autotools

View File

@@ -13,6 +13,4 @@ DEPENDS = "openssl zlib"
inherit autotools-brokensep
S = "${UNPACKDIR}/git"
INSANE_SKIP:${PN} = "already-stripped"

View File

@@ -18,8 +18,7 @@ SRC_URI = "file://find-chroot-py.sh \
file://selinux-check-devices.sh \
file://selinux-ls-unconfined.sh"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
do_install() {
install -d ${D}${bindir}