Package Details: php-pam 2.1.1-1

Git Clone URL: https://aur.archlinux.org/php-pam.git (read-only)
Package Base: php-pam
Description: This extension provides PAM (Pluggable Authentication Modules) integration in PHP.
Upstream URL: https://github.com/amishmm/php-pam
Licenses: PHP
Submitter: matteomattei
Maintainer: matteomattei (amish)
Last Packager: amish
Votes: 8
Popularity: 0.000001
First Submitted: 2007-10-12 13:36
Last Updated: 2018-12-30 08:01

Pinned Comments

amish commented on 2018-10-12 12:57

Package updated to new upstream. There are changes to PAM service file (/etc/pam.d/php). Please have a re-look and make changes to it if necessary. Also have a look at changes at new upstream, although it should not require any change to existing php code.

Latest Comments

1 2 Next › Last »

matteomattei commented on 2018-10-12 17:14

It seems ok to me

amish commented on 2018-10-12 12:57

Package updated to new upstream. There are changes to PAM service file (/etc/pam.d/php). Please have a re-look and make changes to it if necessary. Also have a look at changes at new upstream, although it should not require any change to existing php code.

matteomattei commented on 2018-10-11 18:20

@amish no problem go ahead and update it ;-)

amish commented on 2018-10-11 17:15

@matteomattei - Thanks.

The upstream has not been updated since 2009. I intend to switch to: Source: https://github.com/amishmm/php-pam

Where it supports PHP 7 and fixes the coredump/segfault bug when optimization is enabled. Commits: https://github.com/amishmm/php-pam/commits/master

Any objections?

matteomattei commented on 2018-10-11 16:13

@amish I added you as maintainer

amish commented on 2018-10-11 12:16

@matteomattei - would you like to transfer ownership to me? I am willing to maintain the package. Thank you.

amish commented on 2017-06-03 14:53

Instead of using customized "php" pam service. Its better and more secure to use Arch's default pam service called "system-remote-login"

i.e. in pam.ini change:

pam.servicename="php"
to
pam.servicename="system-remote-login"

It will standardize authentication. And there will be no need to maintain source file named "php"

matteomattei commented on 2017-04-12 14:57

@amish ok updated, thanks! ;-)

amish commented on 2017-04-12 04:53

Thanks for update but we also need to disable optimization.

export CFLAGS="$CFLAGS -O0"
export CXXFLAGS="$CXXFLAGS -O0

in build() section before phpize because otherwise any code using php-pam causes segfault (coredump).

I have reported issue upstream but probably code is not maintained from 7 to 8 years now. So I do not expect any resolution. May be someone can look and figure out why coredump occurs when optimization is enabled?

amish commented on 2017-04-09 11:52

Code does not compile

Please try / implement patch at:
https://bugs.php.net/bug.php?id=74396