Tweak security/sshblock version 1.0_1
[dports.git] / security / nessus-libraries / Makefile
1 # Created by: Anders Nordby <anders@fix.no>
2 # $FreeBSD$
3
4 # Define NESSUS_CLIENT_ONLY if you only want to build this for the nessus
5 # client.
6
7 PORTNAME=       nessus-libraries
8 PORTVERSION=    2.2.9
9 PORTREVISION=   3
10 CATEGORIES=     security
11 MASTER_SITES=   ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
12                 ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
13                 http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
14                 ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-${PORTVERSION}/src/ \
15                 ftp://ftp.ayamura.org/pub/nessus/nessus-${PORTVERSION}/src/
16 DIST_SUBDIR=    nessus
17
18 MAINTAINER=     udo.schweigert@siemens.com
19 COMMENT=        Libraries for Nessus, the security scanner
20
21 LICENSE=        LGPL20
22
23 GNU_CONFIGURE=  yes
24 CONFIGURE_ARGS= --enable-cipher
25 .if defined(WITH_NESSUS_BPF_SHARE)
26 CONFIGURE_ARGS+=        --enable-bpf-sharing
27 .endif
28 USES=           bison libtool
29 USE_LDCONFIG=   YES
30 WRKSRC=         ${WRKDIR}/nessus-libraries
31
32 .if ! defined(NESSUS_CLIENT_ONLY)
33 pre-everything::
34         @if [ ! -c /dev/bpf ]; then \
35             ${ECHO} "********************************************************";\
36             ${ECHO} "*                   W a r n i n g                      *";\
37             ${ECHO} "*                                                      *";\
38             ${ECHO} "* Nessus needs Berkeley Packet Filter (bpf).           *";\
39             ${ECHO} "* To use nessus, your kernel must be rebuilt with bpf, *";\
40             ${ECHO} "* and make bpf devices on /dev directory.              *";\
41             ${ECHO} "*                                                      *";\
42             ${ECHO} "* For more info on this read files/README.BPF          *";\
43             ${ECHO} "********************************************************";\
44             ${FALSE}; \
45         fi
46 .endif
47
48 .include <bsd.port.mk>