# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit flag-o-matic pam toolchain-funcs versionator DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" HOMEPAGE="https://github.com/openrc/openrc/" if [[ ${PV} == "9999" ]]; then MY_PV=${PV} EGIT_REPO_URI="git://github.com/OpenRC/${PN}.git" inherit git-r3 MY_PV=${PV} else MY_PV=$(get_version_component_range 1-3 ${PV}) P=${PN}-${MY_PV} S=${WORKDIR}/${P} SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz" fi KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" LICENSE="BSD-2" SLOT="0" IUSE="audit debug ncurses pam newnet prefix +netifrc selinux static-libs tools unicode kernel_linux kernel_FreeBSD cli-args-colon cli-args-ddash cli-args-dasha " # JRG: Only support one syntax patch at a time. REQUIRED_USE="( ?? ( cli-args-colon cli-args-ddash cli-args-dasha ) )" COMMON_DEPEND="kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) ) ncurses? ( sys-libs/ncurses:0= ) pam? ( sys-auth/pambase virtual/pam ) tools? ( dev-lang/perl ) audit? ( sys-process/audit ) kernel_linux? ( sys-process/psmisc !