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: Tue, 28 Feb 2017 14:59:52
Message-Id: 1488293977.4016646175d67b235d1bf1ef42ac1317546ccbed.polynomial-c@gentoo
1 commit: 4016646175d67b235d1bf1ef42ac1317546ccbed
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 14:48:14 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 14:59:37 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40166461
7
8 sys-fs/xfsprogs: Removed old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sys-fs/xfsprogs/Manifest | 1 -
13 sys-fs/xfsprogs/xfsprogs-4.7.0.ebuild | 96 -----------------------------------
14 2 files changed, 97 deletions(-)
15
16 diff --git a/sys-fs/xfsprogs/Manifest b/sys-fs/xfsprogs/Manifest
17 index b2de311a08..f65dddd194 100644
18 --- a/sys-fs/xfsprogs/Manifest
19 +++ b/sys-fs/xfsprogs/Manifest
20 @@ -1,5 +1,4 @@
21 DIST xfsprogs-4.10.0.tar.xz 1091648 SHA256 d8cb9ab2c686699d37914354ce3992b4aff3677093cbce06ad18bf798da8a8a7 SHA512 a29b5e714320d5fcbda7df6e8d81a07bdcba92d7d528ce1c354f1c1b41cb3719443a98cb37ca052f566eb3a08967bcf45492d0b9d95460da90b8a070a7a032e8 WHIRLPOOL cc2ed46749c6840ccc6521c6ef5d1ca79156245faf18ef2b03b7a0f86ac460a0f011d828caa51f57db6ad8445f8cc218f30b1d0ab557db290935fd9d0a941ef0
22 DIST xfsprogs-4.5.0.tar.gz 1524382 SHA256 e49beb314984efbd0d758abb5c6137db3bb60a88e59e1e94c00defb536cf89f8 SHA512 19c95551dc91ec46916f9a7e3d7976907664d32dd5fdc26af0ca62ca74c4b3c10f9e843aac8214ea9d1c0bf140c9f4e321d059808af01a623abedd5067011314 WHIRLPOOL 54d742635df024a63181da76c3220671610068363af85be2677521f20342595a5cebb2fd169945572351901ee2c9384f79f54a381ab3620dde22d863aa66d469
23 -DIST xfsprogs-4.7.0.tar.gz 1534909 SHA256 88580bb3e6847c3edef436703a4fae403fc19b20739db4c31166ee4b256178d7 SHA512 5184f1dbc3989f3c1f1b103d5cbd70462db107cfe113424166581ebcfaad4041c9c78f5d038f4bd4728ff99a2f9705219582ba9bfd10745354a1cab0b7dfe613 WHIRLPOOL 8157b2e8df5946acacc22ed761e38b382ef464f4984971148069b2f215418f4e23ac142721394439c041c236cbd460e0b56ff071d1c10e343070147709f42af3
24 DIST xfsprogs-4.8.0.tar.xz 1088376 SHA256 82ce9cb3a55f4e208e8fe3471ff0aff0602b8300f3e50bdf05cc7e11549686f9 SHA512 9c83763ae4925980969e66827edef41774e4dc09ae42637630167b5e0329675517ea7b50de751fcb9485fbcf8e470d24dd20b51475bcb56723dae6ee9fb140c7 WHIRLPOOL dc9f9b5c0b4e9b61f023fb972137126f22909c77908990e1beb391689fe6512a7810d9bd1ccfc0cfe4cd5379d99c123ddc9d0b6194e0a81e946e2304f964f180
25 DIST xfsprogs-4.9.0.tar.xz 1087940 SHA256 f1e60a9a54583dba82fa506dd9b59bdec110a968f80f507bf5f93b263af7a4df SHA512 990946f0a34381f57afb39bcda0ff539e18af4de2ecc19c833ffd4fb7c22c25b501091c1f0953db103a62204d952c9eecba21f22f3c5910286456da65fb09fa7 WHIRLPOOL a9b582a42967ce1e314cd0ac3518792c2e10f7bb1370151a68a09a8e21e40cc6818b9778dfdd248961c3a1a08a70424f0150219488a18bc5d60e5669702c472f
26
27 diff --git a/sys-fs/xfsprogs/xfsprogs-4.7.0.ebuild b/sys-fs/xfsprogs/xfsprogs-4.7.0.ebuild
28 deleted file mode 100644
29 index 99369e59c6..0000000000
30 --- a/sys-fs/xfsprogs/xfsprogs-4.7.0.ebuild
31 +++ /dev/null
32 @@ -1,96 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI="5"
38 -
39 -inherit eutils toolchain-funcs multilib
40 -
41 -DESCRIPTION="xfs filesystem utilities"
42 -HOMEPAGE="http://oss.sgi.com/projects/xfs/"
43 -SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz
44 - ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz"
45 -
46 -LICENSE="LGPL-2.1"
47 -SLOT="0"
48 -KEYWORDS="~alpha ~amd64 ~arm ~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.3.0-cross-compile.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 -}