libfido2: update to 1.7.0.
This commit is contained in:
parent
0880d00df6
commit
974b23dc33
1 changed files with 6 additions and 13 deletions
|
@ -1,30 +1,23 @@
|
||||||
# Template file for 'libfido2'
|
# Template file for 'libfido2'
|
||||||
pkgname=libfido2
|
pkgname=libfido2
|
||||||
version=1.6.0
|
version=1.7.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DUDEV_RULES_DIR=/usr/lib/udev/rules.d"
|
configure_args="-DUDEV_RULES_DIR=/usr/lib/udev/rules.d"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libcbor-devel openssl-devel eudev-libudev-devel"
|
makedepends="eudev-libudev-devel libcbor-devel openssl-devel zlib-devel"
|
||||||
short_desc="Library for FIDO 2.0, including communication with a device over USB"
|
short_desc="Library for FIDO 2.0, including communication with a device over USB"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/Yubico/libfido2"
|
homepage="https://github.com/Yubico/libfido2"
|
||||||
distfiles="https://github.com/Yubico/libfido2/archive/${version}.tar.gz"
|
distfiles="https://github.com/Yubico/libfido2/archive/${version}.tar.gz"
|
||||||
checksum=6aed47aafd22be49c38f9281fb88ccd08c98678d9b8c39cdc87d1bb3ea2c63e4
|
checksum=116749b2a6c95f6559439494fcebdbe803dff14037017ad239843c84c59d708e
|
||||||
# udev rules used to be shipped by libu2f-host
|
# udev rules used to be shipped by libu2f-host
|
||||||
conf_files="/usr/lib/udev/rules.d/70-u2f.rules"
|
conf_files="/usr/lib/udev/rules.d/70-u2f.rules"
|
||||||
conflicts="libu2f-host<=1.1.10_3"
|
conflicts="libu2f-host<=1.1.10_3"
|
||||||
|
|
||||||
CFLAGS="-Wno-type-limits"
|
post_extract() {
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
vsed -i -e '/add_compile_options(-Werror)/d' CMakeLists.txt
|
||||||
# ioctl takes int on musl
|
|
||||||
CFLAGS+=" -Wno-overflow"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
vsed -i -e "s;sign-conversion;no-sign-conversion;" \
|
|
||||||
{tools,src,examples}/CMakeLists.txt
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in a new issue