Package Details: pam_ssh_agent_auth 0.10.4-3

Git Clone URL: https://aur.archlinux.org/pam_ssh_agent_auth.git (read-only, click to copy)
Package Base: pam_ssh_agent_auth
Description: PAM module which permits authentication via the keyring in a forwarded ssh-agent.
Upstream URL: https://github.com/jbeverly/pam_ssh_agent_auth
Licenses: custom:OpenSSL
Submitter: None
Maintainer: Magotchi
Last Packager: Magotchi
Votes: 14
Popularity: 0.003393
First Submitted: 2011-12-06 13:36 (UTC)
Last Updated: 2022-04-08 14:17 (UTC)

Latest Comments

1 2 3 Next › Last »

Magotchi commented on 2022-04-25 15:03 (UTC)

Sorry for the delay in response. The perl package is required by the autoconf, automake, groff, and texinfo packages, all of which are part of base-devel group. Therefore, it does not need to be added to makedepends. I've tested that this package builds via the extra-x86_64-build script from devtools, as well as via https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot#Classic_way .

BrainDamage commented on 2022-04-09 23:57 (UTC) (edited on 2022-04-09 23:59 (UTC) by BrainDamage)

Openssl 1.1 doesn't have perl anymore as dependency, so this package requires makedepends editing or it fails to build in a clean chroot.

Moreover, using transitive dependencies is explicitly against the package guidelines exactly for this reason, the upstream dependency got updated and this PKGBUILD broke.

Magotchi commented on 2020-08-28 20:15 (UTC) (edited on 2020-08-28 20:15 (UTC) by Magotchi)

The "pod2man" command is provided by the "perl" package, which is a dependency of "openssl", and therefore of "base". It does not need to be in the list. It's at "/usr/bin/core_perl/pod2man" and is in the path of a login shell by default.

Is your problem related to not running in a login shell, as in this Reddit post?: https://www.reddit.com/r/archlinux/comments/5tmo7b/anyone_else_having_pod2man_issues/ddnlcde?context=3

jonathanio commented on 2020-08-28 15:02 (UTC)

pod2man --section=8 --release=v0.10.3 --name=pam_ssh_agent_auth --official --center "PAM" pam_ssh_agent_auth.pod > pam_ssh_agent_auth.8 (cd openbsd-compat && make) /bin/sh: pod2man: command not found make: [Makefile:106: pam_ssh_agent_auth.8] Error 127 make: Waiting for unfinished jobs....

Looks like pod2man is a new dependency for pam_ssh_agent_auth. Can you please add it to the list?

mys_721tx commented on 2020-08-26 00:29 (UTC)

@Magotchi It's a different but similar issues, for some reason /etc/profile.d/perlbin.sh is gone on both of my x86 boxes.

Magotchi commented on 2020-08-26 00:24 (UTC) (edited on 2020-08-26 00:24 (UTC) by Magotchi)

Is it possibly this problem related to not running in a login shell?: https://www.reddit.com/r/archlinux/comments/5tmo7b/anyone_else_having_pod2man_issues/ddnlcde?context=3

mys_721tx commented on 2020-08-26 00:17 (UTC)

It seems to be a recent move that pod2man is move to /usr/bin/core_perl, which is not in the path.

mys_721tx commented on 2020-08-26 00:15 (UTC)

I managed to compile it on armv7 but not on x86. Somehow the build process depends on pod2man.

config.status: creating config.h
                    Manpage format: man
                   SELinux support: no
              Host: x86_64-unknown-linux-gnu
          Compiler: gcc
    Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all 
Preprocessor flags: -D_FORTIFY_SOURCE=2
      Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-all
         Libraries: -lcrypto  -lutil -lpam -lcrypt -lresolv -lresolv

pod2man --section=8 --release=v0.10.3 --name=pam_ssh_agent_auth --official --center "PAM" pam_ssh_agent_auth.pod > pam_ssh_agent_auth.8
(cd openbsd-compat && make)
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all  -I. -I. -D_FORTIFY_SOURCE=2  -DHAVE_CONFIG_H -c xmalloc.c -o xmalloc.o
/bin/sh: pod2man: command not found
make: *** [Makefile:106: pam_ssh_agent_auth.8] Error 127
make: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/mys_721tx/pam_ssh_agent_auth/src/pam_ssh_agent_auth/openbsd-compat'

Magotchi commented on 2020-08-24 15:30 (UTC) (edited on 2020-08-24 15:37 (UTC) by Magotchi)

This has been updated to use the 0.10.4 tag on the GitHub repository. It now depends on the latest OpenSSL, and I didn't spend a lot of time investigating, but I only got it to build with the "--without-openssl-header-check" option. If I've missed something, or if anybody has tips to improve the PKGBUILD, let me know.