wok-current view lynis/receipt @ rev 22093

updated valgrind and valgrind-dev (3.8.1 -> 3.15.0)
author Hans-G?nter Theisgen
date Thu Oct 31 17:10:22 2019 +0100 (2019-10-31)
parents d464571327ad
children 64ddc9ad867b
line source
1 # SliTaz package receipt.
3 PACKAGE="lynis"
4 VERSION="2.7.4"
5 CATEGORY="security"
6 SHORT_DESC="Security and system auditing tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://cisofy.com/lynis/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://downloads.cisofy.com/lynis/$TARBALL"
14 SUGGESTED="wget procps perl findutils grep rpm4 groff"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/share
22 mkdir -p $fs/usr/sbin
23 mkdir -p $install/usr/share/man
24 mkdir -p $install/usr/share/doc
26 cp $src/[A-Z]* $install/usr/share/doc
27 cp $src/lynis.8 $install/usr/share/man
28 cp -a $src $fs/usr/share/lynis
30 sed -i "s!| grep \"\\^GNU Wget\" | awk '{ print \$3 !\
31 2>\\&1 | awk '/^GNU Wget/{ print $3 }/^BusyBox/{ print \$1 \"/\" substr(\$2,2)!\
32 " $fs/usr/share/lynis/include/binaries
33 sed -i '/Generic/a\
34 [ -s /etc/slitaz-release ] && LINUX_VERSION="SliTaz GNU/Linux" &&\
35 OS_VERSION="$(cat /etc/slitaz-release)" &&\
36 OS_FULLNAME="$LINUX_VERSION $OS_VERSION"' \
37 $fs/usr/share/lynis/include/osdetection
38 cat > $fs/usr/sbin/lynis <<EOT
39 #!/bin/sh
41 cd /usr/share/lynis
42 exec ./lynis "\$@"
43 EOT
45 chown -R root.root $fs/usr/s*/lynis
46 chmod +x $fs/usr/sbin/lynis
47 }