diff --git a/rpcbind-0.2.1-rpcuser.patch b/rpcbind-0.2.1-rpcuser.patch new file mode 100644 index 0000000..426f997 --- /dev/null +++ b/rpcbind-0.2.1-rpcuser.patch @@ -0,0 +1,26 @@ +commit b3b031b07cc5909aaf964f9d4cf46f6097769320 +Author: Steve Dickson +Date: Wed Aug 21 14:40:22 2013 -0400 + + rpcbind: rpcuser not being set in Makefile.am + + Commit 8d7a0708 cause a regression where the rpcuser id was not + being set, which in turn cause rpcbind to immediately exit. + This patch removes the extra ',' that was in the AC_ARG_WITH + statement in the configure.ac file. + + Signed-off-by: Steve Dickson + +diff --git a/configure.ac b/configure.ac +index 2b67720..1cf42d3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -23,7 +23,7 @@ AC_ARG_WITH([statedir], + AC_SUBST([statedir], [$with_statedir]) + + AC_ARG_WITH([rpcuser], +- AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@]), ++ AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@]) + ,, [with_rpcuser=root]) + AC_SUBST([rpcuser], [$with_rpcuser]) + diff --git a/rpcbind.spec b/rpcbind.spec index 3f61252..d59f72a 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -1,6 +1,6 @@ Name: rpcbind Version: 0.2.1 -Release: 0%{?dist} +Release: 0.1%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: BSD @@ -24,6 +24,8 @@ Requires(postun): systemd-units coreutils Provides: portmap = %{version}-%{release} Obsoletes: portmap <= 4.0-65.3 +Patch001: rpcbind-0.2.1-rpcuser.patch + %description The rpcbind utility is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make @@ -32,6 +34,8 @@ RPC calls on a server on that machine. %prep %setup -q +%patch001 -p1 + %build %ifarch s390 s390x PIE="-fPIE" @@ -130,6 +134,9 @@ fi %dir %attr(700,rpc,rpc) /var/lib/rpcbind %changelog +* Wed Aug 21 2013 Steve Dickson - 0.2.1-0.1 +- Fixed typo in configure.ac file causing rpcuser not to be set. + * Mon Aug 19 2013 Steve Dickson - 0.2.1-0 - Update to the latest upstream release: 0.2.1