summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2017-10-11 18:38:02 -0500
committerAustin English <wizardedit@gentoo.org>2017-10-11 18:38:27 -0500
commitcbeade55fd5e1feb22e774cf93bfe9578afec188 (patch)
tree18f3d6506f939ddf503764f4c2838bb939000285
parentwww-client/firefox: drop old/vulnerable 52.3.0 (diff)
downloadgentoo-cbeade55fd5e1feb22e774cf93bfe9578afec188.tar.gz
gentoo-cbeade55fd5e1feb22e774cf93bfe9578afec188.tar.bz2
gentoo-cbeade55fd5e1feb22e774cf93bfe9578afec188.zip
sys-apps/init-system-helpers: initial ebuild
This provides a universal `service` shell script that supports both OpenRC and systemd, providing a common interface for external programs Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--sys-apps/init-system-helpers/Manifest1
-rw-r--r--sys-apps/init-system-helpers/init-system-helpers-1.49.ebuild27
-rw-r--r--sys-apps/init-system-helpers/metadata.xml8
3 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/init-system-helpers/Manifest b/sys-apps/init-system-helpers/Manifest
new file mode 100644
index 000000000000..668b935750fa
--- /dev/null
+++ b/sys-apps/init-system-helpers/Manifest
@@ -0,0 +1 @@
+DIST init-system-helpers_1.49.tar.xz 42660 SHA256 845ed218f1cb54d5b10ea850620e5b6b3905fb248163f97ad4670a55100cedae SHA512 bd612207e51e18a44f9c90e1e5b069ab39e06c776b8a0d6c9ecb367890d4a44ff02b3028418ac10a688782745331f39bb9299ba836f333b712e6fdd7ddc8da16 WHIRLPOOL edacb283ccbc33ead7dda578138831f3631c6bfdf4498a97c76a8929b61cb3ab48404effd36614fcdc36cccaa22dfed4ce1d7242289bdeff446d6e2dfbc1476a
diff --git a/sys-apps/init-system-helpers/init-system-helpers-1.49.ebuild b/sys-apps/init-system-helpers/init-system-helpers-1.49.ebuild
new file mode 100644
index 000000000000..06a29e97d0fa
--- /dev/null
+++ b/sys-apps/init-system-helpers/init-system-helpers-1.49.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Helper scripts useful for both OpenRC and systemd"
+HOMEPAGE="https://packages.debian.org/sid/init-system-helpers"
+# git repo: https://anonscm.debian.org/git/collab-maint/init-system-helpers.git
+SRC_URI="http://http.debian.net/debian/pool/main/i/${PN}/${PN}_${PV}.tar.xz"
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!<sys-apps/openrc-0.33"
+
+src_install() {
+ # We only care about 'service' script/manpage:
+ exeinto /sbin/
+ doexe script/service
+
+ # FIXME: need to patch to remove *rc.d references, which we don't ship
+ # And should probably add a list of supported options (e.g., start/stop/etc.)
+ doman man8/service.8
+}
diff --git a/sys-apps/init-system-helpers/metadata.xml b/sys-apps/init-system-helpers/metadata.xml
new file mode 100644
index 000000000000..4f7ad3b3b5af
--- /dev/null
+++ b/sys-apps/init-system-helpers/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wizardedit@gentoo.org</email>
+ <name>Austin English</name>
+ </maintainer>
+</pkgmetadata>