summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2021-08-27 10:14:27 -0400
committerBrian Evans <grknight@gentoo.org>2021-08-27 10:16:01 -0400
commit04dcd21238674ea64d9cda3bef10c068b6d17175 (patch)
tree7517f666e3426d95e0db74e3c5b235238d9a50e4 /dev-php/pecl-pam/pecl-pam-2.2.3.ebuild
parentapp-emulation/winetricks: Sync with ::wine (diff)
downloadgentoo-04dcd21238674ea64d9cda3bef10c068b6d17175.tar.gz
gentoo-04dcd21238674ea64d9cda3bef10c068b6d17175.tar.bz2
gentoo-04dcd21238674ea64d9cda3bef10c068b6d17175.zip
dev-php/pecl-pam: Version bump for 2.2.3
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php/pecl-pam/pecl-pam-2.2.3.ebuild')
-rw-r--r--dev-php/pecl-pam/pecl-pam-2.2.3.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-php/pecl-pam/pecl-pam-2.2.3.ebuild b/dev-php/pecl-pam/pecl-pam-2.2.3.ebuild
new file mode 100644
index 000000000000..54ba34e572c7
--- /dev/null
+++ b/dev-php/pecl-pam/pecl-pam-2.2.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+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"
+
+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
+}