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.23.2-r2.ebuild ChangeLog
Date: Sun, 29 Sep 2013 01:42:05
Message-Id: 20130929014159.2020B2004C@flycatcher.gentoo.org
1 vapier 13/09/29 01:41:59
2
3 Modified: ChangeLog
4 Added: util-linux-2.23.2-r2.ebuild
5 Log:
6 Re-disable USE=tty-helpers by default and add an elog #483798 by Allen Parker.
7
8 (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
9
10 Revision Changes Path
11 1.438 sys-apps/util-linux/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.438&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.438&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.437&r2=1.438
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v
20 retrieving revision 1.437
21 retrieving revision 1.438
22 diff -u -r1.437 -r1.438
23 --- ChangeLog 29 Sep 2013 01:20:15 -0000 1.437
24 +++ ChangeLog 29 Sep 2013 01:41:58 -0000 1.438
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/util-linux
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.437 2013/09/29 01:20:15 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.438 2013/09/29 01:41:58 vapier Exp $
30 +
31 +*util-linux-2.23.2-r2 (29 Sep 2013)
32 +
33 + 29 Sep 2013; Mike Frysinger <vapier@g.o> +util-linux-2.23.2-r2.ebuild:
34 + Re-disable USE=tty-helpers by default and add an elog #483798 by Allen Parker.
35
36 29 Sep 2013; Mike Frysinger <vapier@g.o> metadata.xml,
37 util-linux-2.23.2-r1.ebuild:
38
39
40
41 1.1 sys-apps/util-linux/util-linux-2.23.2-r2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-2.23.2-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-2.23.2-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: util-linux-2.23.2-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.23.2-r2.ebuild,v 1.1 2013/09/29 01:41:58 vapier Exp $
51
52 EAPI="4"
53 inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1
54
55 MY_PV=${PV/_/-}
56 MY_P=${PN}-${MY_PV}
57
58 if [[ ${PV} == 9999 ]] ; then
59 inherit git-2 autotools
60 EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
61 else
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
63 SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
64 fi
65
66 DESCRIPTION="Various useful Linux utilities"
67 HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
68
69 LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
70 SLOT="0"
71 IUSE="bash-completion caps +cramfs cytune fdformat ncurses nls old-linux pam selinux slang static-libs +suid test tty-helpers udev unicode"
72
73 RDEPEND="!sys-process/schedutils
74 !sys-apps/setarch
75 !<sys-apps/sysvinit-2.88-r5
76 !sys-block/eject
77 !<sys-libs/e2fsprogs-libs-1.41.8
78 !<sys-fs/e2fsprogs-1.41.8
79 !<app-shells/bash-completion-1.3-r2
80 caps? ( sys-libs/libcap-ng )
81 cramfs? ( sys-libs/zlib )
82 ncurses? ( >=sys-libs/ncurses-5.2-r2 )
83 pam? ( sys-libs/pam )
84 selinux? ( sys-libs/libselinux )
85 slang? ( sys-libs/slang )
86 udev? ( virtual/udev )"
87 DEPEND="${RDEPEND}
88 virtual/pkgconfig
89 nls? ( sys-devel/gettext )
90 test? ( sys-devel/bc )
91 virtual/os-headers"
92
93 S=${WORKDIR}/${MY_P}
94
95 src_prepare() {
96 if [[ ${PV} == 9999 ]] ; then
97 po/update-potfiles
98 eautoreconf
99 fi
100 elibtoolize
101 }
102
103 lfs_fallocate_test() {
104 # Make sure we can use fallocate with LFS #300307
105 cat <<-EOF > "${T}"/fallocate.c
106 #define _GNU_SOURCE
107 #include <fcntl.h>
108 main() { return fallocate(0, 0, 0, 0); }
109 EOF
110 append-lfs-flags
111 $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.c -o /dev/null >/dev/null 2>&1 \
112 || export ac_cv_func_fallocate=no
113 rm -f "${T}"/fallocate.c
114 }
115
116 src_configure() {
117 lfs_fallocate_test
118 export ac_cv_header_security_pam_misc_h=$(usex pam) #485486
119 econf \
120 --enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin \
121 $(use_enable nls) \
122 --enable-agetty \
123 --with-bashcompletiondir="$(get_bashcompdir)" \
124 $(use_enable bash-completion) \
125 $(use_enable caps setpriv) \
126 $(use_enable cramfs) \
127 $(use_enable cytune) \
128 $(use_enable fdformat) \
129 $(use_enable old-linux elvtune) \
130 --with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \
131 --disable-kill \
132 --disable-last \
133 --disable-login \
134 $(use_enable tty-helpers mesg) \
135 --enable-partx \
136 --enable-raw \
137 --enable-rename \
138 --disable-reset \
139 --enable-schedutils \
140 --disable-su \
141 $(use_enable tty-helpers wall) \
142 $(use_enable tty-helpers write) \
143 $(use_enable suid makeinstall-chown) \
144 $(use_enable suid makeinstall-setuid) \
145 $(use_with selinux) \
146 $(use_with slang) \
147 $(use_enable static-libs static) \
148 $(use_with udev) \
149 $(tc-has-tls || echo --disable-tls)
150 }
151
152 src_install() {
153 default
154 dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*}
155
156 # need the libs in /
157 gen_usr_ldscript -a blkid mount uuid
158
159 # e2fsprogs-libs didnt install .la files, and .pc work fine
160 prune_libtool_files
161 }
162
163 pkg_postinst() {
164 if ! use tty-helpers; then
165 elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers."
166 fi
167
168 if [[ -z ${REPLACING_VERSIONS} ]]; then
169 elog "The agetty util now clears the terminal by default. You"
170 elog "might want to add --noclear to your /etc/inittab lines."
171 fi
172 }