73 Commits

Author SHA1 Message Date
kn
157a8847cf Actually drop myself as maintainer... 2022-02-01 08:11:47 +00:00
kn
fd251fb30d Security update to varnish 7.0.2
https://varnish-cache.org/security/VSV00008.html#vsv00008
"HTTP/1 Request Smuggling Vulnerability"

Remove myself as maintainer.
2022-01-26 15:35:28 +00:00
kn
0d9a5add02 Update to varnish 7.0.1 2021-11-24 15:15:41 +00:00
kn
bba56a3b56 Remove realpath -> readlink(1) quirks, we have realpath(1) in base now 2021-10-17 13:06:59 +00:00
kn
c9400a63e1 Use appropiate mandoc linting level
Otherwise post-install fails if varnish manuals are not installed;
noticed by naddy, thanks.
2021-10-15 21:51:53 +00:00
kn
db8831473f Lint varnishreload script and manual
Better fail in "make fake" then get frustrated with a broken script;
we control/authored both files so yell if they are not up to standard.
2021-10-14 20:57:55 +00:00
kn
df283082d4 Fix statedir creation in PLIST, set management interface port explicitly
No idea why but @extra-add to create /var/varnish on installation does not
work;  it's odd anyway, so use working @sample instead.

To have varnishreload(1) work out of the box, it must know where to find
varnishd(1), which however listens on a random management port unless
explicitly given.

With these two fixed, "pkg_add varnish && rcctl restart|reload varnishd"
work again without any changes in between.
2021-10-13 10:29:29 +00:00
kn
5d4203d0c3 Use distribution configure script, drop autoreconf/conf/make stuff
No need for this (anymore?) as release tarballs ship a ready-to-use script.
No PLIST change.
2021-10-13 08:30:46 +00:00
kn
814e74b713 Update to varnish 7.0.0
https://varnish-cache.org/releases/rel7.0.0.html
2021-10-03 21:14:21 +00:00
ajacoutot
c6261f6fe6 Drop not really useful MESSAGE.
ok kn@ (maintainer)
2021-09-02 21:28:49 +00:00
kn
8e71c20489 Security update to varnich 6.6.1
https://varnish-cache.org/security/VSV00007.html Request Smuggling Attack

OK gonzalo
2021-07-14 13:15:10 +00:00
sthen
07931f53a7 drop obsolete --with-rst2man/--with-sphinx-build 2021-07-05 10:00:54 +00:00
sthen
350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
kn
5b744765d0 Update to varnish 6.6.0
https://github.com/varnishcache/varnish-cache/blob/6.6/doc/changes.rst

OK gonzalo
2021-03-26 12:35:15 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
kn
9caee13623 Zap duplicate example VCL files, improve varnishreload(1)
- use UTC in timestamps
- provide EXAMPLES section
- improve manual wording
2020-11-07 17:17:21 +00:00
kn
7d907c4ecb Update to varnish 6.5.1
https://github.com/varnishcache/varnish-cache/blob/6.5/doc/changes.rst

OK gonzalo
2020-10-08 12:34:23 +00:00
kn
3307761e7c Update to varnish 6.4.0
https://github.com/varnishcache/varnish-cache/blob/6.4/doc/changes.rst
2020-03-24 16:22:15 +00:00
kn
09c0bd7629 Update to varnish 6.3.2
Fixes an assert possibly being triggered through a TLS proxy over PROXY 2,
causing varnish to restart and its cache to be flushed.  No potential for
remote code execution or data leaks.

http://varnish-cache.org/security/VSV00005.html#vsv00005
2020-02-07 21:39:42 +00:00
kn
57cdf8ab06 Fix CVS revision marker in varnishreload
Add missing comma to MAINTAINER while here.
2020-01-18 11:34:34 +00:00
kn
480e32e2ee Update to Varnish 6.3.1
Fixes information leak: http://varnish-cache.org/security/VSV00004.html
2019-10-25 18:19:34 +00:00
kn
2134ffd02a Update to varnish 6.3.0
https://varnish-cache.org/security/VSV00003-mitigation.html#vsv00003-mitigation
was fixed in 6.2.1 a month ago, 6.3.0 includes lots of fixes, see
https://github.com/varnishcache/varnish-cache/blob/6.3/doc/changes.rst

As jim@ is unresponsive and I intend to keep this port in good shape,
replace his MAINTAINER line with mine.

OK gonzalo
2019-10-03 09:32:34 +00:00
sthen
0a5b5bddee replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:50:46 +00:00
kn
5a9dccb9ce Add varnishreload script
varnishreload(1) is a simple script that reloads Varnish's active VCL
without restarting the server.  See the manual for more details.

This enables reload in our rc(8) script.

OK gonzalo
2019-05-20 20:02:27 +00:00
kn
de1afefbb6 Configure with debug symbols if DEBUG is set
OK gonzalo
2019-05-19 13:14:56 +00:00
naddy
0819fd513b switch to CONFIGURE_STYLE=autoreconf 2019-05-19 11:26:24 +00:00
kn
75c4422140 Fix build with py-docutils installed
Revision 1.42 switched to using Python 3, but Varnish's build prefers
Python 2 versions of various tools if found at configure time, so pass
explicit --with-* arguments to pin the selection.

Spotted by espie
OK gonzalo espie
2019-05-13 22:06:00 +00:00
kn
abf11bb709 Switch pre-configure to do-gen and AUTOCONF_ENV 2019-05-06 09:23:15 +00:00
gonzalo
4d51eaa17f Update for Varnish to 6.2.0
https://github.com/varnishcache/varnish-cache/blob/6.2/doc/changes.rst#varnish-cache-611-2018-10-26

OK kn@
2019-05-03 11:06:26 +00:00
kn
0f9b4f6615 Fix tiny but annoying documentation bug in varnishd(1)
The default protocol specifier for `-a' is "HTTP", not "HTTP/1".
Cherry-picked from bdc0c48f38c8789337896d913e7825d0f26bc821.

OK gonzalo
2018-12-14 21:22:38 +00:00
sthen
6b8e265514 bump ports known/suspected to be affected by issue with libedit/libreadline
and termcap on lld arches.
2018-11-14 20:48:21 +00:00
gonzalo
cdd6e75cd8 Maintenance release for Varnish to 6.1.1:
https://varnish-cache.org/docs/6.1/whats-new/changes-6.1.html

OK kn@
2018-10-30 08:04:28 +00:00
gonzalo
05ba90aeb3 Update for Varnish to 6.1.0
OK kn@
2018-10-08 11:44:10 +00:00
gonzalo
7cf5721328 Update for Varnish to 6.0.0, initial upgrade by me, then some tweaks by kn@
for proper python handling.

OK kn@
2018-04-03 09:40:27 +00:00
gonzalo
bbb050d9d8 [FIX] varnish pexp doesn't match on rc script.
From Tom Van Looy, thanks!
2018-02-05 14:03:26 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
5b15f2e9e9 security update to varnish-5.2.1, simplified from a diff from Klemens Nanni
ok gonzalo@

https://varnish-cache.org/security/VSV00002.html#vsv00002
2017-11-22 21:56:30 +00:00
gonzalo
bfde4a8f99 Update for Varnish to 5.2.0
https://varnish-cache.org/docs/5.2/whats-new/changes-5.2.html

OK rsadowski@
2017-09-18 14:09:53 +00:00
naddy
eafeeb5223 proper autotools dependencies and don't run autoconf twice 2017-08-25 12:37:14 +00:00
gonzalo
18a6220268 Update for Varnish to 5.1.3:
* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12425
* Switch to GH repo.varnish-cache.org going down soon.

Ok pirofti@ rsadowski@
2017-08-24 13:33:08 +00:00
gonzalo
827edd18a1 Update for Varnish to 5.1.2.
OK benoit@
2017-04-11 03:00:12 +00:00
gonzalo
4e64f0be3d Update for Varnish to 5.1.1
OK benoit@
2017-03-27 19:19:27 +00:00
gonzalo
b048d8b117 Update for Varnish to 5.1.0
OK benoit@
2017-03-16 15:44:06 +00:00
gonzalo
e945f9eadb Fix Makefile 2017-01-18 13:43:46 +00:00
gonzalo
5a3dab84e5 Upgrade for Varnish to 5.0.0:
https://varnish-cache.org/releases/rel5.0.0.html#rel5-0-0

So we jump to 5.0 now, Tests are welcomed.

Also, added myself to maintainers. Jim is sort of off-line for a while
now.

OK benoit@
2017-01-17 14:04:15 +00:00
jca
5fa19eec7d Unbreak on arm and hppa.
The internal backtrace implementation uses __builtin_return_address with
a non-zero argument, which doesn't work on arm and hppa.  Instead of
applying a fix in varnish, detect and depend on devel/libexecinfo which
already has the logic to handle those architectures.  ok gonzalo@
2016-12-30 21:09:07 +00:00
jca
6213bcc9a9 BROKEN on arm too, unsupported argument to '__builtin_return_address' 2016-12-28 21:31:08 +00:00
gonzalo
d8ace4a233 Update for Varnish to 4.1.3:
https://github.com/varnishcache/varnish-cache/blob/4.1/doc/changes.rst

OK benoit@
2016-08-23 13:48:23 +00:00
naddy
071c34fd6f remove SHARED_ONLY from ports that use only the gnu module 2016-03-16 21:19:37 +00:00
gonzalo
ea224b18df Update for Varnish to 4.1.2:
https://github.com/varnishcache/varnish-cache/blob/4.1/doc/changes.rst

OK benoit@
2016-03-15 15:07:36 +00:00