Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpcbind for openSUSE:Factory checked 
in at 2025-07-31 17:44:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
 and      /work/SRC/openSUSE:Factory/.rpcbind.new.1944 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpcbind"

Thu Jul 31 17:44:57 2025 rev:71 rq:1296397 version:1.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes  2025-01-31 
16:02:34.411466714 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new.1944/rpcbind.changes        
2025-07-31 17:45:03.465304195 +0200
@@ -1,0 +2,20 @@
+Mon Jul 28 07:14:31 UTC 2025 - Petr Vorel <[email protected]>
+
+- Update to rpcbind 1.2.8
+  
https://lore.kernel.org/linux-nfs/[email protected]/
+  * Added -v (print version and compile flags)
+  * A number of systemd updates/bug fixes.
+  * A number of manpage updates.
+  * Moved rpcbind.lock and default configs to /run instead of /var/run
+  * A couple of bug fixes
+- systemd: Upstream added systemd EnvironmentFile: 1) /etc/rpcbind.conf 2)
+  /etc/default/rpcbind 3) /etc/sysconfig/rpcbind (the only one originally used
+  in openSUSE patch for boo#1117217)
+- systemd: Add 'systemd-tmpfiles-setup.service' into 'Wants' and 'After'
+  targets (originally openSUSE patch for boo#1117217 added 
'After=sysinit.target')
+- Removed openSUSE downstream patches (accepted upstream):
+  * 0001-systemd-rpcbind.service-Fix-ordering-add-etc-sysconf.patch
+  * 0001-systemd-rpcbind.service-Add-hardening-bsc-1181400.patch
+  * 0001-change-lockingdir-to-run.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-change-lockingdir-to-run.patch
  0001-systemd-rpcbind.service-Add-hardening-bsc-1181400.patch
  0001-systemd-rpcbind.service-Fix-ordering-add-etc-sysconf.patch
  rpcbind-1.2.7.tar.bz2

New:
----
  rpcbind-1.2.8.tar.bz2

----------(Old B)----------
  Old:  * 0001-systemd-rpcbind.service-Add-hardening-bsc-1181400.patch
  * 0001-change-lockingdir-to-run.patch
  Old:  * 0001-systemd-rpcbind.service-Fix-ordering-add-etc-sysconf.patch
  * 0001-systemd-rpcbind.service-Add-hardening-bsc-1181400.patch
  * 0001-change-lockingdir-to-run.patch
  Old:- Removed openSUSE downstream patches (accepted upstream):
  * 0001-systemd-rpcbind.service-Fix-ordering-add-etc-sysconf.patch
  * 0001-systemd-rpcbind.service-Add-hardening-bsc-1181400.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rpcbind.spec ++++++
--- /var/tmp/diff_new_pack.z24QqO/_old  2025-07-31 17:45:04.185334121 +0200
+++ /var/tmp/diff_new_pack.z24QqO/_new  2025-07-31 17:45:04.189334287 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rpcbind
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:           rpcbind
-Version:        1.2.7
+Version:        1.2.8
 Release:        0
 Summary:        Transport independent RPC portmapper
 # Git-Web:      http://git.linux-nfs.org/?p=steved/rpcbind.git;a=summary
@@ -31,9 +31,6 @@
 Source:         
https://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
 Source2:        sysconfig.rpcbind
 Source5:        rpc-user.conf
-Patch1:         0001-systemd-rpcbind.service-Fix-ordering-add-etc-sysconf.patch
-Patch2:         0001-change-lockingdir-to-run.patch
-Patch3:         0001-systemd-rpcbind.service-Add-hardening-bsc-1181400.patch
 BuildRequires:  libtirpc-devel >= 1.0.1
 BuildRequires:  libtool
 BuildRequires:  pkgconfig

++++++ rpcbind-1.2.7.tar.bz2 -> rpcbind-1.2.8.tar.bz2 ++++++
++++ 4197 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/compile new/rpcbind-1.2.8/compile
--- old/rpcbind-1.2.7/compile   2024-07-25 22:49:00.000000000 +0200
+++ new/rpcbind-1.2.8/compile   2025-07-27 14:12:10.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2024-06-19.01; # UTC
 
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2024 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -143,7 +143,7 @@
          # configure might choose to run compile as 'compile cc -o foo foo.c'.
          eat=1
          case $2 in
-           *.o | *.[oO][bB][jJ])
+           *.o | *.lo | *.[oO][bB][jJ])
              func_file_conv "$2"
              set x "$@" -Fo"$file"
              shift
@@ -248,14 +248,17 @@
 right script to run: please start by reading the file 'INSTALL'.
 
 Report bugs to <[email protected]>.
+GNU Automake home page: <https://www.gnu.org/software/automake/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>.
 EOF
     exit $?
     ;;
   -v | --v*)
-    echo "compile $scriptversion"
+    echo "compile (GNU Automake) $scriptversion"
     exit $?
     ;;
   cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
   icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/configure.ac new/rpcbind-1.2.8/configure.ac
--- old/rpcbind-1.2.7/configure.ac      2024-07-25 17:55:23.000000000 +0200
+++ new/rpcbind-1.2.8/configure.ac      2025-07-27 01:22:11.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT(rpcbind, 1.2.7)
+AC_INIT(rpcbind, 1.2.8)
  
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/rpcbind.c])
@@ -32,8 +32,8 @@
 AM_CONDITIONAL(RMTCALLS, test x$enable_rmtcalls = xyes)
 
 AC_ARG_WITH([statedir],
-  AS_HELP_STRING([--with-statedir=ARG], [use ARG as state dir 
@<:@default=/var/run/rpcbind@:>@])
-  ,, [with_statedir=/var/run/rpcbind])
+  AS_HELP_STRING([--with-statedir=ARG], [use ARG as state dir 
@<:@default=/run/rpcbind@:>@])
+  ,, [with_statedir=/run/rpcbind])
 AC_SUBST([statedir], [$with_statedir])
 
 AC_ARG_WITH([rpcuser],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/man/rpcbind-fr.8 new/rpcbind-1.2.8/man/rpcbind-fr.8
--- old/rpcbind-1.2.7/man/rpcbind-fr.8  2024-07-25 17:55:23.000000000 +0200
+++ new/rpcbind-1.2.8/man/rpcbind-fr.8  2025-07-27 01:22:11.000000000 +0200
@@ -138,8 +138,8 @@
 .Xr rpcbind 3 ,
 .Xr rpcinfo 8
 .Sh FILES
-.Bl -tag -width /var/run/rpcbind.sock -compact
-.It Pa /var/run/rpcbind.sock
+.Bl -tag -width /run/rpcbind.sock -compact
+.It Pa /run/rpcbind.sock
 .Sh TRADUCTION
 Aurelien CHARBON (Sept 2003)
 .El
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/man/rpcbind.8 new/rpcbind-1.2.8/man/rpcbind.8
--- old/rpcbind-1.2.7/man/rpcbind.8     2024-07-25 17:55:23.000000000 +0200
+++ new/rpcbind-1.2.8/man/rpcbind.8     2025-07-27 01:22:11.000000000 +0200
@@ -11,7 +11,7 @@
 .Nd universal addresses to RPC program number mapper
 .Sh SYNOPSIS
 .Nm
-.Op Fl adhiLls
+.Op Fl adfhilsvw
 .Sh DESCRIPTION
 The
 .Nm
@@ -141,6 +141,10 @@
 clients from using
 .Nm
 to connect to services from a privileged port.
+.It Fl v
+Print
+.Nm
+version and builtin configuration and exit.
 .It Fl w
 Cause
 .Nm
@@ -150,6 +154,14 @@
 .Nm
 terminates.
 .El
+.Sh FILES
+The
+.Nm
+utility tries to load configuration file in following order:
+.Bd -literal
+.Pa /etc/rpcbind.conf
+.Pa /etc/default/rpcbind
+.Pa /etc/sysconfig/rpcbind
 .Sh NOTES
 All RPC servers must be restarted if
 .Nm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/missing new/rpcbind-1.2.8/missing
--- old/rpcbind-1.2.7/missing   2024-07-25 22:49:00.000000000 +0200
+++ new/rpcbind-1.2.8/missing   2025-07-27 14:12:10.000000000 +0200
@@ -1,9 +1,11 @@
 #! /bin/sh
-# Common wrapper for a few potentially missing GNU programs.
+# Common wrapper for a few potentially missing GNU and other programs.
 
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2024-06-07.14; # UTC
 
-# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells
+
+# Copyright (C) 1996-2024 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -54,18 +56,20 @@
   -v, --version   output version information and exit
 
 Supported PROGRAM values:
-  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
-  bison     yacc      flex         lex       help2man
+aclocal autoconf autogen  autoheader autom4te automake autoreconf
+bison   flex     help2man lex        makeinfo perl     yacc
 
 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
 'g' are ignored when checking the name.
 
-Send bug reports to <[email protected]>."
+Report bugs to <[email protected]>.
+GNU Automake home page: <https://www.gnu.org/software/automake/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>."
     exit $?
     ;;
 
   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
-    echo "missing $scriptversion (GNU Automake)"
+    echo "missing (GNU Automake) $scriptversion"
     exit $?
     ;;
 
@@ -108,7 +112,7 @@
 program_details ()
 {
   case $1 in
-    aclocal|automake)
+    aclocal|automake|autoreconf)
       echo "The '$1' program is part of the GNU Automake package:"
       echo "<$gnu_software_URL/automake>"
       echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
@@ -123,6 +127,9 @@
       echo "<$gnu_software_URL/m4/>"
       echo "<$perl_URL>"
       ;;
+    *)
+      :
+      ;;
   esac
 }
 
@@ -137,48 +144,55 @@
   printf '%s\n' "'$1' is $msg."
 
   configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+  autoheader_deps="'acconfig.h'"
+  automake_deps="'Makefile.am'"
+  aclocal_deps="'acinclude.m4'"
   case $normalized_program in
+    aclocal*)
+      echo "You should only need it if you modified $aclocal_deps or"
+      echo "$configure_deps."
+      ;;
     autoconf*)
-      echo "You should only need it if you modified 'configure.ac',"
-      echo "or m4 files included by it."
-      program_details 'autoconf'
+      echo "You should only need it if you modified $configure_deps."
+      ;;
+    autogen*)
+      echo "You should only need it if you modified a '.def' or '.tpl' file."
+      echo "You may want to install the GNU AutoGen package:"
+      echo "<$gnu_software_URL/autogen/>"
       ;;
     autoheader*)
-      echo "You should only need it if you modified 'acconfig.h' or"
+      echo "You should only need it if you modified $autoheader_deps or"
       echo "$configure_deps."
-      program_details 'autoheader'
       ;;
     automake*)
-      echo "You should only need it if you modified 'Makefile.am' or"
-      echo "$configure_deps."
-      program_details 'automake'
-      ;;
-    aclocal*)
-      echo "You should only need it if you modified 'acinclude.m4' or"
+      echo "You should only need it if you modified $automake_deps or"
       echo "$configure_deps."
-      program_details 'aclocal'
       ;;
-   autom4te*)
+    autom4te*)
       echo "You might have modified some maintainer files that require"
       echo "the 'autom4te' program to be rebuilt."
-      program_details 'autom4te'
+      ;;
+    autoreconf*)
+      echo "You should only need it if you modified $aclocal_deps or"
+      echo "$automake_deps or $autoheader_deps or $automake_deps or"
+      echo "$configure_deps."
       ;;
     bison*|yacc*)
       echo "You should only need it if you modified a '.y' file."
       echo "You may want to install the GNU Bison package:"
       echo "<$gnu_software_URL/bison/>"
       ;;
-    lex*|flex*)
-      echo "You should only need it if you modified a '.l' file."
-      echo "You may want to install the Fast Lexical Analyzer package:"
-      echo "<$flex_URL>"
-      ;;
     help2man*)
       echo "You should only need it if you modified a dependency" \
            "of a man page."
       echo "You may want to install the GNU Help2man package:"
       echo "<$gnu_software_URL/help2man/>"
     ;;
+    lex*|flex*)
+      echo "You should only need it if you modified a '.l' file."
+      echo "You may want to install the Fast Lexical Analyzer package:"
+      echo "<$flex_URL>"
+      ;;
     makeinfo*)
       echo "You should only need it if you modified a '.texi' file, or"
       echo "any other file indirectly affecting the aspect of the manual."
@@ -189,6 +203,12 @@
       echo "want to install GNU make:"
       echo "<$gnu_software_URL/make/>"
       ;;
+    perl*)
+      echo "You should only need it to run GNU Autoconf, GNU Automake, "
+      echo "  assorted other tools, or if you modified a Perl source file."
+      echo "You may want to install the Perl 5 language interpreter:"
+      echo "<$perl_URL>"
+      ;;
     *)
       echo "You might have modified some files without having the proper"
       echo "tools for further handling them.  Check the 'README' file, it"
@@ -197,6 +217,7 @@
       echo "case some other package contains this missing '$1' program."
       ;;
   esac
+  program_details "$normalized_program"
 }
 
 give_advice "$1" | sed -e '1s/^/WARNING: /' \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/src/rpcbind.c new/rpcbind-1.2.8/src/rpcbind.c
--- old/rpcbind-1.2.7/src/rpcbind.c     2024-07-25 17:55:23.000000000 +0200
+++ new/rpcbind-1.2.8/src/rpcbind.c     2025-07-27 01:22:11.000000000 +0200
@@ -96,16 +96,17 @@
 char *rpcbinduser = NULL;
 #endif
 
+#define NSS_MODULES_DEFAULT "files"
 #ifdef NSS_MODULES
 char *nss_modules = NSS_MODULES;
 #else
-char *nss_modules = "files";
+char *nss_modules = NSS_MODULES_DEFAULT;
 #endif
 
 /* who to suid to if -s is given */
 #define RUN_AS  "daemon"
 
-#define RPCBINDDLOCK "/var/run/rpcbind.lock"
+#define RPCBINDDLOCK "/run/rpcbind.lock"
 
 int runasdaemon = 0;
 int insecure = 0;
@@ -143,6 +144,76 @@
 static void terminate(int);
 static void parseargs(int, char *[]);
 
+static void version()
+{
+       fprintf(stderr, "%s\n", PACKAGE_STRING);
+
+       fprintf(stderr, "debug: ");
+#ifdef RPCBIND_DEBUG
+       fprintf(stderr, "yes");
+#else
+       fprintf(stderr, "no");
+#endif
+
+       fprintf(stderr, ", libset debug: ");
+#ifdef LIB_SET_DEBUG
+       fprintf(stderr, "yes");
+#else
+       fprintf(stderr, "no");
+#endif
+
+       fprintf(stderr, ", libwrap: ");
+#ifdef LIBWRAP
+       fprintf(stderr, "yes");
+#else
+       fprintf(stderr, "no");
+#endif
+
+       fprintf(stderr, ", nss modules: ");
+#ifdef NSS_MODULES
+       fprintf(stderr, "%s", NSS_MODULES);
+#else
+       fprintf(stderr, "%s", NSS_MODULES_DEFAULT);
+#endif
+
+       fprintf(stderr, ", remote calls: ");
+#ifdef RMTCALLS
+       fprintf(stderr, "yes");
+#else
+       fprintf(stderr, "no");
+#endif
+
+       fprintf(stderr, ", statedir: ");
+#ifdef RPCBIND_STATEDIR
+       fprintf(stderr, "%s", RPCBIND_STATEDIR);
+#else
+       fprintf(stderr, "");
+#endif
+
+       fprintf(stderr, ", systemd: ");
+#ifdef SYSTEMD
+       fprintf(stderr, "yes");
+#else
+       fprintf(stderr, "no");
+#endif
+
+       fprintf(stderr, ", user: ");
+#ifdef RPCBIND_USER
+       fprintf(stderr, "%s", RPCBIND_USER);
+#else
+       fprintf(stderr, "");
+#endif
+
+       fprintf(stderr, ", warm start: ");
+#ifdef WARMSTART
+       fprintf(stderr, "yes");
+#else
+       fprintf(stderr, "no");
+#endif
+
+       fprintf(stderr, "\n");
+}
+
 int
 main(int argc, char *argv[])
 {
@@ -471,6 +542,8 @@
                nhostsbak = nhosts;
                nhostsbak++;
                hosts = realloc(hosts, nhostsbak * sizeof(char *));
+               if (hosts == NULL)
+                       errx(1, "Out of memory");
                if (nhostsbak == 1)
                        hosts[0] = "*";
                else {
@@ -886,7 +959,7 @@
 {
        int c;
        oldstyle_local = 1;
-       while ((c = getopt(argc, argv, "adh:ilswf")) != -1) {
+       while ((c = getopt(argc, argv, "adfh:ilsvw")) != -1) {
                switch (c) {
                case 'a':
                        doabort = 1;    /* when debugging, do an abort on */
@@ -916,13 +989,17 @@
                case 'f':
                        dofork = 0;
                        break;
+               case 'v':
+                       version();
+                       exit(0);
+                       break;
 #ifdef WARMSTART
                case 'w':
                        warmstart = 1;
                        break;
 #endif
                default:        /* error */
-                       fprintf(stderr, "usage: rpcbind [-adhilswf]\n");
+                       fprintf(stderr, "usage: rpcbind [-adfhilsvw]\n");
                        exit (1);
                }
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/src/rpcinfo.c new/rpcbind-1.2.8/src/rpcinfo.c
--- old/rpcbind-1.2.7/src/rpcinfo.c     2024-07-25 17:55:23.000000000 +0200
+++ new/rpcbind-1.2.8/src/rpcinfo.c     2025-07-27 01:22:11.000000000 +0200
@@ -356,9 +356,7 @@
 
 #ifdef PORTMAP
 static enum clnt_stat
-ip_ping_one(client, vers)
-     CLIENT *client;
-     u_int32_t vers;
+ip_ping_one(CLIENT * client, u_int32_t vers)
 {
   struct timeval to = { .tv_sec = 10, .tv_usec = 0 };
 
@@ -376,11 +374,7 @@
  * version 0 calls succeeds, it tries for MAXVERS call and repeats the same.
  */
 static void
-ip_ping (portnum, proto, argc, argv)
-     u_short portnum;
-     char *proto;
-     int argc;
-     char **argv;
+ip_ping (u_short portnum, char *proto, int argc, char **argv)
 {
   CLIENT *client;
   enum clnt_stat rpc_stat;
@@ -480,9 +474,7 @@
  * Dump all the portmapper registerations
  */
 static void
-pmapdump (argc, argv)
-     int argc;
-     char **argv;
+pmapdump (int argc, char **argv)
 {
   struct pmaplist *head = NULL;
   struct timeval minutetimeout;
@@ -581,11 +573,8 @@
  * the address using rpcb_getaddr.
  */
 CLIENT *
-ip_getclient(hostname, prognum, versnum, proto)
-     const char *hostname;
-     rpcprog_t prognum;
-     rpcvers_t versnum;
-     const char *proto;
+ip_getclient(const char *hostname, rpcprog_t prognum, 
+       rpcvers_t versnum, const char *proto)
 {
   void *handle;
   enum clnt_stat saved_stat = RPC_SUCCESS;
@@ -674,10 +663,10 @@
  */
 
  /*ARGSUSED*/ static bool_t
-reply_proc (res, who, nconf)
-     void *res;                        /* Nothing comes back */
-     struct netbuf *who;       /* Who sent us the reply */
-     struct netconfig *nconf;  /* On which transport the reply came */
+reply_proc (
+     void *res,                        /* Nothing comes back */
+     struct netbuf *who,       /* Who sent us the reply */
+     struct netconfig *nconf)  /* On which transport the reply came */
 {
   char *uaddr;
   char hostbuf[NI_MAXHOST];
@@ -703,9 +692,7 @@
 }
 
 static void
-brdcst (argc, argv)
-     int argc;
-     char **argv;
+brdcst (int argc, char **argv)
 {
   enum clnt_stat rpc_stat;
   u_long prognum, vers;
@@ -731,9 +718,7 @@
 }
 
 static bool_t
-add_version (rs, vers)
-     struct rpcbdump_short *rs;
-     u_long vers;
+add_version (struct rpcbdump_short *rs, u_long vers)
 {
   struct verslist *vl;
 
@@ -752,9 +737,7 @@
 }
 
 static bool_t
-add_netid (rs, netid)
-     struct rpcbdump_short *rs;
-     char *netid;
+add_netid (struct rpcbdump_short *rs, char *netid)
 {
   struct netidlist *nl;
 
@@ -773,11 +756,11 @@
 }
 
 static void
-rpcbdump (dumptype, netid, argc, argv)
-     int dumptype;
-     char *netid;
-     int argc;
-     char **argv;
+rpcbdump (
+     int dumptype,
+     char *netid,
+     int argc,
+     char **argv)
 {
   rpcblist_ptr head = NULL;
   struct timeval minutetimeout;
@@ -1021,10 +1004,10 @@
 static char nullstring[] = "\000";
 
 static void
-rpcbaddrlist (netid, argc, argv)
-     char *netid;
-     int argc;
-     char **argv;
+rpcbaddrlist (
+     char *netid,
+     int argc,
+     char **argv)
 {
   rpcb_entry_list_ptr head = NULL;
   struct timeval minutetimeout;
@@ -1143,9 +1126,7 @@
  * monitor rpcbind
  */
 static void
-rpcbgetstat (argc, argv)
-     int argc;
-     char **argv;
+rpcbgetstat (int argc, char **argv)
 {
   rpcb_stat_byvers inf;
   struct timeval minutetimeout;
@@ -1379,10 +1360,10 @@
  * Delete registeration for this (prog, vers, netid)
  */
 static void
-deletereg (netid, argc, argv)
-     char *netid;
-     int argc;
-     char **argv;
+deletereg (
+     char *netid,
+     int argc,
+     char **argv)
 {
   struct netconfig *nconf = NULL;
 
@@ -1414,11 +1395,11 @@
  * Exit if cannot create handle.
  */
 static CLIENT *
-clnt_addr_create (address, nconf, prog, vers)
-     char *address;
-     struct netconfig *nconf;
-     u_long prog;
-     u_long vers;
+clnt_addr_create (
+     char *address,
+     struct netconfig *nconf,
+     u_long prog,
+     u_long vers)
 {
   CLIENT *client;
   static struct netbuf *nbuf;
@@ -1456,11 +1437,11 @@
  * sent directly to the services themselves.
  */
 static void
-addrping (address, netid, argc, argv)
-     char *address;
-     char *netid;
-     int argc;
-     char **argv;
+addrping (
+     char *address,
+     char *netid,
+     int argc,
+     char **argv)
 {
   CLIENT *client;
   struct timeval to;
@@ -1583,10 +1564,10 @@
  * then sent directly to the services themselves.
  */
 static void
-progping (netid, argc, argv)
-     char *netid;
-     int argc;
-     char **argv;
+progping (
+     char *netid,
+     int argc,
+     char **argv)
 {
   CLIENT *client;
   struct timeval to;
@@ -1729,8 +1710,7 @@
 }
 
 static u_long
-getprognum (arg)
-     char *arg;
+getprognum (char *arg)
 {
   char *strptr;
   register struct rpcent *rpc;
@@ -1761,8 +1741,7 @@
 }
 
 static u_long
-getvers (arg)
-     char *arg;
+getvers (char *arg)
 {
   char *strptr;
   register u_long vers;
@@ -1784,10 +1763,10 @@
  * a good error message.
  */
 static int
-pstatus (client, prog, vers)
-     register CLIENT *client;
-     u_long prog;
-     u_long vers;
+pstatus (
+     register CLIENT *client,
+     u_long prog,
+     u_long vers)
 {
   struct rpc_err rpcerr;
 
@@ -1806,10 +1785,10 @@
 }
 
 static CLIENT *
-clnt_rpcbind_create (host, rpcbversnum, targaddr)
-     char *host;
-     int rpcbversnum;
-     struct netbuf **targaddr;
+clnt_rpcbind_create (
+     char *host,
+     int rpcbversnum,
+     struct netbuf **targaddr)
 {
   static char *tlist[3] = {
     "circuit_n", "circuit_v", "datagram_v"
@@ -1842,11 +1821,11 @@
 }
 
 static CLIENT *
-getclnthandle (host, nconf, rpcbversnum, targaddr)
-     char *host;
-     struct netconfig *nconf;
-     u_long rpcbversnum;
-     struct netbuf **targaddr;
+getclnthandle (
+     char *host,
+     struct netconfig *nconf,
+     u_long rpcbversnum,
+     struct netbuf **targaddr)
 {
   struct netbuf addr;
   struct addrinfo hints, *res;
@@ -1898,9 +1877,7 @@
 }
 
 static void
-print_rmtcallstat (rtype, infp)
-     int rtype;
-     rpcb_stat *infp;
+print_rmtcallstat (int rtype, rpcb_stat *infp)
 {
   register rpcbs_rmtcalllist_ptr pr;
   struct rpcent *rpc;
@@ -1924,9 +1901,7 @@
 }
 
 static void
-print_getaddrstat (rtype, infp)
-     int rtype;
-     rpcb_stat *infp;
+print_getaddrstat (int rtype, rpcb_stat *infp)
 {
   rpcbs_addrlist_ptr al;
   register struct rpcent *rpc;
@@ -1945,8 +1920,7 @@
 }
 
 static char *
-spaces (howmany)
-     int howmany;
+spaces (int howmany)
 {
   static char space_array[] =  /* 64 spaces */
     "                                                                ";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/rpcbind-1.2.7/systemd/rpcbind.service.in 
new/rpcbind-1.2.8/systemd/rpcbind.service.in
--- old/rpcbind-1.2.7/systemd/rpcbind.service.in        2024-07-25 
17:55:23.000000000 +0200
+++ new/rpcbind-1.2.8/systemd/rpcbind.service.in        2025-07-27 
01:22:11.000000000 +0200
@@ -7,11 +7,25 @@
 # Make sure we use the IP addresses listed for
 # rpcbind.socket, no matter how this unit is started.
 Requires=rpcbind.socket
-Wants=rpcbind.target
+Wants=rpcbind.target systemd-tmpfiles-setup.service
+After=systemd-tmpfiles-setup.service
 
 [Service]
+ProtectSystem=full
+ProtectHome=true
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
 Type=notify
 # distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
+EnvironmentFile=-/etc/rpcbind.conf
+EnvironmentFile=-/etc/default/rpcbind
+EnvironmentFile=-/etc/sysconfig/rpcbind
 ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS @warmstarts_opt@ -f
 
 [Install]

Reply via email to