commit:     cbeade55fd5e1feb22e774cf93bfe9578afec188
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 11 23:38:02 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Oct 11 23:38:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbeade55

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

 sys-apps/init-system-helpers/Manifest              |  1 +
 .../init-system-helpers-1.49.ebuild                | 27 ++++++++++++++++++++++
 sys-apps/init-system-helpers/metadata.xml          |  8 +++++++
 3 files changed, 36 insertions(+)

diff --git a/sys-apps/init-system-helpers/Manifest 
b/sys-apps/init-system-helpers/Manifest
new file mode 100644
index 00000000000..668b935750f
--- /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 00000000000..06a29e97d0f
--- /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 00000000000..4f7ad3b3b5a
--- /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>[email protected]</email>
+               <name>Austin English</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to