# Contributor: Alan Lacerda # Contributor: Kris Reese # Maintainer: Paul Morgan pkgname=duo_unix pkgver=1.11.0 pkgrel=1 pkgdesc="Duo two-factor authentication for Unix systems with Pluggable Authentication Modules (PAM)" url="https://duo.com/docs/duounix" arch="all" license="GPL-2.0" depends="openssh openssh-server-pam" makedepends="openssl-dev linux-pam-dev libtool" subpackages="$pkgname-doc" source="https://dl.duosecurity.com/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" options="suid !check" #make check fails with error: redefinition of 'fopen' build() { ./configure --with-pam --prefix=/usr make } package() { make DESTDIR="$pkgdir" install } sha512sums="d871173f9e121f1d42e4161b1b2c44bbee001e390c6d45a44f68e74b4bf5b8562ac5cef8f8910d9148001955f8a20380331bf2d6f0e77d9af20d739fc0118678 duo_unix-1.11.1.tar.gz"