From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1531764-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 08990158009
	for <garchives@archives.gentoo.org>; Sat, 24 Jun 2023 01:18:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 33FFDE07F0;
	Sat, 24 Jun 2023 01:18:22 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 0E43EE07F0
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Jun 2023 01:18:21 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D4CDB340A9F
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Jun 2023 01:18:20 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 19141A95
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Jun 2023 01:18:19 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1687569138.73fd54a7c7e6391e18d29c1a19266d174ad78f85.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_require/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-auth/pam_require/pam_require-0.7-r2.ebuild
X-VCS-Directories: sys-auth/pam_require/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 73fd54a7c7e6391e18d29c1a19266d174ad78f85
X-VCS-Branch: master
Date: Sat, 24 Jun 2023 01:18:19 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: baea9834-1247-42b4-8a8d-43d2de4f6698
X-Archives-Hash: 8014a334ccbfb6ff529521e442eb1b37

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
+}