diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-02-07 07:39:09 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-07 07:39:40 +0000 |
commit | f6734a77d3caee73325f8cc1f77d1b5117a75096 (patch) | |
tree | 7a0e16a13ba1844cad96c7227388fe1c2cde04d8 /main/nfs-utils | |
parent | 257cab7cdae4b53bf95bdc635799702f581b937b (diff) | |
download | aports-f6734a77d3caee73325f8cc1f77d1b5117a75096.tar.bz2 aports-f6734a77d3caee73325f8cc1f77d1b5117a75096.tar.xz |
main/nfs-utils: ensure limits.h is included everywhere it needs to be
Diffstat (limited to 'main/nfs-utils')
-rw-r--r-- | main/nfs-utils/APKBUILD | 4 | ||||
-rw-r--r-- | main/nfs-utils/limits.patch | 100 |
2 files changed, 103 insertions, 1 deletions
diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD index 75cb273cbf..384c0516cc 100644 --- a/main/nfs-utils/APKBUILD +++ b/main/nfs-utils/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nfs-utils pkgver=2.3.1 -pkgrel=0 +pkgrel=1 pkgdesc="kernel-mode NFS" url="http://linux-nfs.org" arch="all" @@ -20,6 +20,7 @@ source="https://www.kernel.org/pub/linux/utils/nfs-utils/$pkgver/nfs-utils-$pkgv musl-getservbyport.patch musl-res_querydomain.patch idmapd-dnotify-to-inotify.patch + limits.patch nfs.initd nfsmount.initd @@ -95,6 +96,7 @@ e55dbcc6df1626f992b660ae4ca80eac07ad539f3660448a27b34b6cc63764d59074a10c34e97c1b 94d7ba23164660f1da9298494dff75c57f5a300cb32b2922bc2226fcdaded7eaaa0c50a59a145ac7c75639d177558b5f5594fb1f03a50f60f4c577c93b135748 musl-getservbyport.patch c86c2f01f5534d4cbd612b9f7fe11cb4cb0cdab81172be386ee97ca37e9cc099576c8087e0f52fefeacafad8022c98a1186b7c002366a5429f9c8ee59a17d161 musl-res_querydomain.patch 33410c469348adf5e6b5ec91d8cda6b246f1a38a0b234a52f54a49ab8395ede43dfedd58914a59c342923ba45722f6fd4e4aebeffbe4a730f31c9d1ad19de9a9 idmapd-dnotify-to-inotify.patch +b75c87917d86ce6e0e8b9bc2651e7f77851170b47b2a9c7628475e8aed73e89c858e7030885e2904e42c2133906705bb1243d19308ccb876d563cbc0655c66ce limits.patch f7feb79cfcab0478affb640d1e5ad059757c88d51cc790fd54cde2fd7ed2e3cfd8f7f4c2de993d99da03e8ce3bdfb2750a4cb997b850fe33d0ef76d9b91c9018 nfs.initd 89259b9f0878658d48792b5b2f42b43c966ed098dba1fecf9e07fb0de4aab37ad67655ea8dbcc2361ddab2b5013b2de35a03048a513aaeedf790e4b416a35a54 nfsmount.initd 6e23897885cc33c49d9c7353b456585a1e0c7300822edba81bc48ba4ccc18297adce137260cc0aa9487aa5ef0aab3eecf931532cfa5bd40fd03bc9e0ddacfb28 nfsmount.confd diff --git a/main/nfs-utils/limits.patch b/main/nfs-utils/limits.patch new file mode 100644 index 0000000000..add4014575 --- /dev/null +++ b/main/nfs-utils/limits.patch @@ -0,0 +1,100 @@ +--- nfs-utils-2.3.1.orig/support/export/export.c ++++ nfs-utils-2.3.1/support/export/export.c +@@ -17,6 +17,7 @@ + #include <stdlib.h> + #include <dirent.h> + #include <errno.h> ++#include <limits.h> + #include "xmalloc.h" + #include "nfslib.h" + #include "exportfs.h" +--- nfs-utils-2.3.1.orig/support/export/xtab.c ++++ nfs-utils-2.3.1/support/export/xtab.c +@@ -18,6 +18,7 @@ + #include <sys/stat.h> + #include <errno.h> + #include <libgen.h> ++#include <limits.h> + + #include "nfslib.h" + #include "exportfs.h" +--- nfs-utils-2.3.1.orig/support/misc/file.c ++++ nfs-utils-2.3.1/support/misc/file.c +@@ -27,6 +27,7 @@ + #include <dirent.h> + #include <stdlib.h> + #include <stdbool.h> ++#include <limits.h> + + #include "xlog.h" + #include "misc.h" +--- nfs-utils-2.3.1.orig/support/nfs/xcommon.c ++++ nfs-utils-2.3.1/support/nfs/xcommon.c +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <limits.h> + + #include "xcommon.h" + #include "nls.h" /* _() */ +--- nfs-utils-2.3.1.orig/support/nsm/file.c ++++ nfs-utils-2.3.1/support/nsm/file.c +@@ -85,6 +85,7 @@ + #include <fcntl.h> + #include <dirent.h> + #include <grp.h> ++#include <limits.h> + + #include "xlog.h" + #include "nsm.h" +--- nfs-utils-2.3.1.orig/utils/blkmapd/device-discovery.c ++++ nfs-utils-2.3.1/utils/blkmapd/device-discovery.c +@@ -49,6 +49,7 @@ + #include <unistd.h> + #include <libgen.h> + #include <errno.h> ++#include <limits.h> + #include <libdevmapper.h> + + #ifdef HAVE_CONFIG_H +--- nfs-utils-2.3.1.orig/utils/gssd/krb5_util.c ++++ nfs-utils-2.3.1/utils/gssd/krb5_util.c +@@ -120,6 +120,7 @@ + #endif + #include <krb5.h> + #include <rpc/auth_gss.h> ++#include <limits.h> + + #include "gssd.h" + #include "err_util.h" +--- nfs-utils-2.3.1.orig/utils/mountd/cache.c ++++ nfs-utils-2.3.1/utils/mountd/cache.c +@@ -26,6 +26,7 @@ + #include <pwd.h> + #include <grp.h> + #include <mntent.h> ++#include <limits.h> + #include "misc.h" + #include "nfslib.h" + #include "exportfs.h" +--- nfs-utils-2.3.1.orig/utils/mountd/mountd.c ++++ nfs-utils-2.3.1/utils/mountd/mountd.c +@@ -22,6 +22,7 @@ + #include <fcntl.h> + #include <sys/resource.h> + #include <sys/wait.h> ++#include <limits.h> + + #include "conffile.h" + #include "xmalloc.h" +--- nfs-utils-2.3.1.orig/utils/mountd/rmtab.c ++++ nfs-utils-2.3.1/utils/mountd/rmtab.c +@@ -16,6 +16,7 @@ + #include <netinet/in.h> + #include <arpa/inet.h> + #include <netdb.h> ++#include <limits.h> + + #include "misc.h" + #include "exportfs.h" |