wok-current rev 20414
Up lynis (2.6.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 02 12:25:57 2018 +0200 (2018-08-02) |
parents | 51a07cab339e |
children | 633236fac7b8 |
files | lynis/receipt |
line diff
1.1 --- a/lynis/receipt Thu Aug 02 11:37:36 2018 +0200 1.2 +++ b/lynis/receipt Thu Aug 02 12:25:57 2018 +0200 1.3 @@ -1,14 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lynis" 1.7 -VERSION="2.1.1" 1.8 +VERSION="2.6.6" 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="http://www.rootkit.nl/projects/lynis.html" 1.14 +WEB_SITE="https://cisofy.com/lynis/" 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="https://cisofy.com/files/$TARBALL" 1.17 +WGET_URL="https://downloads.cisofy.com/lynis/$TARBALL" 1.18 1.19 DEPENDS="" 1.20 BUILD_DEPENDS="" 1.21 @@ -17,8 +17,16 @@ 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - mkdir -p $fs/usr/share 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 - chown -R root.root $fs/usr/share/lynis 1.32 + cat > $fs/usr/sbin/lynis <<EOT 1.33 +#!/bin/sh 1.34 + 1.35 +cd /usr/share/lynis 1.36 +exec ./lynis "$@" 1.37 +EOT 1.38 + chown -R root.root $fs/usr/s*/lynis 1.39 } 1.40 -