mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] xfsprogs: version bump 3.0.5 -> 4.2.0
@ 2015-09-07 18:40 Lucas Stach
  0 siblings, 0 replies; only message in thread
From: Lucas Stach @ 2015-09-07 18:40 UTC (permalink / raw)
  To: ptxdist

Big version bump to the just released 4.2.0.

Rules have been updated to remove long deprecated xfs_check, enable
static linking (the old tools had been broken by the ptxdist default
change) and properly configure install paths at the prepare stage
instead of manually overriding the variables at compile time.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 rules/xfsprogs.in   |  8 +-------
 rules/xfsprogs.make | 26 ++++++++------------------
 2 files changed, 9 insertions(+), 25 deletions(-)

diff --git a/rules/xfsprogs.in b/rules/xfsprogs.in
index ce191f7..656dcf8 100644
--- a/rules/xfsprogs.in
+++ b/rules/xfsprogs.in
@@ -7,6 +7,7 @@ menuconfig XFSPROGS
 	select LIBC_PTHREAD
 	select GCCLIBS_GCC_S
 	select LIBUUID
+	select HOST_LIBUUID
 	help
 	 The xfsprogs package provides the filesystem utilities for use
 	 with the xfs filesystem.
@@ -59,13 +60,6 @@ config XFSPROGS_INSTALL_NCHECK
 	help
 	  Install the xfs_ncheck program
 
-config XFSPROGS_INSTALL_CHECK
-	bool
-	select XFSPROGS_INSTALL_DB
-	prompt "xfs_check"
-	help
-	  Install the xfs_check program
-
 config XFSPROGS_INSTALL_ADMIN
 	bool
 	prompt "xfs_admin"
diff --git a/rules/xfsprogs.make b/rules/xfsprogs.make
index ce1e164..72a0c93 100644
--- a/rules/xfsprogs.make
+++ b/rules/xfsprogs.make
@@ -1,6 +1,7 @@
 # -*-makefile-*-
 #
 # Copyright (C) 2010 by Bart vdr. Meulen <bartvdrmeulen@gmail.com>
+# Copyright (C) 2015 by Lucas Stach <dev@lynxeye.de>
 #
 # See CREDITS for details about who has contributed to this project.
 #
@@ -16,11 +17,11 @@ PACKAGES-$(PTXCONF_XFSPROGS) += xfsprogs
 #
 # Paths and names
 #
-XFSPROGS_VERSION:= 3.0.5
-XFSPROGS_MD5	:= d2f981b1ae9348405a331b4c33a08cab
+XFSPROGS_VERSION:= 4.2.0
+XFSPROGS_MD5	:= e1b9438d3e6775b9df52cc9a13e9f9a6
 XFSPROGS	:= xfsprogs-$(XFSPROGS_VERSION)
 XFSPROGS_SUFFIX	:= tar.gz
-XFSPROGS_URL	:= ftp://oss.sgi.com/projects/xfs/cmd_tars-oct_09/$(XFSPROGS).$(XFSPROGS_SUFFIX)
+XFSPROGS_URL	:= ftp://oss.sgi.com/projects/xfs/cmd_tars/$(XFSPROGS).$(XFSPROGS_SUFFIX)
 XFSPROGS_SOURCE	:= $(SRCDIR)/$(XFSPROGS).$(XFSPROGS_SUFFIX)
 XFSPROGS_DIR	:= $(BUILDDIR)/$(XFSPROGS)
 XFSPROGS_LICENSE:= GPLv2, LGPLv2.1
@@ -32,23 +33,16 @@ XFSPROGS_LICENSE:= GPLv2, LGPLv2.1
 XFSPROGS_CONF_TOOL	:= autoconf
 XFSPROGS_CONF_OPT	:= \
 	$(CROSS_AUTOCONF_USR) \
+	--sbindir=/usr/sbin \
+	--libdir=/usr/lib \
+	--datarootdir=/usr/share \
+	--enable-static \
 	--disable-readline \
 	--disable-editline \
 	--disable-termcap \
-	--disable-blkid \
 	--disable-lib64
 
 # ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-XFSPROGS_INSTALL_OPT := \
-	prefix=${XFSPROGS_PKGDIR}/usr \
-	PKG_ROOT_SBIN_DIR=${XFSPROGS_PKGDIR}/sbin \
-	PKG_ROOT_LIB_DIR=${XFSPROGS_PKGDIR}/lib \
-	install
-
-# ----------------------------------------------------------------------------
 # Target-Install
 # ----------------------------------------------------------------------------
 
@@ -86,10 +80,6 @@ ifdef PTXCONF_XFSPROGS_INSTALL_METADUMP
 	@$(call install_copy, xfsprogs, 0, 0, 0755, -, /usr/sbin/xfs_metadump)
 endif
 
-ifdef PTXCONF_XFSPROGS_INSTALL_CHECK
-	@$(call install_copy, xfsprogs, 0, 0, 0755, -, /usr/sbin/xfs_check)
-endif
-
 ifdef PTXCONF_XFSPROGS_INSTALL_NCHECK
 	@$(call install_copy, xfsprogs, 0, 0, 0755, -, /usr/sbin/xfs_ncheck)
 endif
-- 
2.4.3


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-07 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-07 18:40 [ptxdist] [PATCH] xfsprogs: version bump 3.0.5 -> 4.2.0 Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox