uacme: update to 1.7.6

This commit is contained in:
Roberto Ricci 2025-04-12 20:11:13 +02:00 committed by Piraty
parent 8f22a3de90
commit f7b3b06c78
2 changed files with 3 additions and 33 deletions

View file

@ -1,26 +0,0 @@
From cdf63e24dc475a558400c68714e32d32904e4c57 Mon Sep 17 00:00:00 2001
From: Nicola Di Lieto <nicola.dilieto@gmail.com>
Date: Tue, 20 Feb 2024 01:05:00 +0100
Subject: [PATCH] Fix cross compilation
Commit fe826f4b1931ae508047d8b2693b5b6ac2cb21fd broke cross compilation
Closes https://github.com/ndilieto/uacme/issues/79
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 77d1230..3bec75b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -355,7 +355,8 @@ if test "x$OPT_UALPN" != "xno"; then
AC_DEFINE(HAVE_MAP_DEVZERO, 1, [if mmap("/dev/zero", MAP_SHARED) works])
AC_MSG_RESULT([yes]),
AC_MSG_RESULT([no])
- AC_MSG_ERROR([ualpn requires MAP_ANON or mmap("/dev/zero", MAP_SHARED)])),
+ AC_MSG_ERROR([ualpn requires MAP_ANON or mmap("/dev/zero", MAP_SHARED)]))
+ ], [
AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include <sys/mman.h>
int main() {return mmap(0, 4096, PROT_READ|PROT_WRITE,
MAP_ANON|MAP_SHARED, -1, 0) == MAP_FAILED;}])],

View file

@ -1,10 +1,10 @@
# Template file for 'uacme'
pkgname=uacme
version=1.7.5
version=1.7.6
revision=1
build_style=gnu-configure
configure_args="--disable-maintainer-mode --with-openssl"
hostmakedepends="asciidoc automake pkg-config"
hostmakedepends="asciidoc pkg-config"
makedepends="libcurl-devel openssl-devel"
short_desc="Minimal ACMEv2 (Let's Encrypt) client written in plain C"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -12,8 +12,4 @@ license="GPL-3.0-or-later"
homepage="https://github.com/ndilieto/uacme"
changelog="https://raw.githubusercontent.com/ndilieto/uacme/master/ChangeLog"
distfiles="https://github.com/ndilieto/uacme/archive/refs/tags/upstream/${version}.tar.gz"
checksum=596b2fba75fedc7a410dd71583c828642ecd486dfdcfde109dfebb82a374abbe
pre_configure() {
autoreconf -fi
}
checksum=d11a86ac2a0dbf285de27dff4193c65f7f3736da3d0480049af50d305940e0d6