summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-07-30 19:49:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-07-30 19:49:46 +0000
commitbaf47c69e9e84597495c2676927d018306cdd5c3 (patch)
tree1c7d0b9c5ffdd3f701cdf37896245762080caacf /eclass
parentamd64 stable wrt bug #518600 (diff)
downloadhistorical-baf47c69e9e84597495c2676927d018306cdd5c3.tar.gz
historical-baf47c69e9e84597495c2676927d018306cdd5c3.tar.bz2
historical-baf47c69e9e84597495c2676927d018306cdd5c3.zip
Deprecate the longer udev_get_udevdir() function in favour of the shorter get_udevdir(), notably gentoo-x86 has been fully converted
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/udev.eclass7
2 files changed, 9 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index d9ae2da0e705..779bac9dac91 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1332 2014/07/30 19:01:02 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1333 2014/07/30 19:49:46 ssuominen Exp $
+
+ 30 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> udev.eclass:
+ Deprecate the longer udev_get_udevdir() function in favour of the shorter
+ get_udevdir(), notably gentoo-x86 has been fully converted
30 Jul 2014; Robin H. Johnson <robbat2@gentoo.org> apache-2.eclass:
Handle grsec TPE to ensure apache can compile. $T is group-writable, owned by
diff --git a/eclass/udev.eclass b/eclass/udev.eclass
index c81bee5e9917..eee7f2ce33d8 100644
--- a/eclass/udev.eclass
+++ b/eclass/udev.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.12 2014/07/13 19:33:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.13 2014/07/30 19:49:46 ssuominen Exp $
# @ECLASS: udev.eclass
# @MAINTAINER:
@@ -56,7 +56,8 @@ _udev_get_udevdir() {
udev_get_udevdir() {
debug-print-function ${FUNCNAME} "${@}"
- echo "$(_udev_get_udevdir)"
+ eerror "Use the shorter get_udevdir() instead of longer udev_get_udevdir()"
+ die "Deprecated function call: udev_get_udevdir()"
}
# @FUNCTION: get_udevdir