Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/aufs-util/
Date: Mon, 31 Dec 2018 15:54:51
Message-Id: 1546271681.c5f8bcffc3004207fc43c2d8853bccd2b1533252.jlec@gentoo
commit:     c5f8bcffc3004207fc43c2d8853bccd2b1533252
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 31 15:48:51 2018 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Dec 31 15:54:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f8bcff

sys-fs/aufs-util: Bump to latest aufs release

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sys-fs/aufs-util/Manifest                        |  1 +
 sys-fs/aufs-util/aufs-util-4.14_p20180709.ebuild | 46 ++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/sys-fs/aufs-util/Manifest b/sys-fs/aufs-util/Manifest
index ff6ad01b7f4..0ec24458eda 100644
--- a/sys-fs/aufs-util/Manifest
+++ b/sys-fs/aufs-util/Manifest
@@ -2,5 +2,6 @@ DIST aufs-util-3.19_p20150323.tar.xz 97980 BLAKE2B ac826545100936b670640e0a277fb
 DIST aufs-util-3.19_p20150420.tar.xz 97980 BLAKE2B ade3ed060ab0fa0c37aebcfd52dfe7df3e7aa6b4936277952d128b096fc1c36699e0b7129873afcbeedaea019f12ac461812177bff82362a1a7ee6d261178b9f SHA512 fe329e9efdbd7b585664b81c2bcd2d63ce5344d013eb2d76c6247e042c1cbe44a4a3ab6e8317734c06c24c1eeffe438d8f91a8e57d95b34e238b21a8b9389e8a
 DIST aufs-util-4.0_p20150420.tar.xz 97924 BLAKE2B e5daaf71e4f107f63b481dc5b8ba949a230b4b412cfac6744eb991589947743d2eaa2dc22c04684042292d472578471be3e71322a3cac15070616b36319dfd29 SHA512 9a988dcd3640e4797c731ab921161bccbd125fc23475e39681b3a398a238715cb85ac8fe8dfc64053af7478c8c33fe28b7e8cc3a2f97eb31e3c4049305043085
 DIST aufs-util-4.0_p20151116.tar.xz 98116 BLAKE2B fb1216879439d6972892f45e1401708172c94376e57eeb2eabb43512ea4e664c6d71af42c55a0ecff7d43a6c6a5d35b01f2de40dada5cf9f0070858b3826aed9 SHA512 35da6ccff82d7c74f1f9d680ddf17fc438811565b010ead274febac79b4352ee461d66e48b36123f0091d75a5d1c15ea078038a849ded11a20fd6859015abadc
+DIST aufs-util-4.14_p20180709.tar.xz 103724 BLAKE2B 50df13812b090e5d8aa9a07009822f9a324091471243a76c9432ea22698a6167273e661f5ebf176fb3cc419fbe560e82ff73d6e3b37ed0a85a01e6315b06c8ac SHA512 f6330dfc0ddc36102473d9931c62a7f9a5549a3ad2b78ababedf68d335ef02b155a90327dd0c7d446182530db755b9ff756533f90c540bf8aacca5eb117555df
 DIST aufs-util-4.1_p20161010.tar.xz 100124 BLAKE2B 21055f22fae04097f0ee67375a1f779a912f503c9ce343890e05338f09603c2a188109c5bdd8dee522385fe154e31528528ea76f6b644f4a03246364c231521b SHA512 2b9eacdafe7f81d84c4d0404e62988222365c00f4fe17abc9038ee6330695445fc49b3b5e5d531afbbbcf690d695297379ca15dedeb3729983d145a751714379
 DIST aufs-util-4.1_p20170130.tar.xz 100144 BLAKE2B d3032feeb787e3864247890c2b77468cb39ac1936cebc7e2044a2a58bd84817401b0cf7ab42413ca2c6307430552b49fb642d45e04c42f2729c0a5f1ccfb1589 SHA512 bf47829bdd93472a318e3eb1fd76332a95a42b3ec39b4d3392baac419ca70bd47b7b0c6209592ad70c284ee997a71e3448e79fa0ad6b4a6db16ffa0c47ed11ca

diff --git a/sys-fs/aufs-util/aufs-util-4.14_p20180709.ebuild b/sys-fs/aufs-util/aufs-util-4.14_p20180709.ebuild
new file mode 100644
index 00000000000..4820dbcdfc7
--- /dev/null
+++ b/sys-fs/aufs-util/aufs-util-4.14_p20180709.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils flag-o-matic linux-info multilib toolchain-funcs
+
+DESCRIPTION="Utilities are always necessary for aufs"
+HOMEPAGE="http://aufs.sourceforge.net/"
+SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
+# git archive -v --prefix=${P}/ --remote=git://git.code.sf.net/p/aufs/aufs-util aufs4.14 -o ${P}.tar
+# xz -ve9 *.tar
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	!sys-fs/aufs2
+	!<sys-fs/aufs3-3_p20130318"
+DEPEND="${RDEPEND}
+	~sys-fs/aufs-headers-${PV}"
+
+src_prepare() {
+	sed \
+		-e "/LDFLAGS += -static -s/d" \
+		-e "/CFLAGS/s:-O::g" \
+		-i Makefile || die
+
+	sed \
+		-e '/LDFLAGS/s: -s::g' \
+		-e "s:m 644 -s:m 644:g" \
+		-e "s:/usr/lib:/usr/$(get_libdir):g" \
+		-i libau/Makefile || die
+
+	sed \
+		-e '/LDFLAGS/s: -s::g' \
+		-e '/LDLIBS/s:-lrt::g' \
+		-e '/LDLIBS/s:$: -lrt:g' \
+		-i fhsm/Makefile || die
+
+	tc-export CC AR
+	export HOSTCC=$(tc-getCC)
+	default
+}