From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 26 19:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6466666 for ; Wed, 26 Mar 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0280D9E for ; Wed, 26 Mar 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2QJA0Jm021057 for ; Wed, 26 Mar 2014 19:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2QJA0Fo021056; Wed, 26 Mar 2014 19:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 26 Mar 2014 19:10:00 GMT Resent-Message-Id: <201403261910.s2QJA0Fo021056@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antoine Brodin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC84C645 for ; Wed, 26 Mar 2014 19:08:23 +0000 (UTC) Received: from pepperseed.dreadbsd.org (88-191-185-190.rev.dedibox.fr [88.191.185.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pepperseed.dreadbsd.org", Issuer "pepperseed.dreadbsd.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A594D8B for ; Wed, 26 Mar 2014 19:08:22 +0000 (UTC) Received: from pepperseed.dreadbsd.org (localhost [127.0.0.1]) by pepperseed.dreadbsd.org (8.14.7/8.14.7) with ESMTP id s2QIJbNf040134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 26 Mar 2014 18:19:37 GMT (envelope-from antoine@pepperseed.dreadbsd.org) Received: (from antoine@localhost) by pepperseed.dreadbsd.org (8.14.7/8.14.7/Submit) id s2QIJWp3040086; Wed, 26 Mar 2014 18:19:32 GMT (envelope-from antoine) Message-Id: <201403261819.s2QIJWp3040086@pepperseed.dreadbsd.org> Date: Wed, 26 Mar 2014 18:19:32 GMT From: Antoine Brodin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187977: [patch] update net/libdnet to version 1.12 Cc: Onatan X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Antoine Brodin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2014 19:10:01 -0000 >Number: 187977 >Category: ports >Synopsis: [patch] update net/libdnet to version 1.12 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Mar 26 19:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Antoine Brodin >Release: FreeBSD 11.0-CURRENT amd64 >Organization: none >Environment: System: FreeBSD everglades 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263370M: Wed Mar 19 17:55:07 UTC 2014 ab@everglades:/usr/obj/usr/src/sys/MYGENERICFAST amd64 >Description: - Update to version 1.12 - Remove patches - Simplify installation >How-To-Repeat: >Fix: --- libdnet.diff begins here --- Index: net/libdnet/Makefile =================================================================== --- net/libdnet/Makefile (revision 349276) +++ net/libdnet/Makefile (working copy) @@ -2,16 +2,18 @@ # $FreeBSD$ PORTNAME= libdnet -PORTVERSION= 1.11 -PORTREVISION?= 3 +PORTVERSION= 1.12 CATEGORIES?= net -MASTER_SITES= SF/libdnet/libdnet/libdnet-${PORTVERSION} +MASTER_SITES= GOOGLE_CODE MAINTAINER?= onatan@gmail.com -COMMENT= A simple interface to low level networking routines +COMMENT= Simple interface to low level networking routines +LICENSE= BSD3CLAUSE + GNU_CONFIGURE= yes -USES= gmake +CONFIGURE_ENV= ac_cv_dnet_bsd_bpf=yes +USES= libtool tar:tgz .if !defined(LIBDNET_SLAVE) CONFIGURE_ARGS+= --without-python @@ -18,19 +20,7 @@ USE_LDCONFIG= yes .endif -.include - -.if !defined(LIBDNET_SLAVE) - post-patch: - @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure + @${REINPLACE_CMD} 's|shrext|shrext_cmds|g' ${WRKSRC}/configure -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 ${STAGEDIR}${PREFIX}/lib/ - @${LN} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.1 -.endif - -.include +.include Index: net/libdnet/distinfo =================================================================== --- net/libdnet/distinfo (revision 349276) +++ net/libdnet/distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (libdnet-1.11.tar.gz) = 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53 -SIZE (libdnet-1.11.tar.gz) = 446233 +SHA256 (libdnet-1.12.tgz) = 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026 +SIZE (libdnet-1.12.tgz) = 970125 Index: net/libdnet/files/patch-configure =================================================================== --- net/libdnet/files/patch-configure (revision 349276) +++ net/libdnet/files/patch-configure (working copy) @@ -1,14 +0,0 @@ ---- configure.orig 2008-06-26 05:04:55.000000000 +0000 -+++ configure 2008-06-26 05:05:13.000000000 +0000 -@@ -21924,11 +21924,7 @@ - if test "${ac_cv_dnet_bsd_bpf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else -- if test -c /dev/bpf0 ; then - ac_cv_dnet_bsd_bpf=yes -- else -- ac_cv_dnet_bsd_bpf=no -- fi - fi - - echo "$as_me:$LINENO: result: $ac_cv_dnet_bsd_bpf" >&5 Index: net/libdnet/files/patch-python__dnet.c =================================================================== --- net/libdnet/files/patch-python__dnet.c (revision 349276) +++ net/libdnet/files/patch-python__dnet.c (working copy) @@ -1,20 +0,0 @@ ---- ./python/dnet.c.orig Tue Jul 10 12:35:10 2007 -+++ ./python/dnet.c Tue Jul 10 12:35:59 2007 -@@ -2726,7 +2726,7 @@ - PyObject *__pyx_3 = 0; - unsigned short __pyx_4; - Py_INCREF(__pyx_v_self); -- ((PyObject*)__pyx_v_next) = Py_None; Py_INCREF(((PyObject*)__pyx_v_next)); -+ __pyx_v_next = Py_None; Py_INCREF(((PyObject*)__pyx_v_next)); - - /* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":634 */ - __pyx_1 = (((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->cur <= ((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->max); -@@ -2738,7 +2738,7 @@ - Py_DECREF(__pyx_2); __pyx_2 = 0; - if (!__Pyx_TypeTest(__pyx_3, __pyx_ptype_4dnet_addr)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; goto __pyx_L1;} - Py_DECREF(((PyObject *)__pyx_v_next)); -- ((PyObject *)__pyx_v_next) = __pyx_3; -+ __pyx_v_next = __pyx_3; - __pyx_3 = 0; - - /* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":636 */ Index: net/libdnet/pkg-descr =================================================================== --- net/libdnet/pkg-descr (revision 349276) +++ net/libdnet/pkg-descr (working copy) @@ -5,4 +5,4 @@ packet and Ethernet frame transmission. It is intended to complement the functionality provided by pcap(3). -WWW: http://libdnet.sourceforge.net/ +WWW: https://code.google.com/p/libdnet/ Index: net/libdnet/pkg-plist =================================================================== --- net/libdnet/pkg-plist (revision 349276) +++ net/libdnet/pkg-plist (working copy) @@ -1,11 +1,10 @@ sbin/dnet bin/dnet-config -lib/libdnet -lib/libdnet.1 lib/libdnet.a lib/libdnet.la lib/libdnet.so lib/libdnet.so.1 +lib/libdnet.so.1.0.1 include/dnet.h include/dnet/addr.h include/dnet/arp.h --- libdnet.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: