From 6b310c3355931e13f8a92adbf7d1dbf60e20ece2 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Thu, 7 Mar 2024 10:17:18 +0100 Subject: [PATCH] uacme: update to 1.7.5 --- srcpkgs/uacme/patches/fix-cross.patch | 26 ++++++++++++++++++++++++++ srcpkgs/uacme/template | 12 ++++++++---- 2 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/uacme/patches/fix-cross.patch diff --git a/srcpkgs/uacme/patches/fix-cross.patch b/srcpkgs/uacme/patches/fix-cross.patch new file mode 100644 index 00000000000000..709de163186c21 --- /dev/null +++ b/srcpkgs/uacme/patches/fix-cross.patch @@ -0,0 +1,26 @@ +From cdf63e24dc475a558400c68714e32d32904e4c57 Mon Sep 17 00:00:00 2001 +From: Nicola Di Lieto +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 + int main() {return mmap(0, 4096, PROT_READ|PROT_WRITE, + MAP_ANON|MAP_SHARED, -1, 0) == MAP_FAILED;}])], diff --git a/srcpkgs/uacme/template b/srcpkgs/uacme/template index 27256c437a0c79..80a5a5adeb9954 100644 --- a/srcpkgs/uacme/template +++ b/srcpkgs/uacme/template @@ -1,10 +1,10 @@ # Template file for 'uacme' pkgname=uacme -version=1.7.4 -revision=2 +version=1.7.5 +revision=1 build_style=gnu-configure configure_args="--disable-maintainer-mode --with-openssl" -hostmakedepends="asciidoc pkg-config" +hostmakedepends="asciidoc automake pkg-config" makedepends="libcurl-devel openssl-devel" short_desc="Minimal ACMEv2 (Let's Encrypt) client written in plain C" maintainer="Orphaned " @@ -12,4 +12,8 @@ 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=a638fe0878dba8fdda62f89e7a284243edbcd31b92c11b5cfdc7d3efd9547bca +checksum=596b2fba75fedc7a410dd71583c828642ecd486dfdcfde109dfebb82a374abbe + +pre_configure() { + autoreconf -fi +}