uacme: update to 1.7.5
This commit is contained in:
parent
159090134b
commit
bc865faefd
2 changed files with 34 additions and 4 deletions
26
srcpkgs/uacme/patches/fix-cross.patch
Normal file
26
srcpkgs/uacme/patches/fix-cross.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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;}])],
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'uacme'
|
# Template file for 'uacme'
|
||||||
pkgname=uacme
|
pkgname=uacme
|
||||||
version=1.7.4
|
version=1.7.5
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-maintainer-mode --with-openssl"
|
configure_args="--disable-maintainer-mode --with-openssl"
|
||||||
hostmakedepends="asciidoc pkg-config"
|
hostmakedepends="asciidoc automake pkg-config"
|
||||||
makedepends="libcurl-devel openssl-devel"
|
makedepends="libcurl-devel openssl-devel"
|
||||||
short_desc="Minimal ACMEv2 (Let's Encrypt) client written in plain C"
|
short_desc="Minimal ACMEv2 (Let's Encrypt) client written in plain C"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -12,4 +12,8 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/ndilieto/uacme"
|
homepage="https://github.com/ndilieto/uacme"
|
||||||
changelog="https://raw.githubusercontent.com/ndilieto/uacme/master/ChangeLog"
|
changelog="https://raw.githubusercontent.com/ndilieto/uacme/master/ChangeLog"
|
||||||
distfiles="https://github.com/ndilieto/uacme/archive/refs/tags/upstream/${version}.tar.gz"
|
distfiles="https://github.com/ndilieto/uacme/archive/refs/tags/upstream/${version}.tar.gz"
|
||||||
checksum=a638fe0878dba8fdda62f89e7a284243edbcd31b92c11b5cfdc7d3efd9547bca
|
checksum=596b2fba75fedc7a410dd71583c828642ecd486dfdcfde109dfebb82a374abbe
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue