diff options
Diffstat (limited to 'dynamic-layers/meta-perl/recipes-scanners/checksecurity/checksecurity_2.0.16.bb')
-rw-r--r-- | dynamic-layers/meta-perl/recipes-scanners/checksecurity/checksecurity_2.0.16.bb | 29 |
1 files changed, 29 insertions, 0 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 new file mode 100644 index 0000000..8006c9f --- /dev/null +++ b/dynamic-layers/meta-perl/recipes-scanners/checksecurity/checksecurity_2.0.16.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "basic system security checks" | ||
2 | DESCRIPTION = "checksecurity is a simple package which will scan your system for several simple security holes." | ||
3 | SECTION = "security" | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | ||
6 | |||
7 | SRC_URI = "http://ftp.de.debian.org/debian/pool/main/c/checksecurity/checksecurity_${PV}+nmu1.tar.gz \ | ||
8 | file://check-setuid-use-more-portable-find-args.patch \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[sha256sum] = "9803b3760e9ec48e06ebaf48cec081db48c6fe72254a476224e4c5c55ed97fb0" | ||
12 | |||
13 | S = "${WORKDIR}/checksecurity-${PV}+nmu1" | ||
14 | |||
15 | |||
16 | # allow for anylocal, no need to patch | ||
17 | LOGDIR="/etc/checksecurity" | ||
18 | |||
19 | do_compile() { | ||
20 | sed -i -e "s;LOGDIR=/var/log/setuid;LOGDIR=${LOGDIR};g" ${B}/etc/check-setuid.conf | ||
21 | sed -i -e "s;LOGDIR=/var/log/setuid;LOGDIR=${LOGDIR};g" ${B}/plugins/check-setuid | ||
22 | sed -i -e "s;LOGDIR:=/var/log/setuid;LOGDIR:=${LOGDIR};g" ${B}/plugins/check-setuid | ||
23 | } | ||
24 | |||
25 | do_install() { | ||
26 | oe_runmake PREFIX=${D} | ||
27 | } | ||
28 | |||
29 | RDEPENDS:${PN} = "perl libenv-perl perl-module-tie-array perl-module-getopt-long perl-module-file-glob perl-module-carp perl-module-env perl-module-tap-parser-iterator-array util-linux findutils coreutils" | ||