[arch-commits] Commit in nfs-utils/trunk (PKGBUILD nfs-utils-1.2.1-statd-bg.patch)

Tobias Powalowski tpowa at archlinux.org
Tue Feb 3 12:11:17 UTC 2015


    Date: Tuesday, February 3, 2015 @ 13:11:16
  Author: tpowa
Revision: 230392

upgpkg: nfs-utils 1.3.2-2

fix rpc-statd startup

Added:
  nfs-utils/trunk/nfs-utils-1.2.1-statd-bg.patch
Modified:
  nfs-utils/trunk/PKGBUILD

--------------------------------+
 PKGBUILD                       |   11 ++++++++---
 nfs-utils-1.2.1-statd-bg.patch |   25 +++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-03 11:25:29 UTC (rev 230391)
+++ PKGBUILD	2015-02-03 12:11:16 UTC (rev 230392)
@@ -7,7 +7,7 @@
 
 pkgname=nfs-utils
 pkgver=1.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Support programs for Network File Systems"
 arch=('i686' 'x86_64')
 url='http://nfs.sourceforge.net'
@@ -23,7 +23,8 @@
 	nfs-utils-1.1.4-mtab-sym.patch
 	nfs-utils.conf
         id_resolver.conf
-        nfs-utils_env.sh)
+        nfs-utils_env.sh
+        nfs-utils-1.2.1-statd-bg.patch)
 install=nfs-utils.install
 optdepends=('sqlite: for nfsdcltrack usage')
 md5sums=('1e2f3c1ed468dee02d00c534c002ea10'
@@ -35,7 +36,9 @@
          '7674106eaaa4c149bccd4f05fe3604e9'
          '8ac484023d786766d287ccbe878ae4ba'
          'a43aabf0b8d02406b1babc3a206d952a'
-         'c6c9c32f153dfa6c0477ea6b99354288')
+         'c6c9c32f153dfa6c0477ea6b99354288'
+         '45f55a5d581b2527b453c3a0816add24')
+
 validpgpkeys=(
         E1B71E339E20A10A676F7CB69AFB1D681A125177 # Steve Dickson
 )
@@ -43,6 +46,8 @@
 prepare() {
   cd $srcdir/${pkgname}-${pkgver}
   patch -Np1 -i ../nfs-utils-1.1.4-mtab-sym.patch
+  # fix rpc.statd starting
+  patch -Np1 -i ../nfs-utils-1.2.1-statd-bg.patch
   ./autogen.sh
 }
 

Added: nfs-utils-1.2.1-statd-bg.patch
===================================================================
--- nfs-utils-1.2.1-statd-bg.patch	                        (rev 0)
+++ nfs-utils-1.2.1-statd-bg.patch	2015-02-03 12:11:16 UTC (rev 230392)
@@ -0,0 +1,25 @@
+commit 17a3e5bffb7110d46de1bf42b64b90713ff5ea50
+Author: Chris Mayo <aklhfex at gmail.com>
+Date:   Sun Feb 1 12:03:46 2015 -0500
+
+    statd: Fix test for foreground mode
+    
+    daemon_init parameter has the opposite sense
+    to code removed in commit 7addf9d
+    
+    Signed-off-by: Chris Mayo <aklhfex at gmail.com>
+    Signed-off-by: Steve Dickson <steved at redhat.com>
+
+diff --git a/utils/statd/statd.c b/utils/statd/statd.c
+index 60ce6d1..2b7a167 100644
+--- a/utils/statd/statd.c
++++ b/utils/statd/statd.c
+@@ -393,7 +393,7 @@ int main (int argc, char **argv)
+ 		simulator (--argc, ++argv);	/* simulator() does exit() */
+ #endif
+ 
+-	daemon_init(!(run_mode & MODE_NODAEMON));
++	daemon_init((run_mode & MODE_NODAEMON));
+ 
+ 	if (run_mode & MODE_LOG_STDERR) {
+ 		xlog_syslog(0);



More information about the arch-commits mailing list