View | Details | Raw Unified | Return to bug 173036
Collapse All | Expand All

(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (argus-clients-3.0.4.1.tar.gz) = c56cb81cc9a898f638cacd9973b43fd01e0dcca3b8c7fcaa8b8c5d0456b8b581
1
SHA256 (argus-clients-3.0.6.2.tar.gz) = f51d7c8d18fa2236f3fe3726deb3c0b8308c0a6ca767c6089811963da95330fc
2
SIZE (argus-clients-3.0.4.1.tar.gz) = 2116531
2
SIZE (argus-clients-3.0.6.2.tar.gz) = 2426454
(-)files/patch-radium_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- radium/Makefile.in~	2008-02-05 04:37:43.000000000 +0100
2
+++ radium/Makefile.in	2008-02-07 11:32:41.610018616 +0100
3
@@ -44,7 +44,7 @@
4
 
5
 CC = @CC@
6
 CCOPT = @V_CCOPT@
7
-INCLS = -I. -I../include -I../common @V_INCLS@
8
+INCLS = -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
9
 DEFS = @DEFS@
10
 COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@
11
 
(-)files/patch-clients_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- clients/Makefile.in~	2008-02-05 04:37:43.000000000 +0100
2
+++ clients/Makefile.in	2008-02-07 11:32:41.576020693 +0100
3
@@ -45,7 +45,7 @@
4
 
5
 CC = @CC@
6
 CCOPT = @V_CCOPT@
7
-INCLS = -I. -I../include -I../common @V_INCLS@
8
+INCLS = -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
9
 DEFS = @DEFS@
10
 COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@
11
 
(-)files/patch-ratop_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- ratop/Makefile.in~	2008-02-28 23:00:36.000000000 +0100
2
+++ ratop/Makefile.in	2008-04-18 12:03:41.737798597 +0200
3
@@ -50,7 +50,7 @@
4
 
5
 CC = @CC@
6
 CCOPT = @V_CCOPT@
7
-INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@
8
+INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
9
 DEFS = @DEFS@
10
 COMPATLIB = @LIBS@ @COMPATLIB@ @LIB_SASL@ @V_THREADS@
11
 CURSESLIB = @CURSESLIB@
(-)files/patch-common_argus_util.c (-12 lines)
Lines 1-12 Link Here
1
--- common/argus_util.c~	2008-02-05 04:37:43.000000000 +0100
2
+++ common/argus_util.c	2008-02-07 11:32:41.604018124 +0100
3
@@ -100,6 +100,9 @@
4
 #ifndef AF_INET6
5
 #define AF_INET6	23
6
 #endif
7
+#if defined(__FreeBSD__) /* should work for NetBSD too */
8
+#include <sys/limits.h>
9
+#endif
10
 
11
 
12
 #ifndef INET6_ADDRSTRLEN
(-)files/patch-ramysql_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- ramysql/Makefile.in.orig	2010-02-04 17:34:38.000000000 +0300
2
+++ ramysql/Makefile.in	2010-02-04 17:34:50.000000000 +0300
3
@@ -50,7 +50,7 @@
4
 
5
 CC = @CC@
6
 CCOPT = @V_CCOPT@
7
-INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@ @MYSQL_INCLS@
8
+INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@ @MYSQL_INCLS@ @SASLFLAGS@
9
 DEFS = @DEFS@
10
 COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@ @V_GEOIPDEP@
11
 
(-)files/patch-radump_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- radump/Makefile.in.orig	2010-02-04 17:27:44.000000000 +0300
2
+++ radump/Makefile.in	2010-02-04 17:28:00.000000000 +0300
3
@@ -50,7 +50,7 @@
4
 
5
 CC = @CC@
6
 CCOPT = @V_CCOPT@
7
-INCLS = -I. -I../include -I../common @V_INCLS@
8
+INCLS = -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
9
 DEFS = @DEFS@
10
 COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@ @V_GEOIPDEP@
11
 
(-)files/patch-common_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- common/Makefile.in~	2008-02-05 04:37:43.000000000 +0100
2
+++ common/Makefile.in	2008-02-07 11:32:41.580020066 +0100
3
@@ -40,7 +40,7 @@
4
 
5
 CC = @CC@
6
 CCOPT = @V_CCOPT@
7
-INCLS = -I. -I../include @V_INCLS@ @MYSQL_INCLS@
8
+INCLS = -I. -I../include @V_INCLS@ @MYSQL_INCLS@ @SASLFLAGS@
9
 DEFS = @DEFS@ -DARGUS_SYSLOG
10
 
11
 # Standard CFLAGS
(-)pkg-plist (-28 / +49 lines)
Lines 1-55 Link Here
1
bin/argusclientbug
1
bin/ra
2
bin/ra
2
bin/rabins
3
bin/rabins
3
bin/racluster
4
bin/racluster
5
bin/raconvert
4
bin/racount
6
bin/racount
5
bin/radark
7
bin/radark
8
bin/radium
6
bin/radump
9
bin/radump
10
bin/raevent
7
bin/rafilteraddr
11
bin/rafilteraddr
8
bin/ragraph
12
bin/ragraph
13
bin/ragrep
9
bin/rahisto
14
bin/rahisto
10
bin/rahosts
15
bin/rahosts
16
bin/raips
11
bin/ralabel
17
bin/ralabel
12
bin/ranonymize
18
bin/ranonymize
13
bin/rapath
19
bin/rapath
20
bin/raplot
14
bin/rapolicy
21
bin/rapolicy
15
bin/raports
22
bin/raports
23
bin/rarpwatch
16
bin/raservices
24
bin/raservices
17
bin/rasort
25
bin/rasort
18
bin/rasplit
26
bin/rasplit
19
%%MYSQL%%bin/rasql
27
%%MYSQL%%bin/rasql
20
%%MYSQL%%bin/rasqlinsert
28
%%MYSQL%%bin/rasqlinsert
29
%%MYSQL%%bin/rasqltimeindex
21
bin/rastream
30
bin/rastream
22
bin/rastrip
31
bin/rastrip
23
bin/ratemplate
32
bin/ratemplate
24
bin/ratimerange
33
bin/ratimerange
25
bin/ratop
34
bin/ratop
26
bin/ratree
27
bin/rauserdata
35
bin/rauserdata
28
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
36
%%DOCSDIR%%//AUTHORS
29
%%PORTDOCS%%%%DOCSDIR%%/COPYING
37
%%DOCSDIR%%//CHANGES
30
%%PORTDOCS%%%%DOCSDIR%%/FAQ
38
%%DOCSDIR%%//COPYING
31
%%PORTDOCS%%%%DOCSDIR%%/HOW-TO
39
%%DOCSDIR%%//CREDITS
32
%%PORTDOCS%%%%DOCSDIR%%/README
40
%%DOCSDIR%%//ChangeLog
33
%%EXAMPLESDIR%%/Config/delegated-ipv4-latest
41
%%DOCSDIR%%//INSTALL
34
%%EXAMPLESDIR%%/Config/excel.rc
42
%%DOCSDIR%%//MANIFEST
35
%%EXAMPLESDIR%%/Config/iana-address-file
43
%%DOCSDIR%%//README
36
%%EXAMPLESDIR%%/Config/iana-ipv4-address
44
%%DOCSDIR%%//VERSION
37
%%EXAMPLESDIR%%/Config/iana-multicast-address
45
%%EXAMPLESDIR%%//Config/delegated-ipv4-latest
38
%%EXAMPLESDIR%%/Config/iana-port-numbers
46
%%EXAMPLESDIR%%//Config/excel.rc
39
%%EXAMPLESDIR%%/Config/ra.print.all.conf
47
%%EXAMPLESDIR%%//Config/iana-address-file
40
%%EXAMPLESDIR%%/Config/racluster.conf
48
%%EXAMPLESDIR%%//Config/iana-ipv4-address
41
%%EXAMPLESDIR%%/Config/radium.conf
49
%%EXAMPLESDIR%%//Config/iana-multicast-address
42
%%EXAMPLESDIR%%/Config/ragetcountrycodes.sh
50
%%EXAMPLESDIR%%//Config/iana-port-numbers
43
%%EXAMPLESDIR%%/Config/ralabel.conf
51
%%EXAMPLESDIR%%//Config/racluster.conf
44
%%EXAMPLESDIR%%/Config/ranonymize.conf
52
%%EXAMPLESDIR%%//Config/radium.conf
45
%%EXAMPLESDIR%%/Config/rarc
53
%%EXAMPLESDIR%%//Config/ragetcountrycodes.sh
46
%%EXAMPLESDIR%%/Config/rastream.sh
54
%%EXAMPLESDIR%%//Config/ralabel.conf
47
%%EXAMPLESDIR%%/Config/std.sig
55
%%EXAMPLESDIR%%//Config/ranonymize.conf
48
%%EXAMPLESDIR%%/Startup/radium
56
%%EXAMPLESDIR%%//Config/rarc
49
%%EXAMPLESDIR%%/System/magic
57
%%EXAMPLESDIR%%//Config/rarc.print.all.conf
50
%%EXAMPLESDIR%%/System/protocols
58
%%EXAMPLESDIR%%//Config/rastream.sh
51
@dirrm %%EXAMPLESDIR%%/System
59
%%EXAMPLESDIR%%//Config/std.sig
52
@dirrm %%EXAMPLESDIR%%/Startup
60
%%EXAMPLESDIR%%//Config/wireshark.manuf.txt
53
@dirrm %%EXAMPLESDIR%%/Config
61
%%EXAMPLESDIR%%//Database/MySQL.Archive.sh
54
@dirrm %%EXAMPLESDIR%%
62
%%EXAMPLESDIR%%//Database/README
63
%%EXAMPLESDIR%%//Startup/README
64
%%EXAMPLESDIR%%//Startup/com.qosient.radium.plist
65
%%EXAMPLESDIR%%//Startup/com.qosient.rasplit.plist
66
%%EXAMPLESDIR%%//Startup/radium
67
%%EXAMPLESDIR%%//Startup/radium.service
68
%%EXAMPLESDIR%%//Startup/rasplit
69
%%EXAMPLESDIR%%//System/magic
70
@dirrm %%EXAMPLESDIR%%//System
71
@dirrm %%EXAMPLESDIR%%//Startup
72
@dirrm %%EXAMPLESDIR%%//Database
73
@dirrm %%EXAMPLESDIR%%//Config
74
@dirrm %%EXAMPLESDIR%%/
75
@dirrm %%DOCSDIR%%/
55
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
76
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
(-)Makefile (-24 / +45 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	argus-clients
8
PORTNAME=	argus-clients
9
PORTVERSION=	3.0.4.1
9
PORTVERSION=	3.0.6.2
10
CATEGORIES=	net-mgmt security
10
CATEGORIES=	net-mgmt security
11
MASTER_SITES=	http://qosient.com/argus/src/ \
11
MASTER_SITES=	http://qosient.com/argus/src/ \
12
		ftp://qosient.com/pub/argus/src/
12
		ftp://qosient.com/pub/argus/src/
Lines 16-24 Link Here
16
16
17
CONFLICTS=	argus-clients-2* argus-clients-sasl-2*
17
CONFLICTS=	argus-clients-2* argus-clients-sasl-2*
18
18
19
OPTIONS+=	SASL "SASL authentication support" on \
19
OPTIONS_DEFINE=	SASL MySQL GeoIP
20
		MYSQL "MySQL database support" on \
20
SASL_DESC=	SASL authentication support
21
		GEOIP "GeoIP library support" off
21
MySQL_DESC=	MySQL database support
22
GeoIP_DESC=	GeoIP library support
22
23
23
.include <bsd.port.options.mk>
24
.include <bsd.port.options.mk>
24
25
Lines 26-65 Link Here
26
GNU_CONFIGURE=	true
27
GNU_CONFIGURE=	true
27
USE_NCURSES=	yes
28
USE_NCURSES=	yes
28
29
29
.if defined(WITH_SASL)
30
.if ${PORT_OPTIONS:MSASL}
30
PKGNAMESUFFIX=	-sasl
31
PKGNAMESUFFIX+=	-sasl
31
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
32
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
32
CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
33
CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
33
.endif
34
.endif
34
35
35
.if defined(WITH_MYSQL)
36
.if ${PORT_OPTIONS:MMySQL}
36
USE_MYSQL=	yes
37
USE_MYSQL=	yes
37
PLIST_SUB+=	MYSQL=""
38
PLIST_SUB+=	MYSQL=""
39
MAN1+=	rasql.1 rasqlinsert.1 rasqltimeindex.1
38
.else
40
.else
39
PLIST_SUB+=	MYSQL="@comment "
41
PLIST_SUB+=	MYSQL="@comment "
40
.endif
42
.endif
41
43
42
.if defined(WITH_GEOIP)
44
.if ${PORT_OPTIONS:MGeoIP}
43
LIB_DEPENDS+=	GeoIP:${PORTSDIR}/net/GeoIP
45
LIB_DEPENDS+=	GeoIP:${PORTSDIR}/net/GeoIP
44
CONFIGURE_ARGS+=        --with-GeoIP=${LOCALBASE}
46
CONFIGURE_ARGS+=	--with-GeoIP=${LOCALBASE}
45
.endif
47
.endif
46
48
47
MAN1=	ra.1 rabins.1 racluster.1 racount.1 ragraph.1 rahisto.1 \
49
MAN1+=	ra.1 rabins.1 racluster.1 raconvert.1 racount.1 radump.1 raevent.1 \
48
	ranonymize.1 rasort.1 rasplit.1 rastream.1 rastrip.1
50
	rafilteraddr.1 ragraph.1 ragrep.1 rahisto.1 ralabel.1 ranonymize.1 \
49
MAN5=	racluster.5 radium.conf.5 rarc.5
51
	rapath.1 rapolicy.1 rasort.1 rasplit.1 rastream.1 rastrip.1
52
MAN5=	racluster.5 radium.conf.5 ralabel.conf.5 ranonymize.5 rarc.5
50
MAN8=	radium.8
53
MAN8=	radium.8
51
54
52
.include <bsd.port.pre.mk>
53
54
do-install:
55
do-install:
55
.for i in ra rabins racluster racount radump rafilteraddr \
56
.for i in ra rabins racluster raconvert racount radium radump raevent \
56
		rahisto ralabel ranonymize rapath rapolicy \
57
	rafilteraddr ragrep rahisto ralabel ranonymize rapath rapolicy \
57
		raservices rasort rasplit rastream \
58
	rarpwatch raservices rasort rasplit rastream rastrip \
58
		rastrip ratemplate ratimerange ratop ratree rauserdata
59
	ratemplate ratimerange ratop rauserdata
59
	${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
60
	${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
60
.endfor
61
.endfor
61
.if defined(WITH_MYSQL)
62
.for i in argusclientbug radark ragraph rahosts raips raplot raports
62
.for i in rasql rasqlinsert
63
	${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
64
.endfor
65
.if ${PORT_OPTIONS:MMySQL}
66
.for i in rasql rasqlinsert rasqltimeindex
63
	${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
67
	${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
64
.endfor
68
.endfor
65
.endif
69
.endif
Lines 68-74 Link Here
68
.endfor
72
.endfor
69
.if !defined(NOPORTDOCS)
73
.if !defined(NOPORTDOCS)
70
	${MKDIR} ${DOCSDIR}/
74
	${MKDIR} ${DOCSDIR}/
71
.for i in README COPYING doc/CHANGES doc/FAQ doc/HOW-TO
75
.for i in AUTHORS CHANGES COPYING CREDITS ChangeLog INSTALL \
76
	MANIFEST README VERSION
72
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
77
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
73
.endfor
78
.endfor
74
.endif
79
.endif
Lines 84-92 Link Here
84
.endfor
89
.endfor
85
.endif
90
.endif
86
	${MKDIR} ${EXAMPLESDIR}
91
	${MKDIR} ${EXAMPLESDIR}
87
.for i in Config Startup System
92
.for i in Config Database Startup System
88
	${MKDIR} ${EXAMPLESDIR}/$i
93
	${MKDIR} ${EXAMPLESDIR}/$i
89
	${INSTALL_DATA} ${WRKSRC}/support/$i/* ${EXAMPLESDIR}/$i
90
.endfor
94
.endfor
91
95
92
.include <bsd.port.post.mk>
96
.for i in delegated-ipv4-latest excel.rc iana-address-file \
97
	iana-ipv4-address iana-multicast-address iana-port-numbers \
98
	racluster.conf radium.conf ragetcountrycodes.sh ralabel.conf \
99
	ranonymize.conf rarc rarc.print.all.conf rastream.sh std.sig \
100
	wireshark.manuf.txt
101
	${INSTALL_DATA} ${WRKSRC}/support/Config/$i ${EXAMPLESDIR}/Config/$i
102
.endfor
103
.for i in MySQL.Archive.sh README
104
	${INSTALL_DATA} ${WRKSRC}/support/Database/$i ${EXAMPLESDIR}/Database/$i
105
.endfor
106
.for i in README com.qosient.radium.plist com.qosient.rasplit.plist \
107
	radium radium.service rasplit
108
	${INSTALL_DATA} ${WRKSRC}/support/Startup/$i ${EXAMPLESDIR}/Startup/$i
109
.endfor
110
.for i in magic
111
	${INSTALL_DATA} ${WRKSRC}/support/System/$i ${EXAMPLESDIR}/System/$i
112
.endfor
113
.include <bsd.port.mk>

Return to bug 173036