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.1.ebuild
Date: Mon, 20 Oct 2008 07:23:33
Message-Id: E1Krp6w-0002TS-VL@stork.gentoo.org
1 vapier 08/10/20 07:23:30
2
3 Modified: ChangeLog
4 Added: util-linux-2.14.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26.2 x86_64)
8
9 Revision Changes Path
10 1.243 sys-apps/util-linux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.243&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.243&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.242&r2=1.243
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v
19 retrieving revision 1.242
20 retrieving revision 1.243
21 diff -u -r1.242 -r1.243
22 --- ChangeLog 23 Aug 2008 06:28:29 -0000 1.242
23 +++ ChangeLog 20 Oct 2008 07:23:30 -0000 1.243
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.242 2008/08/23 06:28:29 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.243 2008/10/20 07:23:30 vapier Exp $
29 +
30 +*util-linux-2.14.1 (20 Oct 2008)
31 +
32 + 20 Oct 2008; Mike Frysinger <vapier@g.o> +util-linux-2.14.1.ebuild:
33 + Version bump.
34
35 23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
36 add GLEP 56 USE flag desc from use.local.desc
37
38
39
40 1.1 sys-apps/util-linux/util-linux-2.14.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.14.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.14.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: util-linux-2.14.1.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.1.ebuild,v 1.1 2008/10/20 07:23:30 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/updates/util-linux-ng-2.14-20080624.diff.bz2 )"
66 # loop-aes? ( http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.2c.tar.bz2 )"
67 fi
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
72 IUSE="crypt loop-aes nls old-linux selinux slang unicode"
73
74 RDEPEND="!sys-process/schedutils
75 !sys-apps/setarch
76 >=sys-libs/ncurses-5.2-r2
77 >=sys-fs/e2fsprogs-1.34
78 selinux? ( sys-libs/libselinux )
79 slang? ( sys-libs/slang )"
80 DEPEND="${RDEPEND}
81 nls? ( sys-devel/gettext )
82 virtual/os-headers"
83
84 src_unpack() {
85 if [[ ${PV} == "9999" ]] ; then
86 git_src_unpack
87 cd "${S}"
88 ./autogen.sh || die
89 else
90 unpack ${A}
91 cd "${S}"
92 #epatch "${FILESDIR}"/${PN}-2.13-uclibc.patch #203711
93 use loop-aes && epatch "${WORKDIR}"/util-linux-ng-2.14-20080624.diff
94 epatch "${FILESDIR}"/${PN}-2.13.1-no-a.out.patch #221939
95 fi
96 }
97
98 src_compile() {
99 econf \
100 --with-fsprobe=blkid \
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 || die "configure failed"
123 emake || die "emake failed"
124 }
125
126 src_install() {
127 emake install DESTDIR="${D}" || die "install failed"
128 dodoc AUTHORS NEWS README* TODO docs/*
129
130 if use crypt ; then
131 newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
132 newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
133 fi
134 }
135
136 pkg_postinst() {
137 ewarn "USE=crypt has been changed to USE=loop-aes. If you need"
138 ewarn "support for it, make sure to update your USE accordingly."
139 }