network/varnish: Updated for version 7.5.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Emmanuel N. Millán 2024-04-11 17:43:27 -03:00 committed by Willy Sudiarto Raharjo
parent fb0a135447
commit 767e9958be
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 11 additions and 9 deletions

View file

@ -33,11 +33,13 @@ VARNISH_OPTS="-f $CONF \
-T $ADMIN_IP:${ADMIN_PORT} \
-a $HTTP_IP:${HTTP_PORT} \
-t $DEFAULT_TTL \
-w${MIN_THREADS},${MAX_THREADS},${THREAD_TIMEOUT} \
-P $PID"
VARNISH_PARAMS="-p http_headers=$HTTP_HEADERS \
-p connect_timeout=$CONNECT_TIMEOUT"
VARNISH_PARAMS="-p http_max_hdr=$HTTP_HEADERS \
-p thread_pool_min=${MIN_THREADS} \
-p thread_pool_max=${MAX_THREADS} \
-p thread_pool_timeout=${THREAD_TIMEOUT} \
-p connect_timeout=$CONNECT_TIMEOUT"
varnish_start() {
if [ -e $PID ];then
@ -51,7 +53,7 @@ varnish_start() {
fi
ulimit -n $FILE_DESCRIPTORS
echo "starting varnish..."
$BIN $VARNISH_OPTS $VARNISH_PARAMS
$BIN $VARNISH_OPTS $VARNISH_PARAMS
}
varnish_stop() {
echo "stopping varnish..."

View file

@ -8,8 +8,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=varnish
VERSION=${VERSION:-7.2.1}
BUILD=${BUILD:-2}
VERSION=${VERSION:-7.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

View file

@ -1,8 +1,8 @@
PRGNAM="varnish"
VERSION="7.2.1"
VERSION="7.5.0"
HOMEPAGE="https://www.varnish-cache.org/"
DOWNLOAD="https://varnish-cache.org/downloads/varnish-7.2.1.tgz"
MD5SUM="063560ae9907e6d352011170af191a8e"
DOWNLOAD="https://varnish-cache.org/downloads/varnish-7.5.0.tgz"
MD5SUM="160a9a1f5cb8bae594490567ee39bd4b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Sphinx"