1 |
polynomial-c 15/07/30 15:51:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xfsprogs-3.2.4.ebuild |
5 |
Removed: xfsprogs-3.2.1.ebuild |
6 |
Log: |
7 |
Security bump (bug #556318). Removed old |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.189 sys-fs/xfsprogs/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/ChangeLog?rev=1.189&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/ChangeLog?rev=1.189&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/ChangeLog?r1=1.188&r2=1.189 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v |
21 |
retrieving revision 1.188 |
22 |
retrieving revision 1.189 |
23 |
diff -u -r1.188 -r1.189 |
24 |
--- ChangeLog 30 Jul 2015 12:27:43 -0000 1.188 |
25 |
+++ ChangeLog 30 Jul 2015 15:51:11 -0000 1.189 |
26 |
@@ -1,6 +1,10 @@ |
27 |
# ChangeLog for sys-fs/xfsprogs |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.188 2015/07/30 12:27:43 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.189 2015/07/30 15:51:11 polynomial-c Exp $ |
31 |
+ |
32 |
+ 30 Jul 2015; Lars Wendler <polynomial-c@g.o> -xfsprogs-3.2.1.ebuild, |
33 |
+ +xfsprogs-3.2.4.ebuild: |
34 |
+ Security bump (bug #556318). Removed old. |
35 |
|
36 |
30 Jul 2015; Agostino Sarubbo <ago@g.o> xfsprogs-3.2.2.ebuild: |
37 |
Stable for sparc, wrt bug #551802 |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-fs/xfsprogs/xfsprogs-3.2.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.2.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.2.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: xfsprogs-3.2.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 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.2.4.ebuild,v 1.1 2015/07/30 15:51:11 polynomial-c Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit eutils toolchain-funcs multilib |
55 |
|
56 |
DESCRIPTION="xfs filesystem utilities" |
57 |
HOMEPAGE="http://oss.sgi.com/projects/xfs/" |
58 |
SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz |
59 |
ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz" |
60 |
|
61 |
LICENSE="LGPL-2.1" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
64 |
IUSE="libedit nls readline static static-libs" |
65 |
REQUIRED_USE="static? ( static-libs )" |
66 |
|
67 |
LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)] |
68 |
readline? ( sys-libs/readline[static-libs(+)] ) |
69 |
!readline? ( libedit? ( dev-libs/libedit[static-libs(+)] ) )" |
70 |
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
71 |
!<sys-fs/xfsdump-3" |
72 |
DEPEND="${RDEPEND} |
73 |
static? ( |
74 |
${LIB_DEPEND} |
75 |
readline? ( sys-libs/ncurses[static-libs] ) |
76 |
) |
77 |
nls? ( sys-devel/gettext )" |
78 |
|
79 |
pkg_setup() { |
80 |
if use readline && use libedit ; then |
81 |
ewarn "You have USE='readline libedit' but these are exclusive." |
82 |
ewarn "Defaulting to readline; please disable this USE flag if you want libedit." |
83 |
fi |
84 |
} |
85 |
|
86 |
src_prepare() { |
87 |
epatch "${FILESDIR}"/${PN}-3.2.2-sharedlibs.patch |
88 |
|
89 |
sed -i \ |
90 |
-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ |
91 |
include/builddefs.in || die |
92 |
sed -i \ |
93 |
-e '1iLLDFLAGS = -static' \ |
94 |
{estimate,fsr}/Makefile || die |
95 |
sed -i \ |
96 |
-e "/LLDFLAGS/s:-static-libtool-libs:$(use static && echo -all-static):" \ |
97 |
$(find -name Makefile) || die |
98 |
|
99 |
# libdisk has broken blkid conditional checking |
100 |
sed -i \ |
101 |
-e '/LIB_SUBDIRS/s:libdisk::' \ |
102 |
Makefile || die |
103 |
|
104 |
# TODO: write a patch for configure.in to use pkg-config for the uuid-part |
105 |
if use static && use readline ; then |
106 |
sed -i \ |
107 |
-e 's|-lreadline|\0 -lncurses|' \ |
108 |
-e 's|-lblkid|\0 -luuid|' \ |
109 |
configure || die |
110 |
fi |
111 |
} |
112 |
|
113 |
src_configure() { |
114 |
export DEBUG=-DNDEBUG |
115 |
export OPTIMIZER=${CFLAGS} |
116 |
unset PLATFORM # if set in user env, this breaks configure |
117 |
|
118 |
local myconf |
119 |
if use static || use static-libs ; then |
120 |
myconf+=" --enable-static" |
121 |
else |
122 |
myconf+=" --disable-static" |
123 |
fi |
124 |
|
125 |
econf \ |
126 |
--bindir=/usr/bin \ |
127 |
--libexecdir=/usr/$(get_libdir) \ |
128 |
$(use_enable nls gettext) \ |
129 |
$(use_enable readline) \ |
130 |
$(usex readline --disable-editline $(use_enable libedit editline)) \ |
131 |
${myconf} |
132 |
|
133 |
MAKEOPTS+=" V=1" |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
emake DIST_ROOT="${ED}" install |
138 |
# parallel install fails on these targets for >=xfsprogs-3.2.0 |
139 |
emake -j1 DIST_ROOT="${ED}" install-{dev,qa} |
140 |
|
141 |
# handle is for xfsdump, the rest for xfsprogs |
142 |
gen_usr_ldscript -a xfs xlog |
143 |
# removing unnecessary .la files if not needed |
144 |
use static-libs || find "${ED}" -name '*.la' -delete |
145 |
} |