svn commit: r303737 - in head/net: . packter-agent
Steve Wills
swills at FreeBSD.org
Thu Sep 6 04:58:10 UTC 2012
Author: swills
Date: Thu Sep 6 04:58:09 2012
New Revision: 303737
URL: http://svn.freebsd.org/changeset/ports/303737
Log:
PACKTER is a free and opensource software for visualization of Internet
traffic.
PACKTER systems are composed of Packter Viewer and Packter Agent.
Packter Viewer draws a flying object by receiving Packter Protocol from
Packter Agent.
WWW: http://www.packter.net
PR: ports/171334
Submitted by: Masaki TAGAWA <masaki at club.kyutech.ac.jp>
Added:
head/net/packter-agent/
head/net/packter-agent/Makefile (contents, props changed)
head/net/packter-agent/distinfo (contents, props changed)
head/net/packter-agent/pkg-descr (contents, props changed)
head/net/packter-agent/pkg-plist (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Thu Sep 6 04:47:49 2012 (r303736)
+++ head/net/Makefile Thu Sep 6 04:58:09 2012 (r303737)
@@ -771,6 +771,7 @@
SUBDIR += p5-ZConf-Bookmarks
SUBDIR += p5-ZeroMQ
SUBDIR += p5-perl-ldap
+ SUBDIR += packter-agent
SUBDIR += panoptis
SUBDIR += paris-traceroute
SUBDIR += passlogd
Added: head/net/packter-agent/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/packter-agent/Makefile Thu Sep 6 04:58:09 2012 (r303737)
@@ -0,0 +1,64 @@
+# New ports collection makefile for: packter-agent
+# Date created: 2012-09-05
+# Whom: Masaki TAGAWA <masaki at club.kyutech.ac.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= packter-agent
+PORTVERSION= 2.5
+CATEGORIES= net
+MASTER_SITES= http://www.packter.net/
+DISTNAME= PackterAgent-${PORTVERSION}
+
+MAINTAINER= masaki at club.kyutech.ac.jp
+COMMENT= An agent of the tool for graphical Internet traffic visualization
+
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+GNU_CONFIGURE= yes
+USE_GNOME= glib20
+
+PORTDOCS= AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README
+
+OPTIONS_DEFINE= IPV6 PACKTERTC
+PACKTERTC_DESC= Install Packter TC
+OPTIONS_DEFAULT= IPV6
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIPV6}
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
+.if ${PORT_OPTIONS:MPACKTERTC}
+USE_PERL5_RUN= yes
+RUN_DEPENDS+= p5-XML-Pastor>=0:${PORTSDIR}/devel/p5-XML-Pastor
+PLIST_SUB+= PACKTERTC=""
+.else
+PLIST_SUB+= PACKTERTC="@comment "
+.endif
+
+post-install:
+.if ${PORT_OPTIONS:MPACKTERTC}
+ @${MKDIR} ${DATADIR}
+ ${CP} -pr ${WRKSRC}/packter_tc ${DATADIR}/
+.endif
+
+.for f in packter.conf
+ @if [ ! -f ${PREFIX}/etc/${f} ]; then \
+ ${CP} -p ${PREFIX}/etc/${f}.sample ${PREFIX}/etc/${f} ; \
+ fi
+.endfor
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
Added: head/net/packter-agent/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/packter-agent/distinfo Thu Sep 6 04:58:09 2012 (r303737)
@@ -0,0 +1,2 @@
+SHA256 (PackterAgent-2.5.tar.gz) = 24c01c0fc2c5254768e53845bccd63ba6fc26e63e5ff4bd890c3dda102555882
+SIZE (PackterAgent-2.5.tar.gz) = 257778
Added: head/net/packter-agent/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/packter-agent/pkg-descr Thu Sep 6 04:58:09 2012 (r303737)
@@ -0,0 +1,7 @@
+PACKTER is a free and opensource software for visualization of Internet
+traffic.
+PACKTER systems are composed of Packter Viewer and Packter Agent.
+Packter Viewer draws a flying object by receiving Packter Protocol from
+Packter Agent.
+
+WWW: http://www.packter.net
Added: head/net/packter-agent/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/packter-agent/pkg-plist Thu Sep 6 04:58:09 2012 (r303737)
@@ -0,0 +1,16 @@
+bin/pt_agent
+bin/pt_sflow
+bin/pt_netflow
+bin/pt_thmon
+ at unexec if cmp -s %D/etc/packter.conf.sample %D/etc/packter.conf; then rm -f %D/etc/packter.conf; fi
+etc/packter.conf.sample
+ at exec [ -f %D/etc/packter.conf ] || cp -p %D/etc/packter.conf.sample %D/etc/packter.conf
+%%PACKTERTC%%%%DATADIR%%/packter_tc/IPTB.pm
+%%PACKTERTC%%%%DATADIR%%/packter_tc/InterTrackMessage.xsd
+%%PACKTERTC%%%%DATADIR%%/packter_tc/btm.conf
+%%PACKTERTC%%%%DATADIR%%/packter_tc/dp.conf
+%%PACKTERTC%%%%DATADIR%%/packter_tc/itm.conf
+%%PACKTERTC%%%%DATADIR%%/packter_tc/packter_tc.pl
+%%PACKTERTC%%%%DATADIR%%/packter_tc/xsd.pl
+ at dirrm %%DATADIR%%/packter_tc
+ at dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list