summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2011-07-03 09:52:40 +0000
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2011-07-03 09:52:40 +0000
commitf075c009476d7cd0bc50533d1c757ef299704a91 (patch)
treeb983193bebb1f580f3dddce25b50658725226723 /sys-boot/plymouth-openrc-plugin
parentsys-fs/evms is gone (diff)
downloadgentoo-2-f075c009476d7cd0bc50533d1c757ef299704a91.tar.gz
gentoo-2-f075c009476d7cd0bc50533d1c757ef299704a91.tar.bz2
gentoo-2-f075c009476d7cd0bc50533d1c757ef299704a91.zip
New package: sys-boot/plymouth-openrc-plugin
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/plymouth-openrc-plugin')
-rw-r--r--sys-boot/plymouth-openrc-plugin/ChangeLog13
-rw-r--r--sys-boot/plymouth-openrc-plugin/metadata.xml9
-rw-r--r--sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.1.ebuild36
3 files changed, 58 insertions, 0 deletions
diff --git a/sys-boot/plymouth-openrc-plugin/ChangeLog b/sys-boot/plymouth-openrc-plugin/ChangeLog
new file mode 100644
index 000000000000..e4b3563e13ff
--- /dev/null
+++ b/sys-boot/plymouth-openrc-plugin/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for sys-boot/plymouth-openrc-plugin
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth-openrc-plugin/ChangeLog,v 1.1 2011/07/03 09:52:40 aidecoe Exp $
+
+*plymouth-openrc-plugin-0.1.1 (03 Jul 2011)
+
+ 03 Jul 2011; Amadeusz Żołnowski <aidecoe@gentoo.org>
+ +plymouth-openrc-plugin-0.1.1.ebuild, +metadata.xml:
+ Initial ebuild. Resolves bug #372699.
+
+ Plugin for OpenRC is installed directly by sys-boot/plymouth until upcoming
+ plymouth-0.8.3-r5.ebuild. Now it's going to be installed by this package.
+
diff --git a/sys-boot/plymouth-openrc-plugin/metadata.xml b/sys-boot/plymouth-openrc-plugin/metadata.xml
new file mode 100644
index 000000000000..af832d60d56b
--- /dev/null
+++ b/sys-boot/plymouth-openrc-plugin/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.1.ebuild b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.1.ebuild
new file mode 100644
index 000000000000..1979ee42ec00
--- /dev/null
+++ b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.1.1.ebuild,v 1.1 2011/07/03 09:52:40 aidecoe Exp $
+
+EAPI=4
+
+inherit multilib
+
+DESCRIPTION="Plymouth plugin for OpenRC"
+HOMEPAGE="https://github.com/aidecoe/plymouth-openrc-plugin"
+SRC_URI="
+http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND=">=sys-apps/openrc-0.8.2-r1"
+RDEPEND="${DEPEND}"
+
+pkg_pretend() {
+ if [[ ! -w /run ]]; then
+ die "/run doesn't exist! You need to create this directory.\n\n" \
+ "If you'd like to know more about purpose of /run, please read:\n\n" \
+ " https://lwn.net/Articles/436012/\n"
+ fi
+}
+
+src_install() {
+ insinto /$(get_libdir)/rc/plugins
+ doins plymouth.so
+}
+
+pkg_postinst() {
+ ewarn "You need to disable 'interactive' feature in /etc/rc.conf to make"
+ ewarn "Plymouth work properly with OpenRC init system."
+}