Hello community, here is the log from the commit of package ngrep for openSUSE:Factory checked in at 2015-12-09 19:49:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ngrep (Old) and /work/SRC/openSUSE:Factory/.ngrep.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ngrep" Changes: -------- --- /work/SRC/openSUSE:Factory/ngrep/ngrep.changes 2014-07-24 00:42:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ngrep.new/ngrep.changes 2015-12-09 22:25:41.000000000 +0100 @@ -1,0 +2,33 @@ +Tue Dec 1 18:29:35 UTC 2015 - [email protected] + +- Update to version 1.46.1 + * actual bugfix for the VLAN parsing issue. prior version 1.46 expanded + the BPF filter to include IPv4/6 traffic, but the offset calculation + forgot to account for the variable presence of VLAN headers. now + ngrep detects VLAN frames in every packet and adjusts the offset on + the fly. +- Changes from version 1.46 + * configure.in: re-organized, in part t * sync with downstream patches + (which were never sent upstream) + * configure.in: removed included PCRE library, now builds against system + version when specified (default is included GNU Regex) + * configure.in: fixed duplicate PCAP header check, which broke with the + release of libpcap 1.0 + * configure.in: prefixed all tack-on autoconf variables from _FO * -> EXTRA_FOO + * Makefile.in: capitulated t * Debian: use tar.gz instead of tar.bz2 + * ngrep.c: Call setlocale t * make isprint() work based on current + locale (bdo#307496). + * include tcpkill functionality (-K), a long-standing downstream patch + under Debian + * updated t * latest autoconf + * updated copyrights t * 2014 +- Remove obsolete patches + * 10_debian-build.diff + * 20_setlocale.diff + * 40_ipv6-offsets.diff +- Update project Url +- Use download Url +- Enable tcpkill function with "--enable-tcpkill" configure switch + and add libnet-devel build dependency for openSUSE > 12.1 + +------------------------------------------------------------------- Old: ---- 10_debian-build.diff 20_setlocale.diff 40_ipv6-offsets.diff ngrep-1.45.tar.bz2 New: ---- V1_46_1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ngrep.spec ++++++ --- /var/tmp/diff_new_pack.Sw2aES/_old 2015-12-09 22:25:42.000000000 +0100 +++ /var/tmp/diff_new_pack.Sw2aES/_new 2015-12-09 22:25:42.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ngrep # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%define tarver 1_46_1 Name: ngrep -Version: 1.45 +Version: 1.46.1 Release: 0 Summary: Network grep License: BSD-4-Clause Group: Productivity/Networking/Diagnostic -Url: http://ngrep.sourceforge.net -Source: %{name}-%{version}.tar.bz2 -Patch0: 10_debian-build.diff +Url: https://github.com/jpr5/ngrep +Source: https://github.com/jpr5/ngrep/archive/V%{tarver}.tar.gz Patch1: 10_man-fixes.diff -Patch2: 20_setlocale.diff -Patch3: 40_ipv6-offsets.diff +%if 0%{?suse_version} > 1210 +BuildRequires: libnet-devel +%endif BuildRequires: libpcap-devel BuildRequires: pcre-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -42,17 +43,17 @@ sniffing tools, such as tcpdump and snoop. %prep -%setup -q -%patch0 -p1 +%setup -q -n %{name}-%{tarver} %patch1 -p1 -%patch2 -p1 -%patch3 -p1 %build %configure \ --disable-pcap-restart \ --enable-pcre \ - --with-ipv6 \ + --enable-ipv6 \ +%if 0%{?suse_version} > 1210 + --enable-tcpkill \ +%endif --with-pcap-includes=%{_includedir}/pcap make %{?_smp_mflags} \ @@ -63,11 +64,8 @@ %files %defattr(-,root,root) +%doc doc/CHANGES.txt doc/CREDITS.txt doc/README.txt LICENSE.txt %{_bindir}/%{name} %{_mandir}/man8/%{name}.8.gz -%doc doc/CHANGES.txt -%doc doc/CREDITS.txt -%doc doc/README.txt -%doc LICENSE.txt %changelog ++++++ 10_man-fixes.diff ++++++ --- /var/tmp/diff_new_pack.Sw2aES/_old 2015-12-09 22:25:42.000000000 +0100 +++ /var/tmp/diff_new_pack.Sw2aES/_new 2015-12-09 22:25:42.000000000 +0100 @@ -26,17 +26,3 @@ .IP "-s snaplen" Set the bpf caplen to snaplen (default 65536). -@@ -181,13 +181,6 @@ - .IP "-A num" - Dump \fInum\fP packets of trailing context after matching a packet. - --.IP "-W normal|byline|none" --Alter the method by which ngrep displays packet payload. ``normal'' --mode represents the standard behaviour, ``byline'' instructs ngrep to --respect embedded linefeeds (useful for observing HTTP transactions, --for instance), and ``none'' results in the payload on one single line --(useful for scripted processing of ngrep output). -- - .IP "-c cols" - Ignore the detected terminal width and force the column width to the - specified size.
