package/pound: bump version to 4.17
Removed patch 0001, upstream committed a different fix: https://github.com/graygnuorg/pound/pull/17#issuecomment-1757235640 Removed "--with-owner" and "--with-group" configure options: https://github.com/graygnuorg/pound/commit/6537e9c97bce1f84254ada0104f72264406a1d0d Added optional dependency to libxcrypt for glibc needed due to commit: https://github.com/graygnuorg/pound/commit/32c32b248fe99650f3949b7ee7502a2ff5335f24 Updated pcre-related configure options due to commit: https://github.com/graygnuorg/pound/commit/a3d2b9e0d41c2d5c0487dba0ea5d5178cdfae9c7 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
0629bcfc7e
commit
7c511dacef
@@ -1,75 +0,0 @@
|
||||
From a0374d946e55129b36ba1e0024e1d94675a8f044 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 17 Sep 2023 22:01:21 +0200
|
||||
Subject: [PATCH] include limits.h
|
||||
|
||||
Include limits.h to avoid the following build failure:
|
||||
|
||||
poundctl.c: In function 'oi_getn':
|
||||
poundctl.c:232:29: error: 'INT_MAX' undeclared (first use in this function)
|
||||
232 | if (errno || n < 0 || n > INT_MAX)
|
||||
| ^~~~~~~
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/4edfffcd5d4383c57947d97139331e0bf2cb6155
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Upstream: https://github.com/graygnuorg/pound/pull/17
|
||||
---
|
||||
src/config.c | 1 +
|
||||
src/poundctl.c | 1 +
|
||||
src/svc.c | 1 +
|
||||
src/tmpl.c | 1 +
|
||||
4 files changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/config.c b/src/config.c
|
||||
index b7e3150..12f5cfa 100644
|
||||
--- a/src/config.c
|
||||
+++ b/src/config.c
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "extern.h"
|
||||
#include <openssl/x509v3.h>
|
||||
#include <assert.h>
|
||||
+#include <limits.h>
|
||||
|
||||
|
||||
/*
|
||||
diff --git a/src/poundctl.c b/src/poundctl.c
|
||||
index bd1459f..7fa18c8 100644
|
||||
--- a/src/poundctl.c
|
||||
+++ b/src/poundctl.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "pound.h"
|
||||
#include "json.h"
|
||||
#include <assert.h>
|
||||
+#include <limits.h>
|
||||
|
||||
char *conf_name = POUND_CONF;
|
||||
char *socket_name;
|
||||
diff --git a/src/svc.c b/src/svc.c
|
||||
index 6e810a6..457f1e0 100644
|
||||
--- a/src/svc.c
|
||||
+++ b/src/svc.c
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "pound.h"
|
||||
#include "extern.h"
|
||||
#include "json.h"
|
||||
+#include <limits.h>
|
||||
|
||||
/*
|
||||
* basic hashing function, based on fmv
|
||||
diff --git a/src/tmpl.c b/src/tmpl.c
|
||||
index 2efa72f..0e5b65d 100644
|
||||
--- a/src/tmpl.c
|
||||
+++ b/src/tmpl.c
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#include "pound.h"
|
||||
#include <assert.h>
|
||||
+#include <limits.h>
|
||||
#include "json.h"
|
||||
|
||||
static void
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -3,6 +3,7 @@ config BR2_PACKAGE_POUND
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
||||
help
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 f1a041e060124941b090ad2d4fec5a72be37a5f8a50f0e0ca821dcbbe4b5925b pound-4.8.tar.gz
|
||||
sha256 b8759d94546027f0090dbb51455e2ff12ad2f95fe34edc4559a5a1dc07639a2e pound-4.17.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
|
||||
@@ -4,28 +4,26 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
POUND_VERSION = 4.8
|
||||
POUND_VERSION = 4.17
|
||||
POUND_SITE = https://github.com/graygnuorg/pound/releases/download/v$(POUND_VERSION)
|
||||
POUND_LICENSE = GPL-3.0+
|
||||
POUND_LICENSE_FILES = COPYING
|
||||
POUND_DEPENDENCIES = openssl host-openssl
|
||||
|
||||
# Force owner/group to us, otherwise it will try proxy:proxy by
|
||||
# default.
|
||||
POUND_CONF_OPTS = \
|
||||
--with-owner=$(shell id -un) \
|
||||
--with-group=$(shell id -gn)
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
POUND_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||
POUND_CONF_OPTS += --enable-pcreposix=pcre2
|
||||
POUND_CONF_OPTS += --enable-pcre=2
|
||||
POUND_CONF_ENV += \
|
||||
ac_cv_path_PCRE2_CONFIG=$(STAGING_DIR)/usr/bin/pcre2-config
|
||||
POUND_DEPENDENCIES += pcre2
|
||||
else ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
POUND_CONF_OPTS += --enable-pcreposix=pcre1
|
||||
POUND_CONF_OPTS += --enable-pcre=1
|
||||
POUND_DEPENDENCIES += pcre
|
||||
else
|
||||
POUND_CONF_OPTS += --disable-pcreposix
|
||||
POUND_CONF_OPTS += --disable-pcre
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user