pam-u2f: update to 1.1.0.
This commit is contained in:
parent
6e19a317d6
commit
59a99ed769
2 changed files with 28 additions and 5 deletions
24
srcpkgs/pam-u2f/patches/musl.patch
Normal file
24
srcpkgs/pam-u2f/patches/musl.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
diff --git b64.c b64.c
|
||||||
|
index 0649c1e..7788089 100644
|
||||||
|
--- b64.c
|
||||||
|
+++ b64.c
|
||||||
|
@@ -4,6 +4,7 @@
|
||||||
|
|
||||||
|
#include <openssl/bio.h>
|
||||||
|
#include <openssl/evp.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
diff --git util.c util.c
|
||||||
|
index 3ec4e71..5989c6c 100644
|
||||||
|
--- util.c
|
||||||
|
+++ util.c
|
||||||
|
@@ -9,6 +9,7 @@
|
||||||
|
#include <openssl/ec.h>
|
||||||
|
#include <openssl/obj_mac.h>
|
||||||
|
|
||||||
|
+#include <limits.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <sys/stat.h>
|
|
@ -1,21 +1,20 @@
|
||||||
# Template file for 'pam-u2f'
|
# Template file for 'pam-u2f'
|
||||||
pkgname=pam-u2f
|
pkgname=pam-u2f
|
||||||
version=1.0.8
|
version=1.1.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname/-/_}-${version}"
|
wrksrc="${pkgname/-/_}-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-pam-dir=/usr/lib/security"
|
configure_args="--with-pam-dir=/usr/lib/security"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config asciidoc"
|
||||||
makedepends="libu2f-host-devel libu2f-server-devel pam-devel"
|
makedepends="libfido2-devel libressl-devel pam-devel"
|
||||||
short_desc="Pluggable Authentication Module (PAM) for U2F"
|
short_desc="Pluggable Authentication Module (PAM) for U2F"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://developers.yubico.com/pam-u2f/"
|
homepage="https://developers.yubico.com/pam-u2f/"
|
||||||
#changelog="https://raw.githubusercontent.com/Yubico/pam-u2f/master/NEWS"
|
#changelog="https://raw.githubusercontent.com/Yubico/pam-u2f/master/NEWS"
|
||||||
distfiles="https://developers.yubico.com/pam-u2f/Releases/pam_u2f-${version}.tar.gz"
|
distfiles="https://developers.yubico.com/pam-u2f/Releases/pam_u2f-${version}.tar.gz"
|
||||||
checksum=52a203a6fab6160e06c1369ff104afed62007ca3ffbb40c297352232fa975c99
|
checksum=0dc3bf96ebb69c6e398b5f8991493b37a8ce1af792948af71e694f695d5edc05
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue