wok-current diff lynis/receipt @ rev 20671
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 11:33:03 2019 +0100 (2019-01-24) |
parents | 24d5b43beece |
children | fdfad9b9a4ea |
line diff
1.1 --- a/lynis/receipt Thu Aug 02 22:31:30 2018 +0200 1.2 +++ b/lynis/receipt Thu Jan 24 11:33:03 2019 +0100 1.3 @@ -12,7 +12,7 @@ 1.4 1.5 DEPENDS="" 1.6 BUILD_DEPENDS="" 1.7 -SUGGESTED="wget procps perl findutils rpm4" 1.8 +SUGGESTED="wget procps perl findutils grep rpm4 groff" 1.9 1.10 # Rules to gen a SliTaz package suitable for Tazpkg. 1.11 genpkg_rules() 1.12 @@ -25,6 +25,11 @@ 1.13 sed -i "s!| grep \"\\^GNU Wget\" | awk '{ print \$3 !\ 1.14 2>\\&1 | awk '/^GNU Wget/{ print $3 }/^BusyBox/{ print \$1 \"/\" substr(\$2,2)!\ 1.15 " $fs/usr/share/lynis/include/binaries 1.16 + sed -i '/Generic/a\ 1.17 + [ -s /etc/slitaz-release ] && LINUX_VERSION="SliTaz GNU/Linux" &&\ 1.18 + OS_VERSION="$(cat /etc/slitaz-release)" &&\ 1.19 + OS_FULLNAME="$LINUX_VERSION $OS_VERSION"' \ 1.20 + $fs/usr/share/lynis/include/osdetection 1.21 cat > $fs/usr/sbin/lynis <<EOT 1.22 #!/bin/sh 1.23