diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-04 09:08:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-04 09:08:42 +0000 |
commit | f1415de54f56333f1cb117374537a4f6d7a37b2a (patch) | |
tree | ebf44220ef6fae7f63b11f71be3258e169acc25d /main/nfs-utils | |
parent | 0c4ce88e409644cc1af6fe0e943fd04e3f0fee56 (diff) | |
download | aports-f1415de54f56333f1cb117374537a4f6d7a37b2a.tar.bz2 aports-f1415de54f56333f1cb117374537a4f6d7a37b2a.tar.xz |
main/nfs-utils: fix statd
Diffstat (limited to 'main/nfs-utils')
-rw-r--r-- | main/nfs-utils/0001-statd-Fix-test-for-foreground-mode.patch | 30 | ||||
-rw-r--r-- | main/nfs-utils/APKBUILD | 6 |
2 files changed, 35 insertions, 1 deletions
diff --git a/main/nfs-utils/0001-statd-Fix-test-for-foreground-mode.patch b/main/nfs-utils/0001-statd-Fix-test-for-foreground-mode.patch new file mode 100644 index 0000000000..d3c0403654 --- /dev/null +++ b/main/nfs-utils/0001-statd-Fix-test-for-foreground-mode.patch @@ -0,0 +1,30 @@ +From 17a3e5bffb7110d46de1bf42b64b90713ff5ea50 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.3.7 + diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD index cc78069661..70341b1e52 100644 --- a/main/nfs-utils/APKBUILD +++ b/main/nfs-utils/APKBUILD @@ -3,7 +3,7 @@ pkgname=nfs-utils pkgver=1.3.2 _basever=$pkgver -pkgrel=1 +pkgrel=2 pkgdesc="kernel-mode NFS" url="http://nfs.sourceforge.net/" arch="all" @@ -18,6 +18,7 @@ subpackages="$pkgname-doc $pkgname-dbg" source="http://downloads.sourceforge.net/nfs/$pkgname-$_basever.tar.bz2 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch + 0001-statd-Fix-test-for-foreground-mode.patch nfs-utils-mtab-sym.patch musl-getservbyport.patch @@ -89,6 +90,7 @@ rpcgen() { md5sums="1e2f3c1ed468dee02d00c534c002ea10 nfs-utils-1.3.2.tar.bz2 5994a46367486129e2892c73dcdc82c2 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch +fe80e1b9037df9009feec8c397871899 0001-statd-Fix-test-for-foreground-mode.patch 2b2d228f9947581c924a691a84664fa1 nfs-utils-mtab-sym.patch b2a716619a34194afbf0dc1c2371b478 musl-getservbyport.patch ed57597c7b837ff447f476c4864b086e nfs.initd @@ -102,6 +104,7 @@ ed57597c7b837ff447f476c4864b086e nfs.initd 4f1bb7b2412ce5952ecb5ec22d8ed99d nfs.exports" sha256sums="5b9c72eef260b86a84619771e11bb013b99431e6b7ff0bbdc03fee90dba591f7 nfs-utils-1.3.2.tar.bz2 0bd62ea53c980369990f04b620db725259fa919a351b8ed44e081a8b7a1c221e 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch +99834f9b9fedf088dac88a0f9ab8f30cd4b8bff0f82cb794d2342934bb9381f3 0001-statd-Fix-test-for-foreground-mode.patch 5a1c6875f43ecc93d5db7bcf84b4ceda16c09b6109c28696eb55d05247511706 nfs-utils-mtab-sym.patch ae46423ef3383f4a134f578c29a7100d58cde8d8853e88f3ffd66a261d436421 musl-getservbyport.patch 6e4128e339308ed36107fabb088230fa90362ae9aa0314501e398dd299ef5c89 nfs.initd @@ -115,6 +118,7 @@ ae46423ef3383f4a134f578c29a7100d58cde8d8853e88f3ffd66a261d436421 musl-getservby f2aaf1c92e07172adeb65f7f2bc0140c533ae453a3477e99be677ef2e05f2d4b nfs.exports" sha512sums="65633db58bbc5b6bff6acab412dc085affc61e0a6e0aef72d630e67d05a8d08012dced81178a4c7af65c967c25b48161f8d887d261fdf5ce505b719dbdab757c nfs-utils-1.3.2.tar.bz2 9561a979a2313f00c0bbb2ffb3193ca089e5de2f15cf5b6c142e65e04a9401bbc962e490e5b1de026750262a05e5258b286a79781444e7f2ac6bd581b426211a 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch +61da887a5202e0358600f8a840bc74bc2ded357801cc3400788af5d08bb2b5a85bfc04ef90a0b81eb0b59ebc0510dd70f18804bd1235a78fab9d36561b11b8b5 0001-statd-Fix-test-for-foreground-mode.patch 5fd9039a61a0cdaeb57b5332ea545034101e6f15be200b7cf8fc7d0a3d22836a6fc778e0560656c1825808a4dc09046d9923d81b4d1324a6e526b226c657d064 nfs-utils-mtab-sym.patch a14fc747cc75f65bb206b28eb4f838ae85687c917893531318d3991adc3ed9914316b97fc507bf34881855c9978ad9d4617f33e464d1a0d746a65b31177687c1 musl-getservbyport.patch d29003bb45207bc2c5074a394f7b7431e3aca97364f9c4da946d09b8755df356ce1a446d14d64fc8847c5f275a2b96cb03ec99de4e0fad81973a4a614360331d nfs.initd |