1 |
commit: d09f389970a1a1f1dca74e62b4cb7d5e88a02ceb |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 20 16:10:40 2022 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 20 16:21:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09f3899 |
7 |
|
8 |
dev-php/pecl-pam: Version bump for 2.2.4 |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
|
12 |
dev-php/pecl-pam/Manifest | 1 + |
13 |
dev-php/pecl-pam/pecl-pam-2.2.4.ebuild | 35 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-php/pecl-pam/Manifest b/dev-php/pecl-pam/Manifest |
17 |
index 2c4833e6bb65..1b2d7809e20e 100644 |
18 |
--- a/dev-php/pecl-pam/Manifest |
19 |
+++ b/dev-php/pecl-pam/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pam-2.2.3.tgz 9422 BLAKE2B 4d10ad40bdfbaa54225723a46a78dbe1609d89cf75d0ca73345e3346fb437a5500e451357b3b0bbcce88c13f8a54dec5b39e9c0741a6e89c0b3936cbb05da91a SHA512 1adc72b1517e224f36f960134d3444d36e6fa5a6868ce4bc1b87edbbfb09406910774061988300094ebf637ee54c5f5a43e0c42c8e2ab78c81a0910063d48c51 |
22 |
+DIST pam-2.2.4.tgz 9500 BLAKE2B fca0bf17c8eb38344f3ae5b47b395caf1a6d0d5f2ad83446a39d62b101492b06ae9cd8834ca63ad6f5e445de3c31a8616ac8180ce7510b0b4220b29e7cb04297 SHA512 fa0dac46cc61a590de4ece925a68e6fbece8c77a00dc48766635190b2f32888cee501d7f798c51890983ee643e15e3514360a0b12d0b56d8a2294ea3fe6acd7e |
23 |
|
24 |
diff --git a/dev-php/pecl-pam/pecl-pam-2.2.4.ebuild b/dev-php/pecl-pam/pecl-pam-2.2.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4a809c31272d |
27 |
--- /dev/null |
28 |
+++ b/dev-php/pecl-pam/pecl-pam-2.2.4.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="8" |
34 |
+ |
35 |
+PHP_EXT_NAME="pam" |
36 |
+PHP_EXT_INI="yes" |
37 |
+PHP_EXT_ZENDEXT="no" |
38 |
+PHP_EXT_ECONF_ARGS=( --with-pam=/usr ) |
39 |
+DOCS=( README ) |
40 |
+ |
41 |
+USE_PHP="php7-3 php7-4 php8-0 php8-1" |
42 |
+ |
43 |
+inherit php-ext-pecl-r3 pam |
44 |
+ |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+DESCRIPTION="This extension provides PAM (Pluggable Authentication Modules) integration" |
48 |
+LICENSE="PHP-3.01" |
49 |
+SLOT="0" |
50 |
+IUSE="" |
51 |
+ |
52 |
+DEPEND="sys-libs/pam" |
53 |
+RDEPEND="${DEPEND}" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ #Fix DOS line endings |
57 |
+ sed -i 's/\r$//' -- pam.c || die |
58 |
+ php-ext-source-r3_src_prepare |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ pamd_mimic_system php auth account password |
63 |
+ php-ext-pecl-r3_src_install |
64 |
+} |