1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/duo_unix/APKBUILD
2021-06-24 21:40:47 +02:00

37 lines
1 KiB
Text

# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Contributor: Kris Reese <ktreese@gmail.com>
# Maintainer: Paul Morgan <jumanjiman@gmail.com>
pkgname=duo_unix
pkgver=1.11.4
pkgrel=0
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'
prepare() {
default_prepare
update_config_sub
update_config_guess
}
build() {
./configure \
--build=$CBUILD \
--host=$CTARGET \
--with-pam=/lib/security \
--prefix=/usr
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="67aba0ad7c8c79142613486143c42f6525470533728fdc2e3b98528e128127b9cc547553fbf914bb5214432d18a3f26d68518d5eaf89010df62e71fc3c785fce duo_unix-1.11.4.tar.gz"