commit rpcbind for openSUSE:Factory
Hello community,
here is the log from the commit of package rpcbind for openSUSE:Factory checked in at 2012-11-30 12:26:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpcbind (Old)
and /work/SRC/openSUSE:Factory/.rpcbind.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpcbind", Maintainer is "OKir@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rpcbind/rpcbind.changes 2012-11-08 21:52:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rpcbind.new/rpcbind.changes 2012-11-30 12:30:45.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Nov 28 14:44:15 UTC 2012 - rmilasan@suse.com
+
+- Move rpcbind.sock and rpcbind.lock to /run to not interfere with
+ systemd.
+
+-------------------------------------------------------------------
New:
----
move-lock-file-to-run-fs.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rpcbind.spec ++++++
--- /var/tmp/diff_new_pack.P2POLK/_old 2012-11-30 12:30:46.000000000 +0100
+++ /var/tmp/diff_new_pack.P2POLK/_new 2012-11-30 12:30:46.000000000 +0100
@@ -43,6 +43,7 @@
Patch1: socket-activation-don-t-unlink-socket-we-didn-t-create
Patch2: socket-activation-fix-rpcbind-service-to-use-separate-sockets
Patch3: rpcbind-journal.patch
+Patch4: move-lock-file-to-run-fs.patch
%define statefile /var/lib/portmap.state
%if 0%{?suse_version} > 1140
BuildRequires: systemd-devel
@@ -71,6 +72,8 @@
%patch1 -p1
%patch2 -p1
%patch3
+%patch4 -p1
+
%build
autoreconf -fiv
export CFLAGS="$RPM_OPT_FLAGS -fpie"
++++++ move-lock-file-to-run-fs.patch ++++++
Index: rpcbind-0.2.0_git201103171419/src/rpcbind.c
===================================================================
--- rpcbind-0.2.0_git201103171419.orig/src/rpcbind.c
+++ rpcbind-0.2.0_git201103171419/src/rpcbind.c
@@ -93,7 +93,7 @@ char *rpcbinduser = NULL;
/* 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;
++++++ socket-activation-fix-rpcbind-service-to-use-separate-sockets ++++++
--- /var/tmp/diff_new_pack.P2POLK/_old 2012-11-30 12:30:46.000000000 +0100
+++ /var/tmp/diff_new_pack.P2POLK/_new 2012-11-30 12:30:46.000000000 +0100
@@ -16,8 +16,10 @@
systemd/rpcbind.socket | 9 +++++++--
2 files changed, 38 insertions(+), 3 deletions(-)
---- a/src/rpcbind.c
-+++ b/src/rpcbind.c
+Index: rpcbind-0.2.0_git201103171419/src/rpcbind.c
+===================================================================
+--- rpcbind-0.2.0_git201103171419.orig/src/rpcbind.c
++++ rpcbind-0.2.0_git201103171419/src/rpcbind.c
@@ -50,6 +50,7 @@
#include
participants (1)
-
root@hilbert.suse.de