FreeBSD Bugzilla – Attachment 141243 Details for
Bug 187977
[patch] update net/libdnet to version 1.12
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libdnet.diff
libdnet.diff (text/plain), 4.49 KB, created by
Antoine Brodin
on 2014-03-26 19:10:00 UTC
(
hide
)
Description:
libdnet.diff
Filename:
MIME Type:
Creator:
Antoine Brodin
Created:
2014-03-26 19:10:00 UTC
Size:
4.49 KB
patch
obsolete
>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 <bsd.port.pre.mk> >- >-.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 <bsd.port.post.mk> >+.include <bsd.port.mk> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187977
: 141243