wok view openvas-scanner/receipt @ rev 20917

updated fdupes (1.40 -> 1.6.1)
author Hans-G?nter Theisgen
date Thu Feb 28 17:10:02 2019 +0100 (23 months ago)
parents 9e01bc6321ea
children df98a48adee2
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-scanner"
4 VERSION="3.0.0"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (scanner)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openvas.org/"
11 WGET_URL="http://wald.intevation.org/frs/download.php/684/$TARBALL"
12 CONFIG_FILES="/var/lib/openvas /etc/openvas"
14 DEPENDS="openvas-libraries openssl"
15 BUILD_DEPENDS="libpcap libpcap-dev util-linux-uuid openvas-libraries \
16 openvas-libraries-dev pkg-config gnutls-dev glib-dev libgnutls"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 --localstatedir=/var --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/etc $fs
34 cp -a $install/var $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }
39 post_install()
40 {
41 [ -s "$1/var/lib/openvas/CA/cacert.pem" ] ||
42 chroot "$1/" /usr/sbin/openvas-mkcert <<EOT
45 $(. /etc/locale.conf ; echo ${LANG#*_})
46 $(cat /etc/TZ)
48 $(cat /etc/hostname)
50 EOT
51 }