wok annotate lynis/receipt @ 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 da90778cbd74
children 24d5b43beece
rev   line source
pascal@14512 1 # SliTaz package receipt.
pascal@14512 2
pascal@14512 3 PACKAGE="lynis"
pascal@20414 4 VERSION="2.6.6"
pascal@14512 5 CATEGORY="security"
pascal@14512 6 SHORT_DESC="Security and system auditing tool."
pascal@14512 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14997 8 LICENSE="GPL3"
pascal@20414 9 WEB_SITE="https://cisofy.com/lynis/"
pascal@14512 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20414 11 WGET_URL="https://downloads.cisofy.com/lynis/$TARBALL"
pascal@14512 12
pascal@14512 13 DEPENDS=""
pascal@14512 14 BUILD_DEPENDS=""
pascal@17487 15 SUGGESTED="wget procps perl findutils rpm4"
pascal@14512 16
pascal@14512 17 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14512 18 genpkg_rules()
pascal@14512 19 {
pascal@20414 20 mkdir -p $fs/usr/share $fs/usr/sbin
pascal@20414 21 mkdir -p $install/usr/share/man $install/usr/share/doc
pascal@20414 22 cp $src/[A-Z]* $install/usr/share/doc
pascal@20414 23 cp $src/lynis.8 $install/usr/share/man
erkan@18726 24 cp -a $src $fs/usr/share/lynis
pascal@20414 25 cat > $fs/usr/sbin/lynis <<EOT
pascal@20414 26 #!/bin/sh
pascal@20414 27
pascal@20414 28 cd /usr/share/lynis
pascal@20414 29 exec ./lynis "$@"
pascal@20414 30 EOT
pascal@20414 31 chown -R root.root $fs/usr/s*/lynis
pascal@14512 32 }