4 Commits

Author SHA256 Message Date
38485ec5ea Accepting request 1327163 from network
OBS-URL: https://build.opensuse.org/request/show/1327163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfswatch?expand=0&rev=13
2026-01-14 15:24:19 +00:00
decbe9073f - Update to version 4.99.14
* remove makefile.patch, fixed upstream
  * remove nfswatch-4.99.11-sysmacros.patch, fixed upstream
  * remove nfswatch-fix-proto.patch, fixed upstream
  * Fix to allow build using gcc version 15 due to problems with
    old-style function definitions
- Changes in version 4.99.13
  * Warn only once when receiving packets for an unsupported
    NFS version
  * nfswatch fails to cross build from source, because the
    upstream Makefile hard codes the build architecture
    pkg-config. After making it substitutable, it cross builds
    just fine as dh_auto_build passes the standard substitution.
  * Fix typo in error mesage when filelist is missing
  * Correct manpage sections.
  * rm ChangeLog now that we are in git; note one more change in spec
    and README
- Changes in version 4.99.12
  * use libtirpc
  * replace sighold() and sigrelse() by sigprocmask()
  * include <sys/sysmacros.h> in util.c
  * fix printf format issues in screen.c
  * fix prototype of rpcxdr_getargs() in rpcutil.c
- nfswatch-fix-proto.patch: fixed build with gcc14.
- Use %patch -P N instead of deprecated %patchN.
- add nfswatch-4.99.11-sysmacros.patch to build with current glibc
- update to 4.9.11
- run spec-cleaner
- add makefile.patch to fix linking on TW/Leap 15
- README file converted to utf8 
- Fix compile issues on Solaris and Linux alpha machines 
- Add a ChangeLog file 
- Add TODO note about broken strict aliasing rule
- fix license to be in spdx.org format
Mon Jul  13 14:54:45 CEST 2008 - mseben@suse.cz
- Initial package

OBS-URL: https://build.opensuse.org/package/show/network/nfswatch?expand=0&rev=16
2026-01-14 09:07:01 +00:00
81614e04b5 Accepting request 1231397 from network
- nfswatch-fix-proto.patch: fixed build with gcc14. (forwarded request 1231396 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/1231397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfswatch?expand=0&rev=12
2024-12-16 18:18:07 +00:00
dd572f05df Accepting request 1231396 from home:msmeissn:branches:network
- nfswatch-fix-proto.patch: fixed build with gcc14.

OBS-URL: https://build.opensuse.org/request/show/1231396
OBS-URL: https://build.opensuse.org/package/show/network/nfswatch?expand=0&rev=14
2024-12-16 12:56:32 +00:00
6 changed files with 37 additions and 36 deletions

View File

@@ -1,12 +0,0 @@
--- nfswatch-4.99.11/Makefile.orig
+++ nfswatch-4.99.11/Makefile
@@ -58,7 +58,7 @@
ULTRIXLIBS= -lcurses -ltermcap -lm
#DECOSFLIBS= -lcurses -ltermcap -lm
DECOSFLIBS= -lcurses -ltermcap -lm pfopen.c
-LINUXLIBS= -lpcap -lncurses -lm
+LINUXLIBS= -lpcap -lncurses -lm -ltirpc
CFLAGS=
LIBS=

View File

@@ -1,12 +0,0 @@
Index: b/util.c
===================================================================
--- a/util.c
+++ b/util.c
@@ -44,6 +44,7 @@
#endif
#ifdef LINUX
#include <mntent.h>
+#include <sys/sysmacros.h>
#endif
#include "nfswatch.h"

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:835a43c042cb69e3702eecfc8a70ffcd4f6c8429913219823e626a99a77dfb6c
size 87328

3
nfswatch-4.99.14.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Tue Jan 13 17:33:05 UTC 2026 - Andreas Prittwitz <m4ng4n@gmx.de>
- Update to version 4.99.14
* remove makefile.patch, fixed upstream
* remove nfswatch-4.99.11-sysmacros.patch, fixed upstream
* remove nfswatch-fix-proto.patch, fixed upstream
* Fix to allow build using gcc version 15 due to problems with
old-style function definitions
- Changes in version 4.99.13
* Warn only once when receiving packets for an unsupported
NFS version
* nfswatch fails to cross build from source, because the
upstream Makefile hard codes the build architecture
pkg-config. After making it substitutable, it cross builds
just fine as dh_auto_build passes the standard substitution.
* Fix typo in error mesage when filelist is missing
* Correct manpage sections.
* rm ChangeLog now that we are in git; note one more change in spec
and README
- Changes in version 4.99.12
* use libtirpc
* replace sighold() and sigrelse() by sigprocmask()
* include <sys/sysmacros.h> in util.c
* fix printf format issues in screen.c
* fix prototype of rpcxdr_getargs() in rpcutil.c
-------------------------------------------------------------------
Mon Dec 16 12:55:20 UTC 2024 - Marcus Meissner <meissner@suse.com>
- nfswatch-fix-proto.patch: fixed build with gcc14.
-------------------------------------------------------------------
Thu Feb 22 14:09:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
@@ -28,4 +60,3 @@ Mon Jul 13 14:54:45 CEST 2008 - mseben@suse.cz
- Initial package
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package nfswatch
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,13 @@
Name: nfswatch
Version: 4.99.11
Version: 4.99.14
Release: 0
Summary: An NFS traffic monitoring tool
License: BSD-2-Clause
Group: Productivity/Networking/NFS
URL: http://nfswatch.sourceforge.net
Source: %{name}-%{version}.tar.gz
Patch0: makefile.patch
Patch1: nfswatch-4.99.11-sysmacros.patch
BuildRequires: libpcap-devel
BuildRequires: ncurses-devel
%if 0%{?suse_version} >= 1500
@@ -39,10 +37,6 @@ network interface or on all interfaces.
%prep
%setup -q
%if 0%{?suse_version} >= 1500
%patch -P 0 -p1
%endif
%patch -P 1 -p1
%build