aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libu2f-host
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-27 22:02:27 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-27 22:02:20 -0300
commitc785ec354b183a85f3bd2df3efdd8c86dd117eef (patch)
tree561e625c430b5bded078873fbb9173a40084aedd /testing/libu2f-host
parentc0c491116c2f9214f63040dbcdfc9f84de3e26a2 (diff)
downloadaports-c785ec354b183a85f3bd2df3efdd8c86dd117eef.tar.bz2
aports-c785ec354b183a85f3bd2df3efdd8c86dd117eef.tar.xz
testing/libu2f-host: include udev rules so non-root users can use u2f devices
Diffstat (limited to 'testing/libu2f-host')
-rw-r--r--testing/libu2f-host/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/libu2f-host/APKBUILD b/testing/libu2f-host/APKBUILD
index 232c4d3b1d..8c8d3675d4 100644
--- a/testing/libu2f-host/APKBUILD
+++ b/testing/libu2f-host/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=libu2f-host
pkgver=1.1.10
-pkgrel=0
+pkgrel=1
pkgdesc="Yubico Universal 2nd Factor (U2F) Host C Library"
url="https://developers.yubico.com/libu2f-host/"
arch="all"
license="LGPL-2.1-or-later"
-makedepends="hidapi-dev json-c-dev linux-headers"
+makedepends="hidapi-dev json-c-dev linux-headers eudev-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://developers.yubico.com/libu2f-host/Releases/libu2f-host-$pkgver.tar.xz"
@@ -19,7 +19,8 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ --with-udevrulesdir=/usr/lib/udev/rules.d
make
}