Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/xfsprogs: ChangeLog xfsprogs-3.0.1-r1.ebuild
Date: Fri, 26 Jun 2009 14:09:21
Message-Id: E1MKC7D-00048d-FW@stork.gentoo.org
1 vapier 09/06/26 14:09:19
2
3 Modified: ChangeLog
4 Added: xfsprogs-3.0.1-r1.ebuild
5 Log:
6 Fix by Lars Wendler to install missing libxcmd.so #275456 by Chris Smith.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.117 sys-fs/xfsprogs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/xfsprogs/ChangeLog?rev=1.117&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/xfsprogs/ChangeLog?rev=1.117&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/xfsprogs/ChangeLog?r1=1.116&r2=1.117
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v
19 retrieving revision 1.116
20 retrieving revision 1.117
21 diff -u -r1.116 -r1.117
22 --- ChangeLog 25 Jun 2009 23:56:43 -0000 1.116
23 +++ ChangeLog 26 Jun 2009 14:09:19 -0000 1.117
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-fs/xfsprogs
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.116 2009/06/25 23:56:43 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.117 2009/06/26 14:09:19 vapier Exp $
29 +
30 +*xfsprogs-3.0.1-r1 (26 Jun 2009)
31 +
32 + 26 Jun 2009; Mike Frysinger <vapier@g.o> +xfsprogs-3.0.1-r1.ebuild,
33 + files/xfsprogs-3.0.1-sharedlibs.patch:
34 + Fix by Lars Wendler to install missing libxcmd.so #275456 by Chris Smith.
35
36 25 Jun 2009; Mike Frysinger <vapier@g.o> +xfsprogs-3.0.1.ebuild,
37 +files/xfsprogs-3.0.1-sharedlibs.patch:
38
39
40
41 1.1 sys-fs/xfsprogs/xfsprogs-3.0.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.0.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.0.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xfsprogs-3.0.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.0.1-r1.ebuild,v 1.1 2009/06/26 14:09:19 vapier Exp $
51
52 inherit eutils toolchain-funcs multilib
53
54 DESCRIPTION="xfs filesystem utilities"
55 HOMEPAGE="http://oss.sgi.com/projects/xfs/"
56 SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz
57 ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz"
58
59 LICENSE="LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
62 IUSE="nls static"
63
64 RDEPEND="sys-fs/e2fsprogs
65 !<sys-fs/xfsdump-3"
66 DEPEND="${RDEPEND}
67 nls? ( sys-devel/gettext )"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}"/${P}-sharedlibs.patch
73 sed -i \
74 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
75 include/builddefs.in \
76 || die "sed include/builddefs.in failed"
77 sed -i '1iLLDFLAGS = -static' {estimate,fsr}/Makefile
78 sed -i \
79 -e "/LLDFLAGS/s:-static:$(use static && echo -all-static):" \
80 $(find -name Makefile)
81 }
82
83 src_compile() {
84 export DEBUG=-DNDEBUG
85 export OPTIMIZER=${CFLAGS}
86 unset PLATFORM # if set in user env, this breaks configure
87 econf \
88 --bindir=/usr/bin \
89 --sbindir=/sbin \
90 --libexecdir=/usr/$(get_libdir) \
91 $(use_enable nls gettext) \
92 || die "config failed"
93 emake || die
94 }
95
96 src_install() {
97 emake DIST_ROOT="${D}" install install-dev || die "make install failed"
98 # handle is for xfsdump, the rest for xfsprogs
99 gen_usr_ldscript -a disk handle xfs xlog
100 prepalldocs
101 }