* update pam-u2f to 1.3.0-3

This commit is contained in:
Alexander Baldeck 2024-12-31 18:41:18 +01:00
parent a8f4cd2bcb
commit 7ad4ac605d
3 changed files with 39 additions and 8 deletions

23
pam-u2f/.SRCINFO Normal file
View File

@ -0,0 +1,23 @@
pkgbase = pam-u2f
pkgdesc = Universal 2nd Factor (U2F) PAM authentication module from Yubico
pkgver = 1.3.0
pkgrel = 3
url = https://developers.yubico.com/pam-u2f
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = BSD-2-Clause
makedepends = asciidoc
makedepends = git
depends = libfido2
depends = openssl
depends = pam
replaces = pam_u2f
source = git+https://github.com/Yubico/pam-u2f.git#tag=pam_u2f-1.3.0?signed
validpgpkeys = B70D62AA6A31AD6B9E4F9F4BDC8888925D25CA7A
validpgpkeys = 78D997D53E9C0A2A205392ED14A19784723C9988
b2sums = 8100615be597ce111818e8344c01869c5ee1293f4caff6cb78a71a62bf6de30fd53218a504697081f67c1bd11ee21124eef626d5e12d6b384619dface5d91c60
pkgname = pam-u2f

4
pam-u2f/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[pam-u2f]
source = "git"
git = "https://github.com/Yubico/pam-u2f.git"
prefix = "pam_u2f-"

View File

@ -8,24 +8,28 @@
pkgname=pam-u2f
_name="${pkgname/-/_}"
pkgver=1.3.0
pkgrel=2.1
pkgrel=3
pkgdesc="Universal 2nd Factor (U2F) PAM authentication module from Yubico"
url="https://developers.yubico.com/pam-u2f"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('BSD-2-Clause')
replaces=("${_name}")
depends=('libfido2' 'openssl' 'pam')
makedepends=('asciidoc')
source=("${url}/Releases/${_name}-${pkgver}.tar.gz"{,.sig})
b2sums=('602ce0fd00105f7fbdea1805a5efde1302149d9f7977f3c52d576d7f4b9a1a95678b1463f19107b494e62c3722e319e05e0ec54f5839f70b855b59eecdf92112'
'SKIP')
makedepends=('asciidoc' 'git')
source=("git+https://github.com/Yubico/pam-u2f.git#tag=${_name}-${pkgver}?signed")
b2sums=('8100615be597ce111818e8344c01869c5ee1293f4caff6cb78a71a62bf6de30fd53218a504697081f67c1bd11ee21124eef626d5e12d6b384619dface5d91c60')
validpgpkeys=(
'B70D62AA6A31AD6B9E4F9F4BDC8888925D25CA7A' # Alessio Di Mauro <alessio@yubico.com>
'78D997D53E9C0A2A205392ED14A19784723C9988' # Ludvig Michaelsson <ludvig.michaelsson@yubico.com>
)
prepare() {
cd "${pkgname}"
autoreconf --install
}
build() {
cd "${_name}-${pkgver}"
cd "${pkgname}"
./configure \
--prefix=/usr \
--with-pam-dir=/usr/lib/security
@ -33,12 +37,12 @@ build() {
}
check() {
cd "${_name}-${pkgver}"
cd "${pkgname}"
make check
}
package() {
cd "${_name}-${pkgver}"
cd "${pkgname}"
make DESTDIR="${pkgdir}" install
install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}