1 |
ssuominen 13/07/01 17:32:10 |
2 |
|
3 |
Modified: ChangeLog udev-9999.ebuild |
4 |
Log: |
5 |
Improve the postinst message about networking wrt #474864 by "Coacher". Pass --disable-tmpfiles to follow upstream git. Separate building of the udev helpers to avoid more parallel make problems that aren't fixed by upgrading sys-devel/make to 3.82-r4. |
6 |
|
7 |
(Portage version: 2.2.0_alpha184/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 4868F14D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.931 sys-fs/udev/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.931&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.931&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.930&r2=1.931 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v |
19 |
retrieving revision 1.930 |
20 |
retrieving revision 1.931 |
21 |
diff -u -r1.930 -r1.931 |
22 |
--- ChangeLog 30 Jun 2013 18:05:43 -0000 1.930 |
23 |
+++ ChangeLog 1 Jul 2013 17:32:10 -0000 1.931 |
24 |
@@ -1,6 +1,12 @@ |
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.930 2013/06/30 18:05:43 ago Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.931 2013/07/01 17:32:10 ssuominen Exp $ |
29 |
+ |
30 |
+ 01 Jul 2013; Samuli Suominen <ssuominen@g.o> udev-9999.ebuild: |
31 |
+ Improve the postinst message about networking wrt #474864 by "Coacher". Pass |
32 |
+ --disable-tmpfiles to follow upstream git. Separate building of the udev |
33 |
+ helpers to avoid more parallel make problems that aren't fixed by upgrading |
34 |
+ sys-devel/make to 3.82-r4. |
35 |
|
36 |
30 Jun 2013; Agostino Sarubbo <ago@g.o> udev-204.ebuild: |
37 |
Stable for s390, wrt bug #470580 |
38 |
|
39 |
|
40 |
|
41 |
1.230 sys-fs/udev/udev-9999.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.230&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.230&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.229&r2=1.230 |
46 |
|
47 |
Index: udev-9999.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v |
50 |
retrieving revision 1.229 |
51 |
retrieving revision 1.230 |
52 |
diff -u -r1.229 -r1.230 |
53 |
--- udev-9999.ebuild 7 Jun 2013 18:00:05 -0000 1.229 |
54 |
+++ udev-9999.ebuild 1 Jul 2013 17:32:10 -0000 1.230 |
55 |
@@ -1,6 +1,6 @@ |
56 |
# Copyright 1999-2013 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.229 2013/06/07 18:00:05 ssuominen Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.230 2013/07/01 17:32:10 ssuominen Exp $ |
60 |
|
61 |
EAPI=5 |
62 |
|
63 |
@@ -147,6 +147,14 @@ |
64 |
SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666" |
65 |
EOF |
66 |
|
67 |
+ # Create link to systemd-udevd.8 here to avoid parallel build problem and |
68 |
+ # while at it, create convinience link to `man 8 udevd` even if upstream |
69 |
+ # doesn't do that anymore |
70 |
+ local man |
71 |
+ for man in udevd systemd-udevd; do |
72 |
+ echo '.so systemd-udevd.service.8' > "${T}"/${man}.8 |
73 |
+ done |
74 |
+ |
75 |
# Remove requirements for gettext and intltool wrt bug #443028 |
76 |
if ! has_version dev-util/intltool && ! [[ ${PV} = 9999* ]]; then |
77 |
sed -i \ |
78 |
@@ -190,10 +198,6 @@ |
79 |
echo '#define secure_getenv(x) NULL' >> config.h.in |
80 |
sed -i -e '/error.*secure_getenv/s:.*:#define secure_getenv(x) NULL:' src/shared/missing.h || die |
81 |
fi |
82 |
- |
83 |
- # link udevd(8) and systemd-udevd(8) manpages to systemd-udevd.service(8) manpage |
84 |
- echo '.so systemd-udevd.service.8' > "${T}"/udevd.8 |
85 |
- echo '.so systemd-udevd.service.8' > "${T}"/systemd-udevd.8 |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
@@ -201,13 +205,11 @@ |
90 |
use keymap || export ac_cv_prog_ac_ct_GPERF=true #452760 |
91 |
|
92 |
local econf_args |
93 |
- |
94 |
econf_args=( |
95 |
ac_cv_search_cap_init= |
96 |
ac_cv_header_sys_capability_h=yes |
97 |
DBUS_CFLAGS=' ' |
98 |
DBUS_LIBS=' ' |
99 |
- --bindir=/bin |
100 |
--docdir=/usr/share/doc/${PF} |
101 |
--libdir=/usr/$(get_libdir) |
102 |
--with-html-dir=/usr/share/doc/${PF}/html |
103 |
@@ -232,6 +234,9 @@ |
104 |
--disable-timedated |
105 |
--disable-xz |
106 |
--disable-polkit |
107 |
+ --disable-smack |
108 |
+ --disable-tmpfiles |
109 |
+ --enable-introspection=$(usex introspection) |
110 |
$(use_enable acl) |
111 |
$(use_enable doc gtk-doc) |
112 |
$(use_enable gudev) |
113 |
@@ -240,26 +245,30 @@ |
114 |
$(use_enable selinux) |
115 |
$(use_enable static-libs static) |
116 |
) |
117 |
- if use introspection; then |
118 |
- econf_args+=( |
119 |
- --enable-introspection=$(usex introspection) |
120 |
- ) |
121 |
- fi |
122 |
- if use firmware-loader; then |
123 |
- econf_args+=( |
124 |
- --with-firmware-path="/lib/firmware/updates:/lib/firmware" |
125 |
- ) |
126 |
- fi |
127 |
+ use firmware-loader && econf_args+=( --with-firmware-path="/lib/firmware/updates:/lib/firmware" ) |
128 |
+ |
129 |
econf "${econf_args[@]}" |
130 |
} |
131 |
|
132 |
src_compile() { |
133 |
echo 'BUILT_SOURCES: $(BUILT_SOURCES)' > "${T}"/Makefile.extra |
134 |
emake -f Makefile -f "${T}"/Makefile.extra BUILT_SOURCES |
135 |
- local targets=( |
136 |
- libudev.la |
137 |
+ |
138 |
+ # Most of the parallel build problems were solved by >=sys-devel/make-3.82-r4, |
139 |
+ # but not everything -- separate building of the binaries as a workaround, |
140 |
+ # which will force internal libraries required for the helpers to be built |
141 |
+ # early enough, like eg. libsystemd-shared.la |
142 |
+ local lib_targets=( libudev.la ) |
143 |
+ use gudev && lib_targets+=( libgudev-1.0.la ) |
144 |
+ emake "${lib_targets[@]}" |
145 |
+ |
146 |
+ local exec_targets=( |
147 |
systemd-udevd |
148 |
udevadm |
149 |
+ ) |
150 |
+ emake "${exec_targets[@]}" |
151 |
+ |
152 |
+ local helper_targets=( |
153 |
ata_id |
154 |
cdrom_id |
155 |
collect |
156 |
@@ -267,14 +276,17 @@ |
157 |
v4l_id |
158 |
accelerometer |
159 |
mtd_probe |
160 |
+ ) |
161 |
+ use keymap && helper_targets+=( keymap ) |
162 |
+ emake "${helper_targets[@]}" |
163 |
+ |
164 |
+ local man_targets=( |
165 |
man/udev.7 |
166 |
man/udevadm.8 |
167 |
man/systemd-udevd.service.8 |
168 |
) |
169 |
- use keymap && targets+=( keymap ) |
170 |
- use gudev && targets+=( libgudev-1.0.la ) |
171 |
+ emake "${man_targets[@]}" |
172 |
|
173 |
- emake "${targets[@]}" |
174 |
if use doc; then |
175 |
emake -C docs/libudev |
176 |
use gudev && emake -C docs/gudev |
177 |
@@ -289,7 +301,7 @@ |
178 |
install-libLTLIBRARIES |
179 |
install-includeHEADERS |
180 |
install-libgudev_includeHEADERS |
181 |
- install-binPROGRAMS |
182 |
+ install-rootbinPROGRAMS |
183 |
install-rootlibexecPROGRAMS |
184 |
install-udevlibexecPROGRAMS |
185 |
install-dist_udevconfDATA |
186 |
@@ -317,7 +329,7 @@ |
187 |
# add final values of variables: |
188 |
targets+=( |
189 |
rootlibexec_PROGRAMS=systemd-udevd |
190 |
- bin_PROGRAMS=udevadm |
191 |
+ rootbin_PROGRAMS=udevadm |
192 |
lib_LTLIBRARIES="${lib_LTLIBRARIES}" |
193 |
MANPAGES="man/udev.7 man/udevadm.8 \ |
194 |
man/systemd-udevd.service.8" |
195 |
@@ -339,11 +351,10 @@ |
196 |
"${D}"/lib/udev/rules.d/99-systemd.rules \ |
197 |
"${D}"/usr/share/doc/${PF}/LICENSE.* |
198 |
|
199 |
- # see src_prepare() for content of these files |
200 |
+ # see src_prepare() for content of these |
201 |
insinto /lib/udev/rules.d |
202 |
doins "${T}"/40-gentoo.rules |
203 |
- doman "${T}"/udevd.8 |
204 |
- doman "${T}"/systemd-udevd.8 |
205 |
+ doman "${T}"/{systemd-,}udevd.8 |
206 |
|
207 |
# install udevadm compatibility symlink |
208 |
dosym {../bin,sbin}/udevadm |
209 |
@@ -433,23 +444,27 @@ |
210 |
fi |
211 |
done |
212 |
|
213 |
+ elog |
214 |
+ elog "Starting from version >= 200 the new predictable network interface names are" |
215 |
+ elog "used by default, see:" |
216 |
+ elog "http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames" |
217 |
+ elog "http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c" |
218 |
+ elog |
219 |
+ elog "Example command to get the information for the new interface name before booting" |
220 |
+ elog "(replace <ifname> with, for example, eth0):" |
221 |
+ elog "# udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null" |
222 |
+ elog |
223 |
+ elog "You can use either kernel parameter \"net.ifnames=0\", create empty" |
224 |
+ elog "file /etc/udev/rules.d/80-net-name-slot.rules, or symlink it to /dev/null" |
225 |
+ elog "to disable the feature." |
226 |
+ |
227 |
if has_version sys-apps/biosdevname; then |
228 |
ewarn |
229 |
- ewarn "You have sys-apps/biosdevname installed which has been deprecated" |
230 |
- ewarn "in favor of the predictable network interface names." |
231 |
+ ewarn "You can replace the functionality of sys-apps/biosdevname which you have" |
232 |
+ ewarn "installed with the new predictable network interface names." |
233 |
fi |
234 |
|
235 |
ewarn |
236 |
- ewarn "The new predictable network interface names are used by default, see:" |
237 |
- ewarn "http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames" |
238 |
- ewarn |
239 |
- ewarn "Example command to get the information for the new interface name before booting" |
240 |
- ewarn "(replace <ifname> with, for example, eth0):" |
241 |
- ewarn "# udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null" |
242 |
- ewarn |
243 |
- ewarn "You can use kernel commandline net.ifnames=0 to disable this feature." |
244 |
- |
245 |
- ewarn |
246 |
ewarn "You need to restart udev as soon as possible to make the upgrade go" |
247 |
ewarn "into effect." |
248 |
ewarn "The method you use to do this depends on your init system." |
249 |
@@ -458,9 +473,9 @@ |
250 |
|
251 |
elog |
252 |
elog "For more information on udev on Gentoo, upgrading, writing udev rules, and" |
253 |
- elog " fixing known issues visit:" |
254 |
- elog " http://wiki.gentoo.org/wiki/Udev/upgrade" |
255 |
- elog " http://www.gentoo.org/doc/en/udev-guide.xml" |
256 |
+ elog "fixing known issues visit:" |
257 |
+ elog "http://wiki.gentoo.org/wiki/Udev/upgrade" |
258 |
+ elog "http://www.gentoo.org/doc/en/udev-guide.xml" |
259 |
|
260 |
# Update hwdb database in case the format is changed by udev version. |
261 |
if use hwdb && has_version 'sys-apps/hwids[udev]'; then |