1999-05-17 10:26:40 +00:00
|
|
|
# New ports collection makefile for: nessus
|
|
|
|
# Date created: 1 May 1999
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1999-05-17 10:26:40 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= nessus
|
2004-01-23 11:00:57 +00:00
|
|
|
PORTVERSION= 2.0.10a
|
2004-04-10 20:42:56 +00:00
|
|
|
PORTREVISION= 2
|
1999-05-17 10:26:40 +00:00
|
|
|
CATEGORIES= security
|
2002-11-22 16:18:51 +00:00
|
|
|
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
|
2001-02-05 23:42:43 +00:00
|
|
|
ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
|
|
|
|
http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
|
|
|
|
ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-${PORTVERSION}/src/ \
|
2003-07-13 20:34:57 +00:00
|
|
|
ftp://ftp.au.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
|
|
|
|
ftp://ftp.ayamura.org/pub/nessus/nessus-${PORTVERSION}/src/
|
2000-10-28 02:04:18 +00:00
|
|
|
DISTNAME= nessus-core-${PORTVERSION}
|
1999-05-17 10:26:40 +00:00
|
|
|
|
2002-06-19 11:13:16 +00:00
|
|
|
MAINTAINER= udo.schweigert@siemens.com
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= A security scanner: looks for vulnerabilities in a given network
|
1999-05-17 10:26:40 +00:00
|
|
|
|
2003-04-19 20:40:13 +00:00
|
|
|
LIB_DEPENDS= nasl.2:${PORTSDIR}/security/nessus-libnasl
|
1999-05-29 03:56:15 +00:00
|
|
|
|
1999-12-01 05:27:13 +00:00
|
|
|
DIST_SUBDIR= nessus
|
|
|
|
WRKSRC= ${WRKDIR}/nessus-core
|
|
|
|
|
2004-03-14 06:17:56 +00:00
|
|
|
USE_LIBTOOL_VER=13
|
2002-09-01 15:18:25 +00:00
|
|
|
WANT_GNOME= yes
|
2004-05-02 18:09:24 +00:00
|
|
|
USE_REINPLACE= YES
|
2001-03-11 13:46:15 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-01 15:18:25 +00:00
|
|
|
.if ${HAVE_GNOME:Mgtk12}!=""
|
|
|
|
USE_GNOME+= gtk12
|
|
|
|
PKGNAMESUFFIX= -gtk
|
2001-03-11 13:46:15 +00:00
|
|
|
.else
|
2001-08-08 13:38:14 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-gtk
|
2001-01-05 03:10:15 +00:00
|
|
|
.endif
|
2000-10-05 06:42:57 +00:00
|
|
|
|
2002-06-19 11:13:16 +00:00
|
|
|
MAN1= nessus.1 nessus-mkrand.1 nessus-mkcert-client.1
|
|
|
|
MAN8= nessusd.8 nessus-adduser.8 nessus-mkcert.8 nessus-rmuser.8
|
1999-12-01 05:27:13 +00:00
|
|
|
|
2004-05-02 18:09:24 +00:00
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/nessusd.sh ${WRKSRC}/nessusd.sh
|
|
|
|
@${REINPLACE_CMD} -E -e 's|%%PREFIX%%|${PREFIX}|g' ${BUILD_WRKSRC}/nessusd.sh
|
|
|
|
|
1999-05-17 10:26:40 +00:00
|
|
|
post-install:
|
2004-05-02 18:09:24 +00:00
|
|
|
${INSTALL_SCRIPT} ${BUILD_WRKSRC}/nessusd.sh \
|
|
|
|
${LOCALBASE}/etc/rc.d/nessusd.sh.sample
|
2004-04-10 20:42:56 +00:00
|
|
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/move_nessus
|
|
|
|
.if ! exists(${PREFIX}/var/CA/serverkey.pem)
|
2003-04-19 20:40:13 +00:00
|
|
|
.if ! defined(BATCH)
|
2002-06-19 11:13:16 +00:00
|
|
|
${PREFIX}/sbin/nessus-mkcert
|
2003-04-19 20:40:13 +00:00
|
|
|
.else
|
|
|
|
${PREFIX}/sbin/nessus-mkcert -q
|
2002-06-19 11:13:16 +00:00
|
|
|
.endif
|
2004-05-02 18:09:24 +00:00
|
|
|
.endif
|
1999-05-17 10:26:40 +00:00
|
|
|
|
2001-03-11 13:46:15 +00:00
|
|
|
.include <bsd.port.post.mk>
|