summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-03-19 21:17:23 +0000
committerWilliam Hubbs <williamh@gentoo.org>2012-03-19 21:17:23 +0000
commitceb33c24c74b1aa6a1a3c7d0d1a5b415e02e5b51 (patch)
treeb3e6dc41d3dc9f0d60886be5fc74a709c35ab00c /sys-fs/udev-init-scripts
parentVersion bump. (diff)
downloadhistorical-ceb33c24c74b1aa6a1a3c7d0d1a5b415e02e5b51.tar.gz
historical-ceb33c24c74b1aa6a1a3c7d0d1a5b415e02e5b51.tar.bz2
historical-ceb33c24c74b1aa6a1a3c7d0d1a5b415e02e5b51.zip
version bump
Package-Manager: portage-2.2.0_alpha92/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'sys-fs/udev-init-scripts')
-rw-r--r--sys-fs/udev-init-scripts/ChangeLog7
-rw-r--r--sys-fs/udev-init-scripts/Manifest10
-rw-r--r--sys-fs/udev-init-scripts/udev-init-scripts-10.ebuild90
3 files changed, 102 insertions, 5 deletions
diff --git a/sys-fs/udev-init-scripts/ChangeLog b/sys-fs/udev-init-scripts/ChangeLog
index 92b48fdfa5b2..2baadab2cae1 100644
--- a/sys-fs/udev-init-scripts/ChangeLog
+++ b/sys-fs/udev-init-scripts/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/udev-init-scripts
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.7 2012/03/19 20:54:06 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.8 2012/03/19 21:17:23 williamh Exp $
+
+*udev-init-scripts-10 (19 Mar 2012)
+
+ 19 Mar 2012; William Hubbs <williamh@gentoo.org> +udev-init-scripts-10.ebuild:
+ version bump
19 Mar 2012; William Hubbs <williamh@gentoo.org> udev-init-scripts-9.ebuild:
This version of udev-init-scripts is only for udev-181.
diff --git a/sys-fs/udev-init-scripts/Manifest b/sys-fs/udev-init-scripts/Manifest
index b57febba97b7..550941bd3fd9 100644
--- a/sys-fs/udev-init-scripts/Manifest
+++ b/sys-fs/udev-init-scripts/Manifest
@@ -1,15 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+DIST udev-init-scripts-10.tar.bz2 15780 RMD160 d0484909c29dfc21536e4e46b6c334c5aad24d3a SHA1 ee868188b17d84e412d9bbdba1c7ac5bbd924e92 SHA256 e7c4142e1d54a30a15f78986563ce662ec5acc668cf47eb69a33eb4a76774db9
DIST udev-init-scripts-9.tar.bz2 16400 RMD160 9247fddd244c7c8747899c6e3f0e955271fb9e73 SHA1 32efc4c2a74f39edff5b92dc1adb9110a34720f9 SHA256 e7b6c5c825357d2456c124883aba888341a630515636e0e9cf22c39e50bd3721
+EBUILD udev-init-scripts-10.ebuild 2406 RMD160 f49dd116383f1d989e56ab6a6105308a8596a677 SHA1 ea90a65a9ca3f77a229032e0278aa2ec2613d823 SHA256 7afa48e52598f71226ba90bb68a77383fffed5e9c4fa200dc7e847106a20d201
EBUILD udev-init-scripts-9.ebuild 2404 RMD160 f5f40dd8447b338f4d44bd38bee35cd80aac8853 SHA1 fc1d86ffde018ef79b22459b8b54af060fb29f7a SHA256 2d027b61653c72b1eafe0faccd159780c5e611ce863198beb73f87a0aec1994e
EBUILD udev-init-scripts-9999.ebuild 2463 RMD160 afb8f176b1da8a5062816ab2747657679be2a4c7 SHA1 4c6b27ab909c60503a22ccad106f22155cffecbd SHA256 88f0858356e3024ecf97124ef42ed4256a13701daade78750c7c77a535a10521
-MISC ChangeLog 1370 RMD160 5b06e24b0a1ba698a45193a8083ad389b74c14cf SHA1 e829d2ac1d6b1343f34d21ec46066f98b4deef6b SHA256 187266dcb9746da7e7a4e40ab045df56c7cd5b4af59d663c22d60b72eef768ff
+MISC ChangeLog 1504 RMD160 c67332a0feb3759f151d2d1014edba7743ddfa2f SHA1 30c383dc4d35b55c072bcf0ba0e6993dac81664d SHA256 489cce50e5e7c507a08abae78de7e80dbc6662f66035923927cf69eb956c46f6
MISC metadata.xml 206 RMD160 d508cb902c5f340f6aeadcc6071d8a6b54ae4690 SHA1 d8213c670ef37b1a7fe69cc84c15f5a31903023d SHA256 e8bae0ea2f16b0ad92858b68718c01ab85b5e6995a35b88c74e4ad9772b9f813
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk9nnPQACgkQblQW9DDEZTjFpgCeLhDm+IM7mtaM5tOsN9STLx97
-sYsAn1ktpRrWaUdJaaSCUZgITutx9hYO
-=vi4N
+iEYEARECAAYFAk9nonAACgkQblQW9DDEZTjotwCaAg1yonLJduH6YjpmX/RxSovo
+5bwAmgNca6xMpRA7pBbMcuGBNyW1THc8
+=s1fs
-----END PGP SIGNATURE-----
diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-10.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-10.ebuild
new file mode 100644
index 000000000000..68adca9f38a3
--- /dev/null
+++ b/sys-fs/udev-init-scripts/udev-init-scripts-10.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/udev-init-scripts-10.ebuild,v 1.1 2012/03/19 21:17:23 williamh Exp $
+
+EAPI=4
+
+EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/udev-gentoo-scripts.git"
+
+[ "${PV}" = "9999" ] && vcs=git-2
+inherit $vcs
+unset vcs
+
+DESCRIPTION="udev startup scripts for openrc"
+HOMEPAGE="http://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+if [ "${PV}" != "9999" ]; then
+ SRC_URI="mirror://gentoo/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
+fi
+
+DEPEND=""
+RDEPEND=">=sys-fs/udev-182
+ sys-apps/openrc"
+
+ src_compile()
+{
+ return 0
+}
+
+pkg_postinst()
+{
+ local enable_postmount=false
+
+ # FIXME: inconsistent handling of init-scripts here
+ # * udev is added to sysinit in openrc-ebuild
+ # * we add udev-postmount to default in here
+ #
+
+ # If we are building stages, add udev to the sysinit runlevel automatically.
+ if use build
+ then
+ if [[ -x "${ROOT}"/etc/init.d/udev \
+ && -d "${ROOT}"/etc/runlevels/sysinit ]]
+ then
+ ln -s /etc/init.d/udev "${ROOT}"/etc/runlevels/sysinit/udev
+ fi
+ enable_postmount=true
+ fi
+
+ # migration to >=openrc-0.4
+ if [[ -e "${ROOT}"/etc/runlevels/sysinit && ! -e "${ROOT}"/etc/runlevels/sysinit/udev ]]
+ then
+ ewarn
+ ewarn "You need to add the udev init script to the runlevel sysinit,"
+ ewarn "else your system will not be able to boot"
+ ewarn "after updating to >=openrc-0.4.0"
+ ewarn "Run this to enable udev for >=openrc-0.4.0:"
+ ewarn "\trc-update add udev sysinit"
+ ewarn
+ fi
+
+ # add udev-postmount to default runlevel instead of that ugly injecting
+ # like a hotplug event, 2009/10/15
+
+ # already enabled?
+ [[ -e "${ROOT}"/etc/runlevels/default/udev-postmount ]] && return
+
+ [[ -e "${ROOT}"/etc/runlevels/sysinit/udev ]] && enable_postmount=true
+ [[ "${ROOT}" = "/" && -d /dev/.udev/ ]] && enable_postmount=true
+
+ if $enable_postmount
+ then
+ local initd=udev-postmount
+
+ if [[ -e ${ROOT}/etc/init.d/${initd} ]] && \
+ [[ ! -e ${ROOT}/etc/runlevels/default/${initd} ]]
+ then
+ ln -snf /etc/init.d/${initd} "${ROOT}"/etc/runlevels/default/${initd}
+ elog "Auto-adding '${initd}' service to your default runlevel"
+ fi
+ else
+ elog "You should add the udev-postmount service to default runlevel."
+ elog "Run this to add it:"
+ elog "\trc-update add udev-postmount default"
+ fi
+}