From c32ff3fd3d55c96086f38245f365f94eb135da7e Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sat, 23 Jan 2021 14:30:43 +0300 Subject: sys-apps/openrc: install pam files conditionally Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada --- sys-apps/openrc/openrc-0.42.1-r1.ebuild | 198 ++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 sys-apps/openrc/openrc-0.42.1-r1.ebuild (limited to 'sys-apps/openrc/openrc-0.42.1-r1.ebuild') diff --git a/sys-apps/openrc/openrc-0.42.1-r1.ebuild b/sys-apps/openrc/openrc-0.42.1-r1.ebuild new file mode 100644 index 000000000000..141359685084 --- /dev/null +++ b/sys-apps/openrc/openrc-0.42.1-r1.ebuild @@ -0,0 +1,198 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic pam toolchain-funcs usr-ldscript + +DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" +HOMEPAGE="https://github.com/openrc/openrc/" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/OpenRC/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="audit bash debug ncurses pam newnet prefix +netifrc selinux static-libs + sysv-utils unicode" + +COMMON_DEPEND=" + ncurses? ( sys-libs/ncurses:0= ) + pam? ( + sys-auth/pambase + sys-libs/pam + ) + audit? ( sys-process/audit ) + sys-process/psmisc + !=sys-libs/libselinux-2.6 + ) + !