diff options
author | Emmanuel N. Millan <emmanueln@gmail.com> | 2023-02-17 20:31:37 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:06:46 +0700 |
commit | f0add20d4338a39540ad0fb0de921fab4826cf00 (patch) | |
tree | 2de2fc83f402850fa4007d5f663f58c8b768e3f5 /network/varnish | |
parent | 5c22160fdb3283997b3cd3842d4fe0ecfd79df44 (diff) |
network/varnish: Updated for version 7.2.1.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/varnish')
-rw-r--r-- | network/varnish/0051cbe3b9cc24586e0ad99cff72041c6df944b8.patch | 23 | ||||
-rw-r--r-- | network/varnish/f04d7df6e6d5b350740e01d24749a3930390b7a0.patch | 33 | ||||
-rw-r--r-- | network/varnish/varnish.SlackBuild | 6 | ||||
-rw-r--r-- | network/varnish/varnish.info | 6 |
4 files changed, 6 insertions, 62 deletions
diff --git a/network/varnish/0051cbe3b9cc24586e0ad99cff72041c6df944b8.patch b/network/varnish/0051cbe3b9cc24586e0ad99cff72041c6df944b8.patch deleted file mode 100644 index a1cc4e65dde9..000000000000 --- a/network/varnish/0051cbe3b9cc24586e0ad99cff72041c6df944b8.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 0051cbe3b9cc24586e0ad99cff72041c6df944b8 Mon Sep 17 00:00:00 2001 -From: Poul-Henning Kamp <phk@FreeBSD.org> -Date: Thu, 15 Oct 2020 07:35:04 +0000 -Subject: [PATCH] Import from VTest: Don't use explicit buffer size with no - buffer - ---- - bin/varnishtest/vtc_main.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c -index 1deea4ab78..3c3887450c 100644 ---- a/bin/varnishtest/vtc_main.c -+++ b/bin/varnishtest/vtc_main.c -@@ -698,7 +698,7 @@ main(int argc, char * const *argv) - else - tmppath = strdup("/tmp"); - -- cwd = getcwd(NULL, PATH_MAX); -+ cwd = getcwd(NULL, 0); - extmacro_def("pwd", "%s", cwd); - - vmod_path = NULL; diff --git a/network/varnish/f04d7df6e6d5b350740e01d24749a3930390b7a0.patch b/network/varnish/f04d7df6e6d5b350740e01d24749a3930390b7a0.patch deleted file mode 100644 index fabb9aacb69d..000000000000 --- a/network/varnish/f04d7df6e6d5b350740e01d24749a3930390b7a0.patch +++ /dev/null @@ -1,33 +0,0 @@ -From f04d7df6e6d5b350740e01d24749a3930390b7a0 Mon Sep 17 00:00:00 2001 -From: Nils Goroll <nils.goroll@uplex.de> -Date: Thu, 15 Oct 2020 12:01:35 +0200 -Subject: [PATCH] vtest: put cwd on the stack - -0051cbe3b9cc24586e0ad99cff72041c6df944b8 did not work on -solaris-descendents, the man page clearly states that the size argument -also determines the buffer to be malloc()ed for a NULL buffer argument. ---- - bin/varnishtest/vtc_main.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c -index 3c3887450c..1b322f8dea 100644 ---- a/bin/varnishtest/vtc_main.c -+++ b/bin/varnishtest/vtc_main.c -@@ -686,6 +686,7 @@ main(int argc, char * const *argv) - int use_cleaner = 0; - uintmax_t bufsiz; - const char *p; -+ char buf[PATH_MAX]; - - argv0 = strrchr(argv[0], '/'); - if (argv0 == NULL) -@@ -698,7 +699,7 @@ main(int argc, char * const *argv) - else - tmppath = strdup("/tmp"); - -- cwd = getcwd(NULL, 0); -+ cwd = getcwd(buf, sizeof buf); - extmacro_def("pwd", "%s", cwd); - - vmod_path = NULL; diff --git a/network/varnish/varnish.SlackBuild b/network/varnish/varnish.SlackBuild index cad34e3806e4..783e92b6ce67 100644 --- a/network/varnish/varnish.SlackBuild +++ b/network/varnish/varnish.SlackBuild @@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=varnish -VERSION=${VERSION:-6.5.1} +VERSION=${VERSION:-7.2.1} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,8 +55,8 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tgz cd $PRGNAM-$VERSION -patch -p1 -i $CWD/0051cbe3b9cc24586e0ad99cff72041c6df944b8.patch -patch -p1 -i $CWD/f04d7df6e6d5b350740e01d24749a3930390b7a0.patch +#patch -p1 -i $CWD/0051cbe3b9cc24586e0ad99cff72041c6df944b8.patch +#patch -p1 -i $CWD/f04d7df6e6d5b350740e01d24749a3930390b7a0.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/network/varnish/varnish.info b/network/varnish/varnish.info index 17e7902b9641..5ebdd29f639a 100644 --- a/network/varnish/varnish.info +++ b/network/varnish/varnish.info @@ -1,8 +1,8 @@ PRGNAM="varnish" -VERSION="6.5.1" +VERSION="7.2.1" HOMEPAGE="https://www.varnish-cache.org/" -DOWNLOAD="https://varnish-cache.org/_downloads/varnish-6.5.1.tgz" -MD5SUM="09304038cb3bb744a7c1742c8de848a1" +DOWNLOAD="https://varnish-cache.org/downloads/varnish-7.2.1.tgz" +MD5SUM="063560ae9907e6d352011170af191a8e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="Sphinx" |