1 |
ssuominen 13/05/17 13:50:18 |
2 |
|
3 |
Modified: ChangeLog udev-9999.ebuild |
4 |
Log: |
5 |
revert |
6 |
|
7 |
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.917 sys-fs/udev/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.917&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.917&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.916&r2=1.917 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v |
19 |
retrieving revision 1.916 |
20 |
retrieving revision 1.917 |
21 |
diff -u -r1.916 -r1.917 |
22 |
--- ChangeLog 17 May 2013 13:44:44 -0000 1.916 |
23 |
+++ ChangeLog 17 May 2013 13:50:18 -0000 1.917 |
24 |
@@ -1,11 +1,6 @@ |
25 |
# ChangeLog for sys-fs/udev |
26 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.916 2013/05/17 13:44:44 ssuominen Exp $ |
28 |
- |
29 |
- 17 May 2013; Samuli Suominen <ssuominen@g.o> udev-9999.ebuild, |
30 |
- +files/logind, metadata.xml: |
31 |
- Initial commit of USE="logind" wrt #461940. For example, manpages are known |
32 |
- to be missing. |
33 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.917 2013/05/17 13:50:18 ssuominen Exp $ |
34 |
|
35 |
15 May 2013; Samuli Suominen <ssuominen@g.o> -udev-202.ebuild, |
36 |
-udev-203.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.228 sys-fs/udev/udev-9999.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.228&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.228&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.227&r2=1.228 |
45 |
|
46 |
Index: udev-9999.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v |
49 |
retrieving revision 1.227 |
50 |
retrieving revision 1.228 |
51 |
diff -u -r1.227 -r1.228 |
52 |
--- udev-9999.ebuild 17 May 2013 13:44:44 -0000 1.227 |
53 |
+++ udev-9999.ebuild 17 May 2013 13:50:18 -0000 1.228 |
54 |
@@ -1,6 +1,6 @@ |
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-fs/udev/udev-9999.ebuild,v 1.227 2013/05/17 13:44:44 ssuominen Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.228 2013/05/17 13:50:18 ssuominen Exp $ |
59 |
|
60 |
EAPI=5 |
61 |
|
62 |
@@ -11,7 +11,7 @@ |
63 |
KV_min=2.6.32 |
64 |
fi |
65 |
|
66 |
-inherit autotools eutils linux-info multilib pam toolchain-funcs versionator |
67 |
+inherit autotools eutils linux-info multilib toolchain-funcs versionator |
68 |
|
69 |
if [[ ${PV} = 9999* ]]; then |
70 |
EGIT_REPO_URI="git://anongit.freedesktop.org/systemd/systemd" |
71 |
@@ -32,21 +32,14 @@ |
72 |
|
73 |
LICENSE="LGPL-2.1 MIT GPL-2" |
74 |
SLOT="0" |
75 |
-IUSE="acl audit doc +firmware-loader gudev hwdb introspection logind keymap +kmod +openrc pam selinux static-libs" |
76 |
+IUSE="acl doc +firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux static-libs" |
77 |
|
78 |
RESTRICT="test" |
79 |
|
80 |
COMMON_DEPEND=">=sys-apps/util-linux-2.20 |
81 |
+ acl? ( sys-apps/acl ) |
82 |
gudev? ( >=dev-libs/glib-2 ) |
83 |
introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) |
84 |
- logind? ( |
85 |
- sys-apps/dbus |
86 |
- sys-auth/polkit |
87 |
- sys-libs/libcap |
88 |
- acl? ( sys-apps/acl ) |
89 |
- audit? ( >=sys-process/audit-2 ) |
90 |
- pam? ( virtual/pam ) |
91 |
- ) |
92 |
kmod? ( >=sys-apps/kmod-13 ) |
93 |
selinux? ( >=sys-libs/libselinux-2.1.9 ) |
94 |
!<sys-libs/glibc-2.11 |
95 |
@@ -60,8 +53,7 @@ |
96 |
virtual/pkgconfig |
97 |
!<sys-kernel/linux-headers-${KV_min} |
98 |
doc? ( >=dev-util/gtk-doc-1.18 ) |
99 |
- keymap? ( dev-util/gperf ) |
100 |
- logind? ( dev-util/gperf )" |
101 |
+ keymap? ( dev-util/gperf )" |
102 |
|
103 |
if [[ ${PV} = 9999* ]]; then |
104 |
DEPEND="${DEPEND} |
105 |
@@ -85,7 +77,7 @@ |
106 |
|
107 |
S=${WORKDIR}/systemd-${PV} |
108 |
|
109 |
-QA_MULTILIB_PATHS="lib/systemd/.*" |
110 |
+#QA_MULTILIB_PATHS="lib/systemd/systemd-udevd" |
111 |
|
112 |
udev_check_KV() { |
113 |
if kernel_is lt ${KV_min//./ }; then |
114 |
@@ -109,8 +101,6 @@ |
115 |
|
116 |
pkg_setup() { |
117 |
CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL" |
118 |
- # check me from console login using pam module -> required just like for pam_ck_connector.so.? |
119 |
- # use logind && CONFIG_CHECK++=" ~AUDITSYSCALL" |
120 |
|
121 |
linux-info_pkg_setup |
122 |
|
123 |
@@ -203,69 +193,58 @@ |
124 |
|
125 |
src_configure() { |
126 |
tc-export CC #463846 |
127 |
- use keymap || { use logind || export ac_cv_prog_ac_ct_GPERF=true; } #452760 |
128 |
+ use keymap || export ac_cv_prog_ac_ct_GPERF=true #452760 |
129 |
|
130 |
local econf_args |
131 |
|
132 |
econf_args=( |
133 |
- --libdir="/usr/$(get_libdir)" |
134 |
+ ac_cv_search_cap_init= |
135 |
+ ac_cv_header_sys_capability_h=yes |
136 |
+ DBUS_CFLAGS=' ' |
137 |
+ DBUS_LIBS=' ' |
138 |
+ --bindir=/bin |
139 |
--docdir=/usr/share/doc/${PF} |
140 |
- $(use_enable static-libs static) |
141 |
- --disable-nls |
142 |
- $(use_enable doc gtk-doc) |
143 |
- $(use_enable kmod) |
144 |
- --disable-ima |
145 |
- $(use_enable selinux) |
146 |
- --disable-xz |
147 |
- --disable-tcpwrap |
148 |
- --disable-pam |
149 |
- --disable-acl |
150 |
+ --libdir=/usr/$(get_libdir) |
151 |
+ --with-html-dir=/usr/share/doc/${PF}/html |
152 |
+ --with-rootprefix= |
153 |
+ --with-rootlibdir=/$(get_libdir) |
154 |
+ --with-bashcompletiondir=/usr/share/bash-completion |
155 |
+ --without-python |
156 |
--disable-audit |
157 |
+ --disable-coredump |
158 |
+ --disable-hostnamed |
159 |
+ --disable-ima |
160 |
--disable-libcryptsetup |
161 |
- --disable-readahead |
162 |
- --disable-quotacheck |
163 |
+ --disable-localed |
164 |
--disable-logind |
165 |
- --disable-hostnamed |
166 |
+ --disable-myhostname |
167 |
+ --disable-nls |
168 |
+ --disable-pam |
169 |
+ --disable-quotacheck |
170 |
+ --disable-readahead |
171 |
+ --enable-split-usr |
172 |
+ --disable-tcpwrap |
173 |
--disable-timedated |
174 |
- --disable-localed |
175 |
- --disable-coredump |
176 |
+ --disable-xz |
177 |
--disable-polkit |
178 |
- --disable-myhostname |
179 |
+ $(use_enable acl) |
180 |
+ $(use_enable doc gtk-doc) |
181 |
$(use_enable gudev) |
182 |
$(use_enable keymap) |
183 |
- --enable-split-usr |
184 |
- --with-html-dir=/usr/share/doc/${PF}/html |
185 |
- --without-python |
186 |
- --with-bashcompletiondir=/usr/share/bash-completion |
187 |
- --with-rootprefix= |
188 |
- --with-rootlibdir=/$(get_libdir) |
189 |
+ $(use_enable kmod) |
190 |
+ $(use_enable selinux) |
191 |
+ $(use_enable static-libs static) |
192 |
) |
193 |
- |
194 |
- if use logind; then |
195 |
+ if use introspection; then |
196 |
econf_args+=( |
197 |
- --enable-logind |
198 |
- --enable-polkit |
199 |
- $(use_enable acl) |
200 |
- $(use_enable audit) |
201 |
+ --enable-introspection=$(usex introspection) |
202 |
) |
203 |
- if use pam; then |
204 |
- econf_args+=( |
205 |
- --enable-pam |
206 |
- --with-pamlibdir="$(getpam_mod_dir)" |
207 |
- ) |
208 |
- fi |
209 |
- else |
210 |
+ fi |
211 |
+ if use firmware-loader; then |
212 |
econf_args+=( |
213 |
- ac_cv_search_cap_init= |
214 |
- ac_cv_header_sys_capability_h=yes |
215 |
- DBUS_CFLAGS=' ' |
216 |
- DBUS_LIBS=' ' |
217 |
+ --with-firmware-path="/lib/firmware/updates:/lib/firmware" |
218 |
) |
219 |
fi |
220 |
- |
221 |
- use firmware-loader && econf_args+=( -with-firmware-path="/lib/firmware/updates:/lib/firmware" ) |
222 |
- use introspection && econf_args+=( --enable-introspection=$(usex introspection) ) |
223 |
- |
224 |
econf "${econf_args[@]}" |
225 |
} |
226 |
|
227 |
@@ -273,6 +252,7 @@ |
228 |
echo 'BUILT_SOURCES: $(BUILT_SOURCES)' > "${T}"/Makefile.extra |
229 |
emake -f Makefile -f "${T}"/Makefile.extra BUILT_SOURCES |
230 |
local targets=( |
231 |
+ libudev.la |
232 |
systemd-udevd |
233 |
udevadm |
234 |
ata_id |
235 |
@@ -287,22 +267,9 @@ |
236 |
man/systemd-udevd.service.8 |
237 |
) |
238 |
use keymap && targets+=( keymap ) |
239 |
- if use logind; then |
240 |
- logind_targets=( |
241 |
- libsystemd-daemon.la |
242 |
- libsystemd-login.la |
243 |
- systemd-logind |
244 |
- systemd-user-sessions |
245 |
- loginctl |
246 |
- ) |
247 |
- use pam && logind_targets+=( pam_systemd.la ) |
248 |
- fi |
249 |
use gudev && targets+=( libgudev-1.0.la ) |
250 |
|
251 |
- # Build libudev.la and dependencies before the helpers (parallel error) |
252 |
- emake libudev.la |
253 |
emake "${targets[@]}" |
254 |
- emake -j1 "${logind_targets}" |
255 |
if use doc; then |
256 |
emake -C docs/libudev |
257 |
use gudev && emake -C docs/gudev |
258 |
@@ -310,17 +277,14 @@ |
259 |
} |
260 |
|
261 |
src_install() { |
262 |
- local lib_LTLIBRARIES=libudev.la \ |
263 |
- pkgconfiglib_DATA=src/libudev/libudev.pc \ |
264 |
- dist_bashcompletion_DATA=shell-completion/bash/udevadm \ |
265 |
- rootbin_PROGRAMS=udevadm \ |
266 |
- rootlibexec_PROGRAMS=systemd-udevd |
267 |
+ local lib_LTLIBRARIES="libudev.la" \ |
268 |
+ pkgconfiglib_DATA="src/libudev/libudev.pc" |
269 |
|
270 |
local targets=( |
271 |
install-libLTLIBRARIES |
272 |
install-includeHEADERS |
273 |
install-libgudev_includeHEADERS |
274 |
- install-rootbinPROGRAMS |
275 |
+ install-binPROGRAMS |
276 |
install-rootlibexecPROGRAMS |
277 |
install-udevlibexecPROGRAMS |
278 |
install-dist_udevconfDATA |
279 |
@@ -338,35 +302,17 @@ |
280 |
libudev-install-hook |
281 |
install-directories-hook |
282 |
install-dist_bashcompletionDATA |
283 |
- install-dist_pkgsysconfDATA |
284 |
- install-pamlibLTLIBRARIES |
285 |
- install-pkgincludeHEADERS |
286 |
) |
287 |
|
288 |
- # add final values of variables: |
289 |
if use gudev; then |
290 |
lib_LTLIBRARIES+=" libgudev-1.0.la" |
291 |
pkgconfiglib_DATA+=" src/gudev/gudev-1.0.pc" |
292 |
fi |
293 |
|
294 |
- if use logind; then |
295 |
- dist_bashcompletion_DATA+=" shell-completion/bash/loginctl" |
296 |
- lib_LTLIBRARIES+=" libsystemd-login.la libsystemd-daemon.la" |
297 |
- rootlibexec_PROGRAMS+=" systemd-logind systemd-user-sessions" |
298 |
- rootbin_PROGRAMS+=" loginctl" |
299 |
- pkgconfiglib_DATA+=" src/login/libsystemd-login.pc" |
300 |
- dist_pkgsysconf_DATA+=" src/login/logind.conf" |
301 |
- pkgconfiglib_DATA+=" src/libsystemd-daemon/libsystemd-daemon.pc" |
302 |
- use pam && pamlib_LTLIBRARIES+=" pam_systemd.la" |
303 |
- pkginclude_HEADERS+=" src/systemd/sd-daemon.h" |
304 |
- targets+=( libsystemd-daemon-install-hook ) |
305 |
- fi |
306 |
- |
307 |
+ # add final values of variables: |
308 |
targets+=( |
309 |
- pkginclude_HEADERS="${pkginclude_HEADERS}" |
310 |
- dist_pkgsysconf_DATA="${dist_pkgsysconf_DATA}" |
311 |
- rootlibexec_PROGRAMS="${rootlibexec_PROGRAMS}" |
312 |
- rootbin_PROGRAMS="${rootbin_PROGRAMS}" |
313 |
+ rootlibexec_PROGRAMS=systemd-udevd |
314 |
+ bin_PROGRAMS=udevadm |
315 |
lib_LTLIBRARIES="${lib_LTLIBRARIES}" |
316 |
MANPAGES="man/udev.7 man/udevadm.8 \ |
317 |
man/systemd-udevd.service.8" |
318 |
@@ -374,9 +320,8 @@ |
319 |
pkgconfiglib_DATA="${pkgconfiglib_DATA}" |
320 |
INSTALL_DIRS='$(sysconfdir)/udev/rules.d \ |
321 |
$(sysconfdir)/udev/hwdb.d' |
322 |
- dist_bashcompletion_DATA="${dist_bashcompletion_DATA}" |
323 |
+ dist_bashcompletion_DATA="shell-completion/bash/udevadm" |
324 |
) |
325 |
- |
326 |
emake -j1 DESTDIR="${D}" "${targets[@]}" |
327 |
if use doc; then |
328 |
emake -C docs/libudev DESTDIR="${D}" install |
329 |
@@ -389,10 +334,11 @@ |
330 |
"${D}"/lib/udev/rules.d/99-systemd.rules \ |
331 |
"${D}"/usr/share/doc/${PF}/LICENSE.* |
332 |
|
333 |
+ # see src_prepare() for content of these files |
334 |
insinto /lib/udev/rules.d |
335 |
doins "${T}"/40-gentoo.rules |
336 |
- |
337 |
- doman "${T}"/*.8 |
338 |
+ doman "${T}"/udevd.8 |
339 |
+ doman "${T}"/systemd-udevd.8 |
340 |
|
341 |
# install udevadm compatibility symlink |
342 |
dosym {../bin,sbin}/udevadm |
343 |
@@ -400,12 +346,7 @@ |
344 |
# install udevd to /sbin and remove empty and redudant directory |
345 |
# /lib/systemd because systemd is installed to /usr wrt #462750 |
346 |
mv "${D}"/{lib/systemd/systemd-,sbin/}udevd || die |
347 |
- |
348 |
- if use logind; then |
349 |
- doinitd "${FILESDIR}"/logind |
350 |
- else |
351 |
- rm -r "${D}"/lib/systemd |
352 |
- fi |
353 |
+ rm -r "${D}"/lib/systemd |
354 |
} |
355 |
|
356 |
pkg_preinst() { |