Gentoo Archives: gentoo-commits

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.1.ebuild
Date: Mon, 07 Sep 2009 13:41:17
Message-Id: E1MkeT4-00008r-La@stork.gentoo.org
1 vapier 09/09/07 13:41:14
2
3 Modified: ChangeLog
4 Added: util-linux-2.16.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.276 sys-apps/util-linux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.276&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.276&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.275&r2=1.276
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v
19 retrieving revision 1.275
20 retrieving revision 1.276
21 diff -u -r1.275 -r1.276
22 --- ChangeLog 16 Aug 2009 18:33:27 -0000 1.275
23 +++ ChangeLog 7 Sep 2009 13:41:14 -0000 1.276
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.275 2009/08/16 18:33:27 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.276 2009/09/07 13:41:14 vapier Exp $
29 +
30 +*util-linux-2.16.1 (07 Sep 2009)
31 +
32 + 07 Sep 2009; Mike Frysinger <vapier@g.o> +util-linux-2.16.1.ebuild:
33 + Version bump.
34
35 *util-linux-2.16-r1 (16 Aug 2009)
36
37
38
39
40 1.1 sys-apps/util-linux/util-linux-2.16.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.16.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.16.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: util-linux-2.16.1.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.1.ebuild,v 1.1 2009/09/07 13:41:14 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://loop-aes.sourceforge.net/updates/util-linux-ng-2.16-20090725.diff.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 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 selinux? ( sys-libs/libselinux )
82 slang? ( sys-libs/slang )"
83 DEPEND="${RDEPEND}
84 nls? ( sys-devel/gettext )
85 virtual/os-headers"
86
87 src_prepare() {
88 if [[ ${PV} == "9999" ]] ; then
89 autopoint --force
90 eautoreconf
91 else
92 use loop-aes && epatch "${WORKDIR}"/util-linux-ng-*.diff
93 fi
94 use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c
95 }
96
97 src_configure() {
98 econf \
99 $(use_enable nls) \
100 --enable-agetty \
101 --enable-cramfs \
102 $(use_enable old-linux elvtune) \
103 --disable-init \
104 --disable-kill \
105 --disable-last \
106 --disable-mesg \
107 --enable-partx \
108 --enable-raw \
109 --enable-rdev \
110 --enable-rename \
111 --disable-reset \
112 --disable-login-utils \
113 --enable-schedutils \
114 --disable-wall \
115 --enable-write \
116 --without-pam \
117 $(use unicode || echo --with-ncurses) \
118 $(use_with selinux) \
119 $(use_with slang)
120 }
121
122 src_install() {
123 emake install DESTDIR="${D}" || die "install failed"
124 dodoc AUTHORS NEWS README* TODO docs/*
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
131 if use crypt ; then
132 newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
133 newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
134 fi
135 }