From nobody@FreeBSD.org  Sun Jun 28 08:28:52 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F2BB91065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 08:28:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E17418FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 08:28:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5S8SqQd026353
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 08:28:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n5S8SqaV026352;
	Sun, 28 Jun 2009 08:28:52 GMT
	(envelope-from nobody)
Message-Id: <200906280828.n5S8SqaV026352@www.freebsd.org>
Date: Sun, 28 Jun 2009 08:28:52 GMT
From: dikshie <dikshie@sfc.wide.ad.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New Port: net-mgmt/yaf
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         136118
>Category:       ports
>Synopsis:       New Port: net-mgmt/yaf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 28 08:30:03 UTC 2009
>Closed-Date:    Wed Jul 01 10:48:09 UTC 2009
>Last-Modified:  Wed Jul  1 10:50:02 UTC 2009
>Originator:     dikshie
>Release:        FreeBSD-8
>Organization:
Keio University
>Environment:
FreeBSD totoro.sfc.wide.ad.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #15: Fri Jun 26 14:24:08 JST 2009     dikshie@totoro.sfc.wide.ad.jp:/usr/obj/usr/src/sys/T41  i386
>Description:
New Port:  net-mgmt/yaf
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	yaf
#	yaf/Makefile
#	yaf/pkg-descr
#	yaf/distinfo
#	yaf/files
#	yaf/files/patch-Makefile.in
#	yaf/pkg-plist
#
echo c - yaf
mkdir -p yaf > /dev/null 2>&1
echo x - yaf/Makefile
sed 's/^X//' >yaf/Makefile << 'a146541bf4c58461b74174e85fd43e87'
X# New ports collection makefile for: yaf
X# Date created:		2009-06-29
X# Whom:			Dikshie <dikshie@sfc.wide.ad.jp>
X#
X
XPORTNAME=	yaf
XPORTVERSION=	1.0.0.2
XCATEGORIES=	net-mgmt
XMASTER_SITES=	http://tools.netsa.cert.org/releases/
X
XMAINTAINER=	dikshie@sfc.wide.ad.jp
XCOMMENT=	YAF is Yet Another Flowmeter
X
XLIB_DEPENDS=	fixbuf:${PORTSDIR}/net/libfixbuf \
X		pcre.0:${PORTSDIR}/devel/pcre
X
XGNU_CONFIGURE=	yes
XUSE_GNOME=	glib20
XUSE_LDCONFIG=	yes
X
XMAN1=		airdaemon.1.gz \
X		filedaemon.1.gz \
X		yaf.1.gz \
X		yafscii.1.gz \
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
X
X.include <bsd.port.mk>
a146541bf4c58461b74174e85fd43e87
echo x - yaf/pkg-descr
sed 's/^X//' >yaf/pkg-descr << 'd305d819e35e5d1e601b7f6cd18f5f70'
XYAF is Yet Another Flowmeter. It processes packet data from pcap(3) 
Xdumpfiles as generated by tcpdump(1) or via live capture from an 
Xinterface using pcap(3) into bidirectional flows, then exports those 
Xflows to IPFIX Collecting Processes or in an IPFIX-based file format. 
XYAF's output can be used with the SiLK flow analysis tools and any 
Xother IPFIX compliant toolchain. 
X
XWWW: http://tools.netsa.cert.org/yaf/index.html
d305d819e35e5d1e601b7f6cd18f5f70
echo x - yaf/distinfo
sed 's/^X//' >yaf/distinfo << '7443c57987b998a6f0a36d185a6a92eb'
XMD5 (yaf-1.0.0.2.tar.gz) = 3ea2dd554025ba9978c914386dd59d9c
XSHA256 (yaf-1.0.0.2.tar.gz) = adbab9968a34445517839b7c53f087c793952d54d0d6912b8e219776fbbe21c6
XSIZE (yaf-1.0.0.2.tar.gz) = 1090045
7443c57987b998a6f0a36d185a6a92eb
echo c - yaf/files
mkdir -p yaf/files > /dev/null 2>&1
echo x - yaf/files/patch-Makefile.in
sed 's/^X//' >yaf/files/patch-Makefile.in << 'b4c70b12f962978b8a02af7e0b8a54f7'
X--- Makefile.in.orig	2009-06-26 19:32:09.000000000 +0900
X+++ Makefile.in	2009-06-26 19:32:31.000000000 +0900
X@@ -221,7 +221,7 @@
X target_os = @target_os@
X target_vendor = @target_vendor@
X SUBDIRS = airframe libltdl src include doc etc
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(prefix)/libdata/pkgconfig 
X pkgconfig_DATA = libyaf.pc
X all: all-recursive
X 
b4c70b12f962978b8a02af7e0b8a54f7
echo x - yaf/pkg-plist
sed 's/^X//' >yaf/pkg-plist << 'f4886cf22547d2ca978f291214643aaa'
Xbin/airdaemon
Xbin/filedaemon
Xbin/yaf
Xbin/yafcollect
Xbin/yafscii
X%%ETCDIR%%ApplabelRules.conf
Xinclude/airframe/airlock.h
Xinclude/airframe/airopt.h
Xinclude/airframe/airutil.h
Xinclude/airframe/autoinc.h
Xinclude/airframe/daeconfig.h
Xinclude/airframe/logconfig.h
Xinclude/airframe/mio.h
Xinclude/airframe/mio_config.h
Xinclude/airframe/mio_sink_file.h
Xinclude/airframe/mio_sink_multi.h
Xinclude/airframe/mio_sink_tcp.h
Xinclude/airframe/mio_sink_udp.h
Xinclude/airframe/mio_source_file.h
Xinclude/airframe/mio_source_pcap.h
Xinclude/airframe/mio_source_tcp.h
Xinclude/airframe/mio_source_udp.h
Xinclude/airframe/mio_stdio.h
Xinclude/airframe/privconfig.h
Xinclude/ltdl.h
Xinclude/yaf/autoinc.h
Xinclude/yaf/decode.h
Xinclude/yaf/picq.h
Xinclude/yaf/ring.h
Xinclude/yaf/yafcore.h
Xinclude/yaf/yafrag.h
Xinclude/yaf/yaftab.h
Xlib/libairframe-1.0.0.2.so
Xlib/libairframe-1.0.0.2.so.4
Xlib/libairframe.a
Xlib/libairframe.la
Xlib/libairframe.so
Xlib/libltdl.a
Xlib/libltdl.la
Xlib/libltdl.so.4
Xlib/libyaf-1.0.0.2.so
Xlib/libyaf-1.0.0.2.so.4
Xlib/libyaf.a
Xlib/libyaf.la
Xlib/libyaf.so
Xlib/pkgconfig/libairframe.pc
Xlibdata/pkgconfig/libyaf.pc
X@dirrm lib/pkgconfig
X@dirrm include/yaf
X@dirrm include/airframe
f4886cf22547d2ca978f291214643aaa
exit



>Release-Note:
>Audit-Trail:
Class-Changed-From-To: sw-bug->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Sun Jun 28 08:30:17 UTC 2009 
Class-Changed-Why:  
Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136118 
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Jun 28 09:07:13 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136118 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Sun Jun 28 15:55:39 UTC 2009 
State-Changed-Why:  
Build failed on 6X 

http://32bit.miwibox.org/index.php?action=describe_port&id=1067 
http://64bit.miwibox.org/index.php?action=describe_port&id=1079 




http://www.freebsd.org/cgi/query-pr.cgi?pr=136118 

From: dikshie <dikshie@gmail.com>
To: bug-followup@freebsd.org, dikshie@sfc.wide.ad.jp
Cc:  
Subject: Re: ports/136118: New Port: net-mgmt/yaf
Date: Tue, 30 Jun 2009 16:01:42 +0900

 Hi Miwi,
 
 i follow:
 http://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html
 
 
 FreeBSD ganesha.itb.ac.id 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun
 Dec 21 07:56:41 UTC 2008
 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
 
 
 #make install is OK
 ----
 test -z "/usr/local/libdata/pkgconfig" ||
 /home/admin/usr/ports/net-mgmt/yaf/work/yaf-1.0.0.2/autoconf/install-sh
 -d "/usr/local/libdata/pkgconfig"
  install  -o root -g wheel -m 444 'libyaf.pc'
 '/usr/local/libdata/pkgconfig/libyaf.pc'
 ===>   Compressing manual pages for yaf-1.0.0.2
 ===>   Running ldconfig
 /sbin/ldconfig -m /usr/local/lib
 ===>   Registering installation for yaf-1.0.0.2
 ----
 
 # make package is OK
 ---
 ===>  Building package for yaf-1.0.0.2
 Creating package /home/admin/usr/ports/net-mgmt/yaf/yaf-1.0.0.2.tbz
 Registering depends: libfixbuf-0.8.0 gio-fam-backend-2.16.5
 gamin-0.1.9_2 glib-2.16.5 gettext-0.17_1 libiconv-1.11_1 pcre-7.7_1
 pkg-config-0.23_1 perl-5.8.9_2 python25-2.5.2_3.
 Creating bzip'd tar ball in
 '/home/admin/usr/ports/net-mgmt/yaf/yaf-1.0.0.2.tbz'
 
        ---
 
 # make deinstall is OK
 ---
 ===>  Deinstalling for net-mgmt/yaf
 ===>   Deinstalling yaf-1.0.0.2
 ---
 
 # pkg_add package_name is OK
 ---
 Running mtree for yaf-1.0.0.2..
 mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null
 Attempting to record package into /var/db/pkg/yaf-1.0.0.2..
 Trying to record dependency on package 'python25-2.5.2_3' with
 'lang/python25' origin.
 Trying to record dependency on package 'perl-5.8.9_2' with
 'lang/perl5.8' origin.
 Trying to record dependency on package 'pkg-config-0.23_1' with
 'devel/pkg-config' origin.
 Trying to record dependency on package 'pcre-7.7_1' with 'devel/pcre'
 origin.
 Trying to record dependency on package 'libiconv-1.11_1' with
 'converters/libiconv' origin.
 Trying to record dependency on package 'gettext-0.17_1' with
 'devel/gettext' origin.
 Trying to record dependency on package 'glib-2.16.5' with 'devel/glib20'
 origin.
 Trying to record dependency on package 'gamin-0.1.9_2' with
 'devel/gamin' origin.
 Trying to record dependency on package 'gio-fam-backend-2.16.5' with
 'devel/gio-fam-backend' origin.
 Trying to record dependency on package 'libfixbuf-0.8.0' with
 'net/libfixbuf' origin.
 Package yaf-1.0.0.2 registered in /var/db/pkg/yaf-1.0.0.2
 ----
 
 # pkg_deinstall package_name is OK
 ---
 
 Delete file /usr/local/lib/pkgconfig/libairframe.pc
 Delete file /usr/local/libdata/pkgconfig/libyaf.pc
 Delete directory /usr/local/lib/pkgconfig
 Delete directory /usr/local/include/yaf
 Delete directory /usr/local/include/airframe
 Execute '/sbin/ldconfig -R'
 Change working directory to .
 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 171 packages
 found (-1 +0) (...) done]
 --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
         + yaf-1.0.0.2
 --->  Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed
 ----
 
 # make deinstall after pkg_add is OK too
 ----
 ===>  Deinstalling for net-mgmt/yaf
 ===>   Deinstalling yaf-1.0.0.2
 ----
 
 # make reinstall is OK
 ---
 test -z "/usr/local/libdata/pkgconfig" ||
 /home/admin/usr/ports/net-mgmt/yaf/work/yaf-1.0.0.2/autoconf/install-sh
 -d "/usr/local/libdata/pkgconfig"
  install  -o root -g wheel -m 444 'libyaf.pc'
 '/usr/local/libdata/pkgconfig/libyaf.pc'
 ===>   Compressing manual pages for yaf-1.0.0.2
 ===>   Running ldconfig
 /sbin/ldconfig -m /usr/local/lib
 ===>   Registering installation for yaf-1.0.0.2
 ----
 
 # (again) make package is OK
 ----
 ===>  Building package for yaf-1.0.0.2
 Creating package /home/admin/usr/ports/net-mgmt/yaf/yaf-1.0.0.2.tbz
 Registering depends: libfixbuf-0.8.0 gio-fam-backend-2.16.5
 gamin-0.1.9_2 glib-2.16.5 gettext-0.17_1 libiconv-1.11_1 pcre-7.7_1
 pkg-config-0.23_1 perl-5.8.9_2 python25-2.5.2_3.
 Creating bzip'd tar ball in
 '/home/admin/usr/ports/net-mgmt/yaf/yaf-1.0.0.2.tbz
 ----
 
 
 so i dont know what's wrong in your build box.
 
 best regards,
 
 -dikshie
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Jul 1 10:48:08 UTC 2009 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136118 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/136118: commit references a PR
Date: Wed,  1 Jul 2009 10:48:28 +0000 (UTC)

 miwi        2009-07-01 10:48:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt             Makefile 
   Added files:
     net-mgmt/yaf         Makefile distinfo pkg-descr pkg-plist 
   Log:
   YAF is Yet Another Flowmeter. It processes packet data from pcap(3)
   dumpfiles as generated by tcpdump(1) or via live capture from an
   interface using pcap(3) into bidirectional flows, then exports those
   flows to IPFIX Collecting Processes or in an IPFIX-based file format.
   YAF's output can be used with the SiLK flow analysis tools and any
   other IPFIX compliant toolchain.
   
   WWW: http://tools.netsa.cert.org/yaf/index.html
   
   PR:             ports/136118
   Submitted by:   Dikshie <dikshie at sfc.wide.ad.jp>
   
   Revision  Changes    Path
   1.191     +1 -0      ports/net-mgmt/Makefile
   1.1       +33 -0     ports/net-mgmt/yaf/Makefile (new)
   1.1       +3 -0      ports/net-mgmt/yaf/distinfo (new)
   1.1       +8 -0      ports/net-mgmt/yaf/pkg-descr (new)
   1.1       +49 -0     ports/net-mgmt/yaf/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
