diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2015-07-13 11:17:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-13 12:54:42 +0200 |
commit | e5e31fe92dd191480341d07a01f79f88abab9c2a (patch) | |
tree | a85a379147756004b60bf3b0caf2845ae99373cc /package/nfs-utils/0004-statd-Fix-test-for-foreground-mode.patch | |
parent | 5284dcf7de769e8612da3d4f1c4d12b4582870d5 (diff) | |
download | buildroot-e5e31fe92dd191480341d07a01f79f88abab9c2a.tar.gz buildroot-e5e31fe92dd191480341d07a01f79f88abab9c2a.zip |
nfs-utils: Bump version
Refresh the patches (Thanks to Thomas Petazzoni's work)
Patches removed:
0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch
0004-fix-build-with-uClibc.patch
0004-fix-build-with-uClibc.patch
0005-Allow-usage-of-getrpcbynumber-when-getrpcbynumber_r-.patch
0007-sockaddr-h-needs-stddef-h-for-NULL.patch
0008-tirpc-with-pkgconfig.patch
Patches modified:
0002-Patch-taken-from-Gentoo.patch
0003-Switch-legacy-index-in-favour-of-strchr.patch
0006-Let-the-configure-script-find-getrpcbynumber-in-libt.patch
Patch addedd:
0004-statd-Fix-test-for-foreground-mode.patch
Also, change source of the package to git repository (and remove the hash,
sourceforce is clearly not a platform which can be trusted nowadays)
Rework the startup script to accomodate new rpc.statd
The startup scripts now uses rcp.statd -F for a startup in foreground,
also we avoid starting it twice, it makes rcp.statd crash the whole
script.
[Thomas: add patch to fix rpc.statd foreground/daemon mode backported
from upstream, and fix the S60nfs init script to not use the -F option
of rpc.statd.]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nfs-utils/0004-statd-Fix-test-for-foreground-mode.patch')
-rw-r--r-- | package/nfs-utils/0004-statd-Fix-test-for-foreground-mode.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/nfs-utils/0004-statd-Fix-test-for-foreground-mode.patch b/package/nfs-utils/0004-statd-Fix-test-for-foreground-mode.patch new file mode 100644 index 0000000000..a6138a3f2c --- /dev/null +++ b/package/nfs-utils/0004-statd-Fix-test-for-foreground-mode.patch @@ -0,0 +1,30 @@ +From ca1fd7153937e147f66d1ca3edbe9c2615f33880 Mon Sep 17 00:00:00 2001 +From: Chris Mayo <aklhfex@gmail.com> +Date: Sun, 1 Feb 2015 12:03:46 -0500 +Subject: [PATCH] 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@gmail.com> +Signed-off-by: Steve Dickson <steved@redhat.com> +--- + utils/statd/statd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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); +-- +2.4.5 + |