diff options
author | Joakim Tjernlund <Joakim.Tjernlund@infinera.com> | 2023-06-17 13:09:27 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-24 02:12:18 +0100 |
commit | 73fd54a7c7e6391e18d29c1a19266d174ad78f85 (patch) | |
tree | 4f05cc83dd87129f6abef6bad1d6405df84e12a2 /sys-auth/pam_require/pam_require-0.7-r2.ebuild | |
parent | sys-devel/gcc: add 12.3.1_p20230623 (diff) | |
download | gentoo-73fd54a7c7e6391e18d29c1a19266d174ad78f85.tar.gz gentoo-73fd54a7c7e6391e18d29c1a19266d174ad78f85.tar.bz2 gentoo-73fd54a7c7e6391e18d29c1a19266d174ad78f85.zip |
sys-auth/pam_require: autoreconf to fix modern C issue
Closes: https://bugs.gentoo.org/908581
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Closes: https://github.com/gentoo/gentoo/pull/31505
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-auth/pam_require/pam_require-0.7-r2.ebuild')
-rw-r--r-- | sys-auth/pam_require/pam_require-0.7-r2.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
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 +} |