summaryrefslogtreecommitdiff
blob: 2d349d2bfbceaa867c1cfe3eccddc4ab393d2192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools 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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"

DEPEND="sys-libs/pam"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${P/_/-}

src_prepare() {
	default
	mv "${S}"/configure.in "${S}"/configure.ac || die "mv configure.in to configure.ac"
	eautoreconf
}

src_install() {
	dopammod pam_require.so

	einstalldocs
}