summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-03-19 20:50:38 +0000
committerWilliam Hubbs <williamh@gentoo.org>2012-03-19 20:50:38 +0000
commitd805a190b755a6dd84f8affbf1456616d20d1d6c (patch)
treef1f7fbefa2376953941dc346d645c17a5ca67500 /sys-fs/udev-init-scripts
parentdeprecated patch from 5.1.4 applies to 5.1.5, too (bug #408827) (diff)
downloadgentoo-2-d805a190b755a6dd84f8affbf1456616d20d1d6c.tar.gz
gentoo-2-d805a190b755a6dd84f8affbf1456616d20d1d6c.tar.bz2
gentoo-2-d805a190b755a6dd84f8affbf1456616d20d1d6c.zip
remove old version
(Portage version: 2.2.0_alpha92/cvs/Linux i686)
Diffstat (limited to 'sys-fs/udev-init-scripts')
-rw-r--r--sys-fs/udev-init-scripts/ChangeLog5
-rw-r--r--sys-fs/udev-init-scripts/udev-init-scripts-8.ebuild91
2 files changed, 4 insertions, 92 deletions
diff --git a/sys-fs/udev-init-scripts/ChangeLog b/sys-fs/udev-init-scripts/ChangeLog
index 8628ee14c245..89ee1cee105c 100644
--- a/sys-fs/udev-init-scripts/ChangeLog
+++ b/sys-fs/udev-init-scripts/ChangeLog
@@ -1,6 +1,9 @@
# 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.5 2012/03/19 17:06:09 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.6 2012/03/19 20:50:38 williamh Exp $
+
+ 19 Mar 2012; William Hubbs <williamh@gentoo.org> -udev-init-scripts-8.ebuild:
+ remove old version
19 Mar 2012; William Hubbs <williamh@gentoo.org> udev-init-scripts-8.ebuild,
udev-init-scripts-9.ebuild, udev-init-scripts-9999.ebuild:
diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-8.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-8.ebuild
deleted file mode 100644
index 56e55a9f9c41..000000000000
--- a/sys-fs/udev-init-scripts/udev-init-scripts-8.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# 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-8.ebuild,v 1.4 2012/03/19 17:06:09 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-181
- !<sys-fs/udev-181
- 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
-}