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: util-linux-2.17-r1.ebuild ChangeLog
Date: Tue, 09 Feb 2010 01:55:14
Message-Id: E1NefJo-0007C0-K3@stork.gentoo.org
1 vapier 10/02/09 01:55:12
2
3 Modified: ChangeLog
4 Added: util-linux-2.17-r1.ebuild
5 Log:
6 Add fix from upstream for blkid segfaults #301787 by Alec M.
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.300 sys-apps/util-linux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.300&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.300&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.299&r2=1.300
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v
19 retrieving revision 1.299
20 retrieving revision 1.300
21 diff -u -r1.299 -r1.300
22 --- ChangeLog 9 Feb 2010 01:54:23 -0000 1.299
23 +++ ChangeLog 9 Feb 2010 01:55:11 -0000 1.300
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sys-apps/util-linux
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.299 2010/02/09 01:54:23 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.300 2010/02/09 01:55:11 vapier Exp $
29 +
30 +*util-linux-2.17-r1 (09 Feb 2010)
31 +
32 + 09 Feb 2010; Mike Frysinger <vapier@g.o>
33 + +files/0001-libblkid-fix-segfault-in-drdb.patch,
34 + +util-linux-2.17-r1.ebuild:
35 + Add fix from upstream for blkid segfaults #301787 by Alec M.
36
37 09 Feb 2010; Mike Frysinger <vapier@g.o> util-linux-2.16.2.ebuild:
38 Mark alpha/ia64/s390/sh stable #301179.
39
40
41
42 1.1 sys-apps/util-linux/util-linux-2.17-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.17-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/util-linux-2.17-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: util-linux-2.17-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.17-r1.ebuild,v 1.1 2010/02/09 01:55:11 vapier Exp $
52
53 EAPI="2"
54
55 EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git"
56 inherit eutils toolchain-funcs libtool
57 [[ ${PV} == "9999" ]] && inherit git autotools
58
59 MY_PV=${PV/_/-}
60 MY_P=${PN}-ng-${MY_PV}
61 S=${WORKDIR}/${MY_P}
62
63 DESCRIPTION="Various useful Linux utilities"
64 HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux-ng/"
65 if [[ ${PV} == "9999" ]] ; then
66 SRC_URI=""
67 #KEYWORDS=""
68 else
69 SRC_URI="mirror://kernel/linux/utils/util-linux-ng/v${PV:0:4}/${MY_P}.tar.bz2
70 loop-aes? ( http://loop-aes.sourceforge.net/updates/util-linux-ng-2.17-20100120.diff.bz2 )"
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
72 fi
73
74 LICENSE="GPL-2"
75 SLOT="0"
76 IUSE="crypt loop-aes nls old-linux perl selinux slang uclibc unicode"
77
78 RDEPEND="!sys-process/schedutils
79 !sys-apps/setarch
80 >=sys-libs/ncurses-5.2-r2
81 !<sys-libs/e2fsprogs-libs-1.41.8
82 !<sys-fs/e2fsprogs-1.41.8
83 perl? ( dev-lang/perl )
84 selinux? ( sys-libs/libselinux )
85 slang? ( sys-libs/slang )"
86 DEPEND="${RDEPEND}
87 nls? ( sys-devel/gettext )
88 virtual/os-headers"
89
90 src_prepare() {
91 if [[ ${PV} == "9999" ]] ; then
92 autopoint --force
93 eautoreconf
94 else
95 use loop-aes && epatch "${WORKDIR}"/util-linux-ng-*.diff
96 fi
97 epatch "${FILESDIR}"/0001-libblkid-fix-segfault-in-drdb.patch #301787
98 use uclibc && sed -i -e s/versionsort/alphasort/g -e s/strverscmp.h/dirent.h/g mount/lomount.c
99 elibtoolize
100 }
101
102 src_configure() {
103 econf \
104 $(use_enable nls) \
105 --enable-agetty \
106 --enable-cramfs \
107 $(use_enable old-linux elvtune) \
108 --disable-init \
109 --disable-kill \
110 --disable-last \
111 --disable-mesg \
112 --enable-partx \
113 --enable-raw \
114 --enable-rdev \
115 --enable-rename \
116 --disable-reset \
117 --disable-login-utils \
118 --enable-schedutils \
119 --disable-wall \
120 --enable-write \
121 --without-pam \
122 $(use unicode || echo --with-ncurses) \
123 $(use_with selinux) \
124 $(use_with slang) \
125 $(tc-has-tls || echo --disable-tls)
126 }
127
128 src_install() {
129 emake install DESTDIR="${D}" || die "install failed"
130 dodoc AUTHORS NEWS README* TODO docs/*
131
132 if ! use perl ; then #284093
133 rm "${D}"/usr/bin/chkdupexe || die
134 rm "${D}"/usr/share/man/man1/chkdupexe.1 || die
135 fi
136
137 # need the libs in /
138 gen_usr_ldscript -a blkid uuid
139 # e2fsprogs-libs didnt install .la files, and .pc work fine
140 rm -f "${D}"/usr/$(get_libdir)/*.la
141
142 if use crypt ; then
143 newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die
144 newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die
145 fi
146 }