diff --git a/netsniff-ng-0.6.8.tar.xz b/netsniff-ng-0.6.8.tar.xz deleted file mode 100644 index 1cac017..0000000 --- a/netsniff-ng-0.6.8.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77d17d4158faf1d93c7d922a1bd7f093a8b437bd658292c830708540e10894ba -size 617820 diff --git a/netsniff-ng-0.6.9.tar.xz b/netsniff-ng-0.6.9.tar.xz new file mode 100644 index 0000000..98dc177 --- /dev/null +++ b/netsniff-ng-0.6.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:027840fa3c4e11abfe4fd0fffe9909c5c4ed1428d4b9397fb6d2f5ea69325918 +size 618428 diff --git a/netsniff-ng.changes b/netsniff-ng.changes index 3b03950..bf54b15 100644 --- a/netsniff-ng.changes +++ b/netsniff-ng.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Jan 7 13:29:47 UTC 2025 - Martin Hauke + +- Update to version 0.6.9 + * Allow to manually define CPUs for trafgen. + * Fix make install and output netsniff-ng stats on stderr. + * trafgen: Fix for ipv6 header generation when L3-only devices + are present. + * mausezahn: use getopt_long instead of getopt. + * build: fix install dependencies in Makefile template. + * trafgen: move cpu stats temp file to /tmp. + * ring_tx: handle EINTR from sendto. + ------------------------------------------------------------------- Thu Feb 22 14:06:48 UTC 2024 - Dominique Leuenberger diff --git a/netsniff-ng.spec b/netsniff-ng.spec index b75cca9..0624e44 100644 --- a/netsniff-ng.spec +++ b/netsniff-ng.spec @@ -1,7 +1,7 @@ # # spec file for package netsniff-ng # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2012 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -18,13 +18,14 @@ Name: netsniff-ng -Version: 0.6.8 +Version: 0.6.9 Release: 0 Summary: Network Sniffer for Packet Inspection License: GPL-2.0-only Group: Productivity/Networking/Diagnostic URL: http://netsniff-ng.org/ Source: http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-%{version}.tar.xz +Patch0: netsniff-ng-ncursesw.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -43,8 +44,6 @@ BuildRequires: make BuildRequires: pkgconfig BuildRequires: zlib-devel BuildRequires: pkgconfig(ncursesw) -Patch0: netsniff-ng-ncursesw.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description netsniff-ng is a network sniffer for packet inspection. It is similar @@ -70,20 +69,35 @@ The netsniff-ng toolkit consists of the following utilities: %build export NACL_LIB=sodium -export NACL_INC_DIR=/usr/include/sodium +export NACL_INC_DIR=%{_includedir}/sodium ./configure --disable-geoip -make %{?_smp_mflags} ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}" +%make_build ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}" %install # disable parrallel execution with -j1 because it cause an error with make 4.4 make -j1 install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR=%{buildroot} +rm -Rf %{buildroot}%{_docdir}/netsniff-ng %{buildroot}%{_datadir}/licenses/ %files %license COPYING %doc AUTHORS README REPORTING-BUGS %dir %{_sysconfdir}/netsniff-ng %config(noreplace) %{_sysconfdir}/netsniff-ng/* -%{_sbindir}/* -%{_mandir}/man8/* +%{_sbindir}/astraceroute +%{_sbindir}/bpfc +%{_sbindir}/curvetun +%{_sbindir}/flowtop +%{_sbindir}/ifpps +%{_sbindir}/mausezahn +%{_sbindir}/netsniff-ng +%{_sbindir}/trafgen +%{_mandir}/man8/astraceroute.8%{?ext_man} +%{_mandir}/man8/bpfc.8%{?ext_man} +%{_mandir}/man8/curvetun.8%{?ext_man} +%{_mandir}/man8/flowtop.8%{?ext_man} +%{_mandir}/man8/ifpps.8%{?ext_man} +%{_mandir}/man8/mausezahn.8%{?ext_man} +%{_mandir}/man8/netsniff-ng.8%{?ext_man} +%{_mandir}/man8/trafgen.8%{?ext_man} %changelog