summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMantas Mikulėnas2019-11-05 18:01:35 +0200
committerMantas Mikulėnas2019-11-05 18:01:35 +0200
commitd6d914887a52118f89d5612db058d437cf853e2e (patch)
tree5ffe121f1be4ce55ee471a7fb8f984c3592497ad
parent3463e3556002a3eedd7585c6443ecf539b398709 (diff)
downloadaur-d6d914887a52118f89d5612db058d437cf853e2e.tar.gz
mention u2f-hidraw-policy in dependencies
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f46a718ba36c..26b10bef391b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,7 @@ pkgbase = softu2f
depends = libdbus
depends = libsystemd
depends = openssl
+ optdepends = u2f-hidraw-policy: Automatically grant permissions to /dev/hidraw* (systemd <= v243)
source = git+https://github.com/danstiner/rust-u2f#commit=14a6ed0ffb63a4c440d27edd5ffc132f6f3ee623
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index dd22df978434..1843e7ed4e88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,6 +4,11 @@ pkgrel=1
pkgdesc="Software U2F HID token daemon (rust-u2f)"
arch=(x86_64)
depends=(libdbus libsystemd openssl)
+optdepends=(
+ # TODO: remove once systemd-udevd v244 (with fido_id) is out
+ # NOTE: this cannot be a required dependency as long as it conflicts with libu2f-host
+ "u2f-hidraw-policy: Automatically grant permissions to /dev/hidraw* (systemd <= v243)"
+)
makedepends=(clang llvm rust)
_commit=14a6ed0ffb63a4c440d27edd5ffc132f6f3ee623
source=("git+https://github.com/danstiner/rust-u2f#commit=$_commit")