From 30b1fbab2f6bf0d655ad39c7d7947ad37d75a6f0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 3 Feb 2015 14:11:42 +0100 Subject: [PATCH] nfs-utils: patch from upstream to fix rpc.statd -F (via Arch). --- .../patches/nfs-utils-1.2.1-statd-bg.patch | 25 +++++++++++++++++++ srcpkgs/nfs-utils/template | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/nfs-utils/patches/nfs-utils-1.2.1-statd-bg.patch diff --git a/srcpkgs/nfs-utils/patches/nfs-utils-1.2.1-statd-bg.patch b/srcpkgs/nfs-utils/patches/nfs-utils-1.2.1-statd-bg.patch new file mode 100644 index 0000000000..a36b4c8433 --- /dev/null +++ b/srcpkgs/nfs-utils/patches/nfs-utils-1.2.1-statd-bg.patch @@ -0,0 +1,25 @@ +commit 17a3e5bffb7110d46de1bf42b64b90713ff5ea50 +Author: Chris Mayo +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 + Signed-off-by: Steve Dickson + +diff --git a/utils/statd/statd.c b/utils/statd/statd.c +index 60ce6d1..2b7a167 100644 +--- utils/statd/statd.c ++++ 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); diff --git a/srcpkgs/nfs-utils/template b/srcpkgs/nfs-utils/template index d2a5329103..c7e09e2fe0 100644 --- a/srcpkgs/nfs-utils/template +++ b/srcpkgs/nfs-utils/template @@ -1,7 +1,7 @@ # Template file for 'nfs-utils' pkgname=nfs-utils version=1.3.2 -revision=1 +revision=2 short_desc="Network File System utilities" maintainer="Juan RP " license="GPL-2"