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.13.1.1.ebuild
Date: Mon, 21 Apr 2008 23:51:06
Message-Id: E1Jo5mq-0001QB-9H@stork.gentoo.org
1 vapier 08/04/21 23:51:04
2
3 Modified: ChangeLog
4 Added: util-linux-2.13.1.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_pre5)
8
9 Revision Changes Path
10 1.232 sys-apps/util-linux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.232&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.232&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.231&r2=1.232
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v
19 retrieving revision 1.231
20 retrieving revision 1.232
21 diff -u -r1.231 -r1.232
22 --- ChangeLog 31 Mar 2008 03:08:54 -0000 1.231
23 +++ ChangeLog 21 Apr 2008 23:51:03 -0000 1.232
24 @@ -1,6 +1,12 @@
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.231 2008/03/31 03:08:54 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.232 2008/04/21 23:51:03 vapier Exp $
29 +
30 +*util-linux-2.13.1.1 (21 Apr 2008)
31 +
32 + 21 Apr 2008; Mike Frysinger <vapier@g.o>
33 + +util-linux-2.13.1.1.ebuild:
34 + Version bump.
35
36 31 Mar 2008; Jeroen Roovers <jer@g.o> util-linux-2.13.1.ebuild:
37 Stable for HPPA (bug #215371).
38
39
40
41 1.1 sys-apps/util-linux/util-linux-2.13.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.13.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.13.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: util-linux-2.13.1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.13.1.1.ebuild,v 1.1 2008/04/21 23:51:03 vapier Exp $
51
52 EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git"
53 inherit eutils
54 [[ ${PV} == "9999" ]] && inherit git
55
56 MY_PV=${PV/_/-}
57 MY_P=${PN}-ng-${MY_PV}
58 S=${WORKDIR}/${MY_P}
59
60 DESCRIPTION="Various useful Linux utilities"
61 HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux-ng/"
62 if [[ ${PV} == "9999" ]] ; then
63 SRC_URI=""
64 else
65 SRC_URI="http://www.kernel.org/pub/linux/utils/util-linux-ng/v${PV:0:4}/${MY_P}.tar.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}"/loop-AES-*/util-linux-ng-*.diff
94 use unicode && sed -i 's:-lncurses:-lncursesw:' */Makefile.in #208976
95 epatch "${FILESDIR}"/${PN}-2.13-ioprio-syscalls.patch #190613
96 fi
97 }
98
99 src_compile() {
100 econf \
101 --with-fsprobe=blkid \
102 $(use_enable nls) \
103 --enable-agetty \
104 --enable-cramfs \
105 $(use_enable old-linux elvtune) \
106 --disable-init \
107 --disable-kill \
108 --disable-last \
109 --disable-mesg \
110 --enable-partx \
111 --enable-raw \
112 --enable-rdev \
113 --enable-rename \
114 --disable-reset \
115 --disable-login-utils \
116 --enable-schedutils \
117 --disable-wall \
118 --enable-write \
119 --without-pam \
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 }
140
141
142
143 --
144 gentoo-commits@l.g.o mailing list