# Contributor: Alan Lacerda # Contributor: Kris Reese # Maintainer: Paul Morgan pkgname=duo_unix pkgver=1.11.3 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-only" depends="openssh openssh-server-pam" makedepends="openssl-dev linux-pam-dev libtool" subpackages="$pkgname-doc $pkgname-dev" source="https://dl.duosecurity.com/duo_unix-$pkgver.tar.gz" options="suid !check" #make check fails with error: redefinition of 'fopen' build() { ./configure \ --build=$CBUILD \ --host=$CTARGET \ --with-pam=/lib/security \ --prefix=/usr make } package() { make DESTDIR="$pkgdir" install } sha512sums="d00d0bde48324ff11a1aacc6edf87ef2bd1c3745d827efd5eadf7c2043d2dd59e78e8c1ec66a008c2859d1257ff326aaccd76db88a34cea1262ef1bd16d0c695 duo_unix-1.11.3.tar.gz"