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