Github messages for voidlinux
 help / color / mirror / Atom feed
From: zdykstra <zdykstra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] haproxy: update to 2.6.8.
Date: Sat, 11 Feb 2023 00:22:06 +0100	[thread overview]
Message-ID: <20230210232206.MoBAqaJ7Qtblbd51GFNZXq2QawZt4yHt51pNpRZhoQg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42194@inbox.vuxu.org>

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

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

https://github.com/zdykstra/void-packages haproxy
https://github.com/void-linux/void-packages/pull/42194

haproxy: update to 2.6.8.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl

HAProxy 2.6 is the latest LTS release with some nice improvements over the 2.4 series. Until another LTS hits, it's reasonable to lock the package to 2.6.x.


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

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

From aba916e38a10d5aa666b20ae978adaef150e77d0 Mon Sep 17 00:00:00 2001
From: Zach Dykstra <dykstra.zachary@gmail.com>
Date: Fri, 10 Feb 2023 12:26:41 -0600
Subject: [PATCH] haproxy: update to 2.6.8.

---
 srcpkgs/haproxy/template | 10 +++++-----
 srcpkgs/haproxy/update   |  2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/haproxy/update

diff --git a/srcpkgs/haproxy/template b/srcpkgs/haproxy/template
index 373ff4e2c3c9..3ddd08a7d90f 100644
--- a/srcpkgs/haproxy/template
+++ b/srcpkgs/haproxy/template
@@ -1,19 +1,19 @@
 # Template file for 'haproxy'
 pkgname=haproxy
-version=2.4.20
+version=2.6.8
 revision=1
 build_style=gnu-makefile
 make_install_args="SBINDIR=${DESTDIR}/usr/bin DOCDIR=${DESTDIR}/usr/share/doc/${pkgname}"
 hostmakedepends="lua53-devel"
-makedepends="libatomic-devel openssl-devel lua53-devel pcre-devel"
+makedepends="libatomic-devel openssl-devel lua53-devel pcre2-devel"
 checkdepends="curl varnish"
 short_desc="Reliable, high performance TCP/HTTP load balancer"
 maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
 license="GPL-2.0-or-later, LGPL-2.1-or-later"
 homepage="https://www.haproxy.org"
-changelog="https://www.haproxy.org/download/2.4/src/CHANGELOG"
+changelog="https://www.haproxy.org/download/2.6/src/CHANGELOG"
 distfiles="https://www.haproxy.org/download/${version%.*}/src/haproxy-${version}.tar.gz"
-checksum=415c62d2159941a17c443941aa85e7353047d79f3b72a0e7062473f7e753cacc
+checksum=a02ad64550dd30a94b25fd0e225ba699649d0c4037bca3b36b20e8e3235bb86f
 
 haproxy_homedir="/var/lib/${pkgname}"
 make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}"
@@ -28,7 +28,7 @@ do_build() {
 		atomic="-latomic"
 	fi
 	make ${makejobs} CC="$CC" DEBUG_CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
-		TARGET=$target USE_PCRE=1 USE_PCRE_JIT=1 USE_ZLIB=1 \
+		TARGET=$target USE_PCRE2=1 USE_PCRE2_JIT=1 USE_ZLIB=1 \
 		USE_OPENSSL=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_LUA=1 \
 		USE_PROMEX=1 ADDLIB="$atomic"
 }
diff --git a/srcpkgs/haproxy/update b/srcpkgs/haproxy/update
new file mode 100644
index 000000000000..a91811c640f5
--- /dev/null
+++ b/srcpkgs/haproxy/update
@@ -0,0 +1,2 @@
+# 2.6 is the current LTS
+ignore="2\.[!6].*"

  parent reply	other threads:[~2023-02-10 23:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-10 18:29 [PR PATCH] " zdykstra
2023-02-10 22:40 ` [PR REVIEW] " paper42
2023-02-10 22:40 ` paper42
2023-02-10 22:49 ` zdykstra
2023-02-10 22:49 ` [PR PATCH] [Updated] " zdykstra
2023-02-10 22:50 ` [PR REVIEW] " zdykstra
2023-02-10 23:22 ` zdykstra [this message]
2023-02-10 23:23 ` zdykstra
2023-02-14 16:30 ` [PR PATCH] [Updated] " zdykstra
2023-02-14 16:30 ` zdykstra
2023-02-14 16:33 ` [PR PATCH] [Updated] haproxy: update to 2.6.9 zdykstra
2023-02-14 17:40 ` zdykstra
2023-02-14 17:44 ` [PR PATCH] [Merged]: " classabbyamp

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=20230210232206.MoBAqaJ7Qtblbd51GFNZXq2QawZt4yHt51pNpRZhoQg@z \
    --to=zdykstra@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).