aboutsummaryrefslogtreecommitdiffstats
path: root/security/nessus-plugins/Makefile
blob: 23b350471b8efbfdb6903ab846dd2440e24467f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Ports collection makefile for:    nessus-plugins
# Date created:             16 October 1999
# Whom:                 Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   nessus-plugins
PORTVERSION=    2.0.5
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.sekure.net/pub/nessus/nessus-${PORTVERSION}/src/
DISTNAME=   nessus-plugins-${PORTVERSION}

MAINTAINER= udo.schweigert@siemens.com
COMMENT=    Plugins for Nessus, the security scanner

BUILD_DEPENDS=  ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \
        libnet-config:${PORTSDIR}/net/libnet
RUN_DEPENDS=    ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \
        nmap:${PORTSDIR}/security/nmap \
        wget:${PORTSDIR}/ftp/wget

DIST_SUBDIR=    nessus
WRKSRC=     ${WRKDIR}/nessus-plugins

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-fetchcmd=wget --sharedstatedir=${PREFIX}/etc/nessus/com \
        --localstatedir=${PREFIX}/etc/nessus/var

MAN1=       nessus-build.1
MAN8=       nessus-update-plugins.8

.include <bsd.port.pre.mk>

post-install:
    @${ECHO} "================================================================================"
    @${ECHO} "Use ${PREFIX}/sbin/nessus-update-plugins to update your plugin"
    @${ECHO} "collection."
    @${ECHO} "================================================================================"

.include <bsd.port.post.mk>