diff options
author | Jan Tatje <jan@jnt.io> | 2018-08-03 00:00:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-30 14:45:52 +0000 |
commit | c257a29be6c4ab248d3b6319e80e13c495517530 (patch) | |
tree | c91c839ad6f2bf3361f6f56a9ca9153e0b23c5e3 | |
parent | ac1767b7571304789f0a6898993b68a0ebd49d37 (diff) | |
download | aports-c257a29be6c4ab248d3b6319e80e13c495517530.tar.bz2 aports-c257a29be6c4ab248d3b6319e80e13c495517530.tar.xz |
main/nfs-utils: upgrade to 2.3.2
Had demote some -Werror flags to warnings due to build failing.
-rw-r--r-- | main/nfs-utils/APKBUILD | 14 | ||||
-rw-r--r-- | main/nfs-utils/musl-configure_ac.patch | 40 | ||||
-rw-r--r-- | main/nfs-utils/musl-res_querydomain.patch | 11 | ||||
-rw-r--r-- | main/nfs-utils/musl-svcgssd-sysconf.patch | 8 | ||||
-rw-r--r-- | main/nfs-utils/nfs-utils-svcgssd_undefined_reference.patch | 40 |
5 files changed, 50 insertions, 63 deletions
diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD index 921d09be1a..44a16de561 100644 --- a/main/nfs-utils/APKBUILD +++ b/main/nfs-utils/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nfs-utils -pkgver=2.3.1 -pkgrel=4 +pkgver=2.3.2 +pkgrel=0 pkgdesc="kernel-mode NFS" url="http://linux-nfs.org" arch="all" @@ -17,9 +17,8 @@ source="https://www.kernel.org/pub/linux/utils/nfs-utils/$pkgver/nfs-utils-$pkgv 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch nfs-utils-mtab-sym.patch - nfs-utils-svcgssd_undefined_reference.patch musl-getservbyport.patch - musl-res_querydomain.patch + musl-configure_ac.patch musl-svcgssd-sysconf.patch idmapd-dnotify-to-inotify.patch limits.patch @@ -93,13 +92,12 @@ rpcgen() { "$subpkgdir"/usr/bin/rpcgen } -sha512sums="340201a8e793de9a4755fbcbff6b364dfd13c01a961e34cc54d1c94b576cc10bf0076962b7fc02872aa75f65a25e80cdcd93df44fb7e438c685eb7e10f1afaea nfs-utils-2.3.1.tar.gz +sha512sums="0a6f81a838ab8252521468b18f5578a4302b722c0ad99c67437f32248d698bea4e664d3b2d176cad7ae5a8487b2443b554c65262d3719aa9622d237df5e6de54 nfs-utils-2.3.2.tar.gz e55dbcc6df1626f992b660ae4ca80eac07ad539f3660448a27b34b6cc63764d59074a10c34e97c1b05f356cf60f68ec724f3dbdc1986be024773a2fe957b55fa 0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch 674ecf2c4bc8e9364ddd0f34cc03c96674753494cbc5a5d157bd70ed4342ff90356c3e85c544510648dbe90cb43b7fd83ba50653bddffc4b3b5550367b6d0b8e nfs-utils-mtab-sym.patch -21361593415c497fa5a0bbd547b2cb0e0512ad8b3deb2397aba6a453cce840876d607015e46d8c3a367cd478395420d8b24e2f3a7f73d0e75d5a2445e4e46ef2 nfs-utils-svcgssd_undefined_reference.patch 94d7ba23164660f1da9298494dff75c57f5a300cb32b2922bc2226fcdaded7eaaa0c50a59a145ac7c75639d177558b5f5594fb1f03a50f60f4c577c93b135748 musl-getservbyport.patch -c86c2f01f5534d4cbd612b9f7fe11cb4cb0cdab81172be386ee97ca37e9cc099576c8087e0f52fefeacafad8022c98a1186b7c002366a5429f9c8ee59a17d161 musl-res_querydomain.patch -3827c725606152ca6b4c79d167323a0eb7659e114132bf8762b423bdc25a67dcd55602823256f9706fa1b39a845f16479225ea8fa2f7ef1aae14b51f31230e09 musl-svcgssd-sysconf.patch +36daf5c6f3e7fedf0b87f001e7aaeef1f038c0cc58d960588d5ab4cab7c1f4821df9a15304f8c531f77602ce0782752388b1b4c0e658419729c479da3288c3af musl-configure_ac.patch +16b34801019186cebae77d92b3df0f679aeb51eabf5c91714d2d2907cecacb6a151cd582c900dd629a413424b545823e97ee00b8de0c90248d3fed9bf603a270 musl-svcgssd-sysconf.patch 33410c469348adf5e6b5ec91d8cda6b246f1a38a0b234a52f54a49ab8395ede43dfedd58914a59c342923ba45722f6fd4e4aebeffbe4a730f31c9d1ad19de9a9 idmapd-dnotify-to-inotify.patch b75c87917d86ce6e0e8b9bc2651e7f77851170b47b2a9c7628475e8aed73e89c858e7030885e2904e42c2133906705bb1243d19308ccb876d563cbc0655c66ce limits.patch f7feb79cfcab0478affb640d1e5ad059757c88d51cc790fd54cde2fd7ed2e3cfd8f7f4c2de993d99da03e8ce3bdfb2750a4cb997b850fe33d0ef76d9b91c9018 nfs.initd diff --git a/main/nfs-utils/musl-configure_ac.patch b/main/nfs-utils/musl-configure_ac.patch new file mode 100644 index 0000000000..c667779cdc --- /dev/null +++ b/main/nfs-utils/musl-configure_ac.patch @@ -0,0 +1,40 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -408,7 +408,7 @@ + fi + + dnl libdnsidmap specific checks +-AC_CHECK_LIB([resolv], [__res_querydomain], , AC_MSG_ERROR(res_querydomain needed)) ++AC_CHECK_LIB([resolv], [res_querydomain], , AC_MSG_ERROR(res_querydomain needed)) + + AC_ARG_ENABLE([ldap], + [AS_HELP_STRING([--disable-ldap],[Disable support for LDAP @<:default=detect@:>@])]) +@@ -547,11 +547,11 @@ + -pipe \ + -Wall \ + -Wextra \ +- -Werror=strict-prototypes \ +- -Werror=missing-prototypes \ +- -Werror=missing-declarations \ ++ -Wstrict-prototypes \ ++ -Wmissing-prototypes \ ++ -Wmissing-declarations \ + -Werror=format=2 \ +- -Werror=undef \ ++ -Wundef \ + -Werror=missing-include-dirs \ + -Werror=strict-aliasing=2 \ + -Werror=init-self \ +@@ -579,10 +579,10 @@ + + CHECK_CCSUPPORT([-Werror=format-overflow=2], [flg1]) + CHECK_CCSUPPORT([-Werror=int-conversion], [flg2]) +-CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3]) ++#CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3]) + CHECK_CCSUPPORT([-Werror=misleading-indentation], [flg4]) + +-AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg3 $flg4"]) ++AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg4"]) + + # Make sure that $ACLOCAL_FLAGS are used during a rebuild + AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \$(ACLOCAL_FLAGS)"]) diff --git a/main/nfs-utils/musl-res_querydomain.patch b/main/nfs-utils/musl-res_querydomain.patch deleted file mode 100644 index 19f69f4976..0000000000 --- a/main/nfs-utils/musl-res_querydomain.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -401,7 +401,7 @@ - fi - - dnl libdnsidmap specific checks --AC_CHECK_LIB([resolv], [__res_querydomain], , AC_MSG_ERROR(res_querydomain needed)) -+AC_CHECK_LIB([resolv], [res_querydomain], , AC_MSG_ERROR(res_querydomain needed)) - - AC_ARG_ENABLE([ldap], - [AS_HELP_STRING([--disable-ldap],[Disable support for LDAP @<:default=detect@:>@])]) diff --git a/main/nfs-utils/musl-svcgssd-sysconf.patch b/main/nfs-utils/musl-svcgssd-sysconf.patch index 267c96ddbe..aab0e9612b 100644 --- a/main/nfs-utils/musl-svcgssd-sysconf.patch +++ b/main/nfs-utils/musl-svcgssd-sysconf.patch @@ -1,6 +1,6 @@ --- a/support/nfsidmap/libnfsidmap.c +++ b/support/nfsidmap/libnfsidmap.c -@@ -481,11 +481,17 @@ +@@ -430,11 +430,17 @@ nobody_user = conf_get_str("Mapping", "Nobody-User"); if (nobody_user) { @@ -19,7 +19,7 @@ buf = malloc(sizeof(*buf) + buflen); if (buf) { err = getpwnam_r(nobody_user, buf, ((char *)buf) + sizeof(*buf), buflen, &pw); -@@ -502,10 +508,16 @@ +@@ -451,10 +457,16 @@ nobody_group = conf_get_str("Mapping", "Nobody-Group"); if (nobody_group) { @@ -72,7 +72,7 @@ if (!buf) { --- a/support/nfsidmap/nss.c +++ b/support/nfsidmap/nss.c -@@ -90,9 +90,13 @@ +@@ -91,9 +91,13 @@ struct passwd *pw = NULL; struct passwd pwbuf; char *buf; @@ -87,7 +87,7 @@ buf = malloc(buflen); if (!buf) goto out; -@@ -118,8 +122,12 @@ +@@ -119,8 +123,12 @@ struct group *gr = NULL; struct group grbuf; char *buf; diff --git a/main/nfs-utils/nfs-utils-svcgssd_undefined_reference.patch b/main/nfs-utils/nfs-utils-svcgssd_undefined_reference.patch deleted file mode 100644 index 77c902f272..0000000000 --- a/main/nfs-utils/nfs-utils-svcgssd_undefined_reference.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 1451d7585bf1c622658ccc04abac7e79ffe40263 Mon Sep 17 00:00:00 2001 -From: Justin Mitchell <jumitche@redhat.com> -Date: Mon, 8 Jan 2018 09:14:11 -0500 -Subject: [PATCH] svcgssd: Update svcgssd so that it builds - -Since a15bd948 the --enable-svcgss option no longer builds -as svcgssd references functions which were changed at that time. -Fix those, and other function changes since then. - -Signed-off-by: Justin Mitchell <jumitche@redhat.com> -Signed-off-by: Steve Dickson <steved@redhat.com> ---- - utils/gssd/svcgssd.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/utils/gssd/svcgssd.c b/utils/gssd/svcgssd.c -index 3514ae1..23f0c0b 100644 ---- a/utils/gssd/svcgssd.c -+++ b/utils/gssd/svcgssd.c -@@ -63,6 +63,8 @@ - #include "err_util.h" - #include "conffile.h" - -+struct state_paths etab; -+ - void - sig_die(int signal) - { -@@ -101,7 +103,7 @@ main(int argc, char *argv[]) - char *principal = NULL; - char *s; - -- conf_init(NFS_CONFFILE); -+ conf_init_file(NFS_CONFFILE); - - s = conf_get_str("svcgssd", "principal"); - if (!s) --- -1.8.3.1 - |