Accepting request 1236873 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1236873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netsniff-ng?expand=0&rev=11
This commit is contained in:
Ana Guerrero 2025-01-12 10:21:18 +00:00 committed by Git OBS Bridge
commit 67eb3aac72
4 changed files with 38 additions and 11 deletions

View File

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

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

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Jan 7 13:29:47 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- 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 <dimstar@opensuse.org> Thu Feb 22 14:06:48 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package netsniff-ng # spec file for package netsniff-ng
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -18,13 +18,14 @@
Name: netsniff-ng Name: netsniff-ng
Version: 0.6.8 Version: 0.6.9
Release: 0 Release: 0
Summary: Network Sniffer for Packet Inspection Summary: Network Sniffer for Packet Inspection
License: GPL-2.0-only License: GPL-2.0-only
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-ncursesw.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
@ -43,8 +44,6 @@ BuildRequires: make
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig(ncursesw) BuildRequires: pkgconfig(ncursesw)
Patch0: netsniff-ng-ncursesw.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
netsniff-ng is a network sniffer for packet inspection. It is similar 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 %build
export NACL_LIB=sodium export NACL_LIB=sodium
export NACL_INC_DIR=/usr/include/sodium export NACL_INC_DIR=%{_includedir}/sodium
./configure --disable-geoip ./configure --disable-geoip
make %{?_smp_mflags} ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}" %make_build ETCDIR=%{_sysconfdir} Q= STRIP=: CFLAGS="%{optflags}"
%install %install
# disable parrallel execution with -j1 because it cause an error with make 4.4 # disable parrallel execution with -j1 because it cause an error with make 4.4
make -j1 install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR=%{buildroot} make -j1 install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR=%{buildroot}
rm -Rf %{buildroot}%{_docdir}/netsniff-ng %{buildroot}%{_datadir}/licenses/
%files %files
%license COPYING %license COPYING
%doc AUTHORS README REPORTING-BUGS %doc AUTHORS README REPORTING-BUGS
%dir %{_sysconfdir}/netsniff-ng %dir %{_sysconfdir}/netsniff-ng
%config(noreplace) %{_sysconfdir}/netsniff-ng/* %config(noreplace) %{_sysconfdir}/netsniff-ng/*
%{_sbindir}/* %{_sbindir}/astraceroute
%{_mandir}/man8/* %{_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 %changelog