25 lines
531 B
Bash
25 lines
531 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit pam
|
|
|
|
DESCRIPTION="Allows you to require a special group or user to access a service"
|
|
HOMEPAGE="https://www.splitbrain.org/projects/pam_require"
|
|
SRC_URI="https://www.splitbrain.org/_media/projects/pamrequire/${P}.tgz"
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="sys-libs/pam"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S=${WORKDIR}/${P/_/-}
|
|
|
|
src_install() {
|
|
dopammod pam_require.so
|
|
|
|
einstalldocs
|
|
}
|