From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 15/18] util-linux-ng: update 2.28.2 -> 2.29 and fix URL deduction
Date: Mon, 19 Dec 2016 21:36:28 +0100 [thread overview]
Message-ID: <20161219203631.29275-16-clemens.gruber@pqgruber.com> (raw)
In-Reply-To: <20161219203631.29275-1-clemens.gruber@pqgruber.com>
Using sed instead of basename allows us to keep the _URL line as is, for
both the two- and three-part version numbers and not switch between
using and not using the basename command every release.
Also add configure options explicitly, fix mistakes and add missing
options.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
fixup util-linux
---
.../0001-__progname-redefinition-fix.patch | 0
.../{util-linux-2.28.2 => util-linux-2.29}/series | 0
rules/util-linux-ng.make | 23 +++++++++++++++-------
3 files changed, 16 insertions(+), 7 deletions(-)
rename patches/{util-linux-2.28.2 => util-linux-2.29}/0001-__progname-redefinition-fix.patch (100%)
rename patches/{util-linux-2.28.2 => util-linux-2.29}/series (100%)
diff --git a/patches/util-linux-2.28.2/0001-__progname-redefinition-fix.patch b/patches/util-linux-2.29/0001-__progname-redefinition-fix.patch
similarity index 100%
rename from patches/util-linux-2.28.2/0001-__progname-redefinition-fix.patch
rename to patches/util-linux-2.29/0001-__progname-redefinition-fix.patch
diff --git a/patches/util-linux-2.28.2/series b/patches/util-linux-2.29/series
similarity index 100%
rename from patches/util-linux-2.28.2/series
rename to patches/util-linux-2.29/series
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index e1c86c202..49184a9b0 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -17,11 +17,12 @@ PACKAGES-$(PTXCONF_UTIL_LINUX_NG) += util-linux-ng
#
# Paths and names
#
-UTIL_LINUX_NG_VERSION := 2.28.2
-UTIL_LINUX_NG_MD5 := 46a232a37bce45371a86d19300edc47a
+UTIL_LINUX_NG_VERSION := 2.29
+UTIL_LINUX_NG_MD5 := 07b6845f48a421ad5844aa9d58edb837
UTIL_LINUX_NG := util-linux-$(UTIL_LINUX_NG_VERSION)
UTIL_LINUX_NG_SUFFIX := tar.xz
-UTIL_LINUX_NG_URL := $(call ptx/mirror, KERNEL, utils/util-linux/v$(basename $(UTIL_LINUX_NG_VERSION))/$(UTIL_LINUX_NG).$(UTIL_LINUX_NG_SUFFIX))
+UTIL_LINUX_NG_BASENAME := v$(shell echo $(UTIL_LINUX_NG_VERSION) | sed -e 's/\([0-9]*\.[0-9]*\)[\.[0-9]*]\?/\1/g')
+UTIL_LINUX_NG_URL := $(call ptx/mirror, KERNEL, utils/util-linux/$(UTIL_LINUX_NG_BASENAME)/$(UTIL_LINUX_NG).$(UTIL_LINUX_NG_SUFFIX))
UTIL_LINUX_NG_SOURCE := $(SRCDIR)/$(UTIL_LINUX_NG).$(UTIL_LINUX_NG_SUFFIX)
UTIL_LINUX_NG_DIR := $(BUILDDIR)/$(UTIL_LINUX_NG)
UTIL_LINUX_NG_LICENSE := GPL-2.0, GPL-2.0+, GPL-3.0+, LGPL-2.0+, BSD-3-Clause, BSD-4-Clause, public_domain
@@ -59,15 +60,16 @@ UTIL_LINUX_NG_CONF_OPT := \
--disable-static-programs \
--enable-all-programs=undefined \
--enable-tls \
+ --disable-widechar \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LIBUUID)-libuuid \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LIBBLKID)-libblkid \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LIBMOUNT)-libmount \
- --enable-libmount-force-mountinfo \
+ --disable-libmount-support-mtab \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LIBSMARTCOLS)-libsmartcols \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LIBFDISK)-libfdisk \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_MOUNT)-mount \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LOSETUP)-losetup \
- --disable-zramctl \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_ZRAMCTL)-zramctl \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_FSCK)-fsck \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_PARTX_TOOLS)-partx \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_UUIDD)-uuidd \
@@ -78,15 +80,20 @@ UTIL_LINUX_NG_CONF_OPT := \
--disable-setpriv \
--disable-eject \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_AGETTY)-agetty \
+ --disable-plymouth_support \
--disable-cramfs \
--disable-bfs \
--disable-minix \
--disable-fdformat \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_HWCLOCK)-hwclock \
+ --disable-lslogins \
--disable-wdctl \
--disable-cal \
+ --disable-logger \
--disable-switch_root \
--disable-pivot_root \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_IPCRM)-ipcrm \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_IPCS)-ipcs \
--disable-tunelp \
--disable-kill \
--disable-last \
@@ -110,12 +117,11 @@ UTIL_LINUX_NG_CONF_OPT := \
--disable-runuser \
--disable-ul \
--disable-more \
- --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_SETTERM)-setterm \
--disable-pg \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_SETTERM)-setterm \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_SCHEDUTILS)-schedutils \
--disable-wall \
--disable-write \
- --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_ZRAMCTL)-zramctl \
--disable-bash-completion \
--disable-pylibmount \
--disable-pg-bell \
@@ -131,13 +137,16 @@ UTIL_LINUX_NG_CONF_OPT := \
--without-selinux \
--without-audit \
--without-udev \
+ --without-ncursesw \
--$(call ptx/wwo, PTXCONF_UTIL_LINUX_NG_USES_NCURSES)-ncurses \
--without-slang \
--without-tinfo \
--without-readline \
--without-utempter \
+ --without-cap-ng \
--without-libz \
--without-user \
+ --without-btrfs \
--without-systemd \
--with-systemdsystemunitdir=/lib/systemd/system \
--without-smack \
--
2.11.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2016-12-19 20:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-19 20:36 [ptxdist] [PATCH 00/18] Patchset for ptxdist Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 01/18] nettle: update 2.7.1 -> 3.3 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 02/18] iputils: update s20121221 -> s20161105 Clemens Gruber
2017-01-05 15:45 ` Michael Olbrich
2016-12-19 20:36 ` [ptxdist] [PATCH 03/18] collectd: update 5.4.1 -> 5.7.0 and add sensors support Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 04/18] dbus: bump version 1.10.10 -> 1.10.14 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 05/18] file: update 5.24 -> 5.29 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 06/18] glib: bump version 2.50.1 -> 2.50.2 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 07/18] iperf: update 2.0.5 -> 2.0.9 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 08/18] iproute2: update 4.8.0 -> 4.9.0 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 09/18] projectroot: Fix HTML syntax in examples Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 10/18] rrdtool: update 1.4.9 -> 1.6.0 and make more modular Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 11/18] sqlite: update 3.14.1 -> 3.15.2 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 12/18] systemd-bootchart: bump version 230 -> 231 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 13/18] tmux: update 1.9a -> 2.3 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 14/18] u-boot-tools: bump version 2016.07 -> 2016.11 Clemens Gruber
2016-12-19 20:36 ` Clemens Gruber [this message]
2016-12-19 20:36 ` [ptxdist] [PATCH 16/18] picocom: bump version 1.7 -> 2.2 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 17/18] libgcrypt: update 1.7.3 -> 1.7.5 Clemens Gruber
2017-01-05 16:26 ` Michael Olbrich
2016-12-19 20:36 ` [ptxdist] [PATCH 18/18] netperf: new package Clemens Gruber
2017-01-05 16:50 ` [ptxdist] [PATCH 00/18] Patchset for ptxdist Michael Olbrich
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=20161219203631.29275-16-clemens.gruber@pqgruber.com \
--to=clemens.gruber@pqgruber.com \
--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