wok rev 21398

updated lynis (2.6.6 -> 2.7.4)
author Hans-G?nter Theisgen
date Mon Apr 22 17:39:52 2019 +0100 (2019-04-22)
parents 36d26d8d1434
children 4c20b3e68b20
files lynis/receipt
line diff
     1.1 --- a/lynis/receipt	Mon Apr 22 17:29:46 2019 +0100
     1.2 +++ b/lynis/receipt	Mon Apr 22 17:39:52 2019 +0100
     1.3 @@ -1,27 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lynis"
     1.7 -VERSION="2.6.6"
     1.8 +VERSION="2.7.4"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Security and system auditing tool."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="https://cisofy.com/lynis/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="https://downloads.cisofy.com/lynis/$TARBALL"
    1.17  
    1.18 +SUGGESTED="wget procps perl findutils grep rpm4 groff"
    1.19  DEPENDS=""
    1.20  BUILD_DEPENDS=""
    1.21 -SUGGESTED="wget procps perl findutils grep rpm4 groff"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir -p $fs/usr/share $fs/usr/sbin 
    1.27 -	mkdir -p $install/usr/share/man $install/usr/share/doc
    1.28 -	cp $src/[A-Z]* $install/usr/share/doc
    1.29 -	cp $src/lynis.8 $install/usr/share/man
    1.30 -	cp -a $src $fs/usr/share/lynis
    1.31 +	mkdir -p $fs/usr/share
    1.32 +	mkdir -p $fs/usr/sbin 
    1.33 +	mkdir -p $install/usr/share/man
    1.34 +	mkdir -p $install/usr/share/doc
    1.35 +
    1.36 +	cp $src/[A-Z]*	$install/usr/share/doc
    1.37 +	cp $src/lynis.8	$install/usr/share/man
    1.38 +	cp -a $src	$fs/usr/share/lynis
    1.39 +
    1.40  	sed -i "s!| grep \"\\^GNU Wget\" | awk '{ print \$3 !\
    1.41  2>\\&1 | awk '/^GNU Wget/{ print $3 }/^BusyBox/{ print \$1 \"/\" substr(\$2,2)!\
    1.42  " $fs/usr/share/lynis/include/binaries
    1.43 @@ -36,6 +41,7 @@
    1.44  cd /usr/share/lynis
    1.45  exec ./lynis "\$@"
    1.46  EOT
    1.47 +
    1.48  	chown -R root.root $fs/usr/s*/lynis 
    1.49  	chmod +x $fs/usr/sbin/lynis
    1.50  }