wok-next rev 20369

openvas-manager (6.0.11), openvas-scanner (5.0.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 24 20:28:53 2017 +0100 (2017-11-24)
parents 66d50fb5be62
children 59af1f2d3c94
files openvas-libraries/receipt openvas-manager/receipt openvas-scanner/receipt
line diff
     1.1 --- a/openvas-libraries/receipt	Fri Nov 24 15:28:12 2017 +0100
     1.2 +++ b/openvas-libraries/receipt	Fri Nov 24 20:28:53 2017 +0100
     1.3 @@ -35,7 +35,7 @@
     1.4  {
     1.5  	case $PACKAGE in
     1.6  	openvas-libraries)
     1.7 -		DEPENDS="glib gnutls libgcrypt zlib libgpg-error gpgme \
     1.8 +		DEPENDS="glib libgnutls libgcrypt zlib libgpg-error gpgme \
     1.9  			libtasn1 libpcap libssh hiredis util-linux-uuid"
    1.10  		mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/bin
    1.11  		cp -a $install/usr/share/openvas $fs/usr/share
     2.1 --- a/openvas-manager/receipt	Fri Nov 24 15:28:12 2017 +0100
     2.2 +++ b/openvas-manager/receipt	Fri Nov 24 20:28:53 2017 +0100
     2.3 @@ -1,25 +1,23 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openvas-manager"
     2.7 -VERSION="1.0.4"
     2.8 +VERSION="6.0.11"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Network security scanner (manager)."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WEB_SITE="http://www.openvas.org/"
    2.15 -WGET_URL="http://wald.intevation.org/frs/download.php/829/$TARBALL"
    2.16 -CONFIG_FILES="/etc/openvas"
    2.17 +WGET_URL="http://wald.intevation.org/frs/download.php/2445/$TARBALL"
    2.18 +CONFIG_FILES="/etc/openvas /var/lib/openvas"
    2.19  
    2.20 -DEPENDS="openvas-libraries sqlite3 util-linux-uuid"
    2.21 -BUILD_DEPENDS="libpcap openvas-libraries openvas-libraries-dev pkg-config \
    2.22 -util-linux-uuid-dev doxygen cmake gnutls gnutls-dev sqlite3 sqlite3-dev glib-dev"
    2.23 +DEPENDS="libgnutls libsqlite openvas-libraries"
    2.24 +BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config doxygen \
    2.25 +cmake gnutls gnutls-dev sqlite3 sqlite3-dev glib-dev libgcrypt-dev gpgme-dev"
    2.26  
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30 -	cd $src
    2.31 -	export CFLAGS="-Wno-error=unused-but-set-variable"
    2.32  	cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
    2.33  		-DLOCALSTATEDIR=/var
    2.34  	make &&
    2.35 @@ -29,7 +27,9 @@
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39 -	mkdir -p $fs/usr
    2.40 +	mkdir -p $fs/usr/share
    2.41  	cp -a $install/etc $fs
    2.42 +	cp -a $install/var $fs
    2.43  	cp -a $install/usr/sbin $fs/usr
    2.44 +	cp -a $install/usr/share/openvas $fs/usr/share
    2.45  }
     3.1 --- a/openvas-scanner/receipt	Fri Nov 24 15:28:12 2017 +0100
     3.2 +++ b/openvas-scanner/receipt	Fri Nov 24 20:28:53 2017 +0100
     3.3 @@ -1,29 +1,28 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="openvas-scanner"
     3.7 -VERSION="3.0.0"
     3.8 +VERSION="5.0.8"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Network security scanner (scanner)."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14  WEB_SITE="http://www.openvas.org/"
    3.15 -WGET_URL="http://wald.intevation.org/frs/download.php/684/$TARBALL"
    3.16 -CONFIG_FILES="/var/lib/openvas /etc/openvas"
    3.17 +WGET_URL="http://wald.intevation.org/frs/download.php/2436/$TARBALL"
    3.18 +CONFIG_FILES="/var/lib/openvas"
    3.19  
    3.20 -DEPENDS="openvas-libraries openssl"
    3.21 -BUILD_DEPENDS="libpcap libpcap-dev util-linux-uuid openvas-libraries \
    3.22 -openvas-libraries-dev pkg-config gnutls-dev glib-dev"
    3.23 +DEPENDS="openvas-libraries glib libgcrypt"
    3.24 +BUILD_DEPENDS="libgcrypt-dev pkg-config glib-dev redis openvas-libraries-dev \
    3.25 +gnutls-dev libpcap-dev cmake doxygen"
    3.26  
    3.27  # Rules to configure and make the package.
    3.28  compile_rules()
    3.29  {
    3.30 -	cd $src
    3.31 -	./configure --prefix=/usr \
    3.32 -	--localstatedir=/var --sysconfdir=/etc \
    3.33 -	--mandir=/usr/share/man \
    3.34 -	$CONFIGURE_ARGS &&
    3.35 -	make &&
    3.36 +	[ -d build ] || mkdir build                                            
    3.37 +	cd build &&                                                                   
    3.38 +	cmake	-DCMAKE_INSTALL_PREFIX=/usr \                                         
    3.39 +		-DLOCALSTATEDIR=/var .. &&                                            
    3.40 +	make &&                                                                       
    3.41  	make DESTDIR=$DESTDIR install
    3.42  }
    3.43  
    3.44 @@ -31,7 +30,6 @@
    3.45  genpkg_rules()
    3.46  {
    3.47  	mkdir -p $fs/usr
    3.48 -	cp -a $install/etc $fs
    3.49  	cp -a $install/var $fs
    3.50  	cp -a $install/usr/bin $fs/usr
    3.51  	cp -a $install/usr/sbin $fs/usr