aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/argus/Makefile
blob: 65338df93ea2ee99c35f5b1f6a9b7c9715e421e3 (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
# New ports collection makefile for:    argus
# Date created:     26 November 1998
# Whom:         Jonathan Hanna <jhanna@home.com>
#
# $FreeBSD$
#

PORTNAME=   argus
PORTVERSION=    1.7.b.1e
CATEGORIES= net security
MASTER_SITES=   ftp://ftp.sei.cmu.edu/pub/argus/argus-1.7/
DISTNAME=   argus-1.7.beta.1e

MAINTAINER= jhanna@home.com

.if !exists(/usr/include/tcpd.h)
LIB_DEPENDS=    wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif

GNU_CONFIGURE=  true
CONFIGURE_ARGS= --with-pcap=bpf

MAN1=   connections.1 ra.1 rasort.1 services.1
MAN5=   argus.5
MAN8=   argus.8

do-install:
.for i in adjacency argus_bpf connections dnstats ra raservices rasort
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin
.endfor
    ${MV} ${PREFIX}/bin/argus_bpf ${PREFIX}/bin/argus
.for i in connections.1 ra.1 rasort.1 services.1
    ${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${PREFIX}/man/man1
.endfor
    ${INSTALL_MAN} ${WRKSRC}/man/man5/argus.5 ${PREFIX}/man/man5/argus.5
    ${INSTALL_MAN} ${WRKSRC}/man/man8/argus.8 ${PREFIX}/man/man8/argus.8
    ${INSTALL_DATA} ${WRKSRC}/include/cons_def.h ${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/include/cons_out.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/argus
.for i in CA-95.01 CA-95.01.scan.sh README configs dailyscan.sh policy.conf policy.test ra.conf services
    ${INSTALL_DATA} ${WRKSRC}/examples/$i ${PREFIX}/share/doc/argus
.endfor
.endif

.include <bsd.port.mk>