1999-12-01 06:32:20 +01:00
|
|
|
# Ports collection makefile for: nessus-libraries
|
2000-11-26 03:30:11 +01:00
|
|
|
# Date created: 07 November 1999
|
1999-12-01 06:32:20 +01:00
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $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-05-26 21:24:11 +02:00
|
|
|
PORTVERSION= 2.2.8
|
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
|
|
|
|
|
2003-04-19 22:40:13 +02:00
|
|
|
USE_BISON= YES
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
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
|
|
|
|
2000-11-13 12:49:37 +01:00
|
|
|
INSTALLS_SHLIB= YES
|
2000-01-28 18:34:12 +01:00
|
|
|
|
|
|
|
MAN1= nessus-config.1
|
1999-12-01 06:32:20 +01:00
|
|
|
|
2003-04-19 22:40:13 +02:00
|
|
|
.if ! defined(NESSUS_CLIENT_ONLY)
|
|
|
|
pre-configure:
|
|
|
|
@if [ ! -c /dev/bpf1 ]; then \
|
|
|
|
${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} "* Be sure to build as many bpf devices as you need. *";\
|
|
|
|
${ECHO} "* For more info on this read files/README.BPF *";\
|
|
|
|
${ECHO} "********************************************************";\
|
|
|
|
${FALSE}; \
|
|
|
|
fi
|
|
|
|
.if ! defined(WITH_NESSUS_BPF_SHARE)
|
|
|
|
@if [ ! -c /dev/bpf40 ]; then \
|
|
|
|
${ECHO} "********************************************************";\
|
|
|
|
${ECHO} "* W a r n i n g *";\
|
|
|
|
${ECHO} "* *";\
|
|
|
|
${ECHO} "* Nessus needs many bpf devices. If you can't rebuild *";\
|
|
|
|
${ECHO} "* your kernel with more than 40 bpf devices (as *";\
|
|
|
|
${ECHO} "* described in files/README.BPF) then build this port *";\
|
|
|
|
${ECHO} "* with \"make -DWITH_NESSUS_BPF_SHARE\" *";\
|
|
|
|
${ECHO} "* *";\
|
|
|
|
${ECHO} "********************************************************";\
|
|
|
|
${FALSE}; \
|
|
|
|
fi
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2000-02-22 06:20:00 +01:00
|
|
|
.include <bsd.port.mk>
|