1 |
polynomial-c 13/10/29 20:25:08 |
2 |
|
3 |
Modified: ChangeLog util-linux-9999.ebuild |
4 |
util-linux-2.24.ebuild |
5 |
Log: |
6 |
Moved 2.24 ebuild to EAPI-5. Synced 9999 ebuild with 2.24 version |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
9 |
|
10 |
Revision Changes Path |
11 |
1.440 sys-apps/util-linux/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.440&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?rev=1.440&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/ChangeLog?r1=1.439&r2=1.440 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v |
20 |
retrieving revision 1.439 |
21 |
retrieving revision 1.440 |
22 |
diff -u -r1.439 -r1.440 |
23 |
--- ChangeLog 28 Oct 2013 22:13:54 -0000 1.439 |
24 |
+++ ChangeLog 29 Oct 2013 20:25:08 -0000 1.440 |
25 |
@@ -1,6 +1,10 @@ |
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.439 2013/10/28 22:13:54 polynomial-c Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.440 2013/10/29 20:25:08 polynomial-c Exp $ |
30 |
+ |
31 |
+ 29 Oct 2013; Lars Wendler <polynomial-c@g.o> util-linux-2.24.ebuild, |
32 |
+ util-linux-9999.ebuild: |
33 |
+ Moved 2.24 ebuild to EAPI-5. Synced 9999 ebuild with 2.24 version. |
34 |
|
35 |
*util-linux-2.24 (28 Oct 2013) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.47 sys-apps/util-linux/util-linux-9999.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild?rev=1.47&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild?rev=1.47&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild?r1=1.46&r2=1.47 |
45 |
|
46 |
Index: util-linux-9999.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v |
49 |
retrieving revision 1.46 |
50 |
retrieving revision 1.47 |
51 |
diff -u -r1.46 -r1.47 |
52 |
--- util-linux-9999.ebuild 7 Aug 2013 22:49:56 -0000 1.46 |
53 |
+++ util-linux-9999.ebuild 29 Oct 2013 20:25:08 -0000 1.47 |
54 |
@@ -1,9 +1,12 @@ |
55 |
# Copyright 1999-2013 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v 1.46 2013/08/07 22:49:56 radhermit Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v 1.47 2013/10/29 20:25:08 polynomial-c Exp $ |
59 |
|
60 |
-EAPI="4" |
61 |
-inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 |
62 |
+EAPI=5 |
63 |
+ |
64 |
+PYTHON_COMPAT=( python2_7 python3_{2,3} ) |
65 |
+ |
66 |
+inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 python-single-r1 |
67 |
|
68 |
MY_PV=${PV/_/-} |
69 |
MY_P=${PN}-${MY_PV} |
70 |
@@ -21,7 +24,7 @@ |
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 old-linux selinux slang static-libs +suid test tty-helpers udev unicode" |
75 |
+IUSE="bash-completion caps +cramfs cytune fdformat ncurses nls pam python selinux slang static-libs +suid test tty-helpers udev unicode" |
76 |
|
77 |
RDEPEND="!sys-process/schedutils |
78 |
!sys-apps/setarch |
79 |
@@ -33,6 +36,8 @@ |
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 |
+ python? ( ${PYTHON_DEPS} ) |
85 |
selinux? ( sys-libs/libselinux ) |
86 |
slang? ( sys-libs/slang ) |
87 |
udev? ( virtual/udev )" |
88 |
@@ -42,6 +47,8 @@ |
89 |
test? ( sys-devel/bc ) |
90 |
virtual/os-headers" |
91 |
|
92 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
93 |
+ |
94 |
S=${WORKDIR}/${MY_P} |
95 |
|
96 |
src_prepare() { |
97 |
@@ -67,6 +74,7 @@ |
98 |
|
99 |
src_configure() { |
100 |
lfs_fallocate_test |
101 |
+ export ac_cv_header_security_pam_misc_h=$(usex pam) #485486 |
102 |
econf \ |
103 |
--enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin \ |
104 |
$(use_enable nls) \ |
105 |
@@ -77,13 +85,14 @@ |
106 |
$(use_enable cramfs) \ |
107 |
$(use_enable cytune) \ |
108 |
$(use_enable fdformat) \ |
109 |
- $(use_enable old-linux elvtune) \ |
110 |
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \ |
111 |
--disable-kill \ |
112 |
--disable-last \ |
113 |
--disable-login \ |
114 |
$(use_enable tty-helpers mesg) \ |
115 |
+ --disable-nologin \ |
116 |
--enable-partx \ |
117 |
+ $(use_with python) \ |
118 |
--enable-raw \ |
119 |
--enable-rename \ |
120 |
--disable-reset \ |
121 |
@@ -104,6 +113,8 @@ |
122 |
default |
123 |
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |
124 |
|
125 |
+ use python && python_optimize |
126 |
+ |
127 |
# need the libs in / |
128 |
gen_usr_ldscript -a blkid mount uuid |
129 |
|
130 |
@@ -112,6 +123,10 @@ |
131 |
} |
132 |
|
133 |
pkg_postinst() { |
134 |
+ if ! use tty-helpers; then |
135 |
+ elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers." |
136 |
+ fi |
137 |
+ |
138 |
if [[ -z ${REPLACING_VERSIONS} ]]; then |
139 |
elog "The agetty util now clears the terminal by default. You" |
140 |
elog "might want to add --noclear to your /etc/inittab lines." |
141 |
|
142 |
|
143 |
|
144 |
1.2 sys-apps/util-linux/util-linux-2.24.ebuild |
145 |
|
146 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-2.24.ebuild?rev=1.2&view=markup |
147 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-2.24.ebuild?rev=1.2&content-type=text/plain |
148 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/util-linux/util-linux-2.24.ebuild?r1=1.1&r2=1.2 |
149 |
|
150 |
Index: util-linux-2.24.ebuild |
151 |
=================================================================== |
152 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.24.ebuild,v |
153 |
retrieving revision 1.1 |
154 |
retrieving revision 1.2 |
155 |
diff -u -r1.1 -r1.2 |
156 |
--- util-linux-2.24.ebuild 28 Oct 2013 22:13:54 -0000 1.1 |
157 |
+++ util-linux-2.24.ebuild 29 Oct 2013 20:25:08 -0000 1.2 |
158 |
@@ -1,8 +1,8 @@ |
159 |
# Copyright 1999-2013 Gentoo Foundation |
160 |
# Distributed under the terms of the GNU General Public License v2 |
161 |
-# $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 $ |
162 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.24.ebuild,v 1.2 2013/10/29 20:25:08 polynomial-c Exp $ |
163 |
|
164 |
-EAPI=4 |
165 |
+EAPI=5 |
166 |
|
167 |
PYTHON_COMPAT=( python2_7 python3_{2,3} ) |