diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-07 02:22:21 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-07 02:22:21 +0800 |
commit | 4fdb3c7c7f0983ae657ea03572542b3748335432 (patch) | |
tree | f7f820f7b921b95b077fa256a1eda44d51c5c01d /security | |
parent | 93ee2bde9886102cab196de7cfc185577a8515e1 (diff) | |
download | freebsd-ports-gnome-4fdb3c7c7f0983ae657ea03572542b3748335432.tar.gz freebsd-ports-gnome-4fdb3c7c7f0983ae657ea03572542b3748335432.tar.zst freebsd-ports-gnome-4fdb3c7c7f0983ae657ea03572542b3748335432.zip |
- Unbreak
- Fix pkg-plist
- Bump PORTREVISION
PR 109999
Submitted by: Udo Schweigert (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/nessus-plugins/Makefile | 3 | ||||
-rw-r--r-- | security/nessus/Makefile | 1 | ||||
-rw-r--r-- | security/nessus/files/nessusd.sh.in | 10 | ||||
-rw-r--r-- | security/nessus/pkg-plist | 2 |
4 files changed, 12 insertions, 4 deletions
diff --git a/security/nessus-plugins/Makefile b/security/nessus-plugins/Makefile index 006df93d1ec1..bc373765bc3d 100644 --- a/security/nessus-plugins/Makefile +++ b/security/nessus-plugins/Makefile @@ -7,6 +7,7 @@ PORTNAME= nessus-plugins PORTVERSION= 2.2.9 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \ ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \ @@ -22,8 +23,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/n RUN_DEPENDS= ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \ nmap:${PORTSDIR}/security/nmap -BROKEN= Incomplete pkg-plist - DIST_SUBDIR= nessus WRKSRC= ${WRKDIR}/nessus-plugins diff --git a/security/nessus/Makefile b/security/nessus/Makefile index 25c2a49862c4..93c648eb4fcf 100644 --- a/security/nessus/Makefile +++ b/security/nessus/Makefile @@ -12,6 +12,7 @@ PORTNAME= nessus PORTVERSION= 2.2.9 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \ ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \ diff --git a/security/nessus/files/nessusd.sh.in b/security/nessus/files/nessusd.sh.in index f5785a6405cd..63352c04c38d 100644 --- a/security/nessus/files/nessusd.sh.in +++ b/security/nessus/files/nessusd.sh.in @@ -30,8 +30,16 @@ nessusd_flags="-D" # Flags to nessusd program name="nessusd" rcvar=`set_rcvar` command="${prefix}/sbin/nessusd" -pidfile="/usr/local/var/nessus/nessusd.pid" +pidfile="${prefix}/var/nessus/nessusd.pid" required_files="${prefix}/etc/nessus/nessusd.conf" +start_precmd="nessus_check_certificate" + +nessus_check_certificate() +{ + if [ ! -f ${prefix}/var/CA/serverkey.pem ]; then + ${prefix}/sbin/nessus-mkcert + fi +} load_rc_config $name run_rc_command "$1" diff --git a/security/nessus/pkg-plist b/security/nessus/pkg-plist index 5773a23214b3..53b81cf1b625 100644 --- a/security/nessus/pkg-plist +++ b/security/nessus/pkg-plist @@ -29,9 +29,9 @@ sbin/nessusd @dirrmtry var/nessus/jobs @dirrmtry var/nessus/logs @dirrmtry var/nessus/users +var/nessus/nessus-services @dirrmtry var/nessus @dirrmtry etc/nessus @exec mkdir -p %D/lib/nessus/plugins @dirrmtry lib/nessus/plugins @dirrmtry lib/nessus -@exec if [ ! -f %D/var/CA/serverkey.pem ]; then %D/sbin/nessus-mkcert; fi |