wok-next view openvas-client/receipt @ rev 20384
OpenVAS commit: add greenbone-security-assistant, openvas-cli; up openvas-libraries, openvas-manager, openvas-scanner; openvas-client removed from OpenVAS distribution and looks incompatible with the current libraries (broken)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 30 02:37:09 2017 +0200 (2017-11-30) |
parents | 380ffe05937a |
children | dd145c435e4b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openvas-client"
4 VERSION="3.0.3"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (client)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openvas.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://wald.intevation.org/frs/download.php/757/$TARBALL"
14 #BUILD_DEPENDS="util-linux-uuid libpcap openvas-libraries openvas-libraries-dev \
15 #libgd-dev libpng-dev pkg-config gtk+-dev gnutls-dev"
16 BUILD_DEPENDS="libgd-dev libpng16-dev glib-dev openvas-libraries-dev \
17 gnutls-dev gtk+-dev"
19 compile_rules() {
20 cp -a $stuff/libopenvas-config /usr/bin
22 ./configure \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS || return 1
25 find -name Makefile | xargs sed -i 's|uname -o|echo GNU/Linux|'
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/etc $fs
36 DEPENDS="openvas-libraries gtk+"
37 CONFIG_FILES="/etc/openvas/"
38 }