wok-current diff lynis/receipt @ rev 22323

updated ympd (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Thu Nov 14 17:21:02 2019 +0100 (2019-11-14)
parents d464571327ad
children 64ddc9ad867b
line diff
     1.1 --- a/lynis/receipt	Sat Aug 04 13:11:27 2018 +0200
     1.2 +++ b/lynis/receipt	Thu Nov 14 17:21:02 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  }