summaryrefslogtreecommitdiff
path: root/dev-php/pecl-pam
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/pecl-pam')
-rw-r--r--dev-php/pecl-pam/Manifest2
-rw-r--r--dev-php/pecl-pam/pecl-pam-2.2.4.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-php/pecl-pam/Manifest b/dev-php/pecl-pam/Manifest
index 8cd459a51e11..e4509a773f53 100644
--- a/dev-php/pecl-pam/Manifest
+++ b/dev-php/pecl-pam/Manifest
@@ -1,3 +1,5 @@
DIST pam-2.2.3.tgz 9422 BLAKE2B 4d10ad40bdfbaa54225723a46a78dbe1609d89cf75d0ca73345e3346fb437a5500e451357b3b0bbcce88c13f8a54dec5b39e9c0741a6e89c0b3936cbb05da91a SHA512 1adc72b1517e224f36f960134d3444d36e6fa5a6868ce4bc1b87edbbfb09406910774061988300094ebf637ee54c5f5a43e0c42c8e2ab78c81a0910063d48c51
+DIST pam-2.2.4.tgz 9500 BLAKE2B fca0bf17c8eb38344f3ae5b47b395caf1a6d0d5f2ad83446a39d62b101492b06ae9cd8834ca63ad6f5e445de3c31a8616ac8180ce7510b0b4220b29e7cb04297 SHA512 fa0dac46cc61a590de4ece925a68e6fbece8c77a00dc48766635190b2f32888cee501d7f798c51890983ee643e15e3514360a0b12d0b56d8a2294ea3fe6acd7e
EBUILD pecl-pam-2.2.3.ebuild 689 BLAKE2B e6818da986f4c2a5fc77736859e1bc96b1bfc33fe6142557e52112106a5202b14a2c35283f51b2617e9761e982337800d96b5fbe28eedc43343b92932355a5ee SHA512 ccb329ad044cdeec50af59bcc4403c9d5b39576dde37e85ffb6ed6cbeae1e0a5f2651fa18fbe3e4b6f01c1c3ae45b4a34a46cf20091ea630ddf5c6f875e95737
+EBUILD pecl-pam-2.2.4.ebuild 689 BLAKE2B f5389a67c5955c694a4306daccbc82b8f792874a6ca5f5c952995b7a63ace1a001aa65706ab0e911308520cf2168ec4a14fadc3d579c0e6bafdc2eff41a5f83b SHA512 4a17d161cc960b5b60ec62f4862c4cf667fab0966e3bb79903b2250ac57204c554c63d75c7fd5b62106ae13da85f870b422a291906fbb8108d99740695438e67
MISC metadata.xml 240 BLAKE2B f60f325331d493a555e53c29c7cf2742a415356da28a467505f1441f3fd790fd0d59050df84854bdc379d19d94a46121216479807975a2922d5a2fefde83416b SHA512 fada9d69055f2be962b95aac82f260ec5db7a3f4392d10f0458a1d125938fa17539f7ec486000f3a95cff85a3fbb6bbf1f6f4fe6c2de7aa420a7543a3e89d03e
diff --git a/dev-php/pecl-pam/pecl-pam-2.2.4.ebuild b/dev-php/pecl-pam/pecl-pam-2.2.4.ebuild
new file mode 100644
index 000000000000..4a809c31272d
--- /dev/null
+++ b/dev-php/pecl-pam/pecl-pam-2.2.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PHP_EXT_NAME="pam"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_ECONF_ARGS=( --with-pam=/usr )
+DOCS=( README )
+
+USE_PHP="php7-3 php7-4 php8-0 php8-1"
+
+inherit php-ext-pecl-r3 pam
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="This extension provides PAM (Pluggable Authentication Modules) integration"
+LICENSE="PHP-3.01"
+SLOT="0"
+IUSE=""
+
+DEPEND="sys-libs/pam"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ #Fix DOS line endings
+ sed -i 's/\r$//' -- pam.c || die
+ php-ext-source-r3_src_prepare
+}
+
+src_install() {
+ pamd_mimic_system php auth account password
+ php-ext-pecl-r3_src_install
+}