From 51b81117aee0753c78e54c7e8982e71e42c84b52 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 24 Jul 2007 15:58:58 +0000 Subject: [PATCH] - update to 0.9.7 --- .cvsignore | 2 +- ...0.9.6-shared.patch => libpcap-0.9.7-shared.patch | 13 ++++--------- libpcap.spec | 9 ++++++--- sources | 2 +- 4 files changed, 12 insertions(+), 14 deletions(-) rename libpcap-0.9.6-shared.patch => libpcap-0.9.7-shared.patch (76%) diff --git a/.cvsignore b/.cvsignore index 98b5ee6..596b8c7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libpcap-0.9.6.tar.gz +libpcap-0.9.7.tar.gz diff --git a/libpcap-0.9.6-shared.patch b/libpcap-0.9.7-shared.patch similarity index 76% rename from libpcap-0.9.6-shared.patch rename to libpcap-0.9.7-shared.patch index b45f44e..0745d00 100644 --- a/libpcap-0.9.6-shared.patch +++ b/libpcap-0.9.7-shared.patch @@ -1,10 +1,5 @@ ---- libpcap-0.9.6/VERSION.shared 2006-09-19 21:27:07.000000000 +0200 -+++ libpcap-0.9.6/VERSION 2007-06-19 13:30:34.000000000 +0200 -@@ -1 +1 @@ --0.9.5 -+0.9.6 ---- libpcap-0.9.6/Makefile.in.shared 2006-09-25 20:06:00.000000000 +0200 -+++ libpcap-0.9.6/Makefile.in 2007-06-19 13:30:15.000000000 +0200 +--- libpcap-0.9.7/Makefile.in.shared 2007-07-24 04:35:15.000000000 +0200 ++++ libpcap-0.9.7/Makefile.in 2007-07-24 14:52:43.000000000 +0200 @@ -22,6 +22,7 @@ # # Various configurable paths (remember to edit Makefile.in, not Makefile) @@ -13,7 +8,7 @@ # Top level hierarchy prefix = @prefix@ -@@ -96,9 +97,14 @@ TAGHDR = \ +@@ -97,9 +98,14 @@ TAGHDR = \ TAGFILES = \ $(SRC) $(HDR) $(TAGHDR) @@ -30,7 +25,7 @@ libpcap.a: $(OBJ) @rm -f $@ -@@ -171,10 +177,13 @@ bpf_filter.c: $(srcdir)/bpf/net/bpf_filt +@@ -172,10 +178,13 @@ bpf_filter.c: $(srcdir)/bpf/net/bpf_filt bpf_filter.o: bpf_filter.c $(CC) $(CFLAGS) -c bpf_filter.c diff --git a/libpcap.spec b/libpcap.spec index ae36de6..ae1fa61 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -2,7 +2,7 @@ Name: libpcap Epoch: 14 -Version: 0.9.6 +Version: 0.9.7 Release: 1%{?dist} Summary: A system-independent interface for user-level packet capture Group: Development/Libraries @@ -13,7 +13,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz Patch1: libpcap-man.patch -Patch2: libpcap-0.9.6-shared.patch +Patch2: libpcap-0.9.7-shared.patch Patch3: libpcap-s390.patch Patch4: libpcap-0.8.3-ppp.patch @@ -55,7 +55,7 @@ resources needed for developing libpcap applications. %patch4 -p0 -b .ppp %build -export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" +export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" %configure --enable-ipv6 make SOVERSION=%{pcap_sover} @@ -84,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/pcap.3* %changelog +* Tue Jul 24 2007 Miroslav Lichvar 14:0.9.7-1 +- update to 0.9.7 + * Tue Jun 19 2007 Miroslav Lichvar 14:0.9.6-1 - update to 0.9.6 diff --git a/sources b/sources index f5493ae..ad262e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2e1b5e983654c1d5991450e3e0e525ca libpcap-0.9.6.tar.gz +77bc1f1de0de8488c7cb28e4753b9603 libpcap-0.9.7.tar.gz