From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/util-linux: ChangeLog util-linux-2.17.ebuild |
Date: | Fri, 08 Jan 2010 09:55:03 |
Message-Id: | E1NTBYb-0003XX-8j@stork.gentoo.org |
1 | vapier 10/01/08 09:55:01 |
2 | |
3 | Modified: ChangeLog |
4 | Added: util-linux-2.17.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.293 sys-apps/util-linux/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.293&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.293&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.292&r2=1.293 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v |
19 | retrieving revision 1.292 |
20 | retrieving revision 1.293 |
21 | diff -u -r1.292 -r1.293 |
22 | --- ChangeLog 3 Jan 2010 20:38:03 -0000 1.292 |
23 | +++ ChangeLog 8 Jan 2010 09:55:00 -0000 1.293 |
24 | @@ -1,6 +1,11 @@ |
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.292 2010/01/03 20:38:03 solar Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.293 2010/01/08 09:55:00 vapier Exp $ |
29 | + |
30 | +*util-linux-2.17 (08 Jan 2010) |
31 | + |
32 | + 08 Jan 2010; Mike Frysinger <vapier@g.o> +util-linux-2.17.ebuild: |
33 | + Version bump. |
34 | |
35 | 03 Jan 2010; <solar@g.o> util-linux-2.16.2.ebuild: |
36 | - cross compile love. default libtool files try to link with the host |
37 | |
38 | |
39 | |
40 | 1.1 sys-apps/util-linux/util-linux-2.17.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.17.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.17.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: util-linux-2.17.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2010 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.17.ebuild,v 1.1 2010/01/08 09:55:00 vapier Exp $ |
50 | |
51 | EAPI="2" |
52 | |
53 | EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git" |
54 | inherit eutils toolchain-funcs libtool |
55 | [[ ${PV} == "9999" ]] && inherit git autotools |
56 | |
57 | MY_PV=${PV/_/-} |
58 | MY_P=${PN}-ng-${MY_PV} |
59 | S=${WORKDIR}/${MY_P} |
60 | |
61 | DESCRIPTION="Various useful Linux utilities" |
62 | HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux-ng/" |
63 | if [[ ${PV} == "9999" ]] ; then |
64 | SRC_URI="" |
65 | #KEYWORDS="" |
66 | else |
67 | SRC_URI="mirror://kernel/linux/utils/util-linux-ng/v${PV:0:4}/${MY_P}.tar.bz2 |
68 | loop-aes? ( http://dev.gentoo.org/~ssuominen/${PN}-2.16.1-loop-aes.patch.bz2 )" |
69 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
70 | fi |
71 | |
72 | LICENSE="GPL-2" |
73 | SLOT="0" |
74 | IUSE="crypt loop-aes nls old-linux perl selinux slang uclibc unicode" |
75 | |
76 | RDEPEND="!sys-process/schedutils |
77 | !sys-apps/setarch |
78 | >=sys-libs/ncurses-5.2-r2 |
79 | !<sys-libs/e2fsprogs-libs-1.41.8 |
80 | !<sys-fs/e2fsprogs-1.41.8 |
81 | perl? ( dev-lang/perl ) |
82 | selinux? ( sys-libs/libselinux ) |
83 | slang? ( sys-libs/slang )" |
84 | DEPEND="${RDEPEND} |
85 | nls? ( sys-devel/gettext ) |
86 | virtual/os-headers" |
87 | |
88 | src_prepare() { |
89 | if [[ ${PV} == "9999" ]] ; then |
90 | autopoint --force |
91 | eautoreconf |
92 | else |
93 | use loop-aes && epatch "${WORKDIR}"/${PN}-2.16.1-loop-aes.patch |
94 | fi |
95 | use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c |
96 | elibtoolize |
97 | } |
98 | |
99 | src_configure() { |
100 | econf \ |
101 | $(use_enable nls) \ |
102 | --enable-agetty \ |
103 | --enable-cramfs \ |
104 | $(use_enable old-linux elvtune) \ |
105 | --disable-init \ |
106 | --disable-kill \ |
107 | --disable-last \ |
108 | --disable-mesg \ |
109 | --enable-partx \ |
110 | --enable-raw \ |
111 | --enable-rdev \ |
112 | --enable-rename \ |
113 | --disable-reset \ |
114 | --disable-login-utils \ |
115 | --enable-schedutils \ |
116 | --disable-wall \ |
117 | --enable-write \ |
118 | --without-pam \ |
119 | $(use unicode || echo --with-ncurses) \ |
120 | $(use_with selinux) \ |
121 | $(use_with slang) \ |
122 | $(tc-has-tls || echo --disable-tls) |
123 | } |
124 | |
125 | src_install() { |
126 | emake install DESTDIR="${D}" || die "install failed" |
127 | dodoc AUTHORS NEWS README* TODO docs/* |
128 | |
129 | if ! use perl ; then #284093 |
130 | rm "${D}"/usr/bin/chkdupexe || die |
131 | rm "${D}"/usr/share/man/man1/chkdupexe.1 || die |
132 | fi |
133 | |
134 | # need the libs in / |
135 | gen_usr_ldscript -a blkid uuid |
136 | # e2fsprogs-libs didnt install .la files, and .pc work fine |
137 | rm -f "${D}"/usr/$(get_libdir)/*.la |
138 | |
139 | if use crypt ; then |
140 | newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die |
141 | newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die |
142 | fi |
143 | } |