Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/xfsprogs/
Date: Wed, 27 Sep 2017 23:17:21
Message-Id: 1506553466.17b272e43db1396afc44ef424fd91d8c21bf401e.polynomial-c@gentoo
1 commit: 17b272e43db1396afc44ef424fd91d8c21bf401e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 27 23:04:26 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 27 23:04:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b272e4
7
8 sys-fs/xfsprogs: Removed old.
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 sys-fs/xfsprogs/Manifest | 1 -
13 sys-fs/xfsprogs/xfsprogs-4.11.0.ebuild | 94 ----------------------------------
14 2 files changed, 95 deletions(-)
15
16 diff --git a/sys-fs/xfsprogs/Manifest b/sys-fs/xfsprogs/Manifest
17 index 2dce71330a6..bb002f71175 100644
18 --- a/sys-fs/xfsprogs/Manifest
19 +++ b/sys-fs/xfsprogs/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST xfsprogs-4.11.0.tar.xz 1113480 SHA256 c3a6d87b564d7738243c507df82276bed982265e345363a95f2c764e8a5f5bb2 SHA512 2db59553e4442c999a718ccf712b01de80b1e3acd1c3e5f9f7f5dc59e6c9180aa1a42085363303fe454d441bc2f886e118fc2958320afa49c7a8886fcfb5d72c WHIRLPOOL df267970bbcbc3c8a05d02a5e334bdeb686acea74e647dee6e874bc083a64cecef7c45072619edfd4841856cf0b7c91056504207bbcd5f021b1a1b452ef794da
22 DIST xfsprogs-4.12.0.tar.xz 1128400 SHA256 b330ad8d737f4152ae511580102e2fc49212bb51dfb4b614084344abae46d0df SHA512 1dc4a0a5f40baf1d6398c8f07b4cb3ab796cf052c34b811d60b08c60a4700c2ced8d4d1adb878f8b85ba58cf3e1276db1477109de538fd427d3e359a52f59d4a WHIRLPOOL c18d3c9dfab8ccb877eb6fa9fa05be3c614a587c6cb616a9f18b52debb8ecacbd22056cb397ff9e69407c66e105d034458b41f0ba4275352f31398e64d303c02
23 DIST xfsprogs-4.13.1.tar.xz 1133556 SHA256 8c64d349d191e24c84eeb1611be767e4a11b81016bd5b73f3a20a0bf39dd3536 SHA512 6c234a6c22aa3cabe0ea698c11175dca6c19d803989127ccb13b526ff6d34dcef9dd6e19ff0c4fb3903078f24210a8cfcd0508dac29d52fbee4dfed37d5888f3 WHIRLPOOL 89a84ce7b59fa52cd245493a28c6ad7f6e114dfe8044b2dad57b2cc626308ad1187ef812ace618085a083745acd3c37538903a6e2f935d9cd351c923559d9732
24 DIST xfsprogs-4.5.0.tar.gz 1524382 SHA256 e49beb314984efbd0d758abb5c6137db3bb60a88e59e1e94c00defb536cf89f8 SHA512 19c95551dc91ec46916f9a7e3d7976907664d32dd5fdc26af0ca62ca74c4b3c10f9e843aac8214ea9d1c0bf140c9f4e321d059808af01a623abedd5067011314 WHIRLPOOL 54d742635df024a63181da76c3220671610068363af85be2677521f20342595a5cebb2fd169945572351901ee2c9384f79f54a381ab3620dde22d863aa66d469
25
26 diff --git a/sys-fs/xfsprogs/xfsprogs-4.11.0.ebuild b/sys-fs/xfsprogs/xfsprogs-4.11.0.ebuild
27 deleted file mode 100644
28 index aa197f28b82..00000000000
29 --- a/sys-fs/xfsprogs/xfsprogs-4.11.0.ebuild
30 +++ /dev/null
31 @@ -1,94 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -inherit eutils toolchain-funcs multilib
38 -
39 -DESCRIPTION="xfs filesystem utilities"
40 -HOMEPAGE="http://oss.sgi.com/projects/xfs/"
41 -SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz"
42 -
43 -LICENSE="LGPL-2.1"
44 -SLOT="0"
45 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
46 -IUSE="libedit nls readline static static-libs"
47 -REQUIRED_USE="static? ( static-libs )"
48 -
49 -LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)]
50 - readline? ( sys-libs/readline:0=[static-libs(+)] )
51 - !readline? ( libedit? ( dev-libs/libedit[static-libs(+)] ) )"
52 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
53 - !<sys-fs/xfsdump-3"
54 -DEPEND="${RDEPEND}
55 - static? (
56 - ${LIB_DEPEND}
57 - readline? ( sys-libs/ncurses:0=[static-libs] )
58 - )
59 - nls? ( sys-devel/gettext )"
60 -
61 -PATCHES=(
62 - "${FILESDIR}"/${PN}-4.7.0-sharedlibs.patch
63 - "${FILESDIR}"/${PN}-4.7.0-libxcmd-link.patch
64 - "${FILESDIR}"/${PN}-4.9.0-underlinking.patch
65 -)
66 -
67 -pkg_setup() {
68 - if use readline && use libedit ; then
69 - ewarn "You have USE='readline libedit' but these are exclusive."
70 - ewarn "Defaulting to readline; please disable this USE flag if you want libedit."
71 - fi
72 -}
73 -
74 -src_prepare() {
75 - epatch "${PATCHES[@]}"
76 -
77 - # LLDFLAGS is used for programs, so apply -all-static when USE=static is enabled.
78 - # Clear out -static from all flags since we want to link against dynamic xfs libs.
79 - sed -i \
80 - -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
81 - -e "1iLLDFLAGS += $(usex static '-all-static' '')" \
82 - include/builddefs.in || die
83 - find -name Makefile -exec \
84 - sed -i -r -e '/^LLDFLAGS [+]?= -static(-libtool-libs)?$/d' {} +
85 -
86 - # TODO: Write a patch for configure.ac to use pkg-config for the uuid-part.
87 - if use static && use readline ; then
88 - sed -i \
89 - -e 's|-lreadline|& -lncurses|' \
90 - -e 's|-lblkid|& -luuid|' \
91 - configure || die
92 - fi
93 -}
94 -
95 -src_configure() {
96 - export DEBUG=-DNDEBUG
97 - export OPTIMIZER=${CFLAGS}
98 - unset PLATFORM # if set in user env, this breaks configure
99 -
100 - local myconf
101 - if use static || use static-libs ; then
102 - myconf+=" --enable-static"
103 - else
104 - myconf+=" --disable-static"
105 - fi
106 -
107 - econf \
108 - $(use_enable nls gettext) \
109 - $(use_enable readline) \
110 - $(usex readline --disable-editline $(use_enable libedit editline)) \
111 - ${myconf}
112 -
113 - MAKEOPTS+=" V=1"
114 -}
115 -
116 -src_install() {
117 - emake DIST_ROOT="${ED}" install
118 - # parallel install fails on this target for >=xfsprogs-3.2.0
119 - emake -j1 DIST_ROOT="${ED}" install-dev
120 -
121 - # handle is for xfsdump, the rest for xfsprogs
122 - gen_usr_ldscript -a handle xcmd xfs xlog
123 - # removing unnecessary .la files if not needed
124 - use static-libs || find "${ED}" -name '*.la' -delete
125 -}