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