Package Details: perl-authen-pam 0.16-7

Git Clone URL: https://aur.archlinux.org/perl-authen-pam.git (read-only)
Package Base: perl-authen-pam
Description: Perl interface to PAM library
Upstream URL: https://metacpan.org/release/Authen-PAM
Licenses: GPL, PerlArtistic
Submitter: jose1711
Maintainer: jose1711 (amish)
Last Packager: amish
Votes: 8
Popularity: 0.014986
First Submitted: 2016-07-25 05:09
Last Updated: 2019-06-11 17:42

Latest Comments

1 2 Next › Last »

mr_nuub commented on 2018-12-12 08:44

@jose1711 Sorry to bother you again, but you forgot to set INSTALLDIRS=vendor in the package() function. I don't know if this is required, though.

jose1711 commented on 2018-12-12 06:30

@amish how about i make you a comaintainer and you apply the suggested fixes yourself?

jose1711 commented on 2018-12-11 22:27

@mr_nuub seems i am seriously outdated. thanks, should be fixed now

mr_nuub commented on 2018-12-10 21:06

@jose1711 Hi! Maybe you schould read https://wiki.archlinux.org/index.php/Perl_package_guidelines. I can't use webmin/usermin with this PKGBUILD, because it installs the modules to my users home directory.

jose1711 commented on 2018-12-10 20:45

@mr_nuub hi, pkgbuild works for me. but i don't have Perl-related variables exported. tbh i do not see any reason why they should be exported. it's definitely not standard to have such variables reset in every perl-* PKGBUILD

mr_nuub commented on 2018-12-10 17:31

Hi! The PKGBUILD has a significant flaw. It installs the module into the current user home directory. To install the module system-wide, please change the PKGBUILD according to my proposal:

package() {
  cd ${srcdir}/Authen-PAM-$pkgver
  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
  make INSTALLDIRS=vendor DESTDIR="${pkgdir}" install

  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}

Excalibur commented on 2018-09-06 01:55

@jose1711 I did a fresh install and that fixed it. I think this has to do with perl got installed in my home folder instead of a system folder, as seen in my last comment.

jose1711 commented on 2018-08-27 22:11

@Excalibur any PERL-related env variable in your .profile/environment? Keltere had this problem on his system.

Excalibur commented on 2018-08-27 15:06

This package install to "/home/alarm/perl5/lib/perl5/aarch64-linux-thread-multi/Authen/PAM.pm" on ESPRESSObin which is an aarch64 device using Arch Linux ARM and yaourt.

Running "perl -e 'use Authen::PAM;'" returns nothing but sudo it will throw out error: Can't locate Authen/PAM.pm in @INC (you may need to install the Authen::PAM module) (@INC contains: /usr/lib/perl5/5.28/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.28/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.28/core_perl /usr/share/perl5/core_perl) at -e line 1.

Due to this error, I cannot start webmin on my device. I have to use no_pam=1 and pam_only=0 in /etc/webmin/miniserv.conf

jose1711 commented on 2018-08-16 20:43

@Keltere please contact me privately, I want to have a closer look