wok-6.x annotate openvas-scanner/receipt @ rev 23545

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