From c3c77a2889ecbd277186f890c8923710574ec0647a97455aea5309cd47186a4e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 21 Nov 2024 10:18:16 +0000 Subject: [PATCH 1/2] [info=33fea11cd64889076e9d7acf0574a7e1ed122187a4367fa171abec3c1bc0758e] OBS-URL: https://build.opensuse.org/package/show/network:utilities/iptraf-ng?expand=0&rev=13 --- .gitattributes | 23 ++++ .gitignore | 1 + _scmsync.obsinfo | 4 + build.specials.obscpio | 3 + iptraf-ng.changes | 299 +++++++++++++++++++++++++++++++++++++++++ iptraf-ng.spec | 58 ++++++++ v1.2.1.tar.gz | 3 + 7 files changed, 391 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio create mode 100644 iptraf-ng.changes create mode 100644 iptraf-ng.spec create mode 100644 v1.2.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..8c549d9 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1605124100 +commit: 33fea11cd64889076e9d7acf0574a7e1ed122187a4367fa171abec3c1bc0758e +url: https://src.opensuse.org/jengelh/iptraf-ng +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..7cfdf83 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d9c0d20db42287bff4e132ce59a859141dcf47fe3793c046cf9f62684aa7566 +size 256 diff --git a/iptraf-ng.changes b/iptraf-ng.changes new file mode 100644 index 0000000..3e463f7 --- /dev/null +++ b/iptraf-ng.changes @@ -0,0 +1,299 @@ +------------------------------------------------------------------- +Wed Nov 11 10:52:12 UTC 2020 - Martin Wilck + +- Fix build error on SLE12 (%make_build not defined) + +------------------------------------------------------------------- +Sun Aug 16 14:11:17 UTC 2020 - Dirk Mueller + +- update to 1.2.1: + * Makefile: protect mandatory compile flags + * packet capture: don't reuse socket for multiple receive functions + * TPACKET_V[23]: continue even if mlock() fails +- remove 0001-Revert-TPACKET_V3-mlock-mmap-ed-address-space-into-R.patch: + fixed differently upstream + +------------------------------------------------------------------- +Wed Jun 10 14:44:22 UTC 2020 - Jan Engelhardt + +- Update to release 1.2.0 + * A set of minor bugfixes. + * Fix CPU hogging if the interface gets removed [rhbz#1572750] +- Drop iptraf-ng-1.1.4-fix-Floating-point-exception-in-tcplog_flowra.patch, + build-use-wide-version-of-lpanel-when-needed.patch, + 0001-ifstats-make-sort-by-ifname-the-only-mode-of-operati.patch + (merged) +- Add 0001-Revert-TPACKET_V3-mlock-mmap-ed-address-space-into-R.patch + +------------------------------------------------------------------- +Sun Jan 12 14:45:33 UTC 2020 - Jan Engelhardt + +- Employ new homepage URLs. +- Rename the SRPM from iptraf to iptraf-ng. Effectively no change + for the produced BRPMs. +- Add 0001-ifstats-make-sort-by-ifname-the-only-mode-of-operati.patch + from upstream. + +------------------------------------------------------------------- +Wed Aug 12 11:56:36 UTC 2015 - jslaby@suse.com + +- add build-use-wide-version-of-lpanel-when-needed.patch (bnc#940207) + +------------------------------------------------------------------- +Wed Sep 18 20:41:58 UTC 2013 - andreas.stieger@gmx.de + +- fix "Floating point exception" in tcplog_flowrate_msg(), adds + iptraf-ng-1.1.4-fix-Floating-point-exception-in-tcplog_flowra.patch + from Fedora [bnc#841156] + +------------------------------------------------------------------- +Wed Aug 7 15:25:54 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.1.4 +* update all rates not only the visible ones +* add 802.1ad / 802.1ah / QinQ ethertypes +- Removed 0001-build-prefer-ncurses6-and-wide.patch + (merged upstream) + +------------------------------------------------------------------- +Thu Mar 28 19:45:48 UTC 2013 - jengelh@inai.de + +- Update to new git snapshot 1.1.3.1+git49 +* remove TokenRing and ISDN support +* 802.1ad and QinQ VLAN handling +* restore functionality of iptraf -B (bnc#812080) +- Remove iptraf-ng-1.1.3.1-kernel-v3.5-kill-off-token-ring-support.patch + (merged upstream) +- Add 0001-build-prefer-ncurses6-and-wide.patch +- Depend on 3.1 headers (source uses ETH_P_QINQ1) + +------------------------------------------------------------------- +Sun Oct 7 13:53:53 UTC 2012 - andreas.stieger@gmx.de + +- iptraf-ng-1.1.3.1-kernel-v3.5-kill-off-token-ring-support.patch + to remove TokenRing support which was removed in Linux 3.5 +- move to pristine upstream tarball + +------------------------------------------------------------------- +Thu May 31 11:48:35 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.1.3.1 +* support SIT tunnels +* fix checksumming for odd-sized IPv4 packets +- iptraf-1.0.2-segfault.patch rendered obsolete by commit b3eec3f + +------------------------------------------------------------------- +Thu May 10 03:53:20 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.1.2 +* New RFC1071-based IP checksum implementation +* Various fixes for IPv6 port statistics and byte counting, + interfaces with long names, PPP handling +* Make capturing on TUN interfaces work +* Support GRE tunnels + +------------------------------------------------------------------- +Thu Dec 15 11:15:30 UTC 2011 - puzel@suse.com + +- install /var/lib/iptraf-ng directory (bnc#736900) +- fix executing rvnamed daemon (bnc#737032) + - add fix-calling-rvnamed.patch + +------------------------------------------------------------------- +Fri Dec 2 16:22:57 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Thu Sep 1 12:17:42 UTC 2011 - vcizek@suse.com + +- fixed segfault caused by off-by-one allocation error (bnc#711726) + +------------------------------------------------------------------- +Wed Apr 20 23:31:06 UTC 2011 - jengelh@medozas.de + +- Name the binary package iptraf-ng + +------------------------------------------------------------------- +Mon Apr 4 11:15:56 UTC 2011 - jengelh@medozas.de + +- Run spec-beautifier + +------------------------------------------------------------------- +Mon Apr 4 10:39:37 UTC 2011 - puzel@novell.com + +- switch to iptraf-ng (thanks jengelh@medozas.de) +- drop all patches (merged upstream) + +------------------------------------------------------------------- +Sun Feb 14 00:04:52 CET 2010 - rguenther@suse.de + +- fix harmless buffer-overflow to fix build with GCC 4.5 + +------------------------------------------------------------------- +Wed Nov 11 15:12:11 CET 2009 - puzel@suse.cz + +- iptraf-3.0.0-fix-promisc-crash.patch (bnc#548485) + +------------------------------------------------------------------- +Mon Oct 6 15:20:54 CEST 2008 - prusnak@suse.cz + +- fixed wrong comparison of file descriptor (fd.patch) [bnc#431904] + +------------------------------------------------------------------- +Thu Apr 10 11:30:48 CEST 2008 - prusnak@suse.cz + +- alter package after ncurses packaging change + +------------------------------------------------------------------- +Thu Mar 29 17:47:08 CEST 2007 - rguenther@suse.de + +- add ncurses-devel BuildRequires + +------------------------------------------------------------------- +Tue Nov 28 11:34:15 CET 2006 - prusnak@suse.cz + +- fixed line drawing in console (lines.patch) [#223678] + +------------------------------------------------------------------- +Wed Aug 30 10:45:23 CEST 2006 - lmichnovic@suse.cz + +- fixed uninitialized variable (uninitialized.patch) [#197715] + +------------------------------------------------------------------- +Wed Jan 25 21:36:40 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Nov 24 10:09:10 CET 2005 - pnemec@suse.cz + +- fix strict aliasing errors. +- added patch -strict-aliasing.patch + +------------------------------------------------------------------- +Wed Nov 23 16:43:54 CET 2005 - pnemec@suse.cz + +- updated to new version 3.0.0 +- fixed headers and support/Makefile to build + +------------------------------------------------------------------- +Thu Sep 8 17:30:25 CEST 2005 - pnemec@suse.cz + +- fixed file permisions bug [#114849] + +------------------------------------------------------------------- +Mon Aug 29 14:03:15 CEST 2005 - postadal@suse.cz + +- added support for ni, br, tap, dummy and vmnet devices + [#105545] (dev.diff) + +------------------------------------------------------------------- +Fri Jun 17 16:38:36 CEST 2005 - meissner@suse.de + +- use RPM_OPT_FLAGS in support/ too. + +------------------------------------------------------------------- +Mon Jun 13 15:20:48 CEST 2005 - kukuk@suse.de + +- Avoid using kernel headers if there are glibc variants + +------------------------------------------------------------------- +Wed Apr 13 09:55:07 CEST 2005 - arvin@suse.de + +- added support for modem device + +------------------------------------------------------------------- +Tue Jan 18 15:37:04 CET 2005 - postadal@suse.cz + +- added support for dsl device [#49721, #49882] + +------------------------------------------------------------------- +Thu Sep 30 17:25:50 CEST 2004 - postadal@suse.cz + +- allow normal user use iptraf if the s-bit is set [#46231] (euid-fix.diff) + +------------------------------------------------------------------- +Fri Sep 3 11:36:35 CEST 2004 - kukuk@suse.de + +- Fix compiling with new glibc headers + +------------------------------------------------------------------- +Tue Apr 20 14:55:19 CEST 2004 - postadal@suse.cz + +- set iptraf and rvnamed permission to 0755 + +------------------------------------------------------------------- +Sat Jan 10 21:46:29 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Mon Jan 13 14:29:36 CET 2003 - postadal@suse.cz + +- updated to version 2.7.0 + * added support for Token Ring, sbni long-range modem, Free s/WAN IPSec + logical, DVB (sm2*, sm3*, penta*), wireless LAN (wlan*, wvlan*) interfaces + * a lot of fixes + +------------------------------------------------------------------- +Mon Dec 17 08:03:19 CET 2001 - cihlar@suse.cz + +- added /var/run/iptraf to package +- fixed man pages + +------------------------------------------------------------------- +Thu Nov 29 15:29:06 CET 2001 - cihlar@suse.cz + +- update to version 2.5.0: + * many fixes and improvements + +------------------------------------------------------------------- +Wed Jul 4 08:37:29 CEST 2001 - cihlar@suse.cz + +- update to version 2.4.0 +- added BuildRoot +- clean up spec file + +------------------------------------------------------------------- +Thu Jan 4 10:27:34 MET 2001 - ray@suse.de + +- update to version 2.3.1 + +------------------------------------------------------------------- +Tue Feb 15 12:17:48 CET 2000 - aj@suse.de + +- Fix CFLAGS. + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Wed Aug 25 16:38:18 MEST 1999 - uli@suse.de + +- added CFLAGS for PPC + +------------------------------------------------------------------- +Thu Jan 21 01:19:02 MET 1999 - ro@suse.de + +- no m486 on alpha + +------------------------------------------------------------------- +Mon Sep 14 12:30:42 MEST 1998 - ro@suse.de + +- added directory /var/iptraf to filelist + +------------------------------------------------------------------- +Thu Aug 20 11:11:27 MEST 1998 - ro@suse.de + +- fixed src/dirs.h (adapted to initial changes in Makefile) +- and adapted the README.rvnamed + +------------------------------------------------------------------- +Sat Jun 20 14:13:36 MEST 1998 - ray@suse.de + +- new package + + diff --git a/iptraf-ng.spec b/iptraf-ng.spec new file mode 100644 index 0000000..53503e4 --- /dev/null +++ b/iptraf-ng.spec @@ -0,0 +1,58 @@ +# +# spec file for package iptraf-ng +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: iptraf-ng +Version: 1.2.1 +Release: 0 +Summary: TCP/IP Network Monitor +License: GPL-2.0-or-later +Group: Productivity/Networking/Diagnostic +URL: https://github.com/iptraf-ng/iptraf-ng/ +Source: https://github.com/iptraf-ng/iptraf-ng/archive/v%version.tar.gz +BuildRequires: automake +BuildRequires: ncurses-devel +BuildRequires: xz +Obsoletes: iptraf < 4 +# Just pick a number that is >3 +Provides: iptraf = 4 + +%description +IPTraf-ng is a console-based network statistics utility. It gathers a +variety of information such as TCP connection packet and byte counts, +interface statistics and activity indicators, TCP/UDP traffic +breakdowns, and LAN station packet and byte counts. + +%prep +%autosetup -n %name-%version -p1 + +%build +%{?make_build}%{!?make_build:make %{?_smp_mflags}} CFLAGS="%optflags -D_GNU_SOURCE" + +%install +%make_install prefix="%_prefix" V=1 +b="%buildroot" +install -dm 0755 "$b/%_localstatedir/lib/iptraf-ng" +ln -s iptraf-ng "$b/%_sbindir/iptraf" +ln -s iptraf-ng.8 "$b/%_mandir/man8/iptraf.8" + +%files +%_sbindir/iptraf* +%_mandir/man8/iptraf* +%_localstatedir/lib/iptraf-ng + +%changelog diff --git a/v1.2.1.tar.gz b/v1.2.1.tar.gz new file mode 100644 index 0000000..6af2e1d --- /dev/null +++ b/v1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f5cef584065420dea1ba32c86126aede1fa9bd25b0f8362b0f9fd9754f00870 +size 325177 From d8ab9b91df1211a20737c98b14b66a51de3db35b89c574737ae34956c6ec6384 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 21 Nov 2024 10:21:36 +0000 Subject: [PATCH 2/2] [info=cc078ec23e04521d6ac5a258dba45c358d74fc7603b63155183fbc21ffa4c2c0] OBS-URL: https://build.opensuse.org/package/show/network:utilities/iptraf-ng?expand=0&rev=14 --- _scmsync.obsinfo | 4 ++-- build.specials.obscpio | 2 +- iptraf-ng.changes | 7 +++++++ iptraf-ng.spec | 4 ++-- v1.2.1.tar.gz | 3 --- v1.2.2.tar.gz | 3 +++ 6 files changed, 15 insertions(+), 8 deletions(-) delete mode 100644 v1.2.1.tar.gz create mode 100644 v1.2.2.tar.gz diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index 8c549d9..323d6d1 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1605124100 -commit: 33fea11cd64889076e9d7acf0574a7e1ed122187a4367fa171abec3c1bc0758e +mtime: 1732184481 +commit: cc078ec23e04521d6ac5a258dba45c358d74fc7603b63155183fbc21ffa4c2c0 url: https://src.opensuse.org/jengelh/iptraf-ng revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 7cfdf83..ddebb66 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4d9c0d20db42287bff4e132ce59a859141dcf47fe3793c046cf9f62684aa7566 +oid sha256:26f4f748a0f177fdb993094b16b1be73d685cae377d957beacabbdeb85c5e58e size 256 diff --git a/iptraf-ng.changes b/iptraf-ng.changes index 3e463f7..f6dc11c 100644 --- a/iptraf-ng.changes +++ b/iptraf-ng.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 21 10:18:49 UTC 2024 - Jan Engelhardt + +- Update to release 1.2.2 + * serv.c: validate loading/saving/entry of port ranges + * limit interface name lengths to IFNAMSIZ [CVE-2024-52949] + ------------------------------------------------------------------- Wed Nov 11 10:52:12 UTC 2020 - Martin Wilck diff --git a/iptraf-ng.spec b/iptraf-ng.spec index 53503e4..481bc64 100644 --- a/iptraf-ng.spec +++ b/iptraf-ng.spec @@ -1,7 +1,7 @@ # # spec file for package iptraf-ng # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: iptraf-ng -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: TCP/IP Network Monitor License: GPL-2.0-or-later diff --git a/v1.2.1.tar.gz b/v1.2.1.tar.gz deleted file mode 100644 index 6af2e1d..0000000 --- a/v1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f5cef584065420dea1ba32c86126aede1fa9bd25b0f8362b0f9fd9754f00870 -size 325177 diff --git a/v1.2.2.tar.gz b/v1.2.2.tar.gz new file mode 100644 index 0000000..16232ae --- /dev/null +++ b/v1.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75fd653745ea0705995c25e6c07b34252ecc2563c6a91b007a3a8c26f29cc252 +size 325800