commit ngrep for openSUSE:Factory
Hello community, here is the log from the commit of package ngrep for openSUSE:Factory checked in at 2019-02-27 17:28:19 Comparing /work/SRC/openSUSE:Factory/ngrep (Old) and /work/SRC/openSUSE:Factory/.ngrep.new.28833 (New) Package is "ngrep" Wed Feb 27 17:28:19 2019 rev:7 rq:676659 version:1.47 Changes: --- /work/SRC/openSUSE:Factory/ngrep/ngrep.changes 2017-03-28 15:22:51.360180309 +0200 +++ /work/SRC/openSUSE:Factory/.ngrep.new.28833/ngrep.changes 2019-02-27 17:28:25.791336251 +0100 @@ -1,0 +2,27 @@ +Sun Dec 31 22:47:39 UTC 2017 - avin...@opensuse.org + +- Update to version 1.47 + * Fix "no VLAN support for XXX"-related problems + * Fix truncated/garbled output (e.g. SIP over SLL/Linux cooked +sockets) + * Change exit behavior to match BSD & GNU grep (see manpage) + * Add Solaris IPnet support + * Update to use 32bit values where relevant + * Emit frame # in header, useful for reference/analysis + * Emit total received, matched upon exit (dropped unreliable +PCAP stats) + * Import debian patches related to autotools, manpage, and +compilation on other platforms + * Fix build clean/distclean when not linked against provided +GNU regex + * Fix build --enable/--disable flag processing + * Update to latest autotools (2017) + * Fix building under MS VS2012 / Win32 +- cleanup with spec-cleaner +- drop 10_man-fixes.diff + * upstreamed in 8e5187def73abd624c10ed37d42b7416e4a1ce97 +- tcpkill compilation disabled due to incompatiblity with modern + libnet +- remove future tense in description + +--- Old: 10_man-fixes.diff V1_46_1.tar.gz New: ngrep-1.47.tar.gz Other differences: -- ++ ngrep.spec ++ --- /var/tmp/diff_new_pack.VbEYVg/_old 2019-02-27 17:28:26.491336001 +0100 +++ /var/tmp/diff_new_pack.VbEYVg/_new 2019-02-27 17:28:26.495335999 +0100 @@ -16,56 +16,43 @@ # -%define tarver 1_46_1 - +%define tarver 1_47 Name: ngrep -Version:1.46.1 +Version:1.47 Release:0 Summary:Network grep License:BSD-4-Clause Group: Productivity/Networking/Diagnostic Url:https://github.com/jpr5/ngrep -Source: https://github.com/jpr5/ngrep/archive/V%{tarver}.tar.gz -Patch1: 10_man-fixes.diff -%if 0%{?suse_version} > 1210 -BuildRequires: libnet-devel -%endif +Source: https://github.com/jpr5/ngrep/archive/V%{tarver}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: libpcap-devel BuildRequires: pcre-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ngrep strives to provide most of GNU grep's common features, applying them -to the network layer. ngrep is a pcap-aware tool that will allow you to -specify extended regular or hexadecimal expressions to match against data -payloads of packets. It currently recognizes IPv4/6, TCP, UDP, ICMPv4/6, -IGMP and Raw across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, -and understands BPF filter logic in the same fashion as more common packet +to the network layer. ngrep is a pcap-aware tool that allows you to specify +extended regular or hexadecimal expressions to match against data payloads +of packets. It currently recognizes IPv4/6, TCP, UDP, ICMPv4/6, IGMP and +Raw across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, and +understands BPF filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop. %prep %setup -q -n %{name}-%{tarver} -%patch1 -p1 %build %configure \ --enable-pcre \ --enable-ipv6 \ -%if 0%{?suse_version} > 1210 ---enable-tcpkill \ -%endif --with-pcap-includes=%{_includedir}/pcap -make %{?_smp_mflags} \ -STRIPFLAG="" +make %{?_smp_mflags} %install %make_install %files -%defattr(-,root,root) -%doc doc/CHANGES.txt doc/CREDITS.txt doc/README.txt LICENSE.txt %{_bindir}/%{name} -%{_mandir}/man8/%{name}.8.gz +%{_mandir}/man8/%{name}.8%{ext_man} %changelog
commit ngrep for openSUSE:Factory
Hello community, here is the log from the commit of package ngrep for openSUSE:Factory checked in at 2017-03-28 15:22:24 Comparing /work/SRC/openSUSE:Factory/ngrep (Old) and /work/SRC/openSUSE:Factory/.ngrep.new (New) Package is "ngrep" Tue Mar 28 15:22:24 2017 rev:6 rq:482328 version:1.46.1 Changes: --- /work/SRC/openSUSE:Factory/ngrep/ngrep.changes 2015-12-09 22:25:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.ngrep.new/ngrep.changes 2017-03-28 15:22:51.360180309 +0200 @@ -1,0 +2,7 @@ +Wed Mar 15 18:26:24 UTC 2017 - dims...@opensuse.org + +- Dol not pass --disable-pcap-restart to configure: this is the + default and the configure check is quite broken in processing it: + --disable-pcap-restarted is treated equal to --enable-pcap-restart. + +--- Other differences: -- ++ ngrep.spec ++ --- /var/tmp/diff_new_pack.rjAZmK/_old 2017-03-28 15:22:51.884106108 +0200 +++ /var/tmp/diff_new_pack.rjAZmK/_new 2017-03-28 15:22:51.888105542 +0200 @@ -1,7 +1,7 @@ # # spec file for package ngrep # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX 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,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define tarver 1_46_1 Name: ngrep @@ -48,7 +49,6 @@ %build %configure \ ---disable-pcap-restart \ --enable-pcre \ --enable-ipv6 \ %if 0%{?suse_version} > 1210
commit ngrep for openSUSE:Factory
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.0 +0200 +++ /work/SRC/openSUSE:Factory/.ngrep.new/ngrep.changes 2015-12-09 22:25:41.0 +0100 @@ -1,0 +2,33 @@ +Tue Dec 1 18:29:35 UTC 2015 - p.drou...@gmail.com + +- 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.0 +0100 +++ /var/tmp/diff_new_pack.Sw2aES/_new 2015-12-09 22:25:42.0 +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.0 +0100 +++ /var/tmp/diff_new_pack.Sw2aES/_new 2015-12-09 22:25:42.0 +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
commit ngrep for openSUSE:Factory
Hello community, here is the log from the commit of package ngrep for openSUSE:Factory checked in at 2014-07-23 22:07:09 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 2013-02-01 11:00:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.ngrep.new/ngrep.changes 2014-07-24 00:42:34.0 +0200 @@ -1,0 +2,17 @@ +Sun Jul 13 21:03:24 UTC 2014 - a...@mizerski.pl + +- Copied debian patches + - 10_debian-build.diff + - 10_man-fixes.diff + - 20_setlocale.diff + - 40_ipv6-offsets.diff +- Fixed pcap usage. See + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546596 +- Enabled IPv6 support. +- Usage of system provided pcre library. +- Disabled automatic stripping of executable. +- Added CHANGES.txt CREDITS.txt README.txt and LICENSE.txt files + to packaged documentation. +- Spec file cleanup. + +--- New: 10_debian-build.diff 10_man-fixes.diff 20_setlocale.diff 40_ipv6-offsets.diff Other differences: -- ++ ngrep.spec ++ --- /var/tmp/diff_new_pack.STP8H8/_old 2014-07-24 00:42:35.0 +0200 +++ /var/tmp/diff_new_pack.STP8H8/_new 2014-07-24 00:42:35.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ngrep # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -24,9 +24,13 @@ Group: Productivity/Networking/Diagnostic Url:http://ngrep.sourceforge.net Source: %{name}-%{version}.tar.bz2 +Patch0: 10_debian-build.diff +Patch1: 10_man-fixes.diff +Patch2: 20_setlocale.diff +Patch3: 40_ipv6-offsets.diff BuildRequires: libpcap-devel +BuildRequires: pcre-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: libpcap %description ngrep strives to provide most of GNU grep's common features, applying them @@ -39,23 +43,31 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build %configure \ ---with-pcap-includes=%{_includedir} \ +--disable-pcap-restart \ +--enable-pcre \ +--with-ipv6 \ +--with-pcap-includes=%{_includedir}/pcap -make +make %{?_smp_mflags} \ +STRIPFLAG= %install -rm -rf %{buildroot} -%makeinstall - -%clean -rm -rf %{buildroot} +%make_install %files %defattr(-,root,root) %{_bindir}/%{name} %{_mandir}/man8/%{name}.8.gz +%doc doc/CHANGES.txt +%doc doc/CREDITS.txt +%doc doc/README.txt +%doc LICENSE.txt %changelog ++ 10_debian-build.diff ++ Change ngrep's build system to use the system's version of PCRE. --- Makefile.in |6 ++ configure| 11 +++ configure.in | 11 +++ ngrep.c |2 +- 4 files changed, 9 insertions(+), 21 deletions(-) --- a/configure +++ b/configure @@ -3624,13 +3624,10 @@ if test $use_pcre = yes; then - echo - echo 'Configuring Perl-Compatible Regular Expression (PCRE) library ...' - echo - - REGEX_DIR='pcre-5.0' - REGEX_OBJS=$REGEX_DIR/pcre.o $REGEX_DIR/study.o + REGEX_DIR='' + REGEX_OBJS= USE_PCRE=1 + EXTRA_LIBS=$EXTRA_LIBS -lpcre else @@ -3644,8 +3641,6 @@ fi -( cd $REGEX_DIR ./configure ) - --- a/configure.in +++ b/configure.in @@ -126,13 +126,10 @@ if test $use_pcre = yes; then - echo - echo 'Configuring Perl-Compatible Regular Expression (PCRE) library ...' - echo - - REGEX_DIR='pcre-5.0' - REGEX_OBJS=$REGEX_DIR/pcre.o $REGEX_DIR/study.o + REGEX_DIR='' + REGEX_OBJS= USE_PCRE=1 + EXTRA_LIBS=$EXTRA_LIBS -lpcre else @@ -146,8 +143,6 @@ fi -( cd $REGEX_DIR ./configure ) - AC_SUBST(REGEX_DIR) AC_SUBST(REGEX_OBJS) --- a/Makefile.in +++ b/Makefile.in @@ -7,7 +7,7 @@ CC=@CC@ -CFLAGS=@CFLAGS@ -D@OS@ @DEFS@ @EXTRA_DEFINES@ +CFLAGS=@CFLAGS@ @CPPFLAGS@ -D@OS@ @DEFS@ @EXTRA_DEFINES@ INCLUDES=-I@srcdir@ @PCAP_INCLUDE@ @EXTRA_INCLUDES@ LDFLAGS=@LDFLAGS@ @PCAP_LINK@ @@ -39,13 +39,13 @@ all: $(TARGET) $(TARGET): $(REGEX_OBJS) $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) $(STRIPFLAG) -o $(TARGET) $(OBJS) $(REGEX_OBJS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJS) $(REGEX_OBJS) $(LIBS) debug: $(REGEX_OBJS) $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) -g -o $(TARGET) $(OBJS) $(REGEX_OBJS) $(LIBS) static: $(REGEX_OBJS) $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) $(STRIPFLAG) -o $(TARGET).static -static $(OBJS) $(REGEX_OBJS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o
commit ngrep for openSUSE:Factory
Hello community, here is the log from the commit of package ngrep for openSUSE:Factory checked in at 2013-02-01 11:00:33 Comparing /work/SRC/openSUSE:Factory/ngrep (Old) and /work/SRC/openSUSE:Factory/.ngrep.new (New) Package is ngrep, Maintainer is frei...@suse.com Changes: New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.ngrep.new/ngrep.changes 2013-02-01 11:00:35.0 +0100 @@ -0,0 +1,10 @@ +--- +Thu May 31 11:42:56 UTC 2012 - pce...@suse.com + +- corrected licence + +--- +Tue Aug 26 00:00:00 UTC 2008 - lchiqui...@novell.com + +- First version (1.45) + New: ngrep-1.45.tar.bz2 ngrep.changes ngrep.spec Other differences: -- ++ ngrep.spec ++ # # spec file for package ngrep # # Copyright (c) 2013 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ngrep Version:1.45 Release:0 Summary:Network grep License:BSD-4-Clause Group: Productivity/Networking/Diagnostic Url:http://ngrep.sourceforge.net Source: %{name}-%{version}.tar.bz2 BuildRequires: libpcap-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libpcap %description ngrep strives to provide most of GNU grep's common features, applying them to the network layer. ngrep is a pcap-aware tool that will allow you to specify extended regular or hexadecimal expressions to match against data payloads of packets. It currently recognizes IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, and understands BPF filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop. %prep %setup -q %build %configure \ --with-pcap-includes=%{_includedir} \ make %install rm -rf %{buildroot} %makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/%{name} %{_mandir}/man8/%{name}.8.gz %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org