diff options
author | sem <sem@FreeBSD.org> | 2004-12-12 01:46:45 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-12 01:46:45 +0800 |
commit | 042a1fc97362204e23de88436f5e4a5ebbf97312 (patch) | |
tree | 1156f9366b0a2512ede5e728f5bb639af364d7ea /security/nessus-devel | |
parent | bf3010195d10995a48d2ce03b3a398e47b7072f2 (diff) | |
download | freebsd-ports-gnome-042a1fc97362204e23de88436f5e4a5ebbf97312.tar.gz freebsd-ports-gnome-042a1fc97362204e23de88436f5e4a5ebbf97312.tar.zst freebsd-ports-gnome-042a1fc97362204e23de88436f5e4a5ebbf97312.zip |
- Upgrade to nessus version 2.2.2a
- Fix installing of default config files
PR: ports/74939
Submitted by: maintainer
Diffstat (limited to 'security/nessus-devel')
-rw-r--r-- | security/nessus-devel/Makefile | 10 | ||||
-rw-r--r-- | security/nessus-devel/distinfo | 4 | ||||
-rw-r--r-- | security/nessus-devel/pkg-plist | 7 |
3 files changed, 15 insertions, 6 deletions
diff --git a/security/nessus-devel/Makefile b/security/nessus-devel/Makefile index fcf1bf1a5739..3417052f5064 100644 --- a/security/nessus-devel/Makefile +++ b/security/nessus-devel/Makefile @@ -11,7 +11,7 @@ # WITHOUT_NESSUS_GTK PORTNAME= nessus-devel -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/ \ @@ -75,6 +75,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) diff --git a/security/nessus-devel/distinfo b/security/nessus-devel/distinfo index 1e06042c18b5..8bb4203c335d 100644 --- a/security/nessus-devel/distinfo +++ b/security/nessus-devel/distinfo @@ -1,2 +1,2 @@ -MD5 (nessus/nessus-core-2.2.0.tar.gz) = 16c1b51d81896415af9dfc91a7faf8d9 -SIZE (nessus/nessus-core-2.2.0.tar.gz) = 688545 +MD5 (nessus/nessus-core-2.2.2a.tar.gz) = c307b37336921462fb21ca09aca407ca +SIZE (nessus/nessus-core-2.2.2a.tar.gz) = 676390 diff --git a/security/nessus-devel/pkg-plist b/security/nessus-devel/pkg-plist index 1919a502ea15..f9c74d427f70 100644 --- a/security/nessus-devel/pkg-plist +++ b/security/nessus-devel/pkg-plist @@ -1,13 +1,14 @@ -etc/rc.d/nessusd.sh bin/nessus +bin/nessus-fetch bin/nessus-mkcert-client bin/nessus-mkrand @unexec if cmp -s %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; then rm -f %D/etc/nessus/nessusd.conf; fi @unexec if cmp -s %D/etc/nessus/nessusd.rules.dist %D/etc/nessus/nessusd.rules; then rm -f %D/etc/nessus/nessusd.rules; fi etc/nessus/nessusd.conf.dist etc/nessus/nessusd.rules.dist -@exec if [ ! -f %D/etc/nessus/nessusd.conf ]; then cp %D/etc/nessus/nessusd.conf %D/etc/nessus/nessusd.conf; fi -@exec if [ ! -f %D/etc/nessus/nessusd.rules ]; then cp %D/etc/nessus/nessusd.onf %D/etc/nessus/nessusd.onf; fi +@exec if [ ! -f %D/etc/nessus/nessusd.conf ]; then cp -p %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; fi +@exec if [ ! -f %D/etc/nessus/nessusd.rules ]; then cp -p %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; fi +etc/rc.d/nessusd.sh include/nessus/config.h include/nessus/includes.h include/nessus/nessus-devel.h |