commit: 73fd54a7c7e6391e18d29c1a19266d174ad78f85 Author: Joakim Tjernlund <Joakim.Tjernlund <AT> infinera <DOT> com> AuthorDate: Sat Jun 17 11:09:27 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jun 24 01:12:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73fd54a7
sys-auth/pam_require: autoreconf to fix modern C issue Closes: https://bugs.gentoo.org/908581 Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund <AT> infinera.com> Closes: https://github.com/gentoo/gentoo/pull/31505 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-auth/pam_require/pam_require-0.7-r2.ebuild | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/sys-auth/pam_require/pam_require-0.7-r2.ebuild b/sys-auth/pam_require/pam_require-0.7-r2.ebuild new file mode 100644 index 000000000000..a4080fccef30 --- /dev/null +++ b/sys-auth/pam_require/pam_require-0.7-r2.ebuild @@ -0,0 +1,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 ~ia64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="" + +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 || die "autoreconf" +} + +src_install() { + dopammod pam_require.so + + einstalldocs +}
