Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= argus-clients |
4 |
PORTNAME= argus-clients |
5 |
PORTVERSION= 3.0.6.2 |
5 |
PORTVERSION= 3.0.6.2 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= net-mgmt security |
7 |
CATEGORIES= net-mgmt security |
7 |
MASTER_SITES= http://qosient.com/argus/src/ \ |
8 |
MASTER_SITES= http://qosient.com/argus/src/ \ |
8 |
ftp://qosient.com/pub/argus/src/ |
9 |
ftp://qosient.com/pub/argus/src/ |
Lines 14-26
Link Here
|
14 |
|
15 |
|
15 |
CONFLICTS= argus-clients-2* argus-clients-sasl-2* |
16 |
CONFLICTS= argus-clients-2* argus-clients-sasl-2* |
16 |
|
17 |
|
17 |
OPTIONS_DEFINE= GEOIP MANPAGES MYSQL SASL |
18 |
OPTIONS_DEFINE= GEOIP MYSQL SASL |
18 |
OPTIONS_DEFAULT=MANPAGES MYSQL SASL |
19 |
OPTIONS_DEFAULT=MYSQL SASL |
19 |
|
20 |
|
20 |
USES= bison ncurses perl5 |
21 |
USES= bison ncurses perl5 |
21 |
USE_CSTD= gnu89 |
22 |
USE_CSTD= gnu89 |
22 |
|
23 |
|
23 |
NO_STAGE= yes |
|
|
24 |
.include <bsd.port.options.mk> |
24 |
.include <bsd.port.options.mk> |
25 |
|
25 |
|
26 |
GNU_CONFIGURE= true |
26 |
GNU_CONFIGURE= true |
Lines 27-33
Link Here
|
27 |
|
27 |
|
28 |
.if ${PORT_OPTIONS:MSASL} |
28 |
.if ${PORT_OPTIONS:MSASL} |
29 |
PKGNAMESUFFIX+= -sasl |
29 |
PKGNAMESUFFIX+= -sasl |
30 |
LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2 |
30 |
LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 |
31 |
CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} |
31 |
CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} |
32 |
.endif |
32 |
.endif |
33 |
|
33 |
|
Lines 34-100
Link Here
|
34 |
.if ${PORT_OPTIONS:MMYSQL} |
34 |
.if ${PORT_OPTIONS:MMYSQL} |
35 |
USE_MYSQL= yes |
35 |
USE_MYSQL= yes |
36 |
PLIST_SUB+= MYSQL="" |
36 |
PLIST_SUB+= MYSQL="" |
37 |
.if ${PORT_OPTIONS:MMANPAGES} |
|
|
38 |
MAN1+= rasql.1 rasqlinsert.1 rasqltimeindex.1 |
39 |
.endif |
40 |
.else |
37 |
.else |
41 |
PLIST_SUB+= MYSQL="@comment " |
38 |
PLIST_SUB+= MYSQL="@comment " |
42 |
.endif |
39 |
.endif |
43 |
|
40 |
|
44 |
.if ${PORT_OPTIONS:MGEOIP} |
41 |
.if ${PORT_OPTIONS:MGEOIP} |
45 |
LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP |
42 |
LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP |
46 |
CONFIGURE_ARGS+= --with-GeoIP=${LOCALBASE} |
43 |
CONFIGURE_ARGS+= --with-GeoIP=${LOCALBASE} |
47 |
.endif |
44 |
.endif |
48 |
|
45 |
|
49 |
.if ${PORT_OPTIONS:MMANPAGES} |
|
|
50 |
MAN1+= ra.1 rabins.1 racluster.1 raconvert.1 racount.1 radump.1 raevent.1 \ |
51 |
rafilteraddr.1 ragraph.1 ragrep.1 rahisto.1 ralabel.1 ranonymize.1 \ |
52 |
rapath.1 rapolicy.1 rasort.1 rasplit.1 rastream.1 rastrip.1 |
53 |
MAN5= racluster.5 radium.conf.5 ralabel.conf.5 ranonymize.5 rarc.5 |
54 |
MAN8= radium.8 |
55 |
.endif |
56 |
|
57 |
do-install: |
46 |
do-install: |
|
|
47 |
.for i in radark ragraph rahosts raips raplot raports |
48 |
@${REINPLACE_CMD} -e 's#/usr/bin/perl#${LOCALBASE}/bin/perl#' ${WRKSRC}/bin/$i |
49 |
.endfor |
58 |
.for i in ra rabins racluster raconvert racount radium radump raevent \ |
50 |
.for i in ra rabins racluster raconvert racount radium radump raevent \ |
59 |
rafilteraddr ragrep rahisto ralabel ranonymize rapath rapolicy \ |
51 |
rafilteraddr ragrep rahisto ralabel ranonymize rapath rapolicy \ |
60 |
rarpwatch raservices rasort rasplit rastream rastrip \ |
52 |
rarpwatch raservices rasort rasplit rastream rastrip \ |
61 |
ratemplate ratimerange ratop rauserdata |
53 |
ratemplate ratimerange ratop rauserdata |
62 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i |
54 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${STAGEDIR}/${PREFIX}/bin/$i |
63 |
.endfor |
55 |
.endfor |
64 |
|
|
|
65 |
.for i in argusclientbug radark ragraph rahosts raips raplot raports |
56 |
.for i in argusclientbug radark ragraph rahosts raips raplot raports |
66 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i |
57 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${STAGEDIR}/${PREFIX}/bin/$i |
67 |
.endfor |
58 |
.endfor |
68 |
|
|
|
69 |
.if ${PORT_OPTIONS:MMYSQL} |
59 |
.if ${PORT_OPTIONS:MMYSQL} |
70 |
.for i in rasql rasqlinsert rasqltimeindex |
60 |
.for i in rasql rasqlinsert rasqltimeindex |
71 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i |
61 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${STAGEDIR}/${PREFIX}/bin/$i |
72 |
.endfor |
62 |
.endfor |
73 |
.endif |
63 |
.endif |
74 |
.for i in radark ragraph rahosts raports |
64 |
.for i in radark ragraph rahosts raports |
75 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i |
65 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${STAGEDIR}/${PREFIX}/bin/$i |
76 |
.endfor |
66 |
.endfor |
77 |
.if ${PORT_OPTIONS:MDOCS} |
67 |
${MKDIR} ${STAGEDIR}/${DOCSDIR}/ |
78 |
${MKDIR} ${DOCSDIR}/ |
|
|
79 |
.for i in AUTHORS CHANGES CREDITS ChangeLog INSTALL \ |
68 |
.for i in AUTHORS CHANGES CREDITS ChangeLog INSTALL \ |
80 |
MANIFEST README VERSION |
69 |
MANIFEST README VERSION |
81 |
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} |
70 |
${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}/${DOCSDIR} |
82 |
.endfor |
71 |
.endfor |
83 |
.endif |
72 |
.for i in ra.1 rabins.1 racluster.1 raconvert.1 racount.1 radump.1 raevent.1 \ |
84 |
.if ${PORT_OPTIONS:MMANPAGES} |
73 |
rafilteraddr.1 ragraph.1 ragrep.1 rahisto.1 ralabel.1 ranonymize.1 \ |
85 |
.for i in ${MAN1} |
74 |
rapath.1 rapolicy.1 rasort.1 rasplit.1 rastream.1 rastrip.1 |
86 |
${INSTALL_DATA} ${WRKSRC}/man/man1/$i ${MANPREFIX}/man/man1 |
75 |
${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${STAGEDIR}/${PREFIX}/man/man1 |
87 |
.endfor |
76 |
.endfor |
88 |
.for i in ${MAN5} |
77 |
.for i in racluster.5 radium.conf.5 ralabel.conf.5 ranonymize.5 rarc.5 |
89 |
${INSTALL_DATA} ${WRKSRC}/man/man5/$i ${MANPREFIX}/man/man5 |
78 |
${INSTALL_MAN} ${WRKSRC}/man/man5/$i ${STAGEDIR}/${PREFIX}/man/man5 |
90 |
.endfor |
79 |
.endfor |
91 |
.for i in ${MAN8} |
80 |
.for i in radium.8 |
92 |
${INSTALL_DATA} ${WRKSRC}/man/man8/$i ${MANPREFIX}/man/man8 |
81 |
${INSTALL_MAN} ${WRKSRC}/man/man8/$i ${STAGEDIR}/${PREFIX}/man/man8 |
93 |
.endfor |
82 |
.endfor |
|
|
83 |
.if ${PORT_OPTIONS:MMYSQL} |
84 |
.for i in rasql.1 rasqlinsert.1 rasqltimeindex.1 |
85 |
${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${STAGEDIR}/${PREFIX}/man/man1 |
86 |
.endfor |
94 |
.endif |
87 |
.endif |
95 |
${MKDIR} ${EXAMPLESDIR} |
88 |
|
|
|
89 |
${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} |
96 |
.for i in Config Database Startup System |
90 |
.for i in Config Database Startup System |
97 |
${MKDIR} ${EXAMPLESDIR}/$i |
91 |
${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}/$i |
98 |
.endfor |
92 |
.endfor |
99 |
|
93 |
|
100 |
.for i in delegated-ipv4-latest excel.rc iana-address-file \ |
94 |
.for i in delegated-ipv4-latest excel.rc iana-address-file \ |
Lines 102-117
Link Here
|
102 |
racluster.conf radium.conf ragetcountrycodes.sh ralabel.conf \ |
96 |
racluster.conf radium.conf ragetcountrycodes.sh ralabel.conf \ |
103 |
ranonymize.conf rarc rarc.print.all.conf rastream.sh std.sig \ |
97 |
ranonymize.conf rarc rarc.print.all.conf rastream.sh std.sig \ |
104 |
wireshark.manuf.txt |
98 |
wireshark.manuf.txt |
105 |
${INSTALL_DATA} ${WRKSRC}/support/Config/$i ${EXAMPLESDIR}/Config/$i |
99 |
${INSTALL_DATA} ${WRKSRC}/support/Config/$i ${STAGEDIR}/${EXAMPLESDIR}/Config/$i |
106 |
.endfor |
100 |
.endfor |
107 |
.for i in MySQL.Archive.sh README |
101 |
.for i in MySQL.Archive.sh README |
108 |
${INSTALL_DATA} ${WRKSRC}/support/Database/$i ${EXAMPLESDIR}/Database/$i |
102 |
${INSTALL_DATA} ${WRKSRC}/support/Database/$i ${STAGEDIR}/${EXAMPLESDIR}/Database/$i |
109 |
.endfor |
103 |
.endfor |
110 |
.for i in README com.qosient.radium.plist com.qosient.rasplit.plist \ |
104 |
.for i in README com.qosient.radium.plist com.qosient.rasplit.plist \ |
111 |
radium radium.service rasplit |
105 |
radium radium.service rasplit |
112 |
${INSTALL_DATA} ${WRKSRC}/support/Startup/$i ${EXAMPLESDIR}/Startup/$i |
106 |
${INSTALL_DATA} ${WRKSRC}/support/Startup/$i ${STAGEDIR}/${EXAMPLESDIR}/Startup/$i |
113 |
.endfor |
107 |
.endfor |
114 |
.for i in magic |
108 |
.for i in magic |
115 |
${INSTALL_DATA} ${WRKSRC}/support/System/$i ${EXAMPLESDIR}/System/$i |
109 |
${INSTALL_DATA} ${WRKSRC}/support/System/$i ${STAGEDIR}/${EXAMPLESDIR}/System/$i |
116 |
.endfor |
110 |
.endfor |
117 |
.include <bsd.port.mk> |
111 |
.include <bsd.port.mk> |