From gaod@zoonews.ee.ntu.edu.tw  Mon Apr 19 22:28:51 2010
Return-Path: <gaod@zoonews.ee.ntu.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 296A4106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2010 22:28:51 +0000 (UTC)
	(envelope-from gaod@zoonews.ee.ntu.edu.tw)
Received: from zoonews.ee.ntu.edu.tw (zoonews.ee.ntu.edu.tw [140.112.18.37])
	by mx1.freebsd.org (Postfix) with ESMTP id CEF4F8FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2010 22:28:50 +0000 (UTC)
Received: from zoonews.ee.ntu.edu.tw (localhost [127.0.0.1])
	by zoonews.ee.ntu.edu.tw (Postfix) with ESMTP id DEE8A18141A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 Apr 2010 06:11:53 +0800 (CST)
Received: (from root@localhost)
	by zoonews.ee.ntu.edu.tw (8.14.3/8.14.3/Submit) id o3JMBrnX038050;
	Tue, 20 Apr 2010 06:11:53 +0800 (CST)
	(envelope-from gaod)
Message-Id: <201004192211.o3JMBrnX038050@zoonews.ee.ntu.edu.tw>
Date: Tue, 20 Apr 2010 06:11:53 +0800 (CST)
From: Hung-Yi Chen <gaod@hychen.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] net/babeld: A distance-vector routing protocol
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         145861
>Category:       ports
>Synopsis:       [NEW PORT] net/babeld: A distance-vector routing protocol
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rene
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 22:30:01 UTC 2010
>Closed-Date:    Thu Apr 22 22:05:53 UTC 2010
>Last-Modified:  Thu Apr 22 22:10:01 UTC 2010
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 8.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD zoonews.ee.ntu.edu.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Wed Jan 13 02:03:28 CST 2010
>Description:
Babel is a distance-vector routing protocol for 
IPv6 and IPv4 with fast convergence properties.
It is based on the ideas in DSDV, AODV and 
Cisco's EIGRP, but uses a variant of ETX 
link cost estimation rather than a simple 
hop-count metric.

WWW: http://www.pps.jussieu.fr/~jch/software/babel/

>How-To-Repeat:
>Fix:

--- babeld-0.98.shar begins here ---
# 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:
#
#	babeld
#	babeld/Makefile
#	babeld/distinfo
#	babeld/pkg-descr
#	babeld/pkg-message
#	babeld/files
#	babeld/files/patch-Makefile
#	babeld/files/patch-util.c
#
echo c - babeld
mkdir -p babeld > /dev/null 2>&1
echo x - babeld/Makefile
sed 's/^X//' >babeld/Makefile << 'cb5d1fc2d0624d0dadfbf2e908200a3f'
X# New ports collection makefile for:	babeld
X# Date created:		2010-04-20
X# Whom:			Hung-Yi Chen <gaod@hychen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	babeld
XPORTVERSION=	0.98
XCATEGORIES=	net
XMASTER_SITES=	http://www.pps.jussieu.fr/~jch/software/files/
X
XMAINTAINER=	gaod@hychen.org
XCOMMENT=	A distance-vector routing protocol
X
XPLIST_FILES=	bin/babeld
X
XMAN8=		babeld.8
X
X.include <bsd.port.mk>
cb5d1fc2d0624d0dadfbf2e908200a3f
echo x - babeld/distinfo
sed 's/^X//' >babeld/distinfo << 'b43a1c2acd1b9c2b842b8c7374564b58'
XMD5 (babeld-0.98.tar.gz) = 85af76e90914b82d9ece497e15df252f
XSHA256 (babeld-0.98.tar.gz) = 92af70126fe48e8d553475c155c7098b4d3037e31bbe9cf9c48adb04ead007ad
XSIZE (babeld-0.98.tar.gz) = 59007
b43a1c2acd1b9c2b842b8c7374564b58
echo x - babeld/pkg-descr
sed 's/^X//' >babeld/pkg-descr << '72cb1a3311ea527c39f1a59fda7bc485'
XBabel is a distance-vector routing protocol for 
XIPv6 and IPv4 with fast convergence properties.
XIt is based on the ideas in DSDV, AODV and 
XCisco's EIGRP, but uses a variant of ETX 
Xlink cost estimation rather than a simple 
Xhop-count metric.
X
XWWW: http://www.pps.jussieu.fr/~jch/software/babel/
72cb1a3311ea527c39f1a59fda7bc485
echo x - babeld/pkg-message
sed 's/^X//' >babeld/pkg-message << '8876297de225cd04f221998c7fceab84'
X
X*** !!WARNING!! !!WARNING!! !!WARNING!! ***
XThis port allows machines within your network to create holes in your
Xfirewall.  Please ensure this is really what you want!
X*** !!WARNING!! !!WARNING!! !!WARNING!! ***
X
XFor this daemon to work, you must modify your pf rules to add an anchor
Xin both the NAT and rules section.  Both must be called 'miniupnpd'.
XExample:
X
X# NAT section
X# UPnPd rdr anchor
Xrdr-anchor "miniupnpd"
X
X# Rules section
X# uPnPd rule anchor
Xanchor "miniupnpd"
8876297de225cd04f221998c7fceab84
echo c - babeld/files
mkdir -p babeld/files > /dev/null 2>&1
echo x - babeld/files/patch-Makefile
sed 's/^X//' >babeld/files/patch-Makefile << '263663cde55bbe058944db0169903585'
X--- Makefile.orig	2010-02-09 01:42:25.000000000 +0800
X+++ Makefile	2010-04-20 06:03:52.000000000 +0800
X@@ -1,10 +1,8 @@
X-PREFIX = /usr/local
X-
X-CDEBUGFLAGS = -Os -g -Wall
X+CDEBUGFLAGS = -O2 -Wall
X 
X DEFINES = $(PLATFORM_DEFINES)
X 
X-CFLAGS = $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES)
X+CFLAGS = $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES) -D__APPLE__
X 
X LDLIBS = -lrt
X 
X@@ -33,13 +31,10 @@
X all: babeld babeld.man
X 
X install.minimal: babeld
X-	-rm -f $(TARGET)$(PREFIX)/bin/babeld
X-	mkdir -p $(TARGET)$(PREFIX)/bin
X-	cp -f babeld $(TARGET)$(PREFIX)/bin
X+	cp -f babeld $(PREFIX)/bin
X 
X install: install.minimal all
X-	mkdir -p $(TARGET)$(PREFIX)/man/man8
X-	cp -f babeld.man $(TARGET)$(PREFIX)/man/man8/babeld.8
X+	cp -f babeld.man $(PREFIX)/man/man8/babeld.8
X 
X uninstall:
X 	-rm -f $(TARGET)$(PREFIX)/bin/babeld
263663cde55bbe058944db0169903585
echo x - babeld/files/patch-util.c
sed 's/^X//' >babeld/files/patch-util.c << 'ea5753ed09efedb4f5cffa6c7d67b233'
X--- util.c.orig	2010-04-20 05:48:52.000000000 +0800
X+++ util.c	2010-04-20 05:49:28.000000000 +0800
X@@ -31,6 +31,7 @@
X #include <sys/types.h>
X #include <sys/socket.h>
X #include <arpa/inet.h>
X+#include <netinet/in.h>
X 
X #include "babeld.h"
X #include "util.h"
ea5753ed09efedb4f5cffa6c7d67b233
exit
--- babeld-0.98.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rene 
Responsible-Changed-By: rene 
Responsible-Changed-When: Tue Apr 20 20:01:09 UTC 2010 
Responsible-Changed-Why:  
Grab 

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

From: Rene Ladan <rene@freebsd.org>
To: bug-followup@FreeBSD.org, gaod@hychen.org
Cc:  
Subject: Re: ports/145861: [NEW PORT] net/babeld: A distance-vector routing 
	protocol
Date: Tue, 20 Apr 2010 23:15:54 +0200

 The port builds fine on 7-STABLE/i386, but fails on 6-STABLE/i386
 because librt doesn't exist there:
 http://rene-ladan.nl/tb/errors/6-FreeBSD/babeld-0.98.log
 
 6.X reaches end-of-life coming November. In the meantime, you can try
 to fix it or add something like
 .if ${OSVERSION} < 700000
 BROKEN=<a message telling that it doesn't work on 6.X>
 .endif

From: Hung-Yi Chen <gaod@hychen.org>
To: Rene Ladan <rene@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/145861: [NEW PORT] net/babeld: A distance-vector routing 
	protocol
Date: Wed, 21 Apr 2010 20:46:20 +0800

 Hi,
 
 It's my fault.
 
 There are no necessary to use librt on FreeBSD, so I remove it.
 
 Please test the attach file.
 
 2010/4/21 Rene Ladan <rene@freebsd.org>:
 > The port builds fine on 7-STABLE/i386, but fails on 6-STABLE/i386
 > because librt doesn't exist there:
 > http://rene-ladan.nl/tb/errors/6-FreeBSD/babeld-0.98.log
 >
 > 6.X reaches end-of-life coming November. In the meantime, you can try
 > to fix it or add something like
 > .if ${OSVERSION} < 700000
 > BROKEN=<a message telling that it doesn't work on 6.X>
 > .endif
 >
State-Changed-From-To: open->closed 
State-Changed-By: rene 
State-Changed-When: Thu Apr 22 22:05:24 UTC 2010 
State-Changed-Why:  
Committed 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145861: commit references a PR
Date: Thu, 22 Apr 2010 22:04:36 +0000 (UTC)

 rene        2010-04-22 22:04:22 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net                  Makefile 
   Added files:
     net/babeld           Makefile distinfo pkg-descr 
     net/babeld/files     patch-Makefile patch-util.c 
   Log:
   Add babeld 0.98, a distance-vector routing protocol.
   
   PR:             ports/145861
   Submitted by:   Hung-Yi Chen <gaod at hychen.org>
   Approved by:    tabthorpe (mentor)
   
   Revision  Changes    Path
   1.2197    +1 -0      ports/net/Makefile
   1.1       +20 -0     ports/net/babeld/Makefile (new)
   1.1       +3 -0      ports/net/babeld/distinfo (new)
   1.1       +42 -0     ports/net/babeld/files/patch-Makefile (new)
   1.1       +10 -0     ports/net/babeld/files/patch-util.c (new)
   1.1       +8 -0      ports/net/babeld/pkg-descr (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:
