[info=33fea11cd64889076e9d7acf0574a7e1ed122187a4367fa171abec3c1bc0758e]

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iptraf-ng?expand=0&rev=13
This commit is contained in:
Jan Engelhardt 2024-11-21 10:18:16 +00:00 committed by Git OBS Bridge
commit c3c77a2889
7 changed files with 391 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1605124100
commit: 33fea11cd64889076e9d7acf0574a7e1ed122187a4367fa171abec3c1bc0758e
url: https://src.opensuse.org/jengelh/iptraf-ng
revision: master

3
build.specials.obscpio Normal file
View File

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

299
iptraf-ng.changes Normal file
View File

@ -0,0 +1,299 @@
-------------------------------------------------------------------
Wed Nov 11 10:52:12 UTC 2020 - Martin Wilck <mwilck@suse.com>
- Fix build error on SLE12 (%make_build not defined)
-------------------------------------------------------------------
Sun Aug 16 14:11:17 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- 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 <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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

58
iptraf-ng.spec Normal file
View File

@ -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

3
v1.2.1.tar.gz Normal file
View File

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