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