[Midnightbsd-cvs] mports: net/libpcap: Update to libpcap 0.9.7
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Feb 27 15:44:07 EST 2008
Log Message:
-----------
Update to libpcap 0.9.7
Modified Files:
--------------
mports/net/libpcap:
Makefile (r1.1 -> r1.2)
distinfo (r1.1 -> r1.2)
mports/net/libpcap/files:
patchbase-Makefile.in (r1.1 -> r1.2)
pkg-message-base (r1.1 -> r1.2)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/libpcap/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/libpcap/Makefile -L net/libpcap/Makefile -u -r1.1 -r1.2
--- net/libpcap/Makefile
+++ net/libpcap/Makefile
@@ -7,8 +7,8 @@
#
PORTNAME= libpcap
-PORTVERSION= 0.9.4
-CATEGORIES= net
+PORTVERSION= 0.9.7
+CATEGORIES= net ipv6
MASTER_SITES= http://www.tcpdump.org/release/ \
http://www.icrew.org/mirror/tcp_dump/tcpdump_3_9/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -21,7 +21,8 @@
MAN3= pcap.3
GNU_CONFIGURE= yes
-USE_BISON= yes
+USE_BISON= build
+USE_LDCONFIG= yes
.if defined(LIBPCAP_OVERWRITE_BASE)
PREFIX= /usr
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/net/libpcap/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/libpcap/distinfo -L net/libpcap/distinfo -u -r1.1 -r1.2
--- net/libpcap/distinfo
+++ net/libpcap/distinfo
@@ -1,3 +1,3 @@
-MD5 (libpcap-0.9.4.tar.gz) = 79025766e8027df154cb1f32de8a7974
-SHA256 (libpcap-0.9.4.tar.gz) = 379cf6a5b4a68d9cb9431c018a3402196547cba36ffc958927cacd038cb50c60
-SIZE (libpcap-0.9.4.tar.gz) = 425887
+MD5 (libpcap-0.9.7.tar.gz) = 77bc1f1de0de8488c7cb28e4753b9603
+SHA256 (libpcap-0.9.7.tar.gz) = b86b12651a2759b8f4ddfcc2380d8567cccbf0ab90303df658042b8ba334e617
+SIZE (libpcap-0.9.7.tar.gz) = 517562
Index: patchbase-Makefile.in
===================================================================
RCS file: /home/cvs/mports/net/libpcap/files/patchbase-Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/libpcap/files/patchbase-Makefile.in -L net/libpcap/files/patchbase-Makefile.in -u -r1.1 -r1.2
--- net/libpcap/files/patchbase-Makefile.in
+++ net/libpcap/files/patchbase-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Sun Apr 16 17:17:57 2006
-+++ Makefile.in Sun Apr 16 17:18:08 2006
-@@ -97,22 +97,18 @@
+--- Makefile.in.orig Mon Sep 25 11:06:00 2006
++++ Makefile.in Sun Jul 8 18:36:39 2007
+@@ -98,22 +98,18 @@
CLEANFILES = $(OBJ) libpcap.a $(GENSRC) $(GENHDR) lex.yy.c
@@ -22,12 +22,12 @@
-libpcap.so: $(OBJ)
+libpcap.so.2: $(OBJ)
@rm -f $@
-- ld -shared -o $@.`cat VERSION` $(OBJ)
+- $(CC) -shared -o $@.`cat VERSION` $(OBJ) $(DAGLIBS)
+ $(CC) -shared -Wl,-x -o libpcap.so.2 -Wl,-soname,libpcap.so.2 `lorder *.o | tsort -q`
# the following rule succeeds, but the result is untested.
libpcap.dylib: $(OBJ)
-@@ -173,6 +169,8 @@
+@@ -174,6 +170,8 @@
install: libpcap.a
[ -d $(DESTDIR)$(libdir) ] || \
(mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
Index: pkg-message-base
===================================================================
RCS file: /home/cvs/mports/net/libpcap/files/pkg-message-base,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/libpcap/files/pkg-message-base -L net/libpcap/files/pkg-message-base -u -r1.1 -r1.2
--- net/libpcap/files/pkg-message-base
+++ net/libpcap/files/pkg-message-base
@@ -1,13 +1,11 @@
-***************************************
-* You might run into troubles running *
-* tcpdump, you should recompile it if *
-* it segfaults: *
-* $ cd /usr/src/usr.sbin/tcpdump *
-* $ make && make install *
-***************************************
-* You can always reinstall the older *
-* libraries via the source directory *
-* of the base system: *
-* $ cd /usr/src/lib/libpcap *
-* $ make && make install *
-***************************************
+You might run into troubles running
+tcpdump, you should recompile it if
+it segfaults:
+$ cd /usr/src/usr.sbin/tcpdump
+$ make && make install
+
+You can always reinstall the older
+libraries via the source directory
+of the base system:
+$ cd /usr/src/lib/libpcap
+$ make && make install
More information about the Midnightbsd-cvs
mailing list