mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Update to 1.12
PR: ports/187977 Approved by: maintainer timeout (1 month)
This commit is contained in:
parent
09dc5f4878
commit
888a04b606
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352433
@ -2,35 +2,25 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= libdnet
|
PORTNAME= libdnet
|
||||||
PORTVERSION= 1.11
|
PORTVERSION= 1.12
|
||||||
PORTREVISION?= 3
|
|
||||||
CATEGORIES?= net
|
CATEGORIES?= net
|
||||||
MASTER_SITES= SF/libdnet/libdnet/libdnet-${PORTVERSION}
|
MASTER_SITES= GOOGLE_CODE
|
||||||
|
|
||||||
MAINTAINER?= onatan@gmail.com
|
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
|
GNU_CONFIGURE= yes
|
||||||
USES= gmake
|
CONFIGURE_ENV= ac_cv_dnet_bsd_bpf=yes
|
||||||
|
USES= libtool:keepla tar:tgz
|
||||||
|
|
||||||
.if !defined(LIBDNET_SLAVE)
|
.if !defined(LIBDNET_SLAVE)
|
||||||
CONFIGURE_ARGS+= --without-python
|
CONFIGURE_ARGS+= --without-python
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if !defined(LIBDNET_SLAVE)
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
|
@${REINPLACE_CMD} 's|shrext|shrext_cmds|g' ${WRKSRC}/configure
|
||||||
|
|
||||||
post-build:
|
.include <bsd.port.mk>
|
||||||
@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>
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (libdnet-1.11.tar.gz) = 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53
|
SHA256 (libdnet-1.12.tgz) = 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
|
||||||
SIZE (libdnet-1.11.tar.gz) = 446233
|
SIZE (libdnet-1.12.tgz) = 970125
|
||||||
|
@ -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
|
|
@ -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 */
|
|
@ -5,4 +5,4 @@ firewalling, network interface lookup and manipulation, and raw IP
|
|||||||
packet and Ethernet frame transmission. It is intended to complement
|
packet and Ethernet frame transmission. It is intended to complement
|
||||||
the functionality provided by pcap(3).
|
the functionality provided by pcap(3).
|
||||||
|
|
||||||
WWW: http://libdnet.sourceforge.net/
|
WWW: https://code.google.com/p/libdnet/
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
sbin/dnet
|
sbin/dnet
|
||||||
bin/dnet-config
|
bin/dnet-config
|
||||||
lib/libdnet
|
|
||||||
lib/libdnet.1
|
|
||||||
lib/libdnet.a
|
lib/libdnet.a
|
||||||
lib/libdnet.la
|
lib/libdnet.la
|
||||||
lib/libdnet.so
|
lib/libdnet.so
|
||||||
lib/libdnet.so.1
|
lib/libdnet.so.1
|
||||||
|
lib/libdnet.so.1.0.1
|
||||||
include/dnet.h
|
include/dnet.h
|
||||||
include/dnet/addr.h
|
include/dnet/addr.h
|
||||||
include/dnet/arp.h
|
include/dnet/arp.h
|
||||||
|
Loading…
Reference in New Issue
Block a user