freebsd-ports/security/nessus-libraries/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

71 lines
2.7 KiB
Makefile

# Ports collection makefile for: nessus-libraries
# Date created: 07 November 1999
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
# Define NESSUS_CLIENT_ONLY if you only want to build this for the nessus
# client.
PORTNAME= nessus-libraries
PORTVERSION= 2.2.6
CATEGORIES= security
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
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.ayamura.org/pub/nessus/nessus-${PORTVERSION}/src/
DISTNAME= nessus-libraries-${PORTVERSION}
MAINTAINER= udo.schweigert@siemens.com
COMMENT= Libraries for Nessus, the security scanner
CONFLICTS= nessus-libraries-devel-[0-9]*
DIST_SUBDIR= nessus
WRKSRC= ${WRKDIR}/nessus-libraries
USE_BISON= YES
USE_AUTOTOOLS= libtool:13
CONFIGURE_ARGS= --enable-cipher
.if defined(WITH_NESSUS_BPF_SHARE)
CONFIGURE_ARGS+= --enable-bpf-sharing
.endif
INSTALLS_SHLIB= YES
MAN1= nessus-config.1
.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
.include <bsd.port.mk>