mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-13 00:28:25 +02:00
main/libfido2: upgrade to 1.10.0
This commit also adds a pre-install script to create the plugdev group, otherwise udev rules would not work.
This commit is contained in:
parent
d2d161c298
commit
87a703d307
@ -1,12 +1,13 @@
|
||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
|
||||
pkgname=libfido2
|
||||
pkgver=1.9.0
|
||||
pkgver=1.10.0
|
||||
pkgrel=0
|
||||
pkgdesc="library for FIDO 2.0 functionality"
|
||||
url="https://github.com/Yubico/libfido2"
|
||||
arch="all"
|
||||
license="BSD-2-Clause"
|
||||
install="$pkgname.pre-install"
|
||||
makedepends="cmake libcbor-dev openssl-dev zlib-dev eudev-dev linux-headers"
|
||||
subpackages="$pkgname-dev $pkgname-doc fido2:fido"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/Yubico/libfido2/archive/refs/tags/$pkgver.tar.gz"
|
||||
@ -40,5 +41,5 @@ fido() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
99edf9c52a871ed5dc3ab41ac07ca8a22670e7527c48ed69c096f001651e1e714bc3f1f55e22003cb66670fa4e851095834c2acd0e5b31887fad46bfb9f4b089 libfido2-1.9.0.tar.gz
|
||||
ba03e25d3f42f11cec74dee48c853ae35d03600f24ca06d2b751840408a132290fe22461372ae42ae31419061a63d9908c20a2c0cf3c0c9c8dbc46c34916784f libfido2-1.10.0.tar.gz
|
||||
"
|
||||
|
||||
12
main/libfido2/libfido2.pre-install
Normal file
12
main/libfido2/libfido2.pre-install
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S plugdev 2>/dev/null
|
||||
|
||||
cat <<EOF
|
||||
*
|
||||
* To use U2F USB tokens (such as YubiKey), regular users must be members of
|
||||
* 'plugdev' group.
|
||||
*
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
Loading…
x
Reference in New Issue
Block a user