2013-03-08 12:32:11 +01:00
|
|
|
# Created by: Anders Nordby <anders@fix.no>
|
1999-12-01 06:32:20 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-04-19 22:40:13 +02:00
|
|
|
# Define NESSUS_CLIENT_ONLY if you only want to build this for the nessus
|
|
|
|
# client.
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= nessus-libraries
|
2006-11-05 21:38:05 +01:00
|
|
|
PORTVERSION= 2.2.9
|
2007-10-17 12:13:01 +02:00
|
|
|
PORTREVISION= 1
|
1999-12-01 06:32:20 +01: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/ \
|
2003-07-13 22:34:57 +02:00
|
|
|
ftp://ftp.ayamura.org/pub/nessus/nessus-${PORTVERSION}/src/
|
2002-06-19 13:13:16 +02:00
|
|
|
DISTNAME= nessus-libraries-${PORTVERSION}
|
1999-12-01 06:32:20 +01:00
|
|
|
|
2002-06-19 13:13:16 +02:00
|
|
|
MAINTAINER= udo.schweigert@siemens.com
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Libraries for Nessus, the security scanner
|
1999-12-01 06:32:20 +01:00
|
|
|
|
|
|
|
DIST_SUBDIR= nessus
|
|
|
|
WRKSRC= ${WRKDIR}/nessus-libraries
|
|
|
|
|
2013-03-08 12:32:11 +01:00
|
|
|
USES= bison
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2004-04-10 22:42:56 +02:00
|
|
|
CONFIGURE_ARGS= --enable-cipher
|
2003-04-19 22:40:13 +02:00
|
|
|
.if defined(WITH_NESSUS_BPF_SHARE)
|
|
|
|
CONFIGURE_ARGS+= --enable-bpf-sharing
|
|
|
|
.endif
|
2002-10-10 19:30:40 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= YES
|
2000-01-28 18:34:12 +01:00
|
|
|
|
|
|
|
MAN1= nessus-config.1
|
1999-12-01 06:32:20 +01:00
|
|
|
|
2012-01-30 16:29:12 +01:00
|
|
|
.if ! defined(NESSUS_CLIENT_ONLY) && ! defined(PACKAGE_BUILDING)
|
2008-12-19 18:52:10 +01:00
|
|
|
MANUAL_PACKAGE_BUILD= needs /dev/bpf which is not available in pointyhat jail
|
2003-04-19 22:40:13 +02:00
|
|
|
pre-configure:
|
2012-01-30 16:29:12 +01:00
|
|
|
@if [ ! -c /dev/bpf ]; then \
|
2003-04-19 22:40:13 +02:00
|
|
|
${ECHO} "********************************************************";\
|
|
|
|
${ECHO} "* W a r n i n g *";\
|
|
|
|
${ECHO} "* *";\
|
|
|
|
${ECHO} "* Nessus needs Berkeley Packet Filter (bpf). *";\
|
|
|
|
${ECHO} "* To use nessus, your kernel must be rebuilt with bpf, *";\
|
|
|
|
${ECHO} "* and make bpf devices on /dev directory. *";\
|
|
|
|
${ECHO} "* *";\
|
|
|
|
${ECHO} "* For more info on this read files/README.BPF *";\
|
|
|
|
${ECHO} "********************************************************";\
|
|
|
|
${FALSE}; \
|
|
|
|
fi
|
|
|
|
.endif
|
|
|
|
|
2000-02-22 06:20:00 +01:00
|
|
|
.include <bsd.port.mk>
|