1 |
vapier 11/08/29 21:25:15 |
2 |
|
3 |
Modified: ChangeLog util-linux-9999.ebuild |
4 |
Added: util-linux-2.20.ebuild |
5 |
Log: |
6 |
Version bump which fixes #373381 by Chris Richards. Add USE=static-libs support #378269 by Agostino Sarubbo. Sync changes between live git and stable release ebuilds. Block older sysvinits since we now install the mountpoint util ourselves. |
7 |
|
8 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.348 sys-apps/util-linux/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.348&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.348&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.347&r2=1.348 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v |
20 |
retrieving revision 1.347 |
21 |
retrieving revision 1.348 |
22 |
diff -u -r1.347 -r1.348 |
23 |
--- ChangeLog 29 Jul 2011 07:42:14 -0000 1.347 |
24 |
+++ ChangeLog 29 Aug 2011 21:25:15 -0000 1.348 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for sys-apps/util-linux |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.347 2011/07/29 07:42:14 zmedico Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.348 2011/08/29 21:25:15 vapier Exp $ |
30 |
+ |
31 |
+*util-linux-2.20 (29 Aug 2011) |
32 |
+ |
33 |
+ 29 Aug 2011; Mike Frysinger <vapier@g.o> +util-linux-2.20.ebuild, |
34 |
+ util-linux-9999.ebuild: |
35 |
+ Version bump which fixes #373381 by Chris Richards. Add USE=static-libs |
36 |
+ support #378269 by Agostino Sarubbo. Sync changes between live git and stable |
37 |
+ release ebuilds. Block older sysvinits since we now install the mountpoint |
38 |
+ util ourselves. |
39 |
|
40 |
29 Jul 2011; Zac Medico <zmedico@g.o> util-linux-2.19.1-r1.ebuild, |
41 |
util-linux-9999.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.22 sys-apps/util-linux/util-linux-9999.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild?rev=1.22&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild?rev=1.22&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild?r1=1.21&r2=1.22 |
50 |
|
51 |
Index: util-linux-9999.ebuild |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v |
54 |
retrieving revision 1.21 |
55 |
retrieving revision 1.22 |
56 |
diff -u -r1.21 -r1.22 |
57 |
--- util-linux-9999.ebuild 29 Jul 2011 07:42:14 -0000 1.21 |
58 |
+++ util-linux-9999.ebuild 29 Aug 2011 21:25:15 -0000 1.22 |
59 |
@@ -1,8 +1,8 @@ |
60 |
# Copyright 1999-2011 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v 1.21 2011/07/29 07:42:14 zmedico Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v 1.22 2011/08/29 21:25:15 vapier Exp $ |
64 |
|
65 |
-EAPI="2" |
66 |
+EAPI="3" |
67 |
|
68 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
69 |
inherit eutils toolchain-funcs libtool flag-o-matic |
70 |
@@ -18,16 +18,18 @@ |
71 |
SRC_URI="" |
72 |
#KEYWORDS="" |
73 |
else |
74 |
- SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2" |
75 |
+ SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2 |
76 |
+ loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-2.19.1-20110510.diff.bz2 )" |
77 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" |
78 |
fi |
79 |
|
80 |
LICENSE="GPL-2" |
81 |
SLOT="0" |
82 |
-IUSE="+cramfs crypt ncurses nls old-linux perl selinux slang uclibc unicode" |
83 |
+IUSE="+cramfs crypt loop-aes ncurses nls old-linux perl selinux slang static-libs uclibc unicode" |
84 |
|
85 |
RDEPEND="!sys-process/schedutils |
86 |
!sys-apps/setarch |
87 |
+ !<sys-apps/sysvinit-2.88-r3 |
88 |
!<sys-libs/e2fsprogs-libs-1.41.8 |
89 |
!<sys-fs/e2fsprogs-1.41.8 |
90 |
cramfs? ( sys-libs/zlib ) |
91 |
@@ -44,6 +46,8 @@ |
92 |
po/update-potfiles |
93 |
autopoint --force |
94 |
eautoreconf |
95 |
+ else |
96 |
+ use loop-aes && epatch "${WORKDIR}"/util-linux-*.diff |
97 |
fi |
98 |
use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c |
99 |
elibtoolize |
100 |
@@ -72,7 +76,6 @@ |
101 |
$(use_enable cramfs) \ |
102 |
$(use_enable old-linux elvtune) \ |
103 |
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \ |
104 |
- --disable-init \ |
105 |
--disable-kill \ |
106 |
--disable-last \ |
107 |
--disable-mesg \ |
108 |
@@ -87,6 +90,7 @@ |
109 |
--without-pam \ |
110 |
$(use_with selinux) \ |
111 |
$(use_with slang) \ |
112 |
+ $(use_enable static-libs static) \ |
113 |
$(tc-has-tls || echo --disable-tls) |
114 |
} |
115 |
|
116 |
@@ -95,14 +99,14 @@ |
117 |
dodoc AUTHORS NEWS README* TODO docs/* |
118 |
|
119 |
if ! use perl ; then #284093 |
120 |
- rm "${D}"/usr/bin/chkdupexe || die |
121 |
- rm "${D}"/usr/share/man/man1/chkdupexe.1 || die |
122 |
+ rm "${ED}"/usr/bin/chkdupexe || die |
123 |
+ rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die |
124 |
fi |
125 |
|
126 |
# need the libs in / |
127 |
gen_usr_ldscript -a blkid uuid |
128 |
# e2fsprogs-libs didnt install .la files, and .pc work fine |
129 |
- rm -f "${D}"/usr/$(get_libdir)/*.la |
130 |
+ rm -f "${ED}"/usr/$(get_libdir)/*.la |
131 |
|
132 |
if use crypt ; then |
133 |
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die |
134 |
|
135 |
|
136 |
|
137 |
1.1 sys-apps/util-linux/util-linux-2.20.ebuild |
138 |
|
139 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-2.20.ebuild?rev=1.1&view=markup |
140 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-2.20.ebuild?rev=1.1&content-type=text/plain |
141 |
|
142 |
Index: util-linux-2.20.ebuild |
143 |
=================================================================== |
144 |
# Copyright 1999-2011 Gentoo Foundation |
145 |
# Distributed under the terms of the GNU General Public License v2 |
146 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.20.ebuild,v 1.1 2011/08/29 21:25:15 vapier Exp $ |
147 |
|
148 |
EAPI="3" |
149 |
|
150 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
151 |
inherit eutils toolchain-funcs libtool flag-o-matic |
152 |
[[ ${PV} == "9999" ]] && inherit git autotools |
153 |
|
154 |
MY_PV=${PV/_/-} |
155 |
MY_P=${PN}-${MY_PV} |
156 |
S=${WORKDIR}/${MY_P} |
157 |
|
158 |
DESCRIPTION="Various useful Linux utilities" |
159 |
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/" |
160 |
if [[ ${PV} == "9999" ]] ; then |
161 |
SRC_URI="" |
162 |
#KEYWORDS="" |
163 |
else |
164 |
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.bz2 |
165 |
loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-2.19.1-20110510.diff.bz2 )" |
166 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" |
167 |
fi |
168 |
|
169 |
LICENSE="GPL-2" |
170 |
SLOT="0" |
171 |
IUSE="+cramfs crypt loop-aes ncurses nls old-linux perl selinux slang static-libs uclibc unicode" |
172 |
|
173 |
RDEPEND="!sys-process/schedutils |
174 |
!sys-apps/setarch |
175 |
!<sys-apps/sysvinit-2.88-r3 |
176 |
!<sys-libs/e2fsprogs-libs-1.41.8 |
177 |
!<sys-fs/e2fsprogs-1.41.8 |
178 |
cramfs? ( sys-libs/zlib ) |
179 |
ncurses? ( >=sys-libs/ncurses-5.2-r2 ) |
180 |
perl? ( dev-lang/perl ) |
181 |
selinux? ( sys-libs/libselinux ) |
182 |
slang? ( sys-libs/slang )" |
183 |
DEPEND="${RDEPEND} |
184 |
nls? ( sys-devel/gettext ) |
185 |
virtual/os-headers" |
186 |
|
187 |
src_prepare() { |
188 |
if [[ ${PV} == "9999" ]] ; then |
189 |
po/update-potfiles |
190 |
autopoint --force |
191 |
eautoreconf |
192 |
else |
193 |
use loop-aes && epatch "${WORKDIR}"/util-linux-*.diff |
194 |
fi |
195 |
use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c |
196 |
elibtoolize |
197 |
} |
198 |
|
199 |
lfs_fallocate_test() { |
200 |
# Make sure we can use fallocate with LFS #300307 |
201 |
cat <<-EOF > "${T}"/fallocate.c |
202 |
#define _GNU_SOURCE |
203 |
#include <fcntl.h> |
204 |
main() { return fallocate(0, 0, 0, 0); } |
205 |
EOF |
206 |
append-lfs-flags |
207 |
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \ |
208 |
|| export ac_cv_func_fallocate=no |
209 |
rm -f "${T}"/fallocate.c |
210 |
} |
211 |
|
212 |
usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; } |
213 |
src_configure() { |
214 |
lfs_fallocate_test |
215 |
econf \ |
216 |
--enable-fs-paths-extra=/usr/sbin \ |
217 |
$(use_enable nls) \ |
218 |
--enable-agetty \ |
219 |
$(use_enable cramfs) \ |
220 |
$(use_enable old-linux elvtune) \ |
221 |
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \ |
222 |
--disable-kill \ |
223 |
--disable-last \ |
224 |
--disable-mesg \ |
225 |
--enable-partx \ |
226 |
--enable-raw \ |
227 |
--enable-rename \ |
228 |
--disable-reset \ |
229 |
--disable-login-utils \ |
230 |
--enable-schedutils \ |
231 |
--disable-wall \ |
232 |
--enable-write \ |
233 |
--without-pam \ |
234 |
$(use_with selinux) \ |
235 |
$(use_with slang) \ |
236 |
$(use_enable static-libs static) \ |
237 |
$(tc-has-tls || echo --disable-tls) |
238 |
} |
239 |
|
240 |
src_install() { |
241 |
emake install DESTDIR="${D}" || die "install failed" |
242 |
dodoc AUTHORS NEWS README* TODO docs/* |
243 |
|
244 |
if ! use perl ; then #284093 |
245 |
rm "${ED}"/usr/bin/chkdupexe || die |
246 |
rm "${ED}"/usr/share/man/man1/chkdupexe.1 || die |
247 |
fi |
248 |
|
249 |
# need the libs in / |
250 |
gen_usr_ldscript -a blkid uuid |
251 |
# e2fsprogs-libs didnt install .la files, and .pc work fine |
252 |
rm -f "${ED}"/usr/$(get_libdir)/*.la |
253 |
|
254 |
if use crypt ; then |
255 |
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die |
256 |
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die |
257 |
fi |
258 |
} |