Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorekk <tranzystorekk@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] uacme: update to 1.7.5
Date: Thu, 07 Mar 2024 17:09:42 +0100	[thread overview]
Message-ID: <20240307160943.077062559F@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49167@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages uacme
https://github.com/void-linux/void-packages/pull/49167

uacme: update to 1.7.5
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49167.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-uacme-49167.patch --]
[-- Type: text/x-diff, Size: 2918 bytes --]

From 6b310c3355931e13f8a92adbf7d1dbf60e20ece2 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
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 <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;}])],
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 <orphan@voidlinux.org>"
@@ -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
+}

  parent reply	other threads:[~2024-03-07 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07  9:18 [PR PATCH] " tranzystorekk
2024-03-07  9:47 ` [PR PATCH] [Updated] " tranzystorekk
2024-03-07 16:09 ` tranzystorekk [this message]
2024-03-07 21:15 ` [PR PATCH] [Merged]: " cinerea0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240307160943.077062559F@inbox.vuxu.org \
    --to=tranzystorekk@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).