diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-27 22:35:36 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-27 22:44:52 +0200 |
commit | 83915dc015ca5e7c8e6bf40a0520725c79adbe00 (patch) | |
tree | 5048681f11d2308aba003b6056ac5ad69c1de134 /testing/yubico-pam | |
parent | cbbea8e587a88f01d3d668de2ba9ddf7df1c7e51 (diff) | |
download | aports-83915dc015ca5e7c8e6bf40a0520725c79adbe00.tar.bz2 aports-83915dc015ca5e7c8e6bf40a0520725c79adbe00.tar.xz |
testing/yubico-pam: new aport
Diffstat (limited to 'testing/yubico-pam')
-rw-r--r-- | testing/yubico-pam/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/yubico-pam/APKBUILD b/testing/yubico-pam/APKBUILD new file mode 100644 index 0000000000..cc03cfd875 --- /dev/null +++ b/testing/yubico-pam/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=yubico-pam +pkgver=2.26 +pkgrel=0 +pkgdesc="Yubico Pluggable Authentication Module (PAM)" +url="https://developers.yubico.com/yubico-pam" +arch="all" +license="BSD-2-Clause" +makedepends="linux-pam-dev yubico-c-dev yubico-c-client-dev ykpers-dev" +options="!check" # need yubikey plugged in on live machine +subpackages="$pkgname-doc" +source="https://developers.yubico.com/yubico-pam/Releases/pam_yubico-$pkgver.tar.gz" +builddir="$srcdir/pam_yubico-$pkgver" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="4adba37f07e1fe1a2c4b534246ef0e862be76e3b1ce0ed6f11f15436f537cd5963f00abf48f6faa7e65b025ff6924dbaf918db1675b1e2cb89a802d2f2d6a4ec pam_yubico-2.26.tar.gz" |