Accepting request 439074 from home:mnhauke
- update to 0.6.2 - Many improvements to the trafgen protocol generation functions, e.g. the ability to increment/randomize protocol fields at runtime using dinc()/rnd(), new functions to generate IPv6, ICMPv4/v6, PFC, and IEEE 802.3X PAUSE headers. From Vadim Kochan and Tobias Klauser. - flowtop UI improvements. From Vadim Kochan. - Packet counting fixes, e.g. to not account for duplicate packets received over the loopüback interface. From Paolo Abeni. - Allow IPv6 ranges to be specified for source and dest addresses in mausezahn. From Tommy Beadle. - Build system improvements, allowing to specify more options to the configure script. See './configure --help' for details. From Vadim Kochan and Tobias Klauser. - Various compilation fixes, e.g. for warnings or build failure certain systems. From Yousong Zhou and arch3y. - Various documentation improvements and fixes. From Vadim Kochan, Hisao Tanabe, and Tobias Klauser. - add patch netsniff-ng-fix-ncurses.diff fix some ncurses related issues during compile time OBS-URL: https://build.opensuse.org/request/show/439074 OBS-URL: https://build.opensuse.org/package/show/network:utilities/netsniff-ng?expand=0&rev=20
This commit is contained in:
parent
e1e0302ebf
commit
f6256a7c34
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e178487990c69e25ba8b7e98330000b9ab6550da1332b469fca847cbed5502b0
|
|
||||||
size 565956
|
|
3
netsniff-ng-0.6.2.tar.xz
Normal file
3
netsniff-ng-0.6.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4f2f7afc96b5044b5ccd3b671d0c3b8cb166bfa7f1063cea6c2d5e0fd5a13cf5
|
||||||
|
size 575252
|
39
netsniff-ng-fix-ncurses.diff
Normal file
39
netsniff-ng-fix-ncurses.diff
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
diff --git a/configure b/configure
|
||||||
|
index 72bb574..44aa591 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -403,9 +403,9 @@ int main(void)
|
||||||
|
EOF
|
||||||
|
|
||||||
|
$CC \
|
||||||
|
- $($PKG_CONFIG --cflags ncurses 2>> config.log) \
|
||||||
|
+ $(ncurses5-config --cflags ncurses 2>> config.log) \
|
||||||
|
-o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \
|
||||||
|
- $($PKG_CONFIG --libs ncurses 2>> config.log \
|
||||||
|
+ $(ncurses5-config --libs ncurses 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
|
||||||
|
--- 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 ncurses 2> /dev/null \
|
||||||
|
+ $(shell ncurses5-config --libs 2> /dev/null \
|
||||||
|
|| echo '-lncurses') \
|
||||||
|
- $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs tinfo 2> /dev/null ) \
|
||||||
|
-lpthread
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_GEOIP), 1)
|
||||||
|
@@ -30,7 +29,7 @@ flowtop-objs += geoip.o \
|
||||||
|
ioops.o
|
||||||
|
endif
|
||||||
|
|
||||||
|
-flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses) \
|
||||||
|
+flowtop-eflags = $(shell ncurses5-config --cflags) \
|
||||||
|
$(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
|
||||||
|
|
||||||
|
flowtop-confs = tcp.conf \
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 7 19:56:43 UTC 2016 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to 0.6.2
|
||||||
|
- Many improvements to the trafgen protocol generation functions,
|
||||||
|
e.g. the ability to increment/randomize protocol fields at runtime
|
||||||
|
using dinc()/rnd(), new functions to generate IPv6, ICMPv4/v6, PFC,
|
||||||
|
and IEEE 802.3X PAUSE headers. From Vadim Kochan and Tobias Klauser.
|
||||||
|
- flowtop UI improvements. From Vadim Kochan.
|
||||||
|
- Packet counting fixes, e.g. to not account for duplicate packets
|
||||||
|
received over the loopüback interface. From Paolo Abeni.
|
||||||
|
- Allow IPv6 ranges to be specified for source and dest addresses
|
||||||
|
in mausezahn. From Tommy Beadle.
|
||||||
|
- Build system improvements, allowing to specify more options to the
|
||||||
|
configure script. See './configure --help' for details.
|
||||||
|
From Vadim Kochan and Tobias Klauser.
|
||||||
|
- Various compilation fixes, e.g. for warnings or build failure
|
||||||
|
certain systems. From Yousong Zhou and arch3y.
|
||||||
|
- Various documentation improvements and fixes. From Vadim Kochan,
|
||||||
|
Hisao Tanabe, and Tobias Klauser.
|
||||||
|
- add patch netsniff-ng-fix-ncurses.diff
|
||||||
|
fix some ncurses related issues during compile time
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 22 19:51:33 UTC 2016 - mardnh@gmx.de
|
Tue Mar 22 19:51:33 UTC 2016 - mardnh@gmx.de
|
||||||
|
|
||||||
|
@ -18,13 +18,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: netsniff-ng
|
Name: netsniff-ng
|
||||||
Version: 0.6.1
|
Version: 0.6.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: High Performance Network Sniffer for Packet Inspection
|
Summary: High Performance Network Sniffer for Packet Inspection
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Networking/Diagnostic
|
Group: Productivity/Networking/Diagnostic
|
||||||
Url: http://netsniff-ng.org/
|
Url: http://netsniff-ng.org/
|
||||||
Source: http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-%{version}.tar.xz
|
Source: http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-%{version}.tar.xz
|
||||||
|
Patch0: netsniff-ng-fix-ncurses.diff
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -70,11 +71,12 @@ The netsniff-ng toolkit consists of the following utilities:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export NACL_LIB=sodium
|
export NACL_LIB=sodium
|
||||||
export NACL_INC_DIR=/usr/include/sodium
|
export NACL_INC_DIR=/usr/include/sodium
|
||||||
%configure
|
./configure
|
||||||
make %{?_smp_mflags} ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}"
|
make %{?_smp_mflags} ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user