mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <dev@lynxeye.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] xfsprogs: version bump 3.0.5 -> 4.2.0
Date: Mon,  7 Sep 2015 20:40:14 +0200	[thread overview]
Message-ID: <1441651214-13271-1-git-send-email-dev@lynxeye.de> (raw)

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

                 reply	other threads:[~2015-09-07 18:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441651214-13271-1-git-send-email-dev@lynxeye.de \
    --to=dev@lynxeye.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox