Package Details: yubico-pam-git 2.19.r12.g11326d0-1

Git Clone URL: https://aur.archlinux.org/yubico-pam-git.git (read-only, click to copy)
Package Base: yubico-pam-git
Description: Yubico YubiKey PAM module - git checkout
Upstream URL: https://github.com/Yubico/yubico-pam
Licenses: BSD
Conflicts: pam_yubico, yubico-pam
Provides: pam_yubico, yubico-pam
Submitter: Gohu
Maintainer: eworm
Last Packager: eworm
Votes: 13
Popularity: 0.000095
First Submitted: 2011-04-24 19:09
Last Updated: 2015-08-13 05:31

Latest Comments

« First ‹ Previous 1 2

eworm commented on 2015-01-20 17:51

@Aerion: Do you have perl-net-ldap-server installed? Does 'test-suite.log' contain anything useful?

Aerion commented on 2015-01-20 16:06

Unfortunately this update fails to build as it doesn't pass pam_test.

Here's the relevant part of the output:

Making all in tests
make[1]: Entering directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
==> Starting check()...
Making check in .
make[1]: Entering directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam'
Making check in tests
make[1]: Entering directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
make test util_test pam_test
make[2]: Entering directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
CC test.o
CCLD test

*** Warning: Linking the executable test against the loadable module
*** pam_yubico.so is not portable!
CC util_test.o
CCLD util_test
CC pam_test.o
pam_test.c: In function ‘conv_func’:
pam_test.c:99:15: warning: assignment discards ‘const’ qualifier from pointer target type
reply->resp = test_get_data(appdata_ptr)->otp;
^
CCLD pam_test
make[2]: Leaving directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
make check-TESTS
make[2]: Entering directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
make[3]: Entering directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
PASS: test
PASS: util_test
FAIL: pam_test
make[4]: Entering directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
============================================================================
Testsuite summary for pam_yubico 2.18
============================================================================
# TOTAL: 3
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to yubico-devel@googlegroups.com
============================================================================
Makefile:706: recipe for target 'test-suite.log' failed
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
Makefile:812: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
Makefile:899: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/aerion/aur/yubico-pam-git/src/yubico-pam/tests'
Makefile:762: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
==> ERROR: A failure occurred in check().
Aborting...

eworm commented on 2013-09-16 07:21

No, patches are no longer needed. Source compiles from git as is. ;)

F1nny commented on 2013-09-15 23:57

Are those patches (below in comments) still required for this? Doesn't look to be included in the pkgbuild so hopefully those patches just aren't needed anymore? Guess will find out! PS thanks eworm for all the yubi git's/etc :)

mutantmonkey commented on 2012-05-05 23:23

Here's an updated src.tar.gz with the necessary changes and the automake patch: http://mutantmonkey.in/files/yubico-pam-git-20120505-1.src.tar.gz

crondog commented on 2012-05-05 06:09

Oh and you need to change the PKGBUILD to be --with-pam-dir=/usr/lib/security

crondog commented on 2012-05-05 06:08

Hey just to let you know i had to build rebuild this today since the pam 1.1.5-3 update from core. You will need to include the following patch since it doesnt like being built by automake 1.12-1. For some reason it wants AM_PROG_AR

diff --git a/configure.ac b/configure.ac.new
index daf125d..d74a602 100644
--- a/configure.ac
+++ b/configure.ac.new
@@ -26,7 +26,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+
AC_INIT([pam_yubico], [2.11], [yubico-devel@googlegroups.com])
+m4_pattern_allow([AM_PROG_AR])
+AM_PROG_AR
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.10 foreign -Wall -Werror])
@@ -113,4 +116,4 @@ AC_MSG_NOTICE([Summary of build options:
Library types: Shared=${enable_shared}, Static=${enable_static}
LDAP: ${with_ldap}
Challenge-Response: ${with_cr}
-])
\ No newline at end of file
+])

grossws commented on 2012-01-12 10:11

Fails on build, http://pastie.org/3171395

mutantmonkey commented on 2011-07-29 22:09

If you're trying to use challenge-response authentication and having problems, you will need to recompile this package with CFLAGS=-DHAVE_LIBYKPERS_1; there's currently a bug in the configure script upstream that is preventing this constant from being set.

mutantmonkey commented on 2011-07-29 21:57

If you're trying to use challenge-response authentication and having problems, you will need to recompile this package with CFLAGS=-DHAVE_YKPERS_1; there's currently a bug in the configure script upstream that is preventing this constant from being set.