mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/c-icap: bump version to 0.5.14
0.5.11: https://sourceforge.net/p/c-icap/mailman/message/38634903/ 0.5.12: https://sourceforge.net/p/c-icap/mailman/message/58723532/ 0.5.13: https://github.com/c-icap/c-icap-server/compare/C_ICAP_0.5.12...C_ICAP_0.5.13 (no announcement found) 0.5.14: https://sourceforge.net/p/c-icap/mailman/message/59202148/ Rebased patch 0001 due to upstream commit1559d1662aRebased patch 0003 due to upstream commitb650bfdd4aRemoved patch 0004 which is included in this release:16cdaa505dRenamed patches 0005 & 0006. Disabled zstd support added upstream with commit1559d1662adue to build errors when enabled: encode.c: In function 'ci_compress_to_membuf': encode.c:75:16: error: implicit declaration of function 'ci_zstd_compress_to_membuf'; did you mean 'ci_decompress_to_membuf'? [-Wimplicit-function-declaration] 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
428e0e292b
commit
97c434f731
@@ -7,6 +7,8 @@ Subject: [PATCH] Required fixes to compile and run under cygwin
|
||||
https://github.com/c-icap/c-icap-server/commit/1631a6c1f50e152b8a45d8279c96086e5636795b,
|
||||
which has the side effect of fixing the build with the musl C library]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Bernd: rebased for 0.5.14]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
configure.ac | 10 +++++++---
|
||||
@@ -26,13 +28,13 @@ index 4c34033..ab80f4f 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -53,7 +53,7 @@ c_icap_SOURCES = aserver.c request.c cfg_param.c \
|
||||
libicapapi_la_CFLAGS= $(INVISIBILITY_CFLAG) -I$(srcdir)/include/ -Iinclude/ @ZLIB_ADD_FLAG@ @OPENSSL_ADD_FLAG@ @BZLIB_ADD_FLAG@ @BROTLI_ADD_FLAG@ @PCRE_ADD_FLAG@ -DCI_BUILD_LIB
|
||||
libicapapi_la_CFLAGS= $(INVISIBILITY_CFLAG) -I$(srcdir)/include/ -Iinclude/ @ZLIB_ADD_FLAG@ @OPENSSL_ADD_FLAG@ @BZLIB_ADD_FLAG@ @BROTLI_ADD_FLAG@ @ZSTD_ADD_FLAG@ @PCRE_ADD_FLAG@ -DCI_BUILD_LIB
|
||||
|
||||
libicapapi_la_LIBADD = @ZLIB_ADD_LDADD@ @BZLIB_ADD_LDADD@ @BROTLI_ADD_LDADD@ @PCRE_ADD_LDADD@ @DL_ADD_FLAG@ @THREADS_LDADD@ @OPENSSL_ADD_LDADD@
|
||||
libicapapi_la_LIBADD = @ZLIB_ADD_LDADD@ @BZLIB_ADD_LDADD@ @BROTLI_ADD_LDADD@ @ZSTD_ADD_LDADD@ @PCRE_ADD_LDADD@ @DL_ADD_FLAG@ @THREADS_LDADD@ @OPENSSL_ADD_LDADD@
|
||||
-libicapapi_la_LDFLAGS= -shared -version-info @CICAPLIB_VERSION@ @THREADS_LDFLAGS@
|
||||
+libicapapi_la_LDFLAGS= -shared -version-info @CICAPLIB_VERSION@ @LIBS_LDFLAGS@ @THREADS_LDFLAGS@
|
||||
|
||||
export EXT_PROGRAMS_MKLIB = @ZLIB_LNDIR_LDADD@ @BZLIB_LNDIR_LDADD@ @BROTLI_LNDIR_LDADD@ @PCRE_LNDIR_LDADD@ @OPENSSL_LNDIR_LDADD@
|
||||
export EXT_PROGRAMS_MKLIB = @ZLIB_LNDIR_LDADD@ @BZLIB_LNDIR_LDADD@ @BROTLI_LNDIR_LDADD@ @ZSTD_LNDIR_LDADD@ @PCRE_LNDIR_LDADD@ @OPENSSL_LNDIR_LDADD@
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 405571b..8059cb7 100644
|
||||
|
||||
@@ -11,10 +11,11 @@ Reported with PR#72 at github:
|
||||
|
||||
Upstream: 48a221b0197727b26f90c00544fa19c67d0f5d47
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
[Bernd: rebased for 0.5.14]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
http_auth.c | 2 +-
|
||||
include/module.h | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/http_auth.c b/http_auth.c
|
||||
index 1883b55..b831bb1 100644
|
||||
@@ -29,19 +30,6 @@ index 1883b55..b831bb1 100644
|
||||
int len, res;
|
||||
|
||||
if (ALLOW_REMOTE_PROXY_USERS && !use_method) {
|
||||
diff --git a/include/module.h b/include/module.h
|
||||
index 286ef72..0e57586 100644
|
||||
--- a/include/module.h
|
||||
+++ b/include/module.h
|
||||
@@ -96,7 +96,7 @@ typedef struct http_auth_method {
|
||||
void *(*create_auth_data)(const char *authorization_header,const char **username);
|
||||
void (*release_auth_data)(void *data);
|
||||
char *(*authentication_header)();
|
||||
- void (*release_authentication_header)();
|
||||
+ void (*release_authentication_header)(char *);
|
||||
struct ci_conf_entry *conf_table;
|
||||
} http_auth_method_t;
|
||||
|
||||
--
|
||||
2.51.0
|
||||
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 8d21c9c18e3b03e28ef2831f3ecd287c4cc44694 Mon Sep 17 00:00:00 2001
|
||||
From: Christos Tsantilas <christos@chtsanti.net>
|
||||
Date: Fri, 21 Feb 2025 13:41:37 +0200
|
||||
Subject: [PATCH] Fix to compile with GCC15: signal handlers require an int
|
||||
argument
|
||||
|
||||
Reported with PR#72 at github:
|
||||
https://github.com/c-icap/c-icap-server/pull/72
|
||||
|
||||
Upstream: 0b3408ad0e9f5ccadcd4d77dffa651f9211e4cd2
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
mpmt_server.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mpmt_server.c b/mpmt_server.c
|
||||
index aab9db5..01bab65 100644
|
||||
--- a/mpmt_server.c
|
||||
+++ b/mpmt_server.c
|
||||
@@ -140,7 +140,7 @@ static void sigchld_handler_main(int sig)
|
||||
/*Do nothing the signal will be ignored..... */
|
||||
}
|
||||
|
||||
-static void sighup_handler_main()
|
||||
+static void sighup_handler_main(int sig)
|
||||
{
|
||||
c_icap_reconfigure = 1;
|
||||
}
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Retrieved from https://sourceforge.net/projects/c-icap/files/c-icap/0.5.x/
|
||||
md5 c8329684588a906d10a687e84ba4a478 c_icap-0.5.10.tar.gz
|
||||
sha1 2901aa19c8c4b09b700164290942290c34132076 c_icap-0.5.10.tar.gz
|
||||
md5 f678d20ae30cad41b08437b441752e31 c_icap-0.5.14.tar.gz
|
||||
sha1 db5e72065a3219410adfdbc5378b40b01e21ec36 c_icap-0.5.14.tar.gz
|
||||
# Locally calculated
|
||||
sha256 541d503354907f06d1d72fa90fffd031002f0f4346150fb7b2203ad5825ae49d c_icap-0.5.10.tar.gz
|
||||
sha256 28c30c97b1892a1a8938db6cdad806a73016c57ae181e232d33f347d5d700ec5 c_icap-0.5.14.tar.gz
|
||||
sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
C_ICAP_VERSION = 0.5.10
|
||||
C_ICAP_VERSION = 0.5.14
|
||||
C_ICAP_SOURCE = c_icap-$(C_ICAP_VERSION).tar.gz
|
||||
C_ICAP_SITE = http://downloads.sourceforge.net/c-icap
|
||||
C_ICAP_LICENSE = LGPL-2.1+
|
||||
@@ -14,6 +14,7 @@ C_ICAP_INSTALL_STAGING = YES
|
||||
C_ICAP_CONFIG_SCRIPTS = c-icap-config c-icap-libicapapi-config
|
||||
C_ICAP_CONF_OPTS = \
|
||||
--without-perl \
|
||||
--without-zstd \
|
||||
--enable-large-files \
|
||||
--enable-ipv6
|
||||
# Pre-seed cache variables for tests done with AC_TRY_RUN that are not
|
||||
|
||||
Reference in New Issue
Block a user