diff --git a/libpcap-0.9.6-nonvoid.diff b/libpcap-0.9.6-nonvoid.diff deleted file mode 100644 index be69a83..0000000 --- a/libpcap-0.9.6-nonvoid.diff +++ /dev/null @@ -1,34 +0,0 @@ ---- gencode.c -+++ gencode.c -@@ -5244,6 +5244,7 @@ - bpf_error("invalid qualifier against IPv6 address"); - /* NOTREACHED */ - } -+ return NULL; - } - #endif /*INET6*/ - -@@ -5295,6 +5296,7 @@ - } - bpf_error("ethernet address used in non-ether expression"); - /* NOTREACHED */ -+ return NULL; - } - - void -@@ -5724,6 +5726,7 @@ - } - bpf_error("too many registers needed to evaluate expression"); - /* NOTREACHED */ -+ return 0; - } - - /* -@@ -6314,6 +6317,7 @@ - } - bpf_error("ARCnet address used in non-arc expression"); - /* NOTREACHED */ -+ return NULL; - } - - static struct block * diff --git a/libpcap-0.9.6.tar.bz2 b/libpcap-0.9.6.tar.bz2 deleted file mode 100644 index 5d065c5..0000000 --- a/libpcap-0.9.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfe0fd872921cb365dd68181a9f1b0517d5bd18c927064b2fbb10f7b88790979 -size 351693 diff --git a/libpcap-0.9.6-config.diff b/libpcap-0.9.7-config.diff similarity index 100% rename from libpcap-0.9.6-config.diff rename to libpcap-0.9.7-config.diff diff --git a/libpcap-0.9.6-filter-fix.diff b/libpcap-0.9.7-filter-fix.diff similarity index 100% rename from libpcap-0.9.6-filter-fix.diff rename to libpcap-0.9.7-filter-fix.diff diff --git a/libpcap-0.9.6-shared.diff b/libpcap-0.9.7-shared.diff similarity index 98% rename from libpcap-0.9.6-shared.diff rename to libpcap-0.9.7-shared.diff index 531db9f..e1abcf7 100644 --- a/libpcap-0.9.6-shared.diff +++ b/libpcap-0.9.7-shared.diff @@ -86,7 +86,7 @@ AC_REVISION($Revision: 1.120.2.8 $) AC_PREREQ(2.50) -AC_INIT(pcap.c) -+AC_INIT([libpcap], [0.9.6]) ++AC_INIT([libpcap], [0.9.7]) +AC_CONFIG_SRCDIR([pcap.c]) AC_CANONICAL_SYSTEM diff --git a/libpcap-0.9.6-socket-timeout.diff b/libpcap-0.9.7-socket-timeout.diff similarity index 100% rename from libpcap-0.9.6-socket-timeout.diff rename to libpcap-0.9.7-socket-timeout.diff diff --git a/libpcap-0.9.7.tar.bz2 b/libpcap-0.9.7.tar.bz2 new file mode 100644 index 0000000..54258cc --- /dev/null +++ b/libpcap-0.9.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5739f26a8a02bba35b8badf0a2f3daec31865661ebfe348c835322d3a83714e +size 410149 diff --git a/libpcap.changes b/libpcap.changes index f27509b..4e8da67 100644 --- a/libpcap.changes +++ b/libpcap.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jul 26 15:57:36 CEST 2007 - prusnak@suse.cz + +- updated to 0.9.7 + * added flags/configuration for cloning bpf device. + * added DLT_MTP2_WITH_PHDR support (PPI) + * introduced support for the DAG ERF type TYPE_COLOR_MC_HDLC_POS + * added basic BPF filtering support for DLT_MTP2_WITH_PHDR + * add support for DLT_JUNIPER_ISM + * allocate DLT_ for 802.15.4 without any header munging + * header for 802.16 MAC Common Part Sublayer plus a radiotap radio header +- branch -devel subpackage + ------------------------------------------------------------------- Thu Jul 12 11:00:38 CEST 2007 - prusnak@suse.cz diff --git a/libpcap.spec b/libpcap.spec index 6e55938..7d3f2de 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -1,5 +1,5 @@ # -# spec file for package libpcap (Version 0.9.6) +# spec file for package libpcap (Version 0.9.7) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,7 +12,7 @@ Name: libpcap BuildRequires: bison flex -Version: 0.9.6 +Version: 0.9.7 Release: 1 Autoreqprov: on Group: System/Libraries @@ -20,11 +20,10 @@ License: BSD 3-Clause URL: http://www.tcpdump.org/ Summary: A Library for Network Sniffers Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-%{version}-shared.diff +Patch0: %{name}-%{version}-shared.diff Patch1: %{name}-%{version}-filter-fix.diff Patch2: %{name}-%{version}-config.diff -Patch4: %{name}-%{version}-nonvoid.diff -Patch5: %{name}-%{version}-socket-timeout.diff +Patch3: %{name}-%{version}-socket-timeout.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -35,6 +34,32 @@ program yourself. +Authors: +-------- + Bill Fenner + Assar Westerlund + Alexei + Jun-ichiro itojun Hagino + Guy Harris + Torsten Landschoff + Michael Richardson + Steve McCanne + Craig Leres + Van Jacobson + +%package devel +Summary: A Library for Network Sniffers +Group: System/Libraries +Requires: %{name} = %{version} + +%description devel +libpcap is a library used by packet sniffer programs. It provides an +interface for them to capture and analyze packets from network devices. +This package is only needed if you plan to compile or write such a +program yourself. + + + Authors: -------- Bill Fenner @@ -50,11 +75,11 @@ Authors: %prep %setup -q -%patch +find -d -name CVS -exec rm -rf {} \; +%patch0 %patch1 %patch2 -%patch4 -%patch5 +%patch3 %build %{suse_update_config -f} @@ -75,19 +100,35 @@ make DESTDIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT %post -%run_ldconfig +/sbin/ldconfig %postun -%run_ldconfig +/sbin/ldconfig %files %defattr(-, root, root) -%doc README README.linux CHANGES CREDITS LICENSE TODO doc/* +%doc README README.linux CHANGES CREDITS LICENSE TODO +%{_libdir}/*.so.* + +%files devel +%defattr(-, root, root) +%doc doc/* %doc %{_mandir}/man?/* -%{_libdir}/lib* %{_includedir}/* +%{_libdir}/*.so +%{_libdir}/*.*a %changelog +* Thu Jul 26 2007 - prusnak@suse.cz +- updated to 0.9.7 + * added flags/configuration for cloning bpf device. + * added DLT_MTP2_WITH_PHDR support (PPI) + * introduced support for the DAG ERF type TYPE_COLOR_MC_HDLC_POS + * added basic BPF filtering support for DLT_MTP2_WITH_PHDR + * add support for DLT_JUNIPER_ISM + * allocate DLT_ for 802.15.4 without any header munging + * header for 802.16 MAC Common Part Sublayer plus a radiotap radio header +- branch -devel subpackage * Thu Jul 12 2007 - prusnak@suse.cz - updated to 0.9.6 * added Bluetooth support