diff options
author | sem <sem@FreeBSD.org> | 2004-12-11 16:40:58 +0000 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-11 16:40:58 +0000 |
commit | e31687bc9e010fcb03d406a370bd1b2f6d2c1133 (patch) | |
tree | 7c231ff86c6d01dcd37d3e9f2d2b20d487890d6e /security/nessus/Makefile | |
parent | 05bd3673758dd398c750a360b21d71ba33ccf80a (diff) | |
download | FreeBSD-ports-e31687bc9e010fcb03d406a370bd1b2f6d2c1133.zip FreeBSD-ports-e31687bc9e010fcb03d406a370bd1b2f6d2c1133.tar.gz |
- Upgrade to nessus version 2.2.2a
- Fix installing of default config files
PR: ports/74938
Submitted by: maintainer
Diffstat (limited to 'security/nessus/Makefile')
-rw-r--r-- | security/nessus/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/security/nessus/Makefile b/security/nessus/Makefile index 9f8c739..ba92e4f 100644 --- a/security/nessus/Makefile +++ b/security/nessus/Makefile @@ -11,7 +11,7 @@ # WITHOUT_NESSUS_GTK PORTNAME= nessus -PORTVERSION= 2.2.0 +PORTVERSION= 2.2.2a CATEGORIES= security MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \ ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \ @@ -76,6 +76,14 @@ post-install: > ${PREFIX}/etc/nessus/nessusd.rules.dist @${CHMOD} 644 ${PREFIX}/etc/nessus/nessusd.conf.dist \ ${PREFIX}/etc/nessus/nessusd.rules.dist + @if [ ! -f ${PREFIX}/etc/nessus/nessusd.conf ]; then \ + ${CP} -p ${PREFIX}/etc/nessus/nessusd.conf.dist \ + ${PREFIX}/etc/nessus/nessusd.conf; \ + fi + @if [ ! -f ${PREFIX}/etc/nessus/nessusd.rules ]; then \ + ${CP} -p ${PREFIX}/etc/nessus/nessusd.rules.dist \ + ${PREFIX}/etc/nessus/nessusd.rules; \ + fi @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/move_nessus .if ! exists(${PREFIX}/var/CA/serverkey.pem) .if ! defined(BATCH) |