From ba6effbcc0d8d9795c4f496457ddfdd024b6e864 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 2 Apr 2024 02:14:11 +0100 Subject: gentoo auto-resync : 02:04:2024 - 02:14:11 --- sys-apps/openrc/openrc-0.54.ebuild | 162 +++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 sys-apps/openrc/openrc-0.54.ebuild (limited to 'sys-apps/openrc/openrc-0.54.ebuild') diff --git a/sys-apps/openrc/openrc-0.54.ebuild b/sys-apps/openrc/openrc-0.54.ebuild new file mode 100644 index 000000000000..ed8424d562b7 --- /dev/null +++ b/sys-apps/openrc/openrc-0.54.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson pam + +DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" +HOMEPAGE="https://github.com/openrc/openrc/" + +if [[ ${PV} =~ ^9{4,}$ ]]; then + EGIT_REPO_URI="https://github.com/OpenRC/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/OpenRC/openrc/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="audit bash debug pam newnet +netifrc selinux s6 +sysvinit sysv-utils unicode" + +COMMON_DEPEND=" + pam? ( sys-libs/pam ) + audit? ( sys-process/audit ) + sys-process/psmisc + selinux? ( + sys-apps/policycoreutils + >=sys-libs/libselinux-2.6 + )" +DEPEND="${COMMON_DEPEND} + virtual/os-headers" +RDEPEND="${COMMON_DEPEND} + bash? ( app-shells/bash ) + sysv-utils? ( + !sys-apps/systemd[sysv-utils(-)] + !sys-apps/sysvinit + ) + !sysv-utils? ( + sysvinit? ( >=sys-apps/sysvinit-2.86-r6[selinux?] ) + s6? ( sys-apps/s6-linux-init[sysv-utils(-)] ) + ) + virtual/tmpfiles + selinux? ( + >=sec-policy/selinux-base-policy-2.20170204-r4 + >=sec-policy/selinux-openrc-2.20170204-r4 + ) +" + +PDEPEND="netifrc? ( net-misc/netifrc )" + +src_configure() { + local emesonargs=( + $(meson_feature audit) + "-Dbranding=\"Gentoo Linux\"" + $(meson_use newnet) + -Dos=Linux + $(meson_use pam) + $(meson_feature selinux) + -Drootprefix="${EPREFIX}" + -Dshell=$(usex bash /bin/bash /bin/sh) + $(meson_use sysv-utils sysvinit) + ) + # export DEBUG=$(usev debug) + meson_src_configure +} + +# set_config