diff options
author | 2013-01-09 07:18:50 +0000 | |
---|---|---|
committer | 2013-01-09 07:18:50 +0000 | |
commit | cf020db9b3de51f718276bc7289045dbf61f777c (patch) | |
tree | 848996af6c14469f28686970e3bc6bedcefbfc59 /sys-fs | |
parent | Cleanup. (diff) | |
download | gentoo-2-cf020db9b3de51f718276bc7289045dbf61f777c.tar.gz gentoo-2-cf020db9b3de51f718276bc7289045dbf61f777c.tar.bz2 gentoo-2-cf020db9b3de51f718276bc7289045dbf61f777c.zip |
version bump and sync live ebuild
(Portage version: 2.2.0_alpha149/cvs/Linux i686, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/udev-init-scripts/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/udev-init-scripts-19.ebuild | 76 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild | 6 |
3 files changed, 87 insertions, 5 deletions
diff --git a/sys-fs/udev-init-scripts/ChangeLog b/sys-fs/udev-init-scripts/ChangeLog index 9ccb222d0ac0..083fa17087db 100644 --- a/sys-fs/udev-init-scripts/ChangeLog +++ b/sys-fs/udev-init-scripts/ChangeLog @@ -1,6 +1,12 @@ # 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.24 2012/12/11 19:17:53 axs Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.25 2013/01/09 07:18:50 williamh Exp $ + +*udev-init-scripts-19 (09 Jan 2013) + + 09 Jan 2013; William Hubbs <williamh@gentoo.org> + +udev-init-scripts-19.ebuild, udev-init-scripts-9999.ebuild: + version bump and sync live ebuild 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> udev-init-scripts-18.ebuild, udev-init-scripts-9999.ebuild: diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-19.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-19.ebuild new file mode 100644 index 000000000000..b262918fb9d2 --- /dev/null +++ b/sys-fs/udev-init-scripts/udev-init-scripts-19.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2013 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-19.ebuild,v 1.1 2013/01/09 07:18:50 williamh Exp $ + +EAPI=4 + +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/udev-gentoo-scripts.git" + inherit git-2 +fi + +DESCRIPTION="udev startup scripts for openrc" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +if [ "${PV}" != "9999" ]; then + SRC_URI="http://dev.gentoo.org/~williamh/dist/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +RESTRICT="test" + +DEPEND="virtual/pkgconfig" +RDEPEND=">=virtual/udev-180 + sys-apps/openrc + !<sys-fs/udev-186" + +pkg_postinst() +{ + # If we are building stages, add udev and udev-mount 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 + if [[ -x "${ROOT}"/etc/init.d/udev-mount \ + && -d "${ROOT}"/etc/runlevels/sysinit ]] + then + ln -s /etc/init.d/udev-mount \ + "${ROOT}"/etc/runlevels/sysinit/udev-mount + fi + fi + + # Warn the user about adding the scripts to their sysinit runlevel + if [[ -e "${ROOT}"/etc/runlevels/sysinit ]] + then + if [[ ! -e "${ROOT}"/etc/runlevels/sysinit/udev ]] + then + ewarn + ewarn "You need to add udev to the sysinit runlevel." + ewarn "If you do not do this," + ewarn "your system will not be able to boot!" + ewarn "Run this command:" + ewarn "\trc-update add udev sysinit" + fi + if [[ ! -e "${ROOT}"/etc/runlevels/sysinit/udev-mount ]] + then + ewarn + ewarn "You need to add udev-mount to the sysinit runlevel." + ewarn "If you do not do this," + ewarn "your system will not be able to boot!" + ewarn "Run this command:" + ewarn "\trc-update add udev-mount sysinit" + fi + fi + + ewarn "The udev-postmount service has been removed because the reasons for" + ewarn "its existance have been removed upstream." + ewarn "Please remove it from your runlevels." +} diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild index 750b89d95170..7f41553c74fa 100644 --- a/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild +++ b/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 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-9999.ebuild,v 1.12 2012/12/11 19:17:53 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild,v 1.13 2013/01/09 07:18:50 williamh Exp $ EAPI=4 @@ -23,7 +23,7 @@ fi RESTRICT="test" -DEPEND="" +DEPEND="virtual/pkgconfig" RDEPEND=">=virtual/udev-180 sys-apps/openrc !<sys-fs/udev-186" |