Skip to contentSkip to conversation

nfs-utils: bump to version 1.2.6

PATCH New Gustavo Zacarias 2 participants 2 messages May 29, 2012 – May 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs-utils: bump to version 1.2.6

Bump nfs-utils to version 1.2.6
Portmap or rpcbind (which we don't have) is required so select it. Remove nfsiostat if there's no target python.

---
 package/nfs-utils/Config.in                        |    1 +
 .../nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch   |   54 ----------------
 package/nfs-utils/nfs-utils-conditionals.patch     |   58 +++++++++++++++++
 package/nfs-utils/nfs-utils-cross-build.patch      |   68 ++++++++++++++++++++
 ...-flags.patch => nfs-utils-dont-mix-flags.patch} |    0
 package/nfs-utils/nfs-utils-susv3-legacy.patch     |   59 +++++++++++++++++
 ...ibio.h.patch => nfs-utils-uclibc-libio.h.patch} |    0
 package/nfs-utils/nfs-utils.mk                     |   14 ++++-
 8 files changed, 198 insertions(+), 56 deletions(-)
 delete mode 100644 package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch
 create mode 100644 package/nfs-utils/nfs-utils-conditionals.patch
 create mode 100644 package/nfs-utils/nfs-utils-cross-build.patch
 rename package/nfs-utils/{nfs-utils-1.2.3-dont-mix-flags.patch => nfs-utils-dont-mix-flags.patch} (100%)
 create mode 100644 package/nfs-utils/nfs-utils-susv3-legacy.patch
 rename package/nfs-utils/{nfs-utils-1.2.3-uclibc-libio.h.patch => nfs-utils-uclibc-libio.h.patch} (100%)
package/nfs-utils/Config.in +1 -0
index 774395b..67d25a7 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_NFS_UTILS
 	bool "nfs-utils"
 	depends on BR2_INET_RPC
 	depends on BR2_LARGEFILE
+	select BR2_PACKAGE_PORTMAP
 	help
 	  The NFS Linux kernel server.
 	  Warning: We do not force largefile support on here on purpose.
package/nfs-utils/nfs-utils-1.2.3-susv3-legacy.patch deleted +0 -54

54 lines not on this page · raw message

package/nfs-utils/nfs-utils-conditionals.patch new file +58 -0

58 lines not on this page · raw message

package/nfs-utils/nfs-utils-cross-build.patch new file +68 -0

68 lines not on this page · raw message

package/nfs-utils/nfs-utils-dont-mix-flags.patch renamed from package/nfs-utils/nfs-utils-1.2.3-dont-mix-flags.patch +0 -0
similarity index 100%
rename from package/nfs-utils/nfs-utils-1.2.3-dont-mix-flags.patch
rename to package/nfs-utils/nfs-utils-dont-mix-flags.patch
package/nfs-utils/nfs-utils-susv3-legacy.patch new file +59 -0

59 lines not on this page · raw message

package/nfs-utils/nfs-utils-uclibc-libio.h.patch renamed from package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch +0 -0
similarity index 100%
rename from package/nfs-utils/nfs-utils-1.2.3-uclibc-libio.h.patch
rename to package/nfs-utils/nfs-utils-uclibc-libio.h.patch
package/nfs-utils/nfs-utils.mk +12 -2
index 557e7e8..87c136c 100644
@@ -3,14 +3,17 @@
 # nfs-utils
 #
 #############################################################
-NFS_UTILS_VERSION = 1.2.3
+
+NFS_UTILS_VERSION = 1.2.6
 NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.bz2
-NFS_UTILS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/nfs/
+NFS_UTILS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/nfs/nfs-utils/$(NFS_UTILS_VERSION)
+NFS_UTILS_AUTORECONF = YES
 
 NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no
 
 NFS_UTILS_CONF_OPT = \
 		--disable-nfsv4 \
+		--disable-nfsv41 \
 		--disable-gss \
 		--disable-tirpc \
 		--disable-uuid \
@@ -28,6 +31,13 @@ define NFS_UTILS_INSTALL_FIXUP
 	rm -f $(NFS_UTILS_TARGETS_)
 endef
 
+define NFS_UTILS_REMOVE_NFSIOSTAT
+	rm -f $(TARGET_DIR)/usr/sbin/nfsiostat
+endef
+
 NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
 
+# nfsiostat is interpreted python, so remove it unless it's in the target
+NFS_UTILS_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_PYTHON),,NFS_UTILS_REMOVE_NFSIOSTAT)
+
 $(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 nfs-utils: bump to version 1.2.6

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Bump nfs-utils to version 1.2.6
Gustavo> Portmap or rpcbind (which we don't have) is required so select it. Gustavo> Remove nfsiostat if there's no target python.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard