wok-current annotate openvas-administrator/receipt @ rev 23103

updated libssh and libssh-dev (0.8.7 -> 0.9.3)
author Hans-G?nter Theisgen
date Thu Mar 12 11:22:59 2020 +0100 (2020-03-12)
parents 86cbb0030041
children bd7510903310
rev   line source
pascal@4651 1 # SliTaz package receipt.
pascal@4651 2
pascal@4651 3 PACKAGE="openvas-administrator"
pascal@9318 4 VERSION="1.0.1"
pascal@4651 5 CATEGORY="network"
pascal@4651 6 SHORT_DESC="Network security scanner (administrator)."
pascal@4651 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@4651 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22812 10 WEB_SITE="https://www.openvas.org/"
pascal@9318 11 WGET_URL="http://wald.intevation.org/frs/download.php/828/$TARBALL"
pascal@15000 12 CONFIG_FILES="/etc/openvas"
pascal@15000 13
pankso@12481 14 DEPENDS="openvas-libraries util-linux-uuid"
pascal@8971 15 BUILD_DEPENDS="libpcap doxygen openvas-libraries-dev openvas-libraries \
pascal@20588 16 gnutls-dev cmake glib-dev libgnutls"
pascal@4651 17
pascal@4651 18 # Rules to configure and make the package.
pascal@4651 19 compile_rules()
pascal@4651 20 {
pascal@12908 21 sed -i 's/g_strncasecmp/g_ascii_strncasecmp/' src/admin.c
pascal@4655 22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
pascal@4655 23 -DLOCALSTATEDIR=/var
pascal@4651 24 make &&
pascal@15000 25 make DESTDIR=$DESTDIR install
pascal@4651 26 }
pascal@4651 27
pascal@4651 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4651 29 genpkg_rules()
pascal@4651 30 {
pascal@4651 31 mkdir -p $fs/usr
pascal@15000 32 cp -a $install/etc $fs
pascal@15000 33 cp -a $install/usr/sbin $fs/usr
pascal@4651 34 }