diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-14 12:27:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-14 12:27:14 +0100 |
commit | f7adcd4ee556b2c3a420239c13fb74113d791f6a (patch) | |
tree | 1cc566bbd03612996262177e95152bdda507cca9 /sys-apps/init-system-helpers/init-system-helpers-1.66.ebuild | |
parent | 482a48c0e1675b1e92663b8b5222bb7261aa7956 (diff) |
gentoo auto-resync : 14:07:2024 - 12:27:13
Diffstat (limited to 'sys-apps/init-system-helpers/init-system-helpers-1.66.ebuild')
-rw-r--r-- | sys-apps/init-system-helpers/init-system-helpers-1.66.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-apps/init-system-helpers/init-system-helpers-1.66.ebuild b/sys-apps/init-system-helpers/init-system-helpers-1.66.ebuild new file mode 100644 index 000000000000..16d0b3cc65fe --- /dev/null +++ b/sys-apps/init-system-helpers/init-system-helpers-1.66.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +S="${WORKDIR}/${PN}" + +LICENSE="BSD GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +BDEPEND=">=dev-python/docutils-0.21.2" +RDEPEND="!<sys-apps/openrc-0.33" + +PATCHES=( + "${FILESDIR}/revert-openrc-management.patch" +) + +src_install() { + # We only care about 'service' script/manpage: + exeinto /sbin/ + doexe script/service + + rst2man man8/service.rst > man8/service.8 || die "Failed to generate man page" + + # 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 +} |