ports/173036: net-mgmt/argus3-clients, update
Paul Schmehl
pauls at utdallas.edu
Wed Oct 24 20:50:01 UTC 2012
>Number: 173036
>Category: ports
>Synopsis: net-mgmt/argus3-clients, update
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 24 20:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Paul Schmehl
>Release: FreeBSD 8.3-PRERELEASE amd64
>Organization:
The University of Texas at Dallas
>Environment:
System: FreeBSD hostname.utdallas.edu 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #1: Wed Mar 7 18:01:57 UTC 2012 root at hostname.utdallas.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
net-mgmt/argus3-clients, update port to versin 3.0.6.2,
update Makefile to use new OPTIONS framework, this PR
should not be committed until I send the update to
argus3 as well, and the maintainer approves it.
This supercedes PR ports/173009 which I have requested
to be cancelled.
>How-To-Repeat:
>Fix:
--- argus3-clients.diff begins here ---
Index: distinfo
===================================================================
--- distinfo (revision 306352)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (argus-clients-3.0.4.1.tar.gz) = c56cb81cc9a898f638cacd9973b43fd01e0dcca3b8c7fcaa8b8c5d0456b8b581
-SIZE (argus-clients-3.0.4.1.tar.gz) = 2116531
+SHA256 (argus-clients-3.0.6.2.tar.gz) = f51d7c8d18fa2236f3fe3726deb3c0b8308c0a6ca767c6089811963da95330fc
+SIZE (argus-clients-3.0.6.2.tar.gz) = 2426454
Index: files/patch-radium_Makefile.in
===================================================================
--- files/patch-radium_Makefile.in (revision 306352)
+++ files/patch-radium_Makefile.in (working copy)
@@ -1,11 +0,0 @@
---- radium/Makefile.in~ 2008-02-05 04:37:43.000000000 +0100
-+++ radium/Makefile.in 2008-02-07 11:32:41.610018616 +0100
-@@ -44,7 +44,7 @@
-
- CC = @CC@
- CCOPT = @V_CCOPT@
--INCLS = -I. -I../include -I../common @V_INCLS@
-+INCLS = -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
- DEFS = @DEFS@
- COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@
-
Index: files/patch-clients_Makefile.in
===================================================================
--- files/patch-clients_Makefile.in (revision 306352)
+++ files/patch-clients_Makefile.in (working copy)
@@ -1,11 +0,0 @@
---- clients/Makefile.in~ 2008-02-05 04:37:43.000000000 +0100
-+++ clients/Makefile.in 2008-02-07 11:32:41.576020693 +0100
-@@ -45,7 +45,7 @@
-
- CC = @CC@
- CCOPT = @V_CCOPT@
--INCLS = -I. -I../include -I../common @V_INCLS@
-+INCLS = -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
- DEFS = @DEFS@
- COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@
-
Index: files/patch-ratop_Makefile.in
===================================================================
--- files/patch-ratop_Makefile.in (revision 306352)
+++ files/patch-ratop_Makefile.in (working copy)
@@ -1,11 +0,0 @@
---- ratop/Makefile.in~ 2008-02-28 23:00:36.000000000 +0100
-+++ ratop/Makefile.in 2008-04-18 12:03:41.737798597 +0200
-@@ -50,7 +50,7 @@
-
- CC = @CC@
- CCOPT = @V_CCOPT@
--INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@
-+INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
- DEFS = @DEFS@
- COMPATLIB = @LIBS@ @COMPATLIB@ @LIB_SASL@ @V_THREADS@
- CURSESLIB = @CURSESLIB@
Index: files/patch-common_argus_util.c
===================================================================
--- files/patch-common_argus_util.c (revision 306352)
+++ files/patch-common_argus_util.c (working copy)
@@ -1,12 +0,0 @@
---- common/argus_util.c~ 2008-02-05 04:37:43.000000000 +0100
-+++ common/argus_util.c 2008-02-07 11:32:41.604018124 +0100
-@@ -100,6 +100,9 @@
- #ifndef AF_INET6
- #define AF_INET6 23
- #endif
-+#if defined(__FreeBSD__) /* should work for NetBSD too */
-+#include <sys/limits.h>
-+#endif
-
-
- #ifndef INET6_ADDRSTRLEN
Index: files/patch-ramysql_Makefile.in
===================================================================
--- files/patch-ramysql_Makefile.in (revision 306352)
+++ files/patch-ramysql_Makefile.in (working copy)
@@ -1,11 +0,0 @@
---- ramysql/Makefile.in.orig 2010-02-04 17:34:38.000000000 +0300
-+++ ramysql/Makefile.in 2010-02-04 17:34:50.000000000 +0300
-@@ -50,7 +50,7 @@
-
- CC = @CC@
- CCOPT = @V_CCOPT@
--INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@ @MYSQL_INCLS@
-+INCLS = @INCLS@ -I. -I../include -I../common @V_INCLS@ @MYSQL_INCLS@ @SASLFLAGS@
- DEFS = @DEFS@
- COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@ @V_GEOIPDEP@
-
Index: files/patch-radump_Makefile.in
===================================================================
--- files/patch-radump_Makefile.in (revision 306352)
+++ files/patch-radump_Makefile.in (working copy)
@@ -1,11 +0,0 @@
---- radump/Makefile.in.orig 2010-02-04 17:27:44.000000000 +0300
-+++ radump/Makefile.in 2010-02-04 17:28:00.000000000 +0300
-@@ -50,7 +50,7 @@
-
- CC = @CC@
- CCOPT = @V_CCOPT@
--INCLS = -I. -I../include -I../common @V_INCLS@
-+INCLS = -I. -I../include -I../common @V_INCLS@ @SASLFLAGS@
- DEFS = @DEFS@
- COMPATLIB = @COMPATLIB@ @LIB_SASL@ @LIBS@ @V_THREADS@ @V_GEOIPDEP@
-
Index: files/patch-common_Makefile.in
===================================================================
--- files/patch-common_Makefile.in (revision 306352)
+++ files/patch-common_Makefile.in (working copy)
@@ -1,11 +0,0 @@
---- common/Makefile.in~ 2008-02-05 04:37:43.000000000 +0100
-+++ common/Makefile.in 2008-02-07 11:32:41.580020066 +0100
-@@ -40,7 +40,7 @@
-
- CC = @CC@
- CCOPT = @V_CCOPT@
--INCLS = -I. -I../include @V_INCLS@ @MYSQL_INCLS@
-+INCLS = -I. -I../include @V_INCLS@ @MYSQL_INCLS@ @SASLFLAGS@
- DEFS = @DEFS@ -DARGUS_SYSLOG
-
- # Standard CFLAGS
Index: pkg-plist
===================================================================
--- pkg-plist (revision 306352)
+++ pkg-plist (working copy)
@@ -1,55 +1,76 @@
+bin/argusclientbug
bin/ra
bin/rabins
bin/racluster
+bin/raconvert
bin/racount
bin/radark
+bin/radium
bin/radump
+bin/raevent
bin/rafilteraddr
bin/ragraph
+bin/ragrep
bin/rahisto
bin/rahosts
+bin/raips
bin/ralabel
bin/ranonymize
bin/rapath
+bin/raplot
bin/rapolicy
bin/raports
+bin/rarpwatch
bin/raservices
bin/rasort
bin/rasplit
%%MYSQL%%bin/rasql
%%MYSQL%%bin/rasqlinsert
+%%MYSQL%%bin/rasqltimeindex
bin/rastream
bin/rastrip
bin/ratemplate
bin/ratimerange
bin/ratop
-bin/ratree
bin/rauserdata
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/HOW-TO
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%EXAMPLESDIR%%/Config/delegated-ipv4-latest
-%%EXAMPLESDIR%%/Config/excel.rc
-%%EXAMPLESDIR%%/Config/iana-address-file
-%%EXAMPLESDIR%%/Config/iana-ipv4-address
-%%EXAMPLESDIR%%/Config/iana-multicast-address
-%%EXAMPLESDIR%%/Config/iana-port-numbers
-%%EXAMPLESDIR%%/Config/ra.print.all.conf
-%%EXAMPLESDIR%%/Config/racluster.conf
-%%EXAMPLESDIR%%/Config/radium.conf
-%%EXAMPLESDIR%%/Config/ragetcountrycodes.sh
-%%EXAMPLESDIR%%/Config/ralabel.conf
-%%EXAMPLESDIR%%/Config/ranonymize.conf
-%%EXAMPLESDIR%%/Config/rarc
-%%EXAMPLESDIR%%/Config/rastream.sh
-%%EXAMPLESDIR%%/Config/std.sig
-%%EXAMPLESDIR%%/Startup/radium
-%%EXAMPLESDIR%%/System/magic
-%%EXAMPLESDIR%%/System/protocols
- at dirrm %%EXAMPLESDIR%%/System
- at dirrm %%EXAMPLESDIR%%/Startup
- at dirrm %%EXAMPLESDIR%%/Config
- at dirrm %%EXAMPLESDIR%%
+%%DOCSDIR%%//AUTHORS
+%%DOCSDIR%%//CHANGES
+%%DOCSDIR%%//COPYING
+%%DOCSDIR%%//CREDITS
+%%DOCSDIR%%//ChangeLog
+%%DOCSDIR%%//INSTALL
+%%DOCSDIR%%//MANIFEST
+%%DOCSDIR%%//README
+%%DOCSDIR%%//VERSION
+%%EXAMPLESDIR%%//Config/delegated-ipv4-latest
+%%EXAMPLESDIR%%//Config/excel.rc
+%%EXAMPLESDIR%%//Config/iana-address-file
+%%EXAMPLESDIR%%//Config/iana-ipv4-address
+%%EXAMPLESDIR%%//Config/iana-multicast-address
+%%EXAMPLESDIR%%//Config/iana-port-numbers
+%%EXAMPLESDIR%%//Config/racluster.conf
+%%EXAMPLESDIR%%//Config/radium.conf
+%%EXAMPLESDIR%%//Config/ragetcountrycodes.sh
+%%EXAMPLESDIR%%//Config/ralabel.conf
+%%EXAMPLESDIR%%//Config/ranonymize.conf
+%%EXAMPLESDIR%%//Config/rarc
+%%EXAMPLESDIR%%//Config/rarc.print.all.conf
+%%EXAMPLESDIR%%//Config/rastream.sh
+%%EXAMPLESDIR%%//Config/std.sig
+%%EXAMPLESDIR%%//Config/wireshark.manuf.txt
+%%EXAMPLESDIR%%//Database/MySQL.Archive.sh
+%%EXAMPLESDIR%%//Database/README
+%%EXAMPLESDIR%%//Startup/README
+%%EXAMPLESDIR%%//Startup/com.qosient.radium.plist
+%%EXAMPLESDIR%%//Startup/com.qosient.rasplit.plist
+%%EXAMPLESDIR%%//Startup/radium
+%%EXAMPLESDIR%%//Startup/radium.service
+%%EXAMPLESDIR%%//Startup/rasplit
+%%EXAMPLESDIR%%//System/magic
+ at dirrm %%EXAMPLESDIR%%//System
+ at dirrm %%EXAMPLESDIR%%//Startup
+ at dirrm %%EXAMPLESDIR%%//Database
+ at dirrm %%EXAMPLESDIR%%//Config
+ at dirrm %%EXAMPLESDIR%%/
+ at dirrm %%DOCSDIR%%/
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
Index: Makefile
===================================================================
--- Makefile (revision 306352)
+++ Makefile (working copy)
@@ -6,7 +6,7 @@
#
PORTNAME= argus-clients
-PORTVERSION= 3.0.4.1
+PORTVERSION= 3.0.6.2
CATEGORIES= net-mgmt security
MASTER_SITES= http://qosient.com/argus/src/ \
ftp://qosient.com/pub/argus/src/
@@ -16,9 +16,10 @@
CONFLICTS= argus-clients-2* argus-clients-sasl-2*
-OPTIONS+= SASL "SASL authentication support" on \
- MYSQL "MySQL database support" on \
- GEOIP "GeoIP library support" off
+OPTIONS_DEFINE= SASL MySQL GeoIP
+SASL_DESC= SASL authentication support
+MySQL_DESC= MySQL database support
+GeoIP_DESC= GeoIP library support
.include <bsd.port.options.mk>
@@ -26,40 +27,43 @@
GNU_CONFIGURE= true
USE_NCURSES= yes
-.if defined(WITH_SASL)
-PKGNAMESUFFIX= -sasl
+.if ${PORT_OPTIONS:MSASL}
+PKGNAMESUFFIX+= -sasl
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
.endif
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMySQL}
USE_MYSQL= yes
PLIST_SUB+= MYSQL=""
+MAN1+= rasql.1 rasqlinsert.1 rasqltimeindex.1
.else
PLIST_SUB+= MYSQL="@comment "
.endif
-.if defined(WITH_GEOIP)
+.if ${PORT_OPTIONS:MGeoIP}
LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP
-CONFIGURE_ARGS+= --with-GeoIP=${LOCALBASE}
+CONFIGURE_ARGS+= --with-GeoIP=${LOCALBASE}
.endif
-MAN1= ra.1 rabins.1 racluster.1 racount.1 ragraph.1 rahisto.1 \
- ranonymize.1 rasort.1 rasplit.1 rastream.1 rastrip.1
-MAN5= racluster.5 radium.conf.5 rarc.5
+MAN1+= ra.1 rabins.1 racluster.1 raconvert.1 racount.1 radump.1 raevent.1 \
+ rafilteraddr.1 ragraph.1 ragrep.1 rahisto.1 ralabel.1 ranonymize.1 \
+ rapath.1 rapolicy.1 rasort.1 rasplit.1 rastream.1 rastrip.1
+MAN5= racluster.5 radium.conf.5 ralabel.conf.5 ranonymize.5 rarc.5
MAN8= radium.8
-.include <bsd.port.pre.mk>
-
do-install:
-.for i in ra rabins racluster racount radump rafilteraddr \
- rahisto ralabel ranonymize rapath rapolicy \
- raservices rasort rasplit rastream \
- rastrip ratemplate ratimerange ratop ratree rauserdata
+.for i in ra rabins racluster raconvert racount radium radump raevent \
+ rafilteraddr ragrep rahisto ralabel ranonymize rapath rapolicy \
+ rarpwatch raservices rasort rasplit rastream rastrip \
+ ratemplate ratimerange ratop rauserdata
${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
.endfor
-.if defined(WITH_MYSQL)
-.for i in rasql rasqlinsert
+.for i in argusclientbug radark ragraph rahosts raips raplot raports
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
+.endfor
+.if ${PORT_OPTIONS:MMySQL}
+.for i in rasql rasqlinsert rasqltimeindex
${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
.endfor
.endif
@@ -68,7 +72,8 @@
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/
-.for i in README COPYING doc/CHANGES doc/FAQ doc/HOW-TO
+.for i in AUTHORS CHANGES COPYING CREDITS ChangeLog INSTALL \
+ MANIFEST README VERSION
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif
@@ -84,9 +89,25 @@
.endfor
.endif
${MKDIR} ${EXAMPLESDIR}
-.for i in Config Startup System
+.for i in Config Database Startup System
${MKDIR} ${EXAMPLESDIR}/$i
- ${INSTALL_DATA} ${WRKSRC}/support/$i/* ${EXAMPLESDIR}/$i
.endfor
-.include <bsd.port.post.mk>
+.for i in delegated-ipv4-latest excel.rc iana-address-file \
+ iana-ipv4-address iana-multicast-address iana-port-numbers \
+ racluster.conf radium.conf ragetcountrycodes.sh ralabel.conf \
+ ranonymize.conf rarc rarc.print.all.conf rastream.sh std.sig \
+ wireshark.manuf.txt
+ ${INSTALL_DATA} ${WRKSRC}/support/Config/$i ${EXAMPLESDIR}/Config/$i
+.endfor
+.for i in MySQL.Archive.sh README
+ ${INSTALL_DATA} ${WRKSRC}/support/Database/$i ${EXAMPLESDIR}/Database/$i
+.endfor
+.for i in README com.qosient.radium.plist com.qosient.rasplit.plist \
+ radium radium.service rasplit
+ ${INSTALL_DATA} ${WRKSRC}/support/Startup/$i ${EXAMPLESDIR}/Startup/$i
+.endfor
+.for i in magic
+ ${INSTALL_DATA} ${WRKSRC}/support/System/$i ${EXAMPLESDIR}/System/$i
+.endfor
+.include <bsd.port.mk>
--- argus3-clients.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list