aboutsummaryrefslogtreecommitdiffstats
path: root/community/duo_unix/APKBUILD
blob: 8024b48984bc4d897b57f1480d82b2c544d5f58f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Contributor: Kris Reese <ktreese@gmail.com>
# Maintainer: Paul Morgan <jumanjiman@gmail.com>
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"