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.14.ebuild
Date: Sat, 21 Jun 2008 04:46:35
Message-Id: E1K9uzd-0001oH-Q9@stork.gentoo.org
1 vapier 08/06/21 04:46:29
2
3 Modified: ChangeLog
4 Added: util-linux-2.14.ebuild
5 Log:
6 Version bump #228061 by Conrad Kostecki.
7 (Portage version: 2.2_pre8/cvs/Linux 2.6.25 x86_64)
8
9 Revision Changes Path
10 1.240 sys-apps/util-linux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.240&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.240&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.239&r2=1.240
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v
19 retrieving revision 1.239
20 retrieving revision 1.240
21 diff -u -r1.239 -r1.240
22 --- ChangeLog 7 Jun 2008 17:46:28 -0000 1.239
23 +++ ChangeLog 21 Jun 2008 04:46:29 -0000 1.240
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/util-linux
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.239 2008/06/07 17:46:28 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.240 2008/06/21 04:46:29 vapier Exp $
29 +
30 +*util-linux-2.14 (21 Jun 2008)
31 +
32 + 21 Jun 2008; Mike Frysinger <vapier@g.o> +util-linux-2.14.ebuild:
33 + Version bump #228061 by Conrad Kostecki.
34
35 07 Jun 2008; Mike Frysinger <vapier@g.o>
36 +files/util-linux-2.13.1-no-a.out.patch, util-linux-2.13.1.1.ebuild:
37
38
39
40 1.1 sys-apps/util-linux/util-linux-2.14.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.14.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.14.ebuild?rev=1.1&content-type=text/plain
44
45 Index: util-linux-2.14.ebuild
46 ===================================================================
47 # Copyright 1999-2008 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.14.ebuild,v 1.1 2008/06/21 04:46:29 vapier Exp $
50
51 EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git"
52 inherit eutils
53 [[ ${PV} == "9999" ]] && inherit git
54
55 MY_PV=${PV/_/-}
56 MY_P=${PN}-ng-${MY_PV}
57 S=${WORKDIR}/${MY_P}
58
59 DESCRIPTION="Various useful Linux utilities"
60 HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux-ng/"
61 if [[ ${PV} == "9999" ]] ; then
62 SRC_URI=""
63 else
64 SRC_URI="http://www.kernel.org/pub/linux/utils/util-linux-ng/v${PV:0:4}/${MY_P}.tar.bz2
65 loop-aes? ( http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.2c.tar.bz2 )"
66 fi
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
71 IUSE="crypt loop-aes nls old-linux selinux slang unicode"
72
73 RDEPEND="!sys-process/schedutils
74 !sys-apps/setarch
75 >=sys-libs/ncurses-5.2-r2
76 >=sys-fs/e2fsprogs-1.34
77 selinux? ( sys-libs/libselinux )
78 slang? ( sys-libs/slang )"
79 DEPEND="${RDEPEND}
80 nls? ( sys-devel/gettext )
81 virtual/os-headers"
82
83 src_unpack() {
84 if [[ ${PV} == "9999" ]] ; then
85 git_src_unpack
86 cd "${S}"
87 ./autogen.sh || die
88 else
89 unpack ${A}
90 cd "${S}"
91 #epatch "${FILESDIR}"/${PN}-2.13-uclibc.patch #203711
92 use loop-aes && epatch "${WORKDIR}"/loop-AES-*/util-linux-ng-*.diff
93 epatch "${FILESDIR}"/${PN}-2.13.1-no-a.out.patch #221939
94 fi
95 }
96
97 src_compile() {
98 econf \
99 --with-fsprobe=blkid \
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 || die "configure failed"
122 emake || die "emake failed"
123 }
124
125 src_install() {
126 emake install DESTDIR="${D}" || die "install failed"
127 dodoc AUTHORS NEWS README* TODO docs/*
128
129 if use crypt ; then
130 newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
131 newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
132 fi
133 }
134
135 pkg_postinst() {
136 ewarn "USE=crypt has been changed to USE=loop-aes. If you need"
137 ewarn "support for it, make sure to update your USE accordingly."
138 }
139
140
141
142 --
143 gentoo-commits@l.g.o mailing list