sys-apps/init-system-helpers: initial ebuild
authorAustin English <wizardedit@gentoo.org>
Wed, 11 Oct 2017 23:38:02 +0000 (18:38 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 11 Oct 2017 23:38:27 +0000 (18:38 -0500)
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

sys-apps/init-system-helpers/Manifest [new file with mode: 0644]
sys-apps/init-system-helpers/init-system-helpers-1.49.ebuild [new file with mode: 0644]
sys-apps/init-system-helpers/metadata.xml [new file with mode: 0644]

diff --git a/sys-apps/init-system-helpers/Manifest b/sys-apps/init-system-helpers/Manifest
new file mode 100644 (file)
index 0000000..668b935
--- /dev/null
@@ -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 (file)
index 0000000..06a29e9
--- /dev/null
@@ -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 (file)
index 0000000..4f7ad3b
--- /dev/null
@@ -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>