1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Unbreak

- Fix pkg-plist
- Bump PORTREVISION

PR              109999
Submitted by:   Udo Schweigert (maintainer)
This commit is contained in:
Martin Wilke 2007-03-06 18:22:21 +00:00
parent 8d6eaaeba1
commit c1c73112df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186684
4 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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/ \

View File

@ -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"

View File

@ -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