# HG changeset patch # User Pascal Bellard # Date 1261933880 -3600 # Node ID 2244b6612427d407432fcf1ad2bb69148692a139 # Parent d8da6640881fe7af65ec3c912b32b384fe558750 openvas-scanner: build certificate diff -r d8da6640881f -r 2244b6612427 openvas-scanner/receipt --- a/openvas-scanner/receipt Sun Dec 27 14:28:40 2009 +0100 +++ b/openvas-scanner/receipt Sun Dec 27 18:11:20 2009 +0100 @@ -8,8 +8,9 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.openvas.org/" WGET_URL="http://wald.intevation.org/frs/download.php/684/$TARBALL" -DEPENDS="openvas-libraries" +DEPENDS="openvas-libraries openssl" BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config" +CONFIG_FILES="/var/lib/openvas /etc/openvas" # Rules to configure and make the package. compile_rules() @@ -32,3 +33,18 @@ cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/sbin $fs/usr } + +post_install() +{ + [ -s $1/var/lib/openvas/CA/cacert.pem ] || openvas-mkcert <