Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Aug 2006 19:58:25 +0300 (IDT)
From:      Yonatan <onatan@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        taosecurity@gmail.com
Subject:   ports/101665: update net/libdnet from 1.10_1 to 1.11
Message-ID:  <20060808165825.6A0902841A@laptop.afarsec.com>
Resent-Message-ID: <200608081700.k78H0b7J098811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101665
>Category:       ports
>Synopsis:       update net/libdnet from 1.10_1 to 1.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 17:00:36 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808165825.6A0902841A>