1999-05-17 12:26:40 +02:00
|
|
|
# New ports collection makefile for: nessus
|
|
|
|
# Date created: 1 May 1999
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1999-05-17 12:26:40 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= nessus
|
2003-01-02 23:47:48 +01:00
|
|
|
PORTVERSION= 1.2.7
|
1999-05-17 12:26:40 +02:00
|
|
|
CATEGORIES= security
|
2002-11-22 17:18:51 +01:00
|
|
|
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
|
2001-02-06 00:42:43 +01: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/ \
|
|
|
|
ftp://ftp.chg.ru/pub/security/nessus/nessus-${PORTVERSION}/src/ \
|
|
|
|
ftp://ftp.sekure.net/pub/nessus/nessus-${PORTVERSION}/src/
|
2000-10-28 04:04:18 +02:00
|
|
|
DISTNAME= nessus-core-${PORTVERSION}
|
1999-05-17 12:26:40 +02:00
|
|
|
|
2002-06-19 13:13:16 +02:00
|
|
|
MAINTAINER= udo.schweigert@siemens.com
|
1999-05-17 12:26:40 +02:00
|
|
|
|
2002-06-19 13:13:16 +02:00
|
|
|
LIB_DEPENDS= nasl.3:${PORTSDIR}/security/nessus-libnasl
|
1999-05-29 05:56:15 +02:00
|
|
|
|
1999-12-01 06:27:13 +01:00
|
|
|
DIST_SUBDIR= nessus
|
|
|
|
WRKSRC= ${WRKDIR}/nessus-core
|
|
|
|
|
2001-01-24 04:26:02 +01:00
|
|
|
USE_LIBTOOL= yes
|
2002-09-01 17:18:25 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
WANT_GNOME= yes
|
2001-03-11 14:46:15 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-01 17:18:25 +02:00
|
|
|
.if ${HAVE_GNOME:Mgtk12}!=""
|
|
|
|
USE_GNOME+= gtk12
|
|
|
|
PKGNAMESUFFIX= -gtk
|
2001-03-11 14:46:15 +01:00
|
|
|
.else
|
2001-08-08 15:38:14 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-gtk
|
2001-01-05 04:10:15 +01:00
|
|
|
.endif
|
2000-10-05 08:42:57 +02:00
|
|
|
|
2002-06-19 13:13:16 +02:00
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${PREFIX}/etc/nessus/com \
|
|
|
|
--localstatedir=${PREFIX}/etc/nessus/var
|
|
|
|
|
|
|
|
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 06:27:13 +01:00
|
|
|
|
1999-05-17 12:26:40 +02:00
|
|
|
post-install:
|
2002-06-19 13:13:16 +02:00
|
|
|
.if ! defined(BATCH)
|
|
|
|
.if ! exists(${PREFIX}/etc/nessus/var/CA/serverkey.pem)
|
|
|
|
${PREFIX}/sbin/nessus-mkcert
|
|
|
|
.endif
|
|
|
|
.endif
|
1999-05-17 12:26:40 +02:00
|
|
|
|
2001-03-11 14:46:15 +01:00
|
|
|
.include <bsd.port.post.mk>
|