From owner-svn-ports-all@FreeBSD.ORG Thu Sep 6 04:58:10 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BD5D1065674; Thu, 6 Sep 2012 04:58:10 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5CF428FC15; Thu, 6 Sep 2012 04:58:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q864wAIi062053; Thu, 6 Sep 2012 04:58:10 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q864w9DE062047; Thu, 6 Sep 2012 04:58:09 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201209060458.q864w9DE062047@svn.freebsd.org> From: Steve Wills Date: Thu, 6 Sep 2012 04:58:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303737 - in head/net: . packter-agent X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 04:58:10 -0000 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 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 +# +# $FreeBSD$ +# + +PORTNAME= packter-agent +PORTVERSION= 2.5 +CATEGORIES= net +MASTER_SITES= http://www.packter.net/ +DISTNAME= PackterAgent-${PORTVERSION} + +MAINTAINER= masaki@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 + +.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 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 +@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 +@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 +@dirrm %%DATADIR%%/packter_tc +@dirrm %%DATADIR%%