Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 14C9F78111D for <~alpine/aports@lists.alpinelinux.org>; Mon, 21 Feb 2022 08:55:47 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=handlerug.me; s=key1; t=1645433150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vMBVrBX8fa/+hmU+CxHNEPDyv5LOjarpvFUnO3FPwT4=; b=uu+9FneFEZ94fI+7y39OWxBdw7nMFuBhP45bs47t0uMyzhL7OClUyT8/8S5aWRYSh0XTBS DZwHzBEWSePNcuF1J4mZn0R8Hr5FytGs7MfLS18+5ipfUe8RQ4ughYJNnDXlLjtqx9QXqJ HEcjj86qC+8JPLMgl1QSDK8vNFWowV4= From: Umar Getagazov To: ~alpine/aports@lists.alpinelinux.org Cc: Umar Getagazov Subject: [PATCH v2] main/libfido2: upgrade to 1.10.0 Date: Mon, 21 Feb 2022 15:45:42 +0700 Message-Id: <20220221084542.4551-1-umar@handlerug.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: handlerug.me This commit also adds a pre-install script to create the plugdev group, otherwise udev rules would not work. --- v1 -> v2: * adhere to usual pre-install writing practices * show a helpful message to the user (from community/libu2f-host) main/libfido2/APKBUILD | 5 +++-- main/libfido2/libfido2.pre-install | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 main/libfido2/libfido2.pre-install diff --git a/main/libfido2/APKBUILD b/main/libfido2/APKBUILD index 0a318571a0..b53a38b936 100644 --- a/main/libfido2/APKBUILD +++ b/main/libfido2/APKBUILD @@ -1,12 +1,13 @@ # Contributor: Leo # Maintainer: Will Sinatra 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 " diff --git a/main/libfido2/libfido2.pre-install b/main/libfido2/libfido2.pre-install new file mode 100644 index 0000000000..a2ac1afb47 --- /dev/null +++ b/main/libfido2/libfido2.pre-install @@ -0,0 +1,12 @@ +#!/bin/sh + +addgroup -S plugdev 2>/dev/null + +cat <