mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
recipes-*: convert WORKDIR->UNPACKDIR
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -60,9 +60,9 @@ do_install () {
|
||||
install -d ${D}/var/lib/arpwatch
|
||||
|
||||
oe_runmake install DESTDIR=${D}
|
||||
install -m 644 ${WORKDIR}/arpwatch.conf ${D}${sysconfdir}
|
||||
install -m 655 ${WORKDIR}/arpwatch_init ${D}${sysconfdir}/init.d/arpwatch
|
||||
install -m 644 ${WORKDIR}/arpwatch.default ${D}${sysconfdir}/default
|
||||
install -m 644 ${UNPACKDIR}/arpwatch.conf ${D}${sysconfdir}
|
||||
install -m 655 ${UNPACKDIR}/arpwatch_init ${D}${sysconfdir}/init.d/arpwatch
|
||||
install -m 644 ${UNPACKDIR}/arpwatch.default ${D}${sysconfdir}/default
|
||||
}
|
||||
|
||||
INITSCRIPT_NAME = "arpwatch"
|
||||
|
||||
@@ -10,7 +10,7 @@ SRC_URI = "http://sourceforge.net/projects/buck-security/files/buck-security/buc
|
||||
SRC_URI[md5sum] = "611a3e9bb7ed8a8270aa15216c321c53"
|
||||
SRC_URI[sha256sum] = "c533c6631ec3554dd8d39d2d1c3ed44badbbf50810ebb75469c74639fa294b01"
|
||||
|
||||
S = "${WORKDIR}/${BPN}_${PV}"
|
||||
S = "${UNPACKDIR}/${BPN}_${PV}"
|
||||
|
||||
do_configure[noexec] = "1"
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=879b2147c754bc040c29e9c3b84da836"
|
||||
SRCREV = "2753ebb89fcdc96433ae8a4c4e5a49214a845be2"
|
||||
SRC_URI = "git://github.com/slimm609/checksec.sh;branch=main;protocol=https"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/git"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
|
||||
@@ -21,7 +21,7 @@ SRC_URI = "git://github.com/Cisco-Talos/clamav;branch=rel/0.104;protocol=https \
|
||||
file://headers_fixup.patch \
|
||||
file://oe_cmake_fixup.patch \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/git"
|
||||
|
||||
LEAD_SONAME = "libclamav.so"
|
||||
SO_VER = "9.6.0"
|
||||
@@ -58,9 +58,9 @@ do_install:append () {
|
||||
install -d -o ${PN} -g ${CLAMAV_GID} ${D}/${localstatedir}/lib/clamav
|
||||
install -d ${D}${sysconfdir}/clamav ${D}${sysconfdir}/default/volatiles
|
||||
|
||||
install -m 644 ${WORKDIR}/clamd.conf ${D}/${prefix}/${sysconfdir}
|
||||
install -m 644 ${WORKDIR}/freshclam.conf ${D}/${prefix}/${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/volatiles.03_clamav ${D}${sysconfdir}/default/volatiles/03_clamav
|
||||
install -m 644 ${UNPACKDIR}/clamd.conf ${D}/${prefix}/${sysconfdir}
|
||||
install -m 644 ${UNPACKDIR}/freshclam.conf ${D}/${prefix}/${sysconfdir}
|
||||
install -m 0644 ${UNPACKDIR}/volatiles.03_clamav ${D}${sysconfdir}/default/volatiles/03_clamav
|
||||
sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/libclamav.pc
|
||||
rm ${D}/${libdir}/libclamav.so
|
||||
if [ "${INSTALL_CLAMAV_CVD}" = "1" ]; then
|
||||
@@ -71,7 +71,7 @@ do_install:append () {
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then
|
||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||
install -m 0644 ${WORKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf
|
||||
install -m 0644 ${UNPACKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf
|
||||
fi
|
||||
oe_multilib_header clamav-types.h
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user