Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-195.ebuild ChangeLog udev-9999.ebuild
Date: Thu, 01 Nov 2012 06:27:32
Message-Id: 20121101062710.330D421600@flycatcher.gentoo.org
1 ssuominen 12/11/01 06:27:10
2
3 Modified: udev-195.ebuild ChangeLog udev-9999.ebuild
4 Log:
5 Use REPLACING_VERSIONS to print out upgrade related messaging only when required wrt #440462 by "poletti.marco"
6
7 (Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sys-fs/udev/udev-195.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?r1=1.1&r2=1.2
15
16 Index: udev-195.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- udev-195.ebuild 26 Oct 2012 21:28:17 -0000 1.1
23 +++ udev-195.ebuild 1 Nov 2012 06:27:10 -0000 1.2
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2012 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v 1.1 2012/10/26 21:28:17 williamh Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v 1.2 2012/11/01 06:27:10 ssuominen Exp $
29
30 EAPI=4
31
32 @@ -345,22 +345,42 @@
33 einfo "Removed unneeded file 64-device-mapper.rules"
34 fi
35
36 - ewarn
37 - ewarn "If you build an initramfs including udev, please make sure the"
38 - ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
39 - ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
40 + # http://bugs.gentoo.org/440462
41 + if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 195 ]]; then
42 + ewarn
43 + ewarn "If you build an initramfs including udev, please make sure the"
44 + ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
45 + ewarn "use it, as it replaces the old udevinfo and udevtrigger helpers."
46
47 - ewarn
48 - ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
49 - ewarn "Instead, /etc/fstab should be used. This matches other mount points."
50 + ewarn
51 + ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
52 + ewarn "Instead, /etc/fstab should be used. This matches other mount points."
53
54 - ewarn
55 - ewarn "Rules for /dev/hd* devices have been removed."
56 - ewarn "Please migrate to libata."
57 + ewarn
58 + ewarn "Rules for /dev/hd* devices have been removed."
59 + ewarn "Please migrate to libata."
60
61 - ewarn
62 - ewarn "action_modeswitch has been removed by upstream."
63 - ewarn "Please use sys-apps/usb_modeswitch."
64 + ewarn
65 + ewarn "action_modeswitch has been removed by upstream."
66 + ewarn "Please use sys-apps/usb_modeswitch."
67 +
68 + if use acl; then
69 + ewarn
70 + ewarn "The udev-acl functionality has been moved."
71 + ewarn "If you are not using systemd, this is handled by ConsoleKit."
72 + ewarn "Otherwise, you need to make sure that systemd is emerged with"
73 + ewarn "the acl use flag active."
74 + fi
75 +
76 + ewarn
77 + ewarn "Upstream has removed the persistent-net and persistent-cd rules"
78 + ewarn "generator. If you need persistent names for these devices,"
79 + ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
80 + ewarn "Be aware that you cannot directly swap device names, so persistent"
81 + ewarn "rules for network devices should be like the ones at the following"
82 + ewarn "URL:"
83 + ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#c1"
84 + fi
85
86 if ismounted /usr
87 then
88 @@ -378,14 +398,6 @@
89 ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml"
90 fi
91
92 - if use acl; then
93 - ewarn
94 - ewarn "The udev-acl functionality has been moved."
95 - ewarn "If you are not using systemd, this is handled by consolekit."
96 - ewarn "Otherwise, you need to make sure that systemd is emerged with"
97 - ewarn "the acl use flag active."
98 - fi
99 -
100 if [[ -d ${ROOT}lib/udev ]]
101 then
102 ewarn
103 @@ -401,15 +413,6 @@
104 ewarn "into effect."
105 ewarn "The method you use to do this depends on your init system."
106
107 - ewarn
108 - ewarn "Upstream has removed the persistent-net and persistent-cd rules"
109 - ewarn "generator. If you need persistent names for these devices,"
110 - ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
111 - ewarn "Be aware that you cannot directly swap device names, so persistent"
112 - ewarn "rules for network devices should be like the ones at the following"
113 - ewarn "URL:"
114 - ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
115 -
116 preserve_old_lib_notify /$(get_libdir)/libudev.so.0
117
118 elog
119
120
121
122 1.733 sys-fs/udev/ChangeLog
123
124 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.733&view=markup
125 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.733&content-type=text/plain
126 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.732&r2=1.733
127
128 Index: ChangeLog
129 ===================================================================
130 RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v
131 retrieving revision 1.732
132 retrieving revision 1.733
133 diff -u -r1.732 -r1.733
134 --- ChangeLog 1 Nov 2012 02:24:34 -0000 1.732
135 +++ ChangeLog 1 Nov 2012 06:27:10 -0000 1.733
136 @@ -1,6 +1,11 @@
137 # ChangeLog for sys-fs/udev
138 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
139 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.732 2012/11/01 02:24:34 ssuominen Exp $
140 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.733 2012/11/01 06:27:10 ssuominen Exp $
141 +
142 + 01 Nov 2012; Samuli Suominen <ssuominen@g.o> udev-195.ebuild,
143 + udev-9999.ebuild:
144 + Use REPLACING_VERSIONS to print out upgrade related messaging only when
145 + required wrt #440462 by "poletti.marco"
146
147 01 Nov 2012; Samuli Suominen <ssuominen@g.o> udev-171-r8.ebuild:
148 Update HOMEPAGE and SRC_URI from latest stable wrt #440408
149
150
151
152 1.116 sys-fs/udev/udev-9999.ebuild
153
154 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.116&view=markup
155 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.116&content-type=text/plain
156 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.115&r2=1.116
157
158 Index: udev-9999.ebuild
159 ===================================================================
160 RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v
161 retrieving revision 1.115
162 retrieving revision 1.116
163 diff -u -r1.115 -r1.116
164 --- udev-9999.ebuild 15 Oct 2012 02:47:46 -0000 1.115
165 +++ udev-9999.ebuild 1 Nov 2012 06:27:10 -0000 1.116
166 @@ -1,6 +1,6 @@
167 # Copyright 1999-2012 Gentoo Foundation
168 # Distributed under the terms of the GNU General Public License v2
169 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.115 2012/10/15 02:47:46 zmedico Exp $
170 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.116 2012/11/01 06:27:10 ssuominen Exp $
171
172 EAPI=4
173
174 @@ -345,22 +345,42 @@
175 einfo "Removed unneeded file 64-device-mapper.rules"
176 fi
177
178 - ewarn
179 - ewarn "If you build an initramfs including udev, please make sure the"
180 - ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
181 - ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
182 + # http://bugs.gentoo.org/440462
183 + if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 195 ]]; then
184 + ewarn
185 + ewarn "If you build an initramfs including udev, please make sure the"
186 + ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
187 + ewarn "use it, as it replaces the old udevinfo and udevtrigger helpers."
188
189 - ewarn
190 - ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
191 - ewarn "Instead, /etc/fstab should be used. This matches other mount points."
192 + ewarn
193 + ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
194 + ewarn "Instead, /etc/fstab should be used. This matches other mount points."
195
196 - ewarn
197 - ewarn "Rules for /dev/hd* devices have been removed."
198 - ewarn "Please migrate to libata."
199 + ewarn
200 + ewarn "Rules for /dev/hd* devices have been removed."
201 + ewarn "Please migrate to libata."
202
203 - ewarn
204 - ewarn "action_modeswitch has been removed by upstream."
205 - ewarn "Please use sys-apps/usb_modeswitch."
206 + ewarn
207 + ewarn "action_modeswitch has been removed by upstream."
208 + ewarn "Please use sys-apps/usb_modeswitch."
209 +
210 + if use acl; then
211 + ewarn
212 + ewarn "The udev-acl functionality has been moved."
213 + ewarn "If you are not using systemd, this is handled by ConsoleKit."
214 + ewarn "Otherwise, you need to make sure that systemd is emerged with"
215 + ewarn "the acl use flag active."
216 + fi
217 +
218 + ewarn
219 + ewarn "Upstream has removed the persistent-net and persistent-cd rules"
220 + ewarn "generator. If you need persistent names for these devices,"
221 + ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
222 + ewarn "Be aware that you cannot directly swap device names, so persistent"
223 + ewarn "rules for network devices should be like the ones at the following"
224 + ewarn "URL:"
225 + ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#c1"
226 + fi
227
228 if ismounted /usr
229 then
230 @@ -378,14 +398,6 @@
231 ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml"
232 fi
233
234 - if use acl; then
235 - ewarn
236 - ewarn "The udev-acl functionality has been moved."
237 - ewarn "If you are not using systemd, this is handled by consolekit."
238 - ewarn "Otherwise, you need to make sure that systemd is emerged with"
239 - ewarn "the acl use flag active."
240 - fi
241 -
242 if [[ -d ${ROOT}lib/udev ]]
243 then
244 ewarn
245 @@ -401,15 +413,6 @@
246 ewarn "into effect."
247 ewarn "The method you use to do this depends on your init system."
248
249 - ewarn
250 - ewarn "Upstream has removed the persistent-net and persistent-cd rules"
251 - ewarn "generator. If you need persistent names for these devices,"
252 - ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
253 - ewarn "Be aware that you cannot directly swap device names, so persistent"
254 - ewarn "rules for network devices should be like the ones at the following"
255 - ewarn "URL:"
256 - ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
257 -
258 preserve_old_lib_notify /$(get_libdir)/libudev.so.0
259
260 elog