You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
639 B
30 lines
639 B
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=0
|
|
|
|
inherit eutils pam
|
|
|
|
DESCRIPTION="Allows you to require a special group or user to access a service"
|
|
HOMEPAGE="http://www.splitbrain.org/projects/pam_require"
|
|
SRC_URI="http://www.splitbrain.org/_media/projects/pamrequire/${P}.tgz"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="sys-libs/pam"
|
|
|
|
S=${WORKDIR}/${P/_/-}
|
|
|
|
src_compile() {
|
|
./configure --prefix=/ || die "econf failed"
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
dopammod "${S}/pam_require.so"
|
|
|
|
dodoc AUTHORS ChangeLog NEWS README
|
|
}
|