1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/security/nessus-libraries/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

72 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.9
PORTREVISION= 1
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
DIST_SUBDIR= nessus
WRKSRC= ${WRKDIR}/nessus-libraries
USE_BISON= build
USE_AUTOTOOLS= libtool:22
CONFIGURE_ARGS= --enable-cipher
.if defined(WITH_NESSUS_BPF_SHARE)
CONFIGURE_ARGS+= --enable-bpf-sharing
.endif
USE_LDCONFIG= YES
MAN1= nessus-config.1
.if ! defined(NESSUS_CLIENT_ONLY)
MANUAL_PACKAGE_BUILD= needs /dev/bpf which is not available in pointyhat jail
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>