Skip to contentSkip to conversation

package/pound: bump version to 4.8

PATCH Applied Bernd Kuhls 2 participants 2 messages Jul 16, 2023 – Jul 18, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pound: bump version to 4.8

Original upstream ended the development of pound 2.8 in 2022:
https://groups.google.com/g/pound_proxy/c/O8xaIIODw18

Switch project to use a maintained fork at https://github.com/graygnuorg
and remove all patches, they are not needed anymore.

Follow the rename of the license file:
https://github.com/graygnuorg/pound/commit/223b4276ac7a71583e0983f7d0d920f70e6c1abe

Release notes: https://github.com/graygnuorg/pound/blob/master/NEWS

This bump includes compatibility with OpenSSL 3.x (since version 4.0) and added optional support for pcre2:
https://github.com/graygnuorg/pound/commit/a797374f220c5958f20a4f630083294dae4165b8

Fixes:
http://autobuild.buildroot.net/results/1ca/1ca31debd709f634e65492bee0806ca81bcf9ee5/

---
 .checkpackageignore                           |   2 -
 package/pound/0001-fix-openssl-1.0.2.patch    | 127 -------
 package/pound/0002-fix-openssl-1.1.0.patch    | 334 ------------------
 ...bressl-coexisting-with-openssl-1.1.x.patch | 140 --------
 package/pound/Config.in                       |   2 +-
 package/pound/pound.hash                      |   4 +-
 package/pound/pound.mk                        |  15 +-
 7 files changed, 13 insertions(+), 611 deletions(-)
 delete mode 100644 package/pound/0001-fix-openssl-1.0.2.patch
 delete mode 100644 package/pound/0002-fix-openssl-1.1.0.patch
 delete mode 100644 package/pound/0003-Support-for-libressl-coexisting-with-openssl-1.1.x.patch
.checkpackageignore +0 -2
index 547dbe15ae..05cc853eaa 100644
@@ -1195,8 +1195,6 @@ package/poke/0002-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch Upstream
 package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch Upstream
 package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch Upstream
 package/postgresql/S50postgresql Variables
-package/pound/0001-fix-openssl-1.0.2.patch Upstream
-package/pound/0002-fix-openssl-1.1.0.patch Upstream
 package/powertop/0001-dont-force-stack-smashing-protection.patch Upstream
 package/pppd/0001-pppd-Fix-compilation-with-older-glibc-or-kernel-headers.patch Upstream
 package/pppd/0002-pppd-eap-tls.c-fix-build-with-libressl.patch Upstream
package/pound/0001-fix-openssl-1.0.2.patch deleted +0 -127

127 lines not on this page · raw message

package/pound/0002-fix-openssl-1.1.0.patch deleted +0 -334

334 lines not on this page · raw message

package/pound/0003-Support-for-libressl-coexisting-with-openssl-1.1.x.patch deleted +0 -140

140 lines not on this page · raw message

package/pound/Config.in +1 -1
index 91c29ea7a6..60fafff935 100644
@@ -11,7 +11,7 @@ config BR2_PACKAGE_POUND
 	  for a convenient SSL wrapper for those Web servers that do not
 	  offer it natively.
 
-	  http://www.apsis.ch/pound
+	  https://github.com/graygnuorg/pound
 
 comment "pound needs a toolchain w/ dynamic library, threads"
 	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
package/pound/pound.hash +2 -2
index 1e88218692..c5b08891be 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  a7fd8690de0fd390615e79fd0f4bfd56a544b8ef97dd6659c07ecd3207480c25  Pound-2.8.tgz
-sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  GPL.txt
+sha256  f1a041e060124941b090ad2d4fec5a72be37a5f8a50f0e0ca821dcbbe4b5925b  pound-4.8.tar.gz
+sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
package/pound/pound.mk +10 -5
index d6839fc2e7..550da10513 100644
@@ -4,11 +4,10 @@
 #
 ################################################################################
 
-POUND_VERSION = 2.8
-POUND_SITE = http://www.apsis.ch/pound
-POUND_SOURCE = Pound-$(POUND_VERSION).tgz
+POUND_VERSION = 4.8
+POUND_SITE = https://github.com/graygnuorg/pound/releases/download/v$(POUND_VERSION)
 POUND_LICENSE = GPL-3.0+
-POUND_LICENSE_FILES = GPL.txt
+POUND_LICENSE_FILES = COPYING
 POUND_DEPENDENCIES = openssl host-openssl
 
 # Force owner/group to us, otherwise it will try proxy:proxy by
@@ -17,8 +16,14 @@ POUND_CONF_OPTS = \
 	--with-owner=$(shell id -un) \
 	--with-group=$(shell id -gn)
 
-ifeq ($(BR2_PACKAGE_PCRE),y)
+ifeq ($(BR2_PACKAGE_PCRE2),y)
+POUND_CONF_OPTS += --enable-pcreposix=pcre2
+POUND_DEPENDENCIES += pcre2
+else ifeq ($(BR2_PACKAGE_PCRE),y)
+POUND_CONF_OPTS += --enable-pcreposix=pcre1
 POUND_DEPENDENCIES += pcre
+else
+POUND_CONF_OPTS += --disable-pcreposix
 endif
 
 $(eval $(autotools-package))
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 19 lines · On Sun, 16 Jul 2023 17:56:25 +0200 Bernd Kuhls <[email protected]> wrote:

Original upstream ended the development of pound 2.8 in 2022:
https://groups.google.com/g/pound_proxy/c/O8xaIIODw18

Switch project to use a maintained fork at https://github.com/graygnuorg
and remove all patches, they are not needed anymore.

Follow the rename of the license file:
https://github.com/graygnuorg/pound/commit/223b4276ac7a71583e0983f7d0d920f70e6c1abe

Release notes: https://github.com/graygnuorg/pound/blob/master/NEWS

This bump includes compatibility with OpenSSL 3.x (since version 4.0) and added optional support for pcre2:
https://github.com/graygnuorg/pound/commit/a797374f220c5958f20a4f630083294dae4165b8

Fixes:
http://autobuild.buildroot.net/results/1ca/1ca31debd709f634e65492bee0806ca81bcf9ee5/

Quoted 12 lines
---
 .checkpackageignore                           |   2 -
 package/pound/0001-fix-openssl-1.0.2.patch    | 127 -------
 package/pound/0002-fix-openssl-1.1.0.patch    | 334 ------------------
 ...bressl-coexisting-with-openssl-1.1.x.patch | 140 --------
 package/pound/Config.in                       |   2 +-
 package/pound/pound.hash                      |   4 +-
 package/pound/pound.mk                        |  15 +-
 7 files changed, 13 insertions(+), 611 deletions(-)
 delete mode 100644 package/pound/0001-fix-openssl-1.0.2.patch
 delete mode 100644 package/pound/0002-fix-openssl-1.1.0.patch
 delete mode 100644 package/pound/0003-Support-for-libressl-coexisting-with-openssl-1.1.x.patch

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot