Accepting request 562056 from home:mnhauke

- Update to version 0.6.4
  * DNS header generation in trafgen
  * Support for dumping proto headers in trafgen
  * Fixes for dinc()/ddec() to properly respect min/max range and
    avoid counter corruption
  * Fixes for NULL pointer dereferences and resource leaks in trafgen
  * Build fixes for various compiler versions, libc implementations
    and distributions
- Rebase patch:
  * netsniff-ng-fix-ncurses.diff

OBS-URL: https://build.opensuse.org/request/show/562056
OBS-URL: https://build.opensuse.org/package/show/network:utilities/netsniff-ng?expand=0&rev=26
This commit is contained in:
Lars Vogdt 2018-01-07 14:38:34 +00:00 committed by Git OBS Bridge
parent b4b359e042
commit 1566da19d8
5 changed files with 26 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8e0094f77de8a70f91240bfa77137d5631ac48138cb29fcf962c0bcbe81f04a
size 577752

3
netsniff-ng-0.6.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd67150e0954b7079b6d0c72fb0ef1f34091357ad559b45c68e8752376bdc307
size 584120

View File

@ -1,26 +1,26 @@
diff --git a/configure b/configure
index 72bb574..44aa591 100755
index d5fe7e6..56148ac 100755
--- a/configure
+++ b/configure
@@ -403,9 +403,9 @@ int main(void)
@@ -428,9 +428,9 @@ int main(void)
EOF
$CC \
- $($PKG_CONFIG --cflags ncurses 2>> config.log) \
+ $(ncurses5-config --cflags ncurses 2>> config.log) \
+ $(ncurses5-config --cflags 2>> config.log) \
-o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \
- $($PKG_CONFIG --libs ncurses 2>> config.log \
+ $(ncurses5-config --libs ncurses 2>> config.log \
+ $(ncurses5-config --libs 2>> config.log \
|| echo '-lncurses' ) \
>> config.log 2>&1
if [ ! -x $TMPDIR/ncursestest ] ; then
diff --git a/flowtop/Makefile b/flowtop/Makefile
index effe7eb..ab49a51 100644
index e001ce8..bffd86e 100644
--- a/flowtop/Makefile
+++ b/flowtop/Makefile
@@ -1,8 +1,7 @@
flowtop-libs = -lurcu \
-lnetfilter_conntrack \
$(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libnetfilter_conntrack 2> /dev/null ) \
- $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs ncurses 2> /dev/null \
+ $(shell ncurses5-config --libs 2> /dev/null \
|| echo '-lncurses') \

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Jan 5 21:54:23 UTC 2018 - mardnh@gmx.de
- Update to version 0.6.4
* DNS header generation in trafgen
* Support for dumping proto headers in trafgen
* Fixes for dinc()/ddec() to properly respect min/max range and
avoid counter corruption
* Fixes for NULL pointer dereferences and resource leaks in trafgen
* Build fixes for various compiler versions, libc implementations
and distributions
- Rebase patch:
* netsniff-ng-fix-ncurses.diff
-------------------------------------------------------------------
Thu Jun 1 20:57:59 UTC 2017 - mardnh@gmx.de

View File

@ -1,7 +1,7 @@
#
# spec file for package netsniff-ng
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -18,7 +18,7 @@
Name: netsniff-ng
Version: 0.6.3
Version: 0.6.4
Release: 0
Summary: Network Sniffer for Packet Inspection
License: GPL-2.0
@ -39,8 +39,8 @@ BuildRequires: libnetfilter_conntrack-devel
BuildRequires: libnl3-devel
BuildRequires: libpcap-devel
BuildRequires: libsodium-devel
BuildRequires: liburcu-devel
BuildRequires: libtool
BuildRequires: liburcu-devel
BuildRequires: make
%if 0%{?suse_version} > 1320
BuildRequires: ncurses5-devel