Package: openbsd-inetd Version: 0.20160825-4+b1 Severity: normal User: debian-gl...@lists.debian.org Usertags: rpc-removal
Dear maintainer, The glibc SunRPC implementation has been marked obsolete for some time. It will get removed from glibc in version 2.32 that has been released a few weeks ago. The TI RPC implementation should be used instead, which also brings new features (IPv6, Kerberos support, ...). Fortunately it is relatively easy to add support for the TI RPC implementation in openbsd-inetd. Please find a patch below to do that. It can already be applied, even if the glibc SunRPC implementation is still present. Regards, Aurelien
--- openbsd-inetd-0.20160825/debian/control +++ openbsd-inetd-0.20160825/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Marco d'Itri <m...@linux.it> Build-Depends: debhelper-compat (= 12), - pkg-config, libbsd-dev (>= 0.6.0), libwrap0-dev, libevent-dev, libsystemd-dev + pkg-config, libbsd-dev (>= 0.6.0), libwrap0-dev, libevent-dev, libsystemd-dev, libtirpc-dev Standards-Version: 4.3.0.2 Rules-Requires-Root: no Vcs-Git: https://salsa.debian.org/md/openbsd-inetd.git --- openbsd-inetd-0.20160825/debian/patches/series +++ openbsd-inetd-0.20160825/debian/patches/series @@ -15,3 +15,4 @@ monotonic_clock write_pidfile sd_daemon +tirpc --- openbsd-inetd-0.20160825/debian/patches/tirpc +++ openbsd-inetd-0.20160825/debian/patches/tirpc @@ -0,0 +1,15 @@ +Use the TI RPC implementation instead of the glibc SunRPC implementation +that has been removed in glibc version 2.32. + +--- a/Makefile.debian ++++ b/Makefile.debian +@@ -4,6 +4,9 @@ CFLAGS ?= -g -O2 + DEFS := -DLIBWRAP + LIBS := -lwrap + ++DEFS += $(shell $(PKG_CONFIG) --cflags libtirpc) ++LIBS += $(shell $(PKG_CONFIG) --libs libtirpc) ++ + DEFS += $(shell $(PKG_CONFIG) --cflags libbsd-overlay) + LIBS += $(shell $(PKG_CONFIG) --libs libbsd-overlay) +