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.16.2.ebuild |
Date: | Mon, 30 Nov 2009 23:52:55 |
Message-Id: | E1NFG32-0002CS-3J@stork.gentoo.org |
1 | vapier 09/11/30 23:52:52 |
2 | |
3 | Modified: ChangeLog |
4 | Added: util-linux-2.16.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.2_rc51/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.289 sys-apps/util-linux/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.289&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.289&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.288&r2=1.289 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v |
19 | retrieving revision 1.288 |
20 | retrieving revision 1.289 |
21 | diff -u -r1.288 -r1.289 |
22 | --- ChangeLog 29 Nov 2009 21:30:16 -0000 1.288 |
23 | +++ ChangeLog 30 Nov 2009 23:52:51 -0000 1.289 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for sys-apps/util-linux |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.288 2009/11/29 21:30:16 josejx Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.289 2009/11/30 23:52:51 vapier Exp $ |
29 | + |
30 | +*util-linux-2.16.2 (30 Nov 2009) |
31 | + |
32 | + 30 Nov 2009; Mike Frysinger <vapier@g.o> +util-linux-2.16.2.ebuild: |
33 | + Version bump. |
34 | |
35 | 29 Nov 2009; Joseph Jezak <josejx@g.o> util-linux-2.16.1.ebuild: |
36 | Marked ppc stable for bug #284744. |
37 | |
38 | |
39 | |
40 | 1.1 sys-apps/util-linux/util-linux-2.16.2.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.16.2.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.16.2.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: util-linux-2.16.2.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 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.16.2.ebuild,v 1.1 2009/11/30 23:52:51 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 |
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 | } |
97 | |
98 | src_configure() { |
99 | econf \ |
100 | $(use_enable nls) \ |
101 | --enable-agetty \ |
102 | --enable-cramfs \ |
103 | $(use_enable old-linux elvtune) \ |
104 | --disable-init \ |
105 | --disable-kill \ |
106 | --disable-last \ |
107 | --disable-mesg \ |
108 | --enable-partx \ |
109 | --enable-raw \ |
110 | --enable-rdev \ |
111 | --enable-rename \ |
112 | --disable-reset \ |
113 | --disable-login-utils \ |
114 | --enable-schedutils \ |
115 | --disable-wall \ |
116 | --enable-write \ |
117 | --without-pam \ |
118 | $(use unicode || echo --with-ncurses) \ |
119 | $(use_with selinux) \ |
120 | $(use_with slang) |
121 | } |
122 | |
123 | src_install() { |
124 | emake install DESTDIR="${D}" || die "install failed" |
125 | dodoc AUTHORS NEWS README* TODO docs/* |
126 | |
127 | if ! use perl ; then #284093 |
128 | rm "${D}"/usr/bin/chkdupexe || die |
129 | rm "${D}"/usr/share/man/man1/chkdupexe.1 || die |
130 | fi |
131 | |
132 | # need the libs in / |
133 | gen_usr_ldscript -a blkid uuid |
134 | # e2fsprogs-libs didnt install .la files, and .pc work fine |
135 | rm -f "${D}"/usr/$(get_libdir)/*.la |
136 | |
137 | if use crypt ; then |
138 | newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die |
139 | newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die |
140 | fi |
141 | } |