wok-current diff openvas-scanner/receipt @ rev 4955
xarchive: fix lrzip suffix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 17 17:30:41 2010 +0100 (2010-02-17) |
parents | 1b84ad07dd56 |
children | db63cccdb8d4 |
line diff
1.1 --- a/openvas-scanner/receipt Sun Dec 27 11:39:42 2009 +0100 1.2 +++ b/openvas-scanner/receipt Wed Feb 17 17:30:41 2010 +0100 1.3 @@ -8,8 +8,9 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://www.openvas.org/" 1.6 WGET_URL="http://wald.intevation.org/frs/download.php/684/$TARBALL" 1.7 -DEPENDS="openvas-libraries" 1.8 +DEPENDS="openvas-libraries openssl" 1.9 BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config" 1.10 +CONFIG_FILES="/var/lib/openvas /etc/openvas" 1.11 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 @@ -32,3 +33,18 @@ 1.15 cp -a $_pkg/usr/bin $fs/usr 1.16 cp -a $_pkg/usr/sbin $fs/usr 1.17 } 1.18 + 1.19 +post_install() 1.20 +{ 1.21 + [ -s $1/var/lib/openvas/CA/cacert.pem ] || openvas-mkcert <<EOT 1.22 + 1.23 + 1.24 +$(. /etc/locale.conf ; echo ${LANG#*_}) 1.25 +$(cat /etc/TZ) 1.26 + 1.27 +$(cat /etc/hostname) 1.28 + 1.29 +EOT 1.30 +} 1.31 + 1.32 +SELF_INSTALL=1