public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-195.ebuild ChangeLog udev-9999.ebuild
@ 2012-11-01  6:27 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-11-01  6:27 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/11/01 06:27:10

  Modified:             udev-195.ebuild ChangeLog udev-9999.ebuild
  Log:
  Use REPLACING_VERSIONS to print out upgrade related messaging only when required wrt #440462 by "poletti.marco"
  
  (Portage version: 2.2.0_alpha135/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sys-fs/udev/udev-195.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?r1=1.1&r2=1.2

Index: udev-195.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- udev-195.ebuild	26 Oct 2012 21:28:17 -0000	1.1
+++ udev-195.ebuild	1 Nov 2012 06:27:10 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v 1.1 2012/10/26 21:28:17 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v 1.2 2012/11/01 06:27:10 ssuominen Exp $
 
 EAPI=4
 
@@ -345,22 +345,42 @@
 			einfo "Removed unneeded file 64-device-mapper.rules"
 	fi
 
-	ewarn
-	ewarn "If you build an initramfs including udev, please make sure the"
-	ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
-	ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
+	# http://bugs.gentoo.org/440462
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 195 ]]; then
+		ewarn
+		ewarn "If you build an initramfs including udev, please make sure the"
+		ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
+		ewarn "use it, as it replaces the old udevinfo and udevtrigger helpers."
 
-	ewarn
-	ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
-	ewarn "Instead, /etc/fstab should be used. This matches other mount points."
+		ewarn
+		ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
+		ewarn "Instead, /etc/fstab should be used. This matches other mount points."
 
-	ewarn
-	ewarn "Rules for /dev/hd* devices have been removed."
-	ewarn "Please migrate to libata."
+		ewarn
+		ewarn "Rules for /dev/hd* devices have been removed."
+		ewarn "Please migrate to libata."
 
-	ewarn
-	ewarn "action_modeswitch has been removed by upstream."
-	ewarn "Please use sys-apps/usb_modeswitch."
+		ewarn
+		ewarn "action_modeswitch has been removed by upstream."
+		ewarn "Please use sys-apps/usb_modeswitch."
+
+		if use acl; then
+			ewarn
+			ewarn "The udev-acl functionality has been moved."
+			ewarn "If you are not using systemd, this is handled by ConsoleKit."
+			ewarn "Otherwise, you need to make sure that systemd is emerged with"
+			ewarn "the acl use flag active."
+		fi
+
+		ewarn
+		ewarn "Upstream has removed the persistent-net and persistent-cd rules"
+		ewarn "generator. If you need persistent names for these devices,"
+		ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
+		ewarn "Be aware that you cannot directly swap device names, so persistent"
+		ewarn "rules for network devices should be like the ones at the following"
+		ewarn "URL:"
+		ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#c1"
+	fi
 
 	if ismounted /usr
 	then
@@ -378,14 +398,6 @@
 		ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml"
 	fi
 
-	if use acl; then
-		ewarn
-		ewarn "The udev-acl functionality has been moved."
-		ewarn "If you are not using systemd, this is handled by consolekit."
-		ewarn "Otherwise, you need to make sure that systemd is emerged with"
-		ewarn "the acl use flag active."
-	fi
-
 	if [[ -d ${ROOT}lib/udev ]]
 	then
 		ewarn
@@ -401,15 +413,6 @@
 	ewarn "into effect."
 	ewarn "The method you use to do this depends on your init system."
 
-	ewarn
-	ewarn "Upstream has removed the persistent-net and persistent-cd rules"
-	ewarn "generator. If you need persistent names for these devices,"
-	ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
-	ewarn "Be aware that you cannot directly swap device names, so persistent"
-	ewarn "rules for network devices should be like the ones at the following"
-	ewarn "URL:"
-	ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
 	preserve_old_lib_notify /$(get_libdir)/libudev.so.0
 
 	elog



1.733                sys-fs/udev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.733&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.733&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.732&r2=1.733

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v
retrieving revision 1.732
retrieving revision 1.733
diff -u -r1.732 -r1.733
--- ChangeLog	1 Nov 2012 02:24:34 -0000	1.732
+++ ChangeLog	1 Nov 2012 06:27:10 -0000	1.733
@@ -1,6 +1,11 @@
 # ChangeLog for sys-fs/udev
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.732 2012/11/01 02:24:34 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.733 2012/11/01 06:27:10 ssuominen Exp $
+
+  01 Nov 2012; Samuli Suominen <ssuominen@gentoo.org> udev-195.ebuild,
+  udev-9999.ebuild:
+  Use REPLACING_VERSIONS to print out upgrade related messaging only when
+  required wrt #440462 by "poletti.marco"
 
   01 Nov 2012; Samuli Suominen <ssuominen@gentoo.org> udev-171-r8.ebuild:
   Update HOMEPAGE and SRC_URI from latest stable wrt #440408



1.116                sys-fs/udev/udev-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.116&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.116&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.115&r2=1.116

Index: udev-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- udev-9999.ebuild	15 Oct 2012 02:47:46 -0000	1.115
+++ udev-9999.ebuild	1 Nov 2012 06:27:10 -0000	1.116
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.115 2012/10/15 02:47:46 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.116 2012/11/01 06:27:10 ssuominen Exp $
 
 EAPI=4
 
@@ -345,22 +345,42 @@
 			einfo "Removed unneeded file 64-device-mapper.rules"
 	fi
 
-	ewarn
-	ewarn "If you build an initramfs including udev, please make sure the"
-	ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
-	ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers."
+	# http://bugs.gentoo.org/440462
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 195 ]]; then
+		ewarn
+		ewarn "If you build an initramfs including udev, please make sure the"
+		ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
+		ewarn "use it, as it replaces the old udevinfo and udevtrigger helpers."
 
-	ewarn
-	ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
-	ewarn "Instead, /etc/fstab should be used. This matches other mount points."
+		ewarn
+		ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
+		ewarn "Instead, /etc/fstab should be used. This matches other mount points."
 
-	ewarn
-	ewarn "Rules for /dev/hd* devices have been removed."
-	ewarn "Please migrate to libata."
+		ewarn
+		ewarn "Rules for /dev/hd* devices have been removed."
+		ewarn "Please migrate to libata."
 
-	ewarn
-	ewarn "action_modeswitch has been removed by upstream."
-	ewarn "Please use sys-apps/usb_modeswitch."
+		ewarn
+		ewarn "action_modeswitch has been removed by upstream."
+		ewarn "Please use sys-apps/usb_modeswitch."
+
+		if use acl; then
+			ewarn
+			ewarn "The udev-acl functionality has been moved."
+			ewarn "If you are not using systemd, this is handled by ConsoleKit."
+			ewarn "Otherwise, you need to make sure that systemd is emerged with"
+			ewarn "the acl use flag active."
+		fi
+
+		ewarn
+		ewarn "Upstream has removed the persistent-net and persistent-cd rules"
+		ewarn "generator. If you need persistent names for these devices,"
+		ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
+		ewarn "Be aware that you cannot directly swap device names, so persistent"
+		ewarn "rules for network devices should be like the ones at the following"
+		ewarn "URL:"
+		ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#c1"
+	fi
 
 	if ismounted /usr
 	then
@@ -378,14 +398,6 @@
 		ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml"
 	fi
 
-	if use acl; then
-		ewarn
-		ewarn "The udev-acl functionality has been moved."
-		ewarn "If you are not using systemd, this is handled by consolekit."
-		ewarn "Otherwise, you need to make sure that systemd is emerged with"
-		ewarn "the acl use flag active."
-	fi
-
 	if [[ -d ${ROOT}lib/udev ]]
 	then
 		ewarn
@@ -401,15 +413,6 @@
 	ewarn "into effect."
 	ewarn "The method you use to do this depends on your init system."
 
-	ewarn
-	ewarn "Upstream has removed the persistent-net and persistent-cd rules"
-	ewarn "generator. If you need persistent names for these devices,"
-	ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
-	ewarn "Be aware that you cannot directly swap device names, so persistent"
-	ewarn "rules for network devices should be like the ones at the following"
-	ewarn "URL:"
-	ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
-
 	preserve_old_lib_notify /$(get_libdir)/libudev.so.0
 
 	elog





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-195.ebuild ChangeLog udev-9999.ebuild
@ 2012-11-01 20:40 William Hubbs (williamh)
  0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs (williamh) @ 2012-11-01 20:40 UTC (permalink / raw
  To: gentoo-commits

williamh    12/11/01 20:40:19

  Modified:             udev-195.ebuild ChangeLog udev-9999.ebuild
  Log:
  Tie the upgrade related messages to the correct versions for bug #440462.
  
  (Portage version: 2.2.0_alpha142/cvs/Linux i686, signed Manifest commit with key 0x30C46538)

Revision  Changes    Path
1.3                  sys-fs/udev/udev-195.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-195.ebuild?r1=1.2&r2=1.3

Index: udev-195.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- udev-195.ebuild	1 Nov 2012 06:27:10 -0000	1.2
+++ udev-195.ebuild	1 Nov 2012 20:40:19 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v 1.2 2012/11/01 06:27:10 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-195.ebuild,v 1.3 2012/11/01 20:40:19 williamh Exp $
 
 EAPI=4
 
@@ -346,7 +346,7 @@
 	fi
 
 	# http://bugs.gentoo.org/440462
-	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 195 ]]; then
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 141 ]]; then
 		ewarn
 		ewarn "If you build an initramfs including udev, please make sure the"
 		ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
@@ -355,11 +355,15 @@
 		ewarn
 		ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
 		ewarn "Instead, /etc/fstab should be used. This matches other mount points."
+	fi
 
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 151 ]]; then
 		ewarn
 		ewarn "Rules for /dev/hd* devices have been removed."
 		ewarn "Please migrate to libata."
+	fi
 
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 189 ]]; then
 		ewarn
 		ewarn "action_modeswitch has been removed by upstream."
 		ewarn "Please use sys-apps/usb_modeswitch."



1.735                sys-fs/udev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.735&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.735&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.734&r2=1.735

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v
retrieving revision 1.734
retrieving revision 1.735
diff -u -r1.734 -r1.735
--- ChangeLog	1 Nov 2012 20:01:21 -0000	1.734
+++ ChangeLog	1 Nov 2012 20:40:19 -0000	1.735
@@ -1,9 +1,9 @@
 # ChangeLog for sys-fs/udev
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.734 2012/11/01 20:01:21 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.735 2012/11/01 20:40:19 williamh Exp $
 
   01 Nov 2012; William Hubbs <williamh@gentoo.org> udev-9999.ebuild:
-  sync live ebuild md5 rules with 195.
+  sync live ebuild md5 for default rules with 195.
 
   01 Nov 2012; Samuli Suominen <ssuominen@gentoo.org> udev-195.ebuild,
   udev-9999.ebuild:



1.118                sys-fs/udev/udev-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.118&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.118&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.117&r2=1.118

Index: udev-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- udev-9999.ebuild	1 Nov 2012 20:01:21 -0000	1.117
+++ udev-9999.ebuild	1 Nov 2012 20:40:19 -0000	1.118
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.117 2012/11/01 20:01:21 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.118 2012/11/01 20:40:19 williamh Exp $
 
 EAPI=4
 
@@ -346,7 +346,7 @@
 	fi
 
 	# http://bugs.gentoo.org/440462
-	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 195 ]]; then
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 141 ]]; then
 		ewarn
 		ewarn "If you build an initramfs including udev, please make sure the"
 		ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
@@ -355,11 +355,15 @@
 		ewarn
 		ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
 		ewarn "Instead, /etc/fstab should be used. This matches other mount points."
+	fi
 
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 151 ]]; then
 		ewarn
 		ewarn "Rules for /dev/hd* devices have been removed."
 		ewarn "Please migrate to libata."
+	fi
 
+	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 189 ]]; then
 		ewarn
 		ewarn "action_modeswitch has been removed by upstream."
 		ewarn "Please use sys-apps/usb_modeswitch."





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-01 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01 20:40 [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-195.ebuild ChangeLog udev-9999.ebuild William Hubbs (williamh)
  -- strict thread matches above, loose matches on Subject: below --
2012-11-01  6:27 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox