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: Fri, 21 Jul 2017 07:35:54
Message-Id: 1500622544.37736e577b71b44627d53af24b7db87043103df8.polynomial-c@gentoo
1 commit: 37736e577b71b44627d53af24b7db87043103df8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 21 07:35:27 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 21 07:35:44 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37736e57
7
8 sys-fs/xfsprogs: Removed old.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 sys-fs/xfsprogs/Manifest | 2 -
13 sys-fs/xfsprogs/xfsprogs-4.10.0.ebuild | 94 ----------------------------------
14 sys-fs/xfsprogs/xfsprogs-4.8.0.ebuild | 94 ----------------------------------
15 3 files changed, 190 deletions(-)
16
17 diff --git a/sys-fs/xfsprogs/Manifest b/sys-fs/xfsprogs/Manifest
18 index e53813498e6..015b4bf7de8 100644
19 --- a/sys-fs/xfsprogs/Manifest
20 +++ b/sys-fs/xfsprogs/Manifest
21 @@ -1,6 +1,4 @@
22 -DIST xfsprogs-4.10.0.tar.xz 1091648 SHA256 d8cb9ab2c686699d37914354ce3992b4aff3677093cbce06ad18bf798da8a8a7 SHA512 a29b5e714320d5fcbda7df6e8d81a07bdcba92d7d528ce1c354f1c1b41cb3719443a98cb37ca052f566eb3a08967bcf45492d0b9d95460da90b8a070a7a032e8 WHIRLPOOL cc2ed46749c6840ccc6521c6ef5d1ca79156245faf18ef2b03b7a0f86ac460a0f011d828caa51f57db6ad8445f8cc218f30b1d0ab557db290935fd9d0a941ef0
23 DIST xfsprogs-4.11.0.tar.xz 1113480 SHA256 c3a6d87b564d7738243c507df82276bed982265e345363a95f2c764e8a5f5bb2 SHA512 2db59553e4442c999a718ccf712b01de80b1e3acd1c3e5f9f7f5dc59e6c9180aa1a42085363303fe454d441bc2f886e118fc2958320afa49c7a8886fcfb5d72c WHIRLPOOL df267970bbcbc3c8a05d02a5e334bdeb686acea74e647dee6e874bc083a64cecef7c45072619edfd4841856cf0b7c91056504207bbcd5f021b1a1b452ef794da
24 DIST xfsprogs-4.12.0.tar.xz 1128400 SHA256 b330ad8d737f4152ae511580102e2fc49212bb51dfb4b614084344abae46d0df SHA512 1dc4a0a5f40baf1d6398c8f07b4cb3ab796cf052c34b811d60b08c60a4700c2ced8d4d1adb878f8b85ba58cf3e1276db1477109de538fd427d3e359a52f59d4a WHIRLPOOL c18d3c9dfab8ccb877eb6fa9fa05be3c614a587c6cb616a9f18b52debb8ecacbd22056cb397ff9e69407c66e105d034458b41f0ba4275352f31398e64d303c02
25 DIST xfsprogs-4.5.0.tar.gz 1524382 SHA256 e49beb314984efbd0d758abb5c6137db3bb60a88e59e1e94c00defb536cf89f8 SHA512 19c95551dc91ec46916f9a7e3d7976907664d32dd5fdc26af0ca62ca74c4b3c10f9e843aac8214ea9d1c0bf140c9f4e321d059808af01a623abedd5067011314 WHIRLPOOL 54d742635df024a63181da76c3220671610068363af85be2677521f20342595a5cebb2fd169945572351901ee2c9384f79f54a381ab3620dde22d863aa66d469
26 -DIST xfsprogs-4.8.0.tar.xz 1088376 SHA256 82ce9cb3a55f4e208e8fe3471ff0aff0602b8300f3e50bdf05cc7e11549686f9 SHA512 9c83763ae4925980969e66827edef41774e4dc09ae42637630167b5e0329675517ea7b50de751fcb9485fbcf8e470d24dd20b51475bcb56723dae6ee9fb140c7 WHIRLPOOL dc9f9b5c0b4e9b61f023fb972137126f22909c77908990e1beb391689fe6512a7810d9bd1ccfc0cfe4cd5379d99c123ddc9d0b6194e0a81e946e2304f964f180
27 DIST xfsprogs-4.9.0.tar.xz 1087940 SHA256 f1e60a9a54583dba82fa506dd9b59bdec110a968f80f507bf5f93b263af7a4df SHA512 990946f0a34381f57afb39bcda0ff539e18af4de2ecc19c833ffd4fb7c22c25b501091c1f0953db103a62204d952c9eecba21f22f3c5910286456da65fb09fa7 WHIRLPOOL a9b582a42967ce1e314cd0ac3518792c2e10f7bb1370151a68a09a8e21e40cc6818b9778dfdd248961c3a1a08a70424f0150219488a18bc5d60e5669702c472f
28
29 diff --git a/sys-fs/xfsprogs/xfsprogs-4.10.0.ebuild b/sys-fs/xfsprogs/xfsprogs-4.10.0.ebuild
30 deleted file mode 100644
31 index 0f601f8e026..00000000000
32 --- a/sys-fs/xfsprogs/xfsprogs-4.10.0.ebuild
33 +++ /dev/null
34 @@ -1,94 +0,0 @@
35 -# Copyright 1999-2017 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -
40 -inherit eutils toolchain-funcs multilib
41 -
42 -DESCRIPTION="xfs filesystem utilities"
43 -HOMEPAGE="http://oss.sgi.com/projects/xfs/"
44 -SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz"
45 -
46 -LICENSE="LGPL-2.1"
47 -SLOT="0"
48 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
49 -IUSE="libedit nls readline static static-libs"
50 -REQUIRED_USE="static? ( static-libs )"
51 -
52 -LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)]
53 - readline? ( sys-libs/readline:0=[static-libs(+)] )
54 - !readline? ( libedit? ( dev-libs/libedit[static-libs(+)] ) )"
55 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
56 - !<sys-fs/xfsdump-3"
57 -DEPEND="${RDEPEND}
58 - static? (
59 - ${LIB_DEPEND}
60 - readline? ( sys-libs/ncurses:0=[static-libs] )
61 - )
62 - nls? ( sys-devel/gettext )"
63 -
64 -PATCHES=(
65 - "${FILESDIR}"/${PN}-4.7.0-sharedlibs.patch
66 - "${FILESDIR}"/${PN}-4.7.0-libxcmd-link.patch
67 - "${FILESDIR}"/${PN}-4.9.0-underlinking.patch
68 -)
69 -
70 -pkg_setup() {
71 - if use readline && use libedit ; then
72 - ewarn "You have USE='readline libedit' but these are exclusive."
73 - ewarn "Defaulting to readline; please disable this USE flag if you want libedit."
74 - fi
75 -}
76 -
77 -src_prepare() {
78 - epatch "${PATCHES[@]}"
79 -
80 - # LLDFLAGS is used for programs, so apply -all-static when USE=static is enabled.
81 - # Clear out -static from all flags since we want to link against dynamic xfs libs.
82 - sed -i \
83 - -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
84 - -e "1iLLDFLAGS += $(usex static '-all-static' '')" \
85 - include/builddefs.in || die
86 - find -name Makefile -exec \
87 - sed -i -r -e '/^LLDFLAGS [+]?= -static(-libtool-libs)?$/d' {} +
88 -
89 - # TODO: Write a patch for configure.ac to use pkg-config for the uuid-part.
90 - if use static && use readline ; then
91 - sed -i \
92 - -e 's|-lreadline|& -lncurses|' \
93 - -e 's|-lblkid|& -luuid|' \
94 - configure || die
95 - fi
96 -}
97 -
98 -src_configure() {
99 - export DEBUG=-DNDEBUG
100 - export OPTIMIZER=${CFLAGS}
101 - unset PLATFORM # if set in user env, this breaks configure
102 -
103 - local myconf
104 - if use static || use static-libs ; then
105 - myconf+=" --enable-static"
106 - else
107 - myconf+=" --disable-static"
108 - fi
109 -
110 - econf \
111 - $(use_enable nls gettext) \
112 - $(use_enable readline) \
113 - $(usex readline --disable-editline $(use_enable libedit editline)) \
114 - ${myconf}
115 -
116 - MAKEOPTS+=" V=1"
117 -}
118 -
119 -src_install() {
120 - emake DIST_ROOT="${ED}" install
121 - # parallel install fails on this target for >=xfsprogs-3.2.0
122 - emake -j1 DIST_ROOT="${ED}" install-dev
123 -
124 - # handle is for xfsdump, the rest for xfsprogs
125 - gen_usr_ldscript -a handle xcmd xfs xlog
126 - # removing unnecessary .la files if not needed
127 - use static-libs || find "${ED}" -name '*.la' -delete
128 -}
129
130 diff --git a/sys-fs/xfsprogs/xfsprogs-4.8.0.ebuild b/sys-fs/xfsprogs/xfsprogs-4.8.0.ebuild
131 deleted file mode 100644
132 index 5c1cbd93128..00000000000
133 --- a/sys-fs/xfsprogs/xfsprogs-4.8.0.ebuild
134 +++ /dev/null
135 @@ -1,94 +0,0 @@
136 -# Copyright 1999-2016 Gentoo Foundation
137 -# Distributed under the terms of the GNU General Public License v2
138 -
139 -EAPI=5
140 -
141 -inherit eutils toolchain-funcs multilib
142 -
143 -DESCRIPTION="xfs filesystem utilities"
144 -HOMEPAGE="http://oss.sgi.com/projects/xfs/"
145 -SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz"
146 -
147 -LICENSE="LGPL-2.1"
148 -SLOT="0"
149 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
150 -IUSE="libedit nls readline static static-libs"
151 -REQUIRED_USE="static? ( static-libs )"
152 -
153 -LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)]
154 - readline? ( sys-libs/readline:0=[static-libs(+)] )
155 - !readline? ( libedit? ( dev-libs/libedit[static-libs(+)] ) )"
156 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
157 - !<sys-fs/xfsdump-3"
158 -DEPEND="${RDEPEND}
159 - static? (
160 - ${LIB_DEPEND}
161 - readline? ( sys-libs/ncurses:0=[static-libs] )
162 - )
163 - nls? ( sys-devel/gettext )"
164 -
165 -PATCHES=(
166 - "${FILESDIR}"/${PN}-4.7.0-sharedlibs.patch
167 - "${FILESDIR}"/${PN}-4.7.0-libxcmd-link.patch
168 - "${FILESDIR}"/${PN}-4.3.0-cross-compile.patch
169 -)
170 -
171 -pkg_setup() {
172 - if use readline && use libedit ; then
173 - ewarn "You have USE='readline libedit' but these are exclusive."
174 - ewarn "Defaulting to readline; please disable this USE flag if you want libedit."
175 - fi
176 -}
177 -
178 -src_prepare() {
179 - epatch "${PATCHES[@]}"
180 -
181 - # LLDFLAGS is used for programs, so apply -all-static when USE=static is enabled.
182 - # Clear out -static from all flags since we want to link against dynamic xfs libs.
183 - sed -i \
184 - -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
185 - -e "1iLLDFLAGS += $(usex static '-all-static' '')" \
186 - include/builddefs.in || die
187 - find -name Makefile -exec \
188 - sed -i -r -e '/^LLDFLAGS [+]?= -static(-libtool-libs)?$/d' {} +
189 -
190 - # TODO: Write a patch for configure.ac to use pkg-config for the uuid-part.
191 - if use static && use readline ; then
192 - sed -i \
193 - -e 's|-lreadline|& -lncurses|' \
194 - -e 's|-lblkid|& -luuid|' \
195 - configure || die
196 - fi
197 -}
198 -
199 -src_configure() {
200 - export DEBUG=-DNDEBUG
201 - export OPTIMIZER=${CFLAGS}
202 - unset PLATFORM # if set in user env, this breaks configure
203 -
204 - local myconf
205 - if use static || use static-libs ; then
206 - myconf+=" --enable-static"
207 - else
208 - myconf+=" --disable-static"
209 - fi
210 -
211 - econf \
212 - $(use_enable nls gettext) \
213 - $(use_enable readline) \
214 - $(usex readline --disable-editline $(use_enable libedit editline)) \
215 - ${myconf}
216 -
217 - MAKEOPTS+=" V=1"
218 -}
219 -
220 -src_install() {
221 - emake DIST_ROOT="${ED}" install
222 - # parallel install fails on this target for >=xfsprogs-3.2.0
223 - emake -j1 DIST_ROOT="${ED}" install-dev
224 -
225 - # handle is for xfsdump, the rest for xfsprogs
226 - gen_usr_ldscript -a handle xcmd xfs xlog
227 - # removing unnecessary .la files if not needed
228 - use static-libs || find "${ED}" -name '*.la' -delete
229 -}