# HG changeset patch # User Hans-G?nter Theisgen # Date 1555951192 -3600 # Node ID fdfad9b9a4eadb33f7a3e754641f30950947807c # Parent 36d26d8d14347efb645b6ce71cb921ac3ebac37b updated lynis (2.6.6 -> 2.7.4) diff -r 36d26d8d1434 -r fdfad9b9a4ea lynis/receipt --- a/lynis/receipt Mon Apr 22 17:29:46 2019 +0100 +++ b/lynis/receipt Mon Apr 22 17:39:52 2019 +0100 @@ -1,27 +1,32 @@ # SliTaz package receipt. PACKAGE="lynis" -VERSION="2.6.6" +VERSION="2.7.4" CATEGORY="security" SHORT_DESC="Security and system auditing tool." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="https://cisofy.com/lynis/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://downloads.cisofy.com/lynis/$TARBALL" +SUGGESTED="wget procps perl findutils grep rpm4 groff" DEPENDS="" BUILD_DEPENDS="" -SUGGESTED="wget procps perl findutils grep rpm4 groff" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share $fs/usr/sbin - mkdir -p $install/usr/share/man $install/usr/share/doc - cp $src/[A-Z]* $install/usr/share/doc - cp $src/lynis.8 $install/usr/share/man - cp -a $src $fs/usr/share/lynis + mkdir -p $fs/usr/share + mkdir -p $fs/usr/sbin + mkdir -p $install/usr/share/man + mkdir -p $install/usr/share/doc + + cp $src/[A-Z]* $install/usr/share/doc + cp $src/lynis.8 $install/usr/share/man + cp -a $src $fs/usr/share/lynis + sed -i "s!| grep \"\\^GNU Wget\" | awk '{ print \$3 !\ 2>\\&1 | awk '/^GNU Wget/{ print $3 }/^BusyBox/{ print \$1 \"/\" substr(\$2,2)!\ " $fs/usr/share/lynis/include/binaries @@ -36,6 +41,7 @@ cd /usr/share/lynis exec ./lynis "\$@" EOT + chown -R root.root $fs/usr/s*/lynis chmod +x $fs/usr/sbin/lynis }