public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/xfsprogs/
Date: Sat, 25 Aug 2018 19:05:57 +0000 (UTC)	[thread overview]
Message-ID: <1535223946.39919014754bfa45be491927edf060f9b5fd0ea3.polynomial-c@gentoo> (raw)

commit:     39919014754bfa45be491927edf060f9b5fd0ea3
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 18:45:58 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 19:05:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39919014

sys-fs/xfsprogs: Bump to version 4.18.0

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sys-fs/xfsprogs/Manifest               |   1 +
 sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild | 100 +++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/sys-fs/xfsprogs/Manifest b/sys-fs/xfsprogs/Manifest
index 2204bd7af60..1a243b97786 100644
--- a/sys-fs/xfsprogs/Manifest
+++ b/sys-fs/xfsprogs/Manifest
@@ -2,3 +2,4 @@ DIST xfsprogs-4.14.0.tar.xz 1137048 BLAKE2B b58373ca7f58e5d887cf18ed2aab169aed4b
 DIST xfsprogs-4.15.1.tar.xz 1188964 BLAKE2B 7b4d1d2f71a0678f9246045e576262d6f3b3c59322e0b33b37dc46d84cdf5407a4b2fd6f2b99dd7647e9bfe9fe312fefe8162013dec9162f3a071421323aa52d SHA512 4ec3f0438f33322f0ff6e5acb27cbb554ab48df3ae0ef11071992b085016f84b49ca7bdbaf3a6859427877ea9c419bcd37ac3058914d67409ba2d65e586508ee
 DIST xfsprogs-4.16.1.tar.xz 1199632 BLAKE2B 26448ce8ec691d117c0b41aebcb692994ad5a65418ac5af9631eab75191201a265ec9bce92d4076049a4182a879741329f20e5f54343afeef826cf1dfbfcf0d1 SHA512 d3cf3b07e07864341c351a078736ff7c721d86c177e65f131dc6e023cade74a5e07fecbc435d69946d76d587b138e66cddcd763954e15ed0dd17c056a83e2a19
 DIST xfsprogs-4.17.0.tar.xz 1205508 BLAKE2B 46168792c1e4c335b7ed9e7489afc20d7df4b4e554eb86043b2c19303879491cc4746b18d23fdff3e2f92ca3887ac27957ae57e85ba784476d8891ea6909d67e SHA512 996de920c76de596b6175e4ae4ba9de208c16fbcf9362bbb44d25ee1c12b249d0178fc5cc93dc5a434ab20e6d515d64a3f51b8e89905b5b033b28a3638f4d400
+DIST xfsprogs-4.18.0.tar.xz 1214480 BLAKE2B 78db41319e53be1f03b66f85ecc7c50e0c6658fa3fd8ddd8539bac04e656614a5cb54dc930a324d9df6afe4024c2be10259b903e1ca0ccd0ffb340e7410692c2 SHA512 0629400f8824620138928a7d72908b7a852408814238a55e11d6eb3b2da42cd56273960430d3ea729a9bce95f605d225607940d4728b68c468c39eb5a9a590be

diff --git a/sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild b/sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild
new file mode 100644
index 00000000000..273db91aea0
--- /dev/null
+++ b/sys-fs/xfsprogs/xfsprogs-4.18.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs multilib systemd
+
+DESCRIPTION="xfs filesystem utilities"
+HOMEPAGE="https://xfs.wiki.kernel.org/"
+SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="icu libedit nls readline static static-libs"
+REQUIRED_USE="static? ( static-libs )"
+
+LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)]
+	icu? ( dev-libs/icu:=[static-libs(+)] )
+	readline? ( sys-libs/readline:0=[static-libs(+)] )
+	!readline? ( libedit? ( dev-libs/libedit[static-libs(+)] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+	!<sys-fs/xfsdump-3"
+DEPEND="${RDEPEND}
+	static? (
+		${LIB_DEPEND}
+		readline? ( sys-libs/ncurses:0=[static-libs] )
+	)
+	nls? ( sys-devel/gettext )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.9.0-underlinking.patch
+	"${FILESDIR}"/${PN}-4.15.0-sharedlibs.patch
+	"${FILESDIR}"/${PN}-4.15.0-docdir.patch
+)
+
+pkg_setup() {
+	if use readline && use libedit ; then
+		ewarn "You have USE='readline libedit' but these are exclusive."
+		ewarn "Defaulting to readline; please disable this USE flag if you want libedit."
+	fi
+}
+
+src_prepare() {
+	default
+
+	# LLDFLAGS is used for programs, so apply -all-static when USE=static is enabled.
+	# Clear out -static from all flags since we want to link against dynamic xfs libs.
+	sed -i \
+		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
+		-e "1iLLDFLAGS += $(usex static '-all-static' '')" \
+		include/builddefs.in || die
+	find -name Makefile -exec \
+		sed -i -r -e '/^LLDFLAGS [+]?= -static(-libtool-libs)?$/d' {} +
+
+	# TODO: Write a patch for configure.ac to use pkg-config for the uuid-part.
+	if use static && use readline ; then
+		sed -i \
+			-e 's|-lreadline|& -lncurses|' \
+			-e 's|-lblkid|& -luuid|' \
+			configure || die
+	fi
+}
+
+src_configure() {
+	export DEBUG=-DNDEBUG
+	export OPTIMIZER=${CFLAGS}
+	unset PLATFORM # if set in user env, this breaks configure
+
+	local myconf=(
+		--disable-lto #655638
+		--enable-blkid
+		--with-crond-dir="${EPREFIX}/etc/cron.d"
+		--with-systemd-unit-dir="$(systemd_get_systemunitdir)"
+		$(use_enable icu libicu)
+		$(use_enable nls gettext)
+		$(use_enable readline)
+		$(usex readline --disable-editline $(use_enable libedit editline))
+	)
+	if use static || use static-libs ; then
+		myconf+=( --enable-static )
+	else
+		myconf+=( --disable-static )
+	fi
+
+	econf "${myconf[@]}"
+
+	MAKEOPTS+=" V=1"
+}
+
+src_install() {
+	emake DIST_ROOT="${ED}" install
+	# parallel install fails on this target for >=xfsprogs-3.2.0
+	emake -j1 DIST_ROOT="${ED}" install-dev
+
+	# handle is for xfsdump, the rest for xfsprogs
+	gen_usr_ldscript -a handle xcmd xfs xlog frog
+	# removing unnecessary .la files if not needed
+	use static-libs || find "${ED}" -name '*.la' -delete
+}


             reply	other threads:[~2018-08-25 19:06 UTC|newest]

Thread overview: 238+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-25 19:05 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13 11:10 [gentoo-commits] repo/gentoo:master commit in: sys-fs/xfsprogs/ Arthur Zamarin
2024-11-11 15:21 Sam James
2024-11-11 15:21 Sam James
2024-11-11 15:21 Sam James
2024-11-11 15:21 Sam James
2024-11-11 15:21 Sam James
2024-11-11 14:47 Sam James
2024-10-21 10:47 Sam James
2024-09-17 16:45 Sam James
2024-09-02  2:51 Sam James
2024-08-27 14:54 Mike Gilbert
2024-08-27 14:46 Mike Gilbert
2024-08-27  0:24 Sam James
2024-08-14 22:03 Sam James
2024-07-17  5:10 Sam James
2024-07-17  5:10 Sam James
2024-07-17  4:46 Sam James
2024-07-17  4:44 Sam James
2024-07-17  4:44 Sam James
2024-07-17  4:36 Sam James
2024-07-17  4:36 Sam James
2024-05-18  4:49 Sam James
2024-05-15 15:26 Mike Gilbert
2024-05-15 14:31 Mike Gilbert
2024-05-15 13:23 Mike Gilbert
2024-05-15 13:23 Mike Gilbert
2024-05-07 17:54 Sam James
2024-05-07 13:32 Sam James
2024-05-07 13:32 Sam James
2024-03-06 21:46 Andreas K. Hüttel
2024-02-20  5:14 Sam James
2024-01-24  6:55 Sam James
2023-10-13 11:04 Sam James
2023-08-20  5:43 Sam James
2023-08-19  9:24 Sam James
2023-08-19  9:24 Sam James
2023-08-19  9:24 Sam James
2023-08-19  6:58 Arthur Zamarin
2023-08-19  6:33 Sam James
2023-08-19  6:23 Sam James
2023-07-19 19:25 Sam James
2023-06-26  9:12 David Seifert
2023-06-17 21:03 Sam James
2023-06-17 16:52 Sam James
2023-06-17 10:42 Arthur Zamarin
2023-06-17 10:42 Arthur Zamarin
2023-06-17  7:43 Arthur Zamarin
2023-06-17  7:43 Arthur Zamarin
2023-06-17  5:57 Sam James
2023-06-17  5:57 Sam James
2023-06-09 15:27 Arthur Zamarin
2023-06-09 14:38 Sam James
2023-06-09 14:10 Arthur Zamarin
2023-06-09 14:10 Arthur Zamarin
2023-06-09 14:08 Arthur Zamarin
2023-06-09 13:51 Arthur Zamarin
2023-06-09 13:50 Sam James
2023-06-09 13:39 Arthur Zamarin
2023-05-23  2:52 Sam James
2023-03-25  4:23 Sam James
2023-03-25  4:23 Sam James
2023-03-04 22:30 Jakov Smolić
2023-03-04 12:25 Arthur Zamarin
2023-03-04 11:46 Arthur Zamarin
2023-03-04 11:09 Arthur Zamarin
2023-03-04  8:45 Arthur Zamarin
2023-03-04  6:11 Arthur Zamarin
2023-03-04  5:55 Arthur Zamarin
2023-03-04  5:38 Arthur Zamarin
2023-01-15 14:57 Sam James
2023-01-15 14:57 Sam James
2023-01-06  8:10 Sam James
2022-12-11 17:47 Arthur Zamarin
2022-12-09 21:27 Sam James
2022-12-09 19:59 Arthur Zamarin
2022-12-09 19:59 Arthur Zamarin
2022-12-09 17:23 Arthur Zamarin
2022-12-09 17:23 Arthur Zamarin
2022-12-09 17:23 Arthur Zamarin
2022-12-09 17:23 Arthur Zamarin
2022-11-17  1:06 Sam James
2022-10-29  7:33 Agostino Sarubbo
2022-10-28 21:03 Sam James
2022-10-28 21:00 Sam James
2022-10-28 21:00 Sam James
2022-10-28 21:00 Sam James
2022-10-28 20:44 Sam James
2022-10-28 20:33 Sam James
2022-10-28 20:33 Sam James
2022-10-25  5:53 Sam James
2022-06-21  9:41 David Seifert
2022-05-19 11:24 WANG Xuerui
2022-05-05 23:38 Sam James
2022-04-17 17:06 Sam James
2022-04-07 19:53 Sam James
2021-12-26 19:31 Sam James
2021-12-25 21:14 Sam James
2021-12-25 19:43 Arthur Zamarin
2021-12-25 19:35 Arthur Zamarin
2021-12-25 10:25 Sam James
2021-12-25 10:02 Georgy Yakovlev
2021-12-25  9:51 Jakov Smolić
2021-12-25  8:24 Agostino Sarubbo
2021-12-07  6:18 Lars Wendler
2021-12-07  6:18 Lars Wendler
2021-12-03 10:21 Lars Wendler
2021-12-03 10:21 Lars Wendler
2021-11-22 13:24 Sam James
2021-11-19 20:44 Lars Wendler
2021-11-19 20:43 Lars Wendler
2021-09-10 20:16 Matt Turner
2021-09-02 17:06 Marek Szuba
2021-08-21 15:16 Lars Wendler
2021-08-21 15:16 Lars Wendler
2021-05-25  6:04 Lars Wendler
2021-03-13 11:24 Lars Wendler
2021-03-13 11:24 Lars Wendler
2021-03-13 11:24 Lars Wendler
2021-03-05 18:55 Lars Wendler
2021-01-15  0:30 Joshua Kinard
2021-01-07 12:20 Lars Wendler
2021-01-03 23:37 Sam James
2021-01-03 22:57 Sam James
2021-01-03 19:40 Sam James
2021-01-03 12:13 Sergei Trofimovich
2021-01-03 12:10 Sergei Trofimovich
2021-01-03 11:51 Sergei Trofimovich
2021-01-03  9:12 Sam James
2020-12-25  2:24 Matt Turner
2020-12-18 19:49 Mike Gilbert
2020-12-14 11:37 Lars Wendler
2020-10-20 19:18 Thomas Deutschmann
2020-09-07  0:50 Thomas Deutschmann
2020-07-25  8:55 Lars Wendler
2020-04-18 17:14 Mike Gilbert
2020-04-18 12:44 Lars Wendler
2020-04-15  9:05 Lars Wendler
2020-03-13 20:25 Lars Wendler
2020-03-13 20:25 Lars Wendler
2020-02-15 13:13 Thomas Deutschmann
2020-01-04 22:50 Sergei Trofimovich
2020-01-01 19:43 Agostino Sarubbo
2019-12-31 18:29 Aaron Bauman
2019-12-31 14:25 Agostino Sarubbo
2019-12-31 14:23 Agostino Sarubbo
2019-12-31 14:21 Agostino Sarubbo
2019-12-31 14:16 Agostino Sarubbo
2019-12-31 14:06 Agostino Sarubbo
2019-12-31 14:02 Agostino Sarubbo
2019-12-31  9:00 Agostino Sarubbo
2019-12-21 15:40 Thomas Deutschmann
2019-11-19  9:07 Thomas Deutschmann
2019-10-15 14:28 Lars Wendler
2019-10-15 14:28 Lars Wendler
2019-08-23  1:14 Lars Wendler
2019-08-23  1:14 Lars Wendler
2019-08-19 18:34 Thomas Deutschmann
2019-07-29  7:55 Lars Wendler
2019-07-28 20:23 Mikle Kolyada
2019-07-28 20:23 Mikle Kolyada
2019-07-28 20:23 Mikle Kolyada
2019-07-26  8:47 Agostino Sarubbo
2019-07-24  8:19 Agostino Sarubbo
2019-07-22 21:24 Sergei Trofimovich
2019-07-22  8:44 Mikle Kolyada
2019-07-21  8:37 Sergei Trofimovich
2019-07-21  8:25 Sergei Trofimovich
2019-07-21  8:19 Sergei Trofimovich
2019-07-21  8:16 Sergei Trofimovich
2019-07-20 21:08 Aaron Bauman
2019-07-20  8:45 Lars Wendler
2019-07-20  8:45 Lars Wendler
2019-05-06  7:48 Lars Wendler
2019-02-23 11:14 Lars Wendler
2019-02-23 11:14 Lars Wendler
2018-11-11 22:30 Lars Wendler
2018-11-09 18:16 Mikle Kolyada
2018-10-26 20:19 Sergei Trofimovich
2018-10-20 22:14 Sven Wegener
2018-10-20 22:01 Sven Wegener
2018-10-20 18:56 Andreas Hüttel
2018-10-14  9:05 Mikle Kolyada
2018-09-15 18:26 Sergei Trofimovich
2018-09-15 18:23 Sergei Trofimovich
2018-09-15 18:19 Sergei Trofimovich
2018-09-13 14:31 Tobias Klausmann
2018-09-13 10:58 Mikle Kolyada
2018-09-12 21:53 Mart Raudsepp
2018-09-12 20:47 Thomas Deutschmann
2018-08-25 19:05 Lars Wendler
2018-07-16 18:21 Lars Wendler
2018-06-29  8:24 Lars Wendler
2018-06-28 13:55 Mikle Kolyada
2018-05-15 22:28 Sergei Trofimovich
2018-05-14  8:23 Lars Wendler
2018-05-01 20:00 Lars Wendler
2018-04-27  9:07 Lars Wendler
2018-04-27  9:07 Lars Wendler
2018-03-13 21:14 Michael Weber
2018-03-03 13:12 Tobias Klausmann
2018-02-27  9:36 Lars Wendler
2018-01-23 10:17 Lars Wendler
2018-01-10  6:19 Markus Meier
2018-01-07 23:02 Mikle Kolyada
2018-01-06  5:05 Thomas Deutschmann
2018-01-02 19:54 Sergei Trofimovich
2018-01-01 22:14 Sergei Trofimovich
2018-01-01 19:31 Thomas Deutschmann
2017-11-27 23:36 Thomas Deutschmann
2017-11-15 22:42 Sergei Trofimovich
2017-09-27 23:17 Lars Wendler
2017-09-27 23:17 Lars Wendler
2017-07-21  7:35 Lars Wendler
2017-07-08  9:28 Sergei Trofimovich
2017-07-08  7:12 Markus Meier
2017-07-06  8:15 Agostino Sarubbo
2017-05-19 11:34 Lars Wendler
2017-02-28 14:59 Lars Wendler
2017-02-28 14:59 Lars Wendler
2017-02-26 15:39 Michael Weber
2017-02-10  9:43 Michael Weber
2016-11-28 16:32 Lars Wendler
2016-11-28 16:32 Lars Wendler
2016-08-09 15:15 Mike Frysinger
2016-07-06  9:23 Agostino Sarubbo
2016-06-25 20:14 Agostino Sarubbo
2016-06-10 13:53 Agostino Sarubbo
2016-06-01 12:04 Tobias Klausmann
2016-05-31 19:24 Markus Meier
2016-05-25  5:25 Jeroen Roovers
2016-03-15 10:04 Lars Wendler
2015-09-12  5:22 Mike Frysinger
2015-09-07 11:27 Lars Wendler
2015-09-07  8:30 Lars Wendler
2015-09-06  8:32 Agostino Sarubbo
2015-08-26  7:28 Agostino Sarubbo
2015-08-09 18:06 Mikle Kolyada

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=1535223946.39919014754bfa45be491927edf060f9b5fd0ea3.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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