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

(-)net-mgmt/argus3.0.2-clients/Makefile (-26 / +17 lines)
Lines 6-59 Link Here
6
#
6
#
7
7
8
PORTNAME=	argus-clients
8
PORTNAME=	argus-clients
9
PORTVERSION=	3.0.0
9
PORTVERSION=	3.0.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/
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	support@spectrum.ru
15
COMMENT=	Client programs for the argus IP network transaction auditing tool
15
COMMENT=	Client programs for the argus IP network transaction auditing tool
16
16
17
OPTIONS+=	SASL "SASL authentication support 1" on \
17
OPTIONS+=	SASL "SASL authentication support" on \
18
		DEBUG "Enable debug" off
18
		MYSQL "MySQL database support" on
19
19
20
.include <bsd.port.pre.mk>
20
.include <bsd.port.pre.mk>
21
21
22
.if defined(WITH_SASL)
23
PKGNAMESUFFIX=	-sasl
24
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
25
.endif
26
27
USE_BISON=	build
22
USE_BISON=	build
28
GNU_CONFIGURE=	true
23
GNU_CONFIGURE=	true
29
24
30
.if defined(WITH_SASL)
25
.if defined(WITH_SASL)
26
PKGNAMESUFFIX=	-sasl
27
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
31
CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
28
CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
32
.endif
29
.endif
33
30
34
MAN1=	ra.1 rabins.1 racluster.1 racount.1 ragraph.1 ragrep.1 rahisto.1 \
31
.if defined(WITH_MYSQL)
35
	rasort.1 rasplit.1 rastrip.1
32
USE_MYSQL=	yes
33
.endif
34
35
MAN1=	ra.1 rabins.1 racluster.1 racount.1 ragraph.1 rahisto.1 \
36
	ranonymize.1 rasort.1 rasplit.1 rastream.1 rastrip.1
36
MAN5=	racluster.5 radium.conf.5 rarc.5
37
MAN5=	racluster.5 radium.conf.5 rarc.5
37
MAN8=	radium.8
38
MAN8=	radium.8
38
39
39
pre-configure:
40
.if defined(WITH_DEBUG)
41
	${TOUCH} ${WRKSRC}/.debug
42
.endif
43
44
do-install:
40
do-install:
45
.for i in ra rabins racluster racount radump rafilteraddr \
41
.for i in ra rabins racluster racount radump rafilteraddr \
46
		ragrep rahisto ralabel ranonymize rapath rapolicy \
42
		rahisto ralabel ranonymize rapath rapolicy \
47
		rasort rasplit rastream rastrip ratemplate \
43
		raservices rasort rasplit rasql rasqlinsert rastream \
48
		ratimerange ratop ratree
44
		rastrip ratemplate ratimerange ratop ratree rauserdata
49
	${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
45
	${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
50
.endfor
46
.endfor
51
.for i in argusbug radark ragraph rahosts raports
47
.for i in radark ragraph rahosts raports
52
	${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
48
	${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
53
.endfor
49
.endfor
54
.if !defined(NOPORTDOCS)
50
.if !defined(NOPORTDOCS)
55
	${MKDIR} ${DOCSDIR}/
51
	${MKDIR} ${DOCSDIR}/
56
.for i in README COPYING CREDITS doc/CHANGES doc/FAQ doc/HOW-TO
52
.for i in README COPYING doc/CHANGES doc/FAQ doc/HOW-TO
57
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
53
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
58
.endfor
54
.endfor
59
.endif
55
.endif
Lines 68-78 Link Here
68
	${INSTALL_DATA} ${WRKSRC}/man/man8/$i ${MANPREFIX}/man/man8
64
	${INSTALL_DATA} ${WRKSRC}/man/man8/$i ${MANPREFIX}/man/man8
69
.endfor
65
.endfor
70
.endif
66
.endif
71
.for i in argus_client.a argus_common.a argus_parse.a
72
	${INSTALL_DATA} ${WRKSRC}/lib/$i ${PREFIX}/lib/$i
73
.endfor
74
	${INSTALL_DATA} ${WRKSRC}/include/cons_def.h ${PREFIX}/include
75
	${INSTALL_DATA} ${WRKSRC}/include/cons_out.h ${PREFIX}/include
76
	${MKDIR} ${EXAMPLESDIR}
67
	${MKDIR} ${EXAMPLESDIR}
77
.for i in Config Startup System
68
.for i in Config Startup System
78
	${MKDIR} ${EXAMPLESDIR}/$i
69
	${MKDIR} ${EXAMPLESDIR}/$i
(-)net-mgmt/argus3.0.2-clients/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (argus-clients-3.0.0.tar.gz) = 69220c898c0a3ad612292eaecdec70d2
1
MD5 (argus-clients-3.0.2.tar.gz) = 3d3e9f4ce0539f8320c38cd43fcecbc1
2
SHA256 (argus-clients-3.0.0.tar.gz) = f3b5b37c69b0eb7f3bf561a25709900e295ee15de69000d4c7d165684ebe783d
2
SHA256 (argus-clients-3.0.2.tar.gz) = 68ffc169ff4d6e4c08c19522833c829b2e560ee61b779a7a4f166c1cf022a7c4
3
SIZE (argus-clients-3.0.0.tar.gz) = 1421803
3
SIZE (argus-clients-3.0.2.tar.gz) = 1802627
(-)net-mgmt/argus3.0.2-clients/files/patch-clients_Makefile.in (+11 lines)
Line 0 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
 
(-)net-mgmt/argus3.0.2-clients/files/patch-common_Makefile.in (+11 lines)
Line 0 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
(-)net-mgmt/argus3.0.2-clients/files/patch-common_argus_util.c (+12 lines)
Line 0 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
(-)net-mgmt/argus3.0.2-clients/files/patch-radium_Makefile.in (+11 lines)
Line 0 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
 
(-)net-mgmt/argus3.0.2-clients/files/patch-radump_Makefile.in (+11 lines)
Line 0 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
 
(-)net-mgmt/argus3.0.2-clients/files/patch-ramysql_Makefile.in (+11 lines)
Line 0 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
 
(-)net-mgmt/argus3.0.2-clients/files/patch-ratop_Makefile.in (+11 lines)
Line 0 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@
(-)net-mgmt/argus3.0.2-clients/pkg-plist (-9 / +11 lines)
Lines 1-4 Link Here
1
bin/argusbug
2
bin/ra
1
bin/ra
3
bin/rabins
2
bin/rabins
4
bin/racluster
3
bin/racluster
Lines 7-13 Link Here
7
bin/radump
6
bin/radump
8
bin/rafilteraddr
7
bin/rafilteraddr
9
bin/ragraph
8
bin/ragraph
10
bin/ragrep
11
bin/rahisto
9
bin/rahisto
12
bin/rahosts
10
bin/rahosts
13
bin/ralabel
11
bin/ralabel
Lines 15-48 Link Here
15
bin/rapath
13
bin/rapath
16
bin/rapolicy
14
bin/rapolicy
17
bin/raports
15
bin/raports
16
bin/raservices
18
bin/rasort
17
bin/rasort
19
bin/rasplit
18
bin/rasplit
19
bin/rasql
20
bin/rasqlinsert
20
bin/rastream
21
bin/rastream
21
bin/rastrip
22
bin/rastrip
22
bin/ratemplate
23
bin/ratemplate
23
bin/ratimerange
24
bin/ratimerange
24
bin/ratop
25
bin/ratop
25
bin/ratree
26
bin/ratree
26
include/cons_def.h
27
bin/rauserdata
27
include/cons_out.h
28
lib/argus_client.a
29
lib/argus_common.a
30
lib/argus_parse.a
31
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
28
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
32
%%PORTDOCS%%%%DOCSDIR%%/COPYING
29
%%PORTDOCS%%%%DOCSDIR%%/COPYING
33
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
34
%%PORTDOCS%%%%DOCSDIR%%/FAQ
30
%%PORTDOCS%%%%DOCSDIR%%/FAQ
35
%%PORTDOCS%%%%DOCSDIR%%/HOW-TO
31
%%PORTDOCS%%%%DOCSDIR%%/HOW-TO
36
%%PORTDOCS%%%%DOCSDIR%%/README
32
%%PORTDOCS%%%%DOCSDIR%%/README
37
%%EXAMPLESDIR%%/Config/delegated-ipv4-latest
33
%%EXAMPLESDIR%%/Config/delegated-ipv4-latest
38
%%EXAMPLESDIR%%/Config/excel.rc
34
%%EXAMPLESDIR%%/Config/excel.rc
35
%%EXAMPLESDIR%%/Config/iana-address-file
36
%%EXAMPLESDIR%%/Config/iana-ipv4-address
37
%%EXAMPLESDIR%%/Config/iana-multicast-address
38
%%EXAMPLESDIR%%/Config/iana-port-numbers
39
%%EXAMPLESDIR%%/Config/ra.print.all.conf
39
%%EXAMPLESDIR%%/Config/ra.print.all.conf
40
%%EXAMPLESDIR%%/Config/racluster.conf
40
%%EXAMPLESDIR%%/Config/racluster.conf
41
%%EXAMPLESDIR%%/Config/radium.conf
41
%%EXAMPLESDIR%%/Config/radium.conf
42
%%EXAMPLESDIR%%/Config/ragetcountrycodes.sh
42
%%EXAMPLESDIR%%/Config/ragetcountrycodes.sh
43
%%EXAMPLESDIR%%/Config/ralabel.conf
43
%%EXAMPLESDIR%%/Config/ranonymize.conf
44
%%EXAMPLESDIR%%/Config/ranonymize.conf
44
%%EXAMPLESDIR%%/Config/rarc
45
%%EXAMPLESDIR%%/Config/rarc
45
%%EXAMPLESDIR%%/Config/rastream.sh
46
%%EXAMPLESDIR%%/Config/rastream.sh
47
%%EXAMPLESDIR%%/Config/std.sig
46
%%EXAMPLESDIR%%/Startup/radium
48
%%EXAMPLESDIR%%/Startup/radium
47
%%EXAMPLESDIR%%/System/magic
49
%%EXAMPLESDIR%%/System/magic
48
%%EXAMPLESDIR%%/System/protocols
50
%%EXAMPLESDIR%%/System/protocols
Lines 50-53 Link Here
50
@dirrm %%EXAMPLESDIR%%/Startup
52
@dirrm %%EXAMPLESDIR%%/Startup
51
@dirrm %%EXAMPLESDIR%%/Config
53
@dirrm %%EXAMPLESDIR%%/Config
52
@dirrm %%EXAMPLESDIR%%
54
@dirrm %%EXAMPLESDIR%%
53
%%PORTDOCS%%@dirrm %%DOCSDIR%%
55
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%

Return to bug 142971