Package: src:nfswatch
Version: 4.99.11-6
Severity: wishlist

glibc's SunRPC library seems to be deprecated and might be disabled in
new ports - see the last few paragraphs of
<https://lists.debian.org/debian-arm/2020/03/msg00035.html>.

Fedora's package of nfswatch has changed it to use libtirpc by
applying the following "patch" in the build commands:

--- BEGIN ---
# RPC stuff moved out of glibc and into libtirpc
sed -i '/^LINUXCFLAGS/s+-DLINUX+-DLINUX -I%{_includedir}/tirpc+' Makefile
sed -i '/^LINUXLIBS/s+-lpcap+-lpcap -ltirpc+' Makefile
sed -i '/<mntent.h>/a#include <sys/sysmacros.h>' util.c
--- END ---

Ben.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to