Package Details: perl-authen-pam 0.16-12

Git Clone URL: https://aur.archlinux.org/perl-authen-pam.git (read-only, click to copy)
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: 12
Popularity: 0.000000
First Submitted: 2016-07-25 05:09 (UTC)
Last Updated: 2024-09-05 02:52 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

jose1711 commented on 2018-12-10 20:45 (UTC)

@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 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC) (edited on 2018-08-27 15:40 (UTC) by Excalibur)

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 (UTC)

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

Keltere commented on 2018-08-16 15:16 (UTC)

@jose1711 Done, i've tried also to install with 'makepkg --install' but i get the same problem

https://pastebin.com/4f24R2nH

jose1711 commented on 2018-08-16 14:29 (UTC)

almost.. please run bash -vx makepkg -f to force overwriting of the package you have built

Keltere commented on 2018-08-16 13:08 (UTC)

@jose1711 yup sry, here is the good one i made with trizen instead of yaourt and i have the same problem.

https://pastebin.com/Tc9L3TJZ