aboutsummaryrefslogblamecommitdiffstats
path: root/community/duo_unix/APKBUILD
blob: 2dcd567842b434ce8aacac347888671a0541940a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      
                                             
                                                
                
             
        

                                                                                                    
          


                                               

                                                           
                                                                           
 
         
                                            
            


           
                                      

 
                                                                                                                                                                     
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Contributor: Kris Reese <ktreese@gmail.com>
# Maintainer: Paul Morgan <jumanjiman@gmail.com>
pkgname=duo_unix
pkgver=1.11.3
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"
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 --with-pam --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="d00d0bde48324ff11a1aacc6edf87ef2bd1c3745d827efd5eadf7c2043d2dd59e78e8c1ec66a008c2859d1257ff326aaccd76db88a34cea1262ef1bd16d0c695  duo_unix-1.11.3.tar.gz"