summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-11-10 11:51:44 -0600
committerWilliam Hubbs <williamh@gentoo.org>2016-11-10 11:52:48 -0600
commit1345d5ca11920e261d3ffa8ffcfe67dd6d628ba6 (patch)
treecf65f711c17955beb627a83fc73e3ba0ac8c320d /sys-fs/udev-init-scripts
parentdev-db/mariadb: arm stable, bug #598704 (diff)
downloadgentoo-1345d5ca11920e261d3ffa8ffcfe67dd6d628ba6.tar.gz
gentoo-1345d5ca11920e261d3ffa8ffcfe67dd6d628ba6.tar.bz2
gentoo-1345d5ca11920e261d3ffa8ffcfe67dd6d628ba6.zip
sys-fs/udev-init-scripts: bump for version 32
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-fs/udev-init-scripts')
-rw-r--r--sys-fs/udev-init-scripts/Manifest1
-rw-r--r--sys-fs/udev-init-scripts/udev-init-scripts-32.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-fs/udev-init-scripts/Manifest b/sys-fs/udev-init-scripts/Manifest
index 33de0a898d21..f0258eb19c9c 100644
--- a/sys-fs/udev-init-scripts/Manifest
+++ b/sys-fs/udev-init-scripts/Manifest
@@ -2,3 +2,4 @@ DIST udev-init-scripts-27.tar.bz2 3456 SHA256 1a091c361e9845861c138b505881edcb7b
DIST udev-init-scripts-29.tar.gz 3650 SHA256 63fd923b259f216d8a1b1b64d8e541d67fb5ef86ac163ad087306017fa6426d9 SHA512 b6233b1ef2af6c581584faa6c640840a19c92c70a4e754bcc2d27112fb15b528799c0a3e60f8c5c4436754d3f14c598e946eeca3f0d21512f8cd40f406594514 WHIRLPOOL adbf345047416dce9848c6acf3c92b341961a25fbfb03e6488ff5899ac216e00e53061ea4f0aa4412ea90e4b0e323181abb4480fc313497a5a82f2bf286708fb
DIST udev-init-scripts-30.tar.gz 3668 SHA256 4de998d68e28f8ce4c1d4c9955aec0fa4cfe84673cbf3bfe1be71a1e9918693f SHA512 bf9ec69d9fb9edbe37f3dec8e1d5c828ea63591382de33818297ec5e37490c2dd709a8e32251fba36a816952c98af49172c7c09f3252712ddc51820205c4efdd WHIRLPOOL e666263adbd42ec99ed31c7537361e10deea19293aadd0580410abc901d87d1befdec2231d448cc364564803d2177649037111640218eb96f79ed931e41e26a7
DIST udev-init-scripts-31.tar.gz 3661 SHA256 f8113922f0e062527268da6cc0d8168e64c61e353f6e84292fc64d7c6e4bffae SHA512 9b0322940ca6d78c2753cba801958fbe354431a46c8db3193cce714bf68cb05233ff01bd9fe7b62de29b5d9481828a30990f7e5e079360c823fa102e83b600f5 WHIRLPOOL dbf7765210a40ef6d7c06352de7695f4a674db3ac701233cf3992c0c404e1f07f4461238c318c5a5000a21f0ebe4cccc8f4c46364773e35b9920e49e9b45264c
+DIST udev-init-scripts-32.tar.gz 3661 SHA256 d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa SHA512 da6291ae5c2aa1e8e41656fbe2ed6700e46360809119c0f8a26bf6c3f23f05c861b2c2943b55e47140462049474725e96105e68b204f3d931050409f34d19699 WHIRLPOOL 46660be2a230e5d2a1dfbf924b5a15497b041155c8c50c7d81de1e2f3566669e34bf66d978c1b2a49476a01fefeffa35a754541acba6f6a02be0f9eea6223738
diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-32.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-32.ebuild
new file mode 100644
index 000000000000..e1937c04b330
--- /dev/null
+++ b/sys-fs/udev-init-scripts/udev-init-scripts-32.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/udev-gentoo-scripts.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="udev startup scripts for openrc"
+HOMEPAGE="https://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND=">=virtual/udev-217
+ !<sys-apps/openrc-0.14"
+
+pkg_postinst() {
+ # Add udev and udev-trigger to the sysinit runlevel automatically.
+ for f in udev udev-trigger; do
+ if [[ -x ${ROOT%/}/etc/init.d/${f} &&
+ -d ${ROOT%/}/etc/runlevels/sysinit &&
+ ! -L "${ROOT%/}/etc/runlevels/sysinit/${f}" ]]; then
+ ln -snf /etc/init.d/${f} "${ROOT%/}"/etc/runlevels/sysinit/${f}
+ ewarn "Adding ${f} to the sysinit runlevel"
+ fi
+ done
+
+ if ! has_version "sys-fs/eudev[rule-generator]" && \
+ [[ -x $(type -P rc-update) ]] && rc-update show | grep udev-postmount | grep -qs 'boot\|default\|sysinit'; then
+ 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."
+ fi
+}