diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-27 23:32:44 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-27 23:39:31 +0200 |
commit | 05b047992f804ebf78cf45475854f72f124e67cc (patch) | |
tree | ff4ec191b2b9daf86028b33d0126a90c455ef918 /testing/pam-u2f | |
parent | 079a0020bf71257d4e782f3f39bdf5adef58168a (diff) | |
download | aports-05b047992f804ebf78cf45475854f72f124e67cc.tar.bz2 aports-05b047992f804ebf78cf45475854f72f124e67cc.tar.xz |
testing/pam-u2f: new aport
Diffstat (limited to 'testing/pam-u2f')
-rw-r--r-- | testing/pam-u2f/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/pam-u2f/APKBUILD b/testing/pam-u2f/APKBUILD new file mode 100644 index 0000000000..278e9879fd --- /dev/null +++ b/testing/pam-u2f/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=pam-u2f +pkgver=1.0.8 +pkgrel=0 +pkgdesc="Pluggable Authentication Module (PAM) for U2F" +url="https://developers.yubico.com/pam-u2f/" +arch="all" +license="BSD-2-Clause" +makedepends="libu2f-server-dev libu2f-host-dev linux-pam-dev" +options="!check" # need yubikey plugged in on live machine +subpackages="$pkgname-doc" +source="https://developers.yubico.com/pam-u2f/Releases/pam_u2f-$pkgver.tar.gz" +builddir="$srcdir/pam_u2f-$pkgver" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-pam-dir=/lib/security + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="0bdbea6307428bbed2af69129af207304f7951418ad7df339563f47d678a2cfe6b80321552382e15771cfc06306fae746521850056376f533c430556d051ad36 pam_u2f-1.0.8.tar.gz" |