aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 20:34:20 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-14 00:55:08 +0000
commitf0b58fd2ae82beb342f259cbb4a0c7c2cd438657 (patch)
tree0fb77cb6b25e1c771c92f9050ce764a39392e2ca
parent57e05dfa45423c9388227817a03abf2580bfe6d0 (diff)
downloadaports-f0b58fd2ae82beb342f259cbb4a0c7c2cd438657.tar.bz2
aports-f0b58fd2ae82beb342f259cbb4a0c7c2cd438657.tar.xz
community/duo_unix: fix module installation directory
-rw-r--r--community/duo_unix/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/duo_unix/APKBUILD b/community/duo_unix/APKBUILD
index 2dcd567842..94cfd59a2f 100644
--- a/community/duo_unix/APKBUILD
+++ b/community/duo_unix/APKBUILD
@@ -3,11 +3,11 @@
# Maintainer: Paul Morgan <jumanjiman@gmail.com>
pkgname=duo_unix
pkgver=1.11.3
-pkgrel=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"
+license="GPL-2.0-only"
depends="openssh openssh-server-pam"
makedepends="openssl-dev linux-pam-dev libtool"
subpackages="$pkgname-doc $pkgname-dev"
@@ -15,7 +15,11 @@ source="https://dl.duosecurity.com/duo_unix-$pkgver.tar.gz"
options="suid !check" #make check fails with error: redefinition of 'fopen'
build() {
- ./configure --with-pam --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CTARGET \
+ --with-pam=/lib/security \
+ --prefix=/usr
make
}