Skip to content

Commit db12382

Browse files
committed
Migrated to Varnish Cache 8.0.x
1 parent 78e52e0 commit db12382

File tree

13 files changed

+382
-12
lines changed

13 files changed

+382
-12
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
4040
- name: Install Varnish Cache
4141
run: |
42-
git clone https://github.com/varnishcache/varnish-cache.git ./varnish
43-
pushd varnish
44-
git submodule update --init
42+
wget --no-check-certificate https://varnish-cache.org/_downloads/varnish-8.0.0.tgz
43+
tar zxvf varnish-*.tgz
44+
pushd varnish-*/
4545
./autogen.sh
4646
CC='${{ matrix.cc }}' ./configure
4747
make -sj32

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ RUN apt update \
4545
&& apt clean \
4646
&& rm -rf /var/lib/apt/lists/*
4747

48-
RUN git clone https://github.com/varnishcache/varnish-cache.git /tmp/varnish \
49-
&& cd /tmp/varnish \
50-
&& git submodule update --init \
48+
RUN cd /tmp \
49+
&& wget --no-check-certificate https://varnish-cache.org/_downloads/varnish-8.0.0.tgz \
50+
&& tar zxvf varnish-*.tgz \
51+
&& rm -f varnish-*.tgz \
52+
&& cd varnish-* \
5153
&& ./autogen.sh \
5254
&& ./configure \
5355
&& make \

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
.. image:: https://github.com/carlosabalde/libvmod-cfg/actions/workflows/main.yml/badge.svg?branch=main
2+
.. image:: https://github.com/carlosabalde/libvmod-cfg/actions/workflows/main.yml/badge.svg?branch=8.0
33
:alt: GitHub Actions CI badge
44
:target: https://github.com/carlosabalde/libvmod-cfg/actions
5-
.. image:: https://codecov.io/gh/carlosabalde/libvmod-cfg/branch/main/graph/badge.svg
5+
.. image:: https://codecov.io/gh/carlosabalde/libvmod-cfg/branch/8.0/graph/badge.svg
66
:alt: Codecov badge
77
:target: https://codecov.io/gh/carlosabalde/libvmod-cfg
88

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.68])
2-
AC_INIT([libvmod-cfg], [trunk], [], [vmod-cfg])
2+
AC_INIT([libvmod-cfg], [20.0], [], [vmod-cfg])
33
AC_COPYRIGHT([Copyright (c) Carlos Abalde <carlos.abalde@gmail.com>])
44
AC_CONFIG_MACRO_DIR([m4])
55
AC_CONFIG_SRCDIR(src/vmod_cfg.vcc)
@@ -94,7 +94,7 @@ fi
9494

9595
m4_ifndef([VARNISH_PREREQ], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
9696

97-
#VARNISH_PREREQ([5.0], [5.1])
97+
VARNISH_PREREQ([8.0], [8.1])
9898
VARNISH_VMODS([cfg])
9999

100100
VMOD_TESTS="$(cd $srcdir/src && echo tests/*.vtc)"

debian/changelog

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
libvmod-cfg (20.0-1) stable; urgency=low
2+
3+
* Migrated to Varnish Cache 8.0.x
4+
5+
-- Carlos Abalde <carlos.abalde@gmail.com> Mon, 15 Sep 2025 16:00:00 +0200
6+
7+
libvmod-cfg (19.0-1) stable; urgency=low
8+
9+
* Migrated to Varnish Cache 7.7.x
10+
11+
-- Carlos Abalde <carlos.abalde@gmail.com> Tue, 18 Mar 2025 16:00:00 +0100
12+
13+
libvmod-cfg (18.0-1) stable; urgency=low
14+
15+
* Migrated to Varnish Cache 7.6.x
16+
17+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 13 Sep 2024 16:00:00 +0200
18+
19+
libvmod-cfg (17.0-1) stable; urgency=low
20+
21+
* Migrated to Varnish Cache 7.5.x
22+
23+
-- Carlos Abalde <carlos.abalde@gmail.com> Tue, 19 Mar 2024 16:00:00 +0100
24+
25+
libvmod-cfg (16.0-1) stable; urgency=low
26+
27+
* Migrated to Varnish Cache 7.4.x
28+
29+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 15 Sep 2023 16:00:00 +0200
30+
31+
libvmod-cfg (15.0-1) stable; urgency=low
32+
33+
* Migrated to Varnish Cache 7.3.x
34+
35+
-- Carlos Abalde <carlos.abalde@gmail.com> Wed, 15 Mar 2023 16:00:00 +0100
36+
37+
libvmod-cfg (14.0-1) stable; urgency=low
38+
39+
* Migrated to Varnish Cache 7.2.x
40+
41+
-- Carlos Abalde <carlos.abalde@gmail.com> Thu, 15 Sep 2022 16:00:00 +0200
42+
43+
libvmod-cfg (13.0-1) stable; urgency=low
44+
45+
* Migrated to Varnish Cache 7.1.x
46+
47+
-- Carlos Abalde <carlos.abalde@gmail.com> Tue, 15 Mar 2022 16:00:00 +0100
48+
49+
libvmod-cfg (12.0-1) stable; urgency=low
50+
51+
* Migrated to Varnish Cache 7.0.x
52+
53+
-- Carlos Abalde <carlos.abalde@gmail.com> Wed, 15 Sep 2021 16:00:00 +0200
54+
55+
libvmod-cfg (11.0-1) stable; urgency=low
56+
57+
* Migrated to Varnish Cache 6.6.x
58+
59+
-- Carlos Abalde <carlos.abalde@gmail.com> Mon, 15 Mar 2021 16:00:00 +0100
60+
61+
libvmod-cfg (10.0-1) stable; urgency=low
62+
63+
* Migrated to Varnish Cache 6.5.x
64+
65+
-- Carlos Abalde <carlos.abalde@gmail.com> Tue, 15 Sep 2020 16:00:00 +0200
66+
67+
libvmod-cfg (9.0-1) stable; urgency=low
68+
69+
* Migrated to Varnish Cache 6.4.x
70+
71+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 20 Mar 2020 16:00:00 +0100
72+
73+
libvmod-cfg (8.2-1) stable; urgency=low
74+
75+
* Add inspect() support for files, rules & scripts
76+
* Add VRT_FlushThreadCache() support (Varnish Enterprise)
77+
78+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 14 Feb 2020 16:00:00 +0100
79+
80+
libvmod-cfg (8.1-1) stable; urgency=low
81+
82+
* Fixed error in new_remote() when https URLs are used
83+
* Added some Linux Alpine fixes
84+
85+
-- Carlos Abalde <carlos.abalde@gmail.com> Mon, 11 Nov 2019 16:00:00 +0100
86+
87+
libvmod-cfg (8.0-1) stable; urgency=low
88+
89+
* Migrated to Varnish Cache 6.3.x
90+
91+
-- Carlos Abalde <carlos.abalde@gmail.com> Mon, 30 Sep 2019 16:00:00 +0200
92+
93+
libvmod-cfg (7.3-1) stable; urgency=low
94+
95+
* Added support for execution of ECMAScript scripts
96+
* Added support for loading of arbitrary Lua extensions
97+
* Added 'varnish.engine' & 'varnish.shared' helpers
98+
99+
-- Carlos Abalde <carlos.abalde@gmail.com> Mon, 29 Jul 2019 16:00:00 +0200
100+
101+
libvmod-cfg (7.2-1) stable; urgency=low
102+
103+
* Fixed error in check_remote() when backup file can't be opened
104+
105+
-- Carlos Abalde <carlos.abalde@gmail.com> Mon, 27 May 2019 16:00:00 +0200
106+
107+
libvmod-cfg (7.1-1) stable; urgency=low
108+
109+
* Added backup feature
110+
* Added varnish.get_header() & varnish.set_header() Lua helpers
111+
* Added varnish.regmatch(), varnish.regsub() & varnish.regsuball() Lua helpers
112+
* Added 'engines.current' & 'regexps.current' metrics to stats
113+
* Updated cJSON & inih dependencies
114+
115+
-- Carlos Abalde <carlos.abalde@gmail.com> Wed, 15 May 2019 16:00:00 +0200
116+
117+
libvmod-cfg (7.0-1) stable; urgency=low
118+
119+
* Migrated to Varnish Cache 6.2.x
120+
121+
-- Carlos Abalde <carlos.abalde@gmail.com> Mon, 18 Mar 2019 16:00:00 +0100
122+
123+
libvmod-cfg (6.3-1) stable; urgency=low
124+
125+
* Triggered 'thread.tcache.flush' also on LuaJIT executions
126+
* Added Lua / LuaJIT memory consumption to stats
127+
* Added Lua 5.2 & 5.3 support to build system
128+
129+
-- Carlos Abalde <carlos.abalde@gmail.com> Thu, 25 Oct 2018 16:00:00 +0200
130+
131+
libvmod-cfg (6.2-1) stable; urgency=low
132+
133+
* Flushed 'thread.tcache.flush' on Lua (not LuaJIT) script executions
134+
135+
-- Carlos Abalde <carlos.abalde@gmail.com> Tue, 16 Oct 2018 16:00:00 +0200
136+
137+
libvmod-cfg (6.1-1) stable; urgency=low
138+
139+
* Added new parameter 'prefix' to .dump() methods
140+
* Linked against LuaJIT when possible
141+
* Added new parameter 'gc_collect' to .execute() method
142+
143+
-- Carlos Abalde <carlos.abalde@gmail.com> Sat, 13 Oct 2018 16:00:00 +0200
144+
145+
libvmod-cfg (6.0-1) stable; urgency=low
146+
147+
* Migrated to Varnish Cache 6.1.x
148+
149+
-- Carlos Abalde <carlos.abalde@gmail.com> Tue, 18 Sep 2018 16:00:00 +0200
150+
151+
libvmod-cfg (5.2-1) stable; urgency=low
152+
153+
* Increased INI_MAX_LINE from 2KB to 16KB
154+
155+
-- Carlos Abalde <carlos.abalde@gmail.com> Tue, 07 Aug 2018 16:00:00 +0200
156+
157+
libvmod-cfg (5.1-1) stable; urgency=low
158+
159+
* Added cfg.rules()
160+
* Added cfg.script()
161+
* Added stream option to .dump() methods
162+
163+
-- Carlos Abalde <carlos.abalde@gmail.com> Wed, 27 Jun 2018 16:00:00 +0200
164+
165+
libvmod-cfg (5.0-1) stable; urgency=low
166+
167+
* Migrated to Varnish Cache 6.0.x
168+
169+
-- Carlos Abalde <carlos.abalde@gmail.com> Thu, 15 Mar 2018 16:00:00 +0100
170+
171+
libvmod-cfg (4.0-1) stable; urgency=low
172+
173+
* Migrated to Varnish Cache 5.2.x
174+
175+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 15 Sep 2017 16:00:00 +0200
176+
177+
libvmod-cfg (3.1-1) stable; urgency=low
178+
179+
* Added JSON support
180+
181+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 25 Aug 2017 16:00:00 +0200
182+
183+
libvmod-cfg (3.0-1) stable; urgency=low
184+
185+
* Migrated to Varnish Cache 5.1.x
186+
187+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 17 Mar 2017 16:00:00 +0100
188+
189+
libvmod-cfg (2.0-1) stable; urgency=low
190+
191+
* Migrated to Varnish Cache 5.0.x
192+
193+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 17 Mar 2017 16:00:00 +0100
194+
195+
libvmod-cfg (1.3-1) stable; urgency=low
196+
197+
* Fixed bug reading files from disk
198+
* Added reporting of error code when failed to parse .ini files
199+
* Updated .ini parser
200+
201+
-- Carlos Abalde <carlos.abalde@gmail.com> Thu, 02 Feb 2017 16:00:00 +0100
202+
203+
libvmod-cfg (1.2-1) stable; urgency=low
204+
205+
* Initial version
206+
207+
-- Carlos Abalde <carlos.abalde@gmail.com> Fri, 16 Sep 2016 16:00:00 +0200

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7

debian/control

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Source: libvmod-cfg
2+
Section: web
3+
Priority: extra
4+
Maintainer: Carlos Abalde <carlos.abalde@gmail.com>
5+
Build-Depends: debhelper (>= 7),
6+
build-essential,
7+
pkg-config,
8+
python-docutils | python3-docutils,
9+
varnish (>= 8.0.0),
10+
libvarnishapi-dev (>= 8.0.0),
11+
libcurl4-gnutls-dev,
12+
libluajit-5.1-dev,
13+
libjemalloc-dev,
14+
vim-common
15+
Standards-Version: 3.8.1
16+
17+
Package: libvmod-cfg
18+
Architecture: any
19+
Depends: varnish (>= 8.0.0), libcurl3-gnutls, libluajit-5.1-2, ${shlibs:Depends}, ${misc:Depends}, ${Varnish:ABI}
20+
Description: Config VMOD for Varnish

debian/copyright

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Copyright:
2+
3+
Copyright Carlos Abalde
4+
5+
License:
6+
7+
You're free to use and distribute this under terms in the
8+
LICENSE file.

debian/dirs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/share/doc/libvmod-cfg

debian/docs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
README.rst
2+
LICENSE

0 commit comments

Comments
 (0)