From yonatan@laptop.afarsec.com  Tue Aug  8 16:58:10 2006
Return-Path: <yonatan@laptop.afarsec.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7F5F316A4DA
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Aug 2006 16:58:10 +0000 (UTC)
	(envelope-from yonatan@laptop.afarsec.com)
Received: from laptop.afarsec.com (80.178.178.116.forward.012.net.il [80.178.178.116])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DBCE143D53
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Aug 2006 16:58:09 +0000 (GMT)
	(envelope-from yonatan@laptop.afarsec.com)
Received: by laptop.afarsec.com (Postfix, from userid 1001)
	id 6A0902841A; Tue,  8 Aug 2006 19:58:25 +0300 (IDT)
Message-Id: <20060808165825.6A0902841A@laptop.afarsec.com>
Date: Tue,  8 Aug 2006 19:58:25 +0300 (IDT)
From: Yonatan <onatan@gmail.com>
Reply-To: Yonatan <onatan@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: taosecurity@gmail.com
Subject: update net/libdnet from 1.10_1 to 1.11
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101665
>Category:       ports
>Synopsis:       update net/libdnet from 1.10_1 to 1.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 17:00:36 GMT 2006
>Closed-Date:    Tue Oct 10 08:04:00 GMT 2006
>Last-Modified:  Tue Oct 10 08:10:17 GMT 2006
>Originator:     Yonatan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Afarsec
>Environment:
System: FreeBSD laptop.afarsec.com 6.1-STABLE FreeBSD 6.1-STABLE #4: Sun Aug 6 03:14:01 IDT 2006 root@laptop.afarsec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Update libdnet. No major change.
Unless you count the fight autotools put up when I tried to get it
to make shared library. The solution (post-build and post-install) is
not a pretty sight, so I welcome someone with autotools foo.
>How-To-Repeat:
	
>Fix:

	

--- libdnet-1.11.diff begins here ---
diff -urN libdnet.orig/Makefile libdnet/Makefile
--- libdnet.orig/Makefile	Fri Feb 24 03:10:43 2006
+++ libdnet/Makefile	Tue Aug  8 19:48:19 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libdnet
-PORTVERSION=	1.10
-PORTREVISION=	1
+PORTVERSION=	1.11
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -46,6 +45,13 @@
 	@${ECHO_MSG} "===>"
 	@sleep 2
 .endif
+
+post-build:
+	@cd ${WRKSRC}/src ; ${CC} ${CFLAGS} -shared -o libdnet.so .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-bsd.o .libs/eth-bsd.o .libs/fw-pf.o .libs/intf.o .libs/ip.o .libs/route-bsd.o .libs/tun-bsd.o
+
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}.so ${PREFIX}/lib/
+	@${LN} ${PREFIX}/lib/${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.1
 
 .if defined(BUILD_PYTHON_MODULE) && defined(MAINTAINER_MODE)
 test:	install
diff -urN libdnet.orig/distinfo libdnet/distinfo
--- libdnet.orig/distinfo	Wed Nov 23 03:20:05 2005
+++ libdnet/distinfo	Tue Aug  8 18:22:11 2006
@@ -1,3 +1,3 @@
-MD5 (libdnet-1.10.tar.gz) = 416b765e9d9961501ac85e9a366fd219
-SHA256 (libdnet-1.10.tar.gz) = c6e2329df7556cc5004113b65d2d68740e87bbd15c5b2ef6c3fb7cde191cfe67
-SIZE (libdnet-1.10.tar.gz) = 419752
+MD5 (libdnet-1.11.tar.gz) = 04c394ed8e1e7fc455456e79e908916d
+SHA256 (libdnet-1.11.tar.gz) = 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53
+SIZE (libdnet-1.11.tar.gz) = 446233
diff -urN libdnet.orig/pkg-plist libdnet/pkg-plist
--- libdnet.orig/pkg-plist	Fri Feb 24 03:10:43 2006
+++ libdnet/pkg-plist	Tue Aug  8 19:44:07 2006
@@ -1,9 +1,12 @@
-%%MASTER%%bin/dnet-config
 %%MASTER%%sbin/dnet
+%%MASTER%%bin/dnet-config
+%%MASTER%%lib/libdnet
+%%MASTER%%lib/libdnet.1
 %%MASTER%%lib/libdnet.a
 %%MASTER%%lib/libdnet.la
 %%MASTER%%lib/libdnet.so
 %%MASTER%%lib/libdnet.so.1
+%%MASTER%%include/dnet.h
 %%MASTER%%include/dnet/addr.h
 %%MASTER%%include/dnet/arp.h
 %%MASTER%%include/dnet/blob.h
@@ -19,5 +22,4 @@
 %%MASTER%%include/dnet/tcp.h
 %%MASTER%%include/dnet/tun.h
 %%MASTER%%include/dnet/udp.h
-%%MASTER%%include/dnet.h
 %%MASTER%%@dirrm include/dnet
--- libdnet-1.11.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Tue Aug 15 17:45:15 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101665 
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Tue Aug 15 17:50:01 UTC 2006 
State-Changed-Why:  
Doesn't build on 4.x: 
http://sce-tindy.tecnik93.com/tb/errors/4-STABLE-i386-myPT/libdnet-1.11.log 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101665 
State-Changed-From-To: feedback->closed 
State-Changed-By: itetcu 
State-Changed-When: Tue Oct 10 08:03:57 UTC 2006 
State-Changed-Why:  
Committed. Marked INORE on 4.x, Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/101665: commit references a PR
Date: Tue, 10 Oct 2006 08:03:49 +0000 (UTC)

 itetcu      2006-10-10 08:03:42 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/libdnet          Makefile distinfo pkg-plist 
   Log:
   - Update to 1.11
   - doesn't build on 4.x
   
   PR:             ports/101665
   Submitted by:   maintainer (Yonatan)
   
   Revision  Changes    Path
   1.22      +16 -4     ports/net/libdnet/Makefile
   1.9       +3 -3      ports/net/libdnet/distinfo
   1.7       +4 -2      ports/net/libdnet/pkg-plist
 _______________________________________________
 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:
