summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-01-20 11:10:40 -0500
committerBrian Evans <grknight@gentoo.org>2022-01-20 11:21:15 -0500
commitd09f389970a1a1f1dca74e62b4cb7d5e88a02ceb (patch)
treec02f554e41a08782eafb18bc47fdd2243a5ca1dd /dev-php
parentdev-php/pecl-lzf: Version bump for 1.7.0 (diff)
downloadgentoo-d09f389970a1a1f1dca74e62b4cb7d5e88a02ceb.tar.gz
gentoo-d09f389970a1a1f1dca74e62b4cb7d5e88a02ceb.tar.bz2
gentoo-d09f389970a1a1f1dca74e62b4cb7d5e88a02ceb.zip
dev-php/pecl-pam: Version bump for 2.2.4
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-pam/Manifest1
-rw-r--r--dev-php/pecl-pam/pecl-pam-2.2.4.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-php/pecl-pam/Manifest b/dev-php/pecl-pam/Manifest
index 2c4833e6bb65..1b2d7809e20e 100644
--- a/dev-php/pecl-pam/Manifest
+++ b/dev-php/pecl-pam/Manifest
@@ -1 +1,2 @@
DIST pam-2.2.3.tgz 9422 BLAKE2B 4d10ad40bdfbaa54225723a46a78dbe1609d89cf75d0ca73345e3346fb437a5500e451357b3b0bbcce88c13f8a54dec5b39e9c0741a6e89c0b3936cbb05da91a SHA512 1adc72b1517e224f36f960134d3444d36e6fa5a6868ce4bc1b87edbbfb09406910774061988300094ebf637ee54c5f5a43e0c42c8e2ab78c81a0910063d48c51
+DIST pam-2.2.4.tgz 9500 BLAKE2B fca0bf17c8eb38344f3ae5b47b395caf1a6d0d5f2ad83446a39d62b101492b06ae9cd8834ca63ad6f5e445de3c31a8616ac8180ce7510b0b4220b29e7cb04297 SHA512 fa0dac46cc61a590de4ece925a68e6fbece8c77a00dc48766635190b2f32888cee501d7f798c51890983ee643e15e3514360a0b12d0b56d8a2294ea3fe6acd7e
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
+}