FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
varnish4 High-performance HTTP accelerator
4.1.8 www on this many watch lists=2 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port
Maintainer: feld@FreeBSD.org search for ports maintained by this maintainer
Port Added: 03 Mar 2015 12:58:17
License: BSD2CLAUSE
This is the Varnish high-performance HTTP accelerator.

Documentation and additional information about Varnish is available on
http://varnish-cache.org/docs/index.html

Technical questions about Varnish and this release should be addressed
to <varnish-dev@varnish-cache.org>

Questions about commercial support and services related to Varnish
can be directed here: https://www.varnish-software.com/contact-us

WWW: http://www.varnish-cache.org/
SVNWeb : Homepage : PortsMon : pkg-plist

To install the port: cd /usr/ports/www/varnish4/ && make install clean
To add the package: pkg install varnish4

PKGNAME: varnish4

distinfo:

TIMESTAMP = 1502147563
SHA256 (varnishcache-varnish-cache-varnish-4.1.8_GH0.tar.gz) = 6d5735d1562570517feae551b236d2c321537785ff5e08fe40ce5315c32ef53c
SIZE (varnishcache-varnish-cache-varnish-4.1.8_GH0.tar.gz) = 946513


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. rst2man : textproc/py-docutils
  2. autoconf-2.69 : devel/autoconf
  3. autoheader-2.69 : devel/autoconf
  4. autoreconf-2.69 : devel/autoconf
  5. aclocal-1.15 : devel/automake
  6. automake-1.15 : devel/automake
  7. libtoolize : devel/libtool
  8. gmake : devel/gmake
  9. pkgconf>=1.3.0_1 : devel/pkgconf
  10. python2.7 : lang/python27
  11. python2 : lang/python2
Library dependencies:
  1. libpcre.so : devel/pcre
  2. libedit.so.0 : devel/libedit

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
autoreconf cpe gmake libedit libtool ncurses pathfix  pkgconfig python:2,build readline shebangfix

Master Sites:
  1. https://codeload.github.com/varnishcache/varnish-cache/tar.gz/varnish-4.1.8?dummy=/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2015-10-19
    Affects: users of www/varnish4
    Author: feld@FreeBSD.org
    Reason: 
      Varnish has been updated to 4.1.0. As part of the update an effort has
      been made to increase the security of the varnish daemons by utilizing
      separate UIDs. Users who upgrade will likely run into a permissions
      issue as a result. The simplest solution is to delete files varnish
      will recreate with the correct permissions and to adjust permissions
      of existing log files.
    
      The following changes will allow you to start varnishd, varnishlog,
      and varnishncsa successfully:
    
      # rm -r /usr/local/varnish/$(hostname)
      # rm /var/run/varnishlog.pid
      # rm /var/run/varnishncsa.pid
      # chown varnishlog /var/log/varnish.log
      # chown varnishlog /var/log/varnishncsa.log
    
      Please also note that the syntax for binding to additional IPs has
      changed in 4.1.0. Multiple listening addresses are now specified by
      using multiple -a arguments. In rc.conf it would look like this:
    
      varnishd_listen="x.x.x.x:80 -a y.y.y.y:80"
    
    
Port Moves
  • port moved here from www/varnish on 2015-06-28
    REASON: Has expired: EOL was reached in April 2015, use www/varnish4

Number of commits found: 36

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
09 Aug 2017 16:10:57
Original commit files touched by this commit  4.1.8
Revision:447632
mat search for other commits by this committer
Fixup GH_TAGNAME usage, and minor cleanup.

Sponsored by:	Absolight
08 Aug 2017 00:10:57
Original commit files touched by this commit  4.1.8
Revision:447523
feld search for other commits by this committer
www/varnish4 www/varnish5: Change MASTER_SITES to GITHUB

- Now properly use autotools
- rst2man is a required build dependency

Requested by upstream as the current mirror is being retired

MFH:		2017Q3
02 Aug 2017 18:29:00
Original commit files touched by this commit  4.1.8
Revision:447140
feld search for other commits by this committer
www/varnish4: Update to 4.1.8

MFH:		2017Q3
Security:	https://varnish-cache.org/security/VSV00001.html
27 Jun 2017 13:46:53
Original commit files touched by this commit  4.1.5_1
Revision:444463 This port version is marked as vulnerable.
sunpoet search for other commits by this committer
Update devel/readline to 7.0 patch 3

- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
21 Mar 2017 13:33:24
Original commit files touched by this commit  4.1.5
Revision:436604 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Update to 4.1.5

Changelog:	http://www.varnish-cache.org/releases/rel4.1.5.html#rel4-1-5

PR:		217952
31 Jan 2017 05:43:56
Original commit files touched by this commit  4.1.3_1
Revision:432900 This port version is marked as vulnerable.
linimon search for other commits by this committer
Remove vestigial BROKEN_arm.  It does not do anything.  These ports all
build on aarch64 in any case.

Approved by:	portmgr (tier-2 blanket)
29 Nov 2016 14:56:48
Original commit files touched by this commit  4.1.3_1
Revision:427381 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4 www/varnish5: Change default hash algorithm

The default hash algorithm as of Varnish 2.1 is "critbit". The FreeBSD
varnish ports/packages have run the varnish daemon with the "classic"
algorithm due to an oversight. This update corrects the default to
adhere to the recommendation of upstream.

Submitted by:	Mark Staudinger <mark staudinger AT nyi net>
18 Nov 2016 15:18:04
Original commit files touched by this commit  4.1.3
Revision:426324 This port version is marked as vulnerable.
marino search for other commits by this committer
www/varnish4: Document ncurses requirement

Approved by:	ncurses blanket
21 Oct 2016 15:21:13
Original commit files touched by this commit  4.1.3
Revision:424427 This port version is marked as vulnerable.
mat search for other commits by this committer
Use USES=pathfix where applicable.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
21 Oct 2016 12:51:41
Original commit files touched by this commit  4.1.3
Revision:424411  Sanity Test Failure This port version is marked as vulnerable.
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
14 Jul 2016 20:28:12
Original commit files touched by this commit  4.1.3
Revision:418559 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Update pkg-descr with modern links and email address

MFH:		2016Q3
14 Jul 2016 20:07:28
Original commit files touched by this commit  4.1.3
Revision:418556 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Update to 4.1.3

Changelog:	https://github.com/varnishcache/varnish-cache/blob/4.1/doc/changes.rst

Will MFH as upstream recommends the latest release of this branch due to
important bugfixes.

MFH:		2016Q3
01 Apr 2016 14:33:58
Original commit files touched by this commit  4.1.2
Revision:412351 This port version is marked as vulnerable.
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.

With hat:	portmgr
Sponsored by:	Absolight
07 Mar 2016 15:36:56
Original commit files touched by this commit  4.1.2
Revision:410523 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Update to 4.1.2

Changelog:	https://github.com/varnishcache/varnish-cache/blob/4.1/doc/changes.rst

MFH:		2016Q1
01 Feb 2016 19:10:00
Original commit files touched by this commit  4.1.1_1
Revision:407729 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Fix build on i386

Pull in patch from upstream

https://www.varnish-cache.org/trac/ticket/1851

PR:		206778
28 Jan 2016 20:14:50
Original commit files touched by this commit  4.1.1
Revision:407418 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Update to 4.1.1

Changelog:	https://github.com/varnish/Varnish-Cache/blob/4.1/doc/changes.rst
11 Nov 2015 07:54:11
Original commit files touched by this commit  4.1.0_2
Revision:401226 This port version is marked as vulnerable.
marino search for other commits by this committer
www/varnish4: Convert to USES=libedit

While here, remove <pre>/<post> by using BROKEN_arm.

Approved by:	maintainer (feld)
03 Nov 2015 15:08:47
Original commit files touched by this commit  4.1.0_2
Revision:400701 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Fix race condition on start

varnishlog and varnishncsa had a race condition with varnishd on
startup as they will notice varnishd's leftover _.vsm file and try to
connect to varnishd but occasionally fail due to varnishd not being
fully operational yet. By adding "-t off" flag as default to varnishncsa
and varnishlog they will wait indefinitely for varnishd to start up
instead of just exiting.

Other bugs fixed:

* varnishncsa_logformat in rc.conf mostly works

Unfortunately due to shell expansion we still cannot pass
quotes (") so if you need those in your log format you will have to
(Only the first 15 lines of the commit message are shown above View all of this commit message)
25 Oct 2015 14:51:34
Original commit files touched by this commit  4.1.0_1
Revision:400150 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: varnishlog produce ascii logs by default

Before version 4.1.0 the logs were ascii. Return that behavior to not
surprise users who upgrade.
19 Oct 2015 15:04:31
Original commit files touched by this commit  4.1.0
Revision:399688 This port version is marked as vulnerable.
feld search for other commits by this committer
www/varnish4: Update to 4.1.0

- Add varnish and varnishlog UIDs
- Add varnish GID
- varnishd, varnishncsa, and varnishlog no longer run as root

Users upgrading may see permissions errors on start due to change in
uid running the processes. Please see the UPDATING entry for more
details.

Changelog:	https://github.com/varnish/Varnish-Cache/blob/varnish-4.1.0/doc/sphinx/whats-new/changes.rst

Differential Revision:	https://reviews.freebsd.org/D3878
19 Oct 2015 14:50:52
Original commit files touched by this commit  4.0.3_7
Revision:399684 This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
Improve shebangfix framework

- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
29 Jul 2015 22:09:55
Original commit files touched by this commit  4.0.3_7
Revision:393196 This port version is marked as vulnerable.
antoine search for other commits by this committer
Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
27 Jul 2015 17:53:18
Original commit files touched by this commit  4.0.3_7
Revision:392997 This port version is marked as vulnerable.
feld search for other commits by this committer
Fix startup script order:
varnishncsa and varnishlog require varnishd to start successfully

mat reported some latency between starting varnishd and creation of
the _.vsm file used for communication, so a start_precmd has been added
to varnishncsa and varnishlog.

PR:		201586
Differential Revision:	https://reviews.freebsd.org/D3208
12 Jul 2015 17:00:07
Original commit files touched by this commit  4.0.3_6
Revision:391822 This port version is marked as vulnerable.
feld search for other commits by this committer
Change python dependency to only be build-time
28 Jun 2015 17:14:36
Original commit files touched by this commit  4.0.3_5
Revision:390800 This port version is marked as vulnerable.
feld search for other commits by this committer
use PYTHON_CMD as PYTHON_VERSION is going away eventually

This will give me the same result, so it is a no-op

Submitted by:	antoine
28 Jun 2015 17:04:22
Original commit files touched by this commit  4.0.3_5
Revision:390797 This port version is marked as vulnerable.
feld search for other commits by this committer
Require python as a run dependency, too

python is required for you to be able to build custom vmods and also for
other vmods in the ports tree to build. Better off including the
requirement here as we ship the vmodtool.py utility and do not want to
surprise end users.

shebangfix was included as the default shebang on vmodtool.py is
/usr/bin/env python which is not going to work unless the lang/python
metaport is installed, which is not included with USES=python. Instead
we just rewrite this to whichever the default system python intepreter
is (PYTHON_VERISON).
27 May 2015 14:34:43
Original commit files touched by this commit  4.0.3_4
Revision:387610 This port version is marked as vulnerable.
feld search for other commits by this committer
Add varnishd_extra_flags option to permit passing additional flags to
varnishd

Clean up rc scripts per rclint recommendations

Differential Revision:	https://reviews.freebsd.org/D2605
13 Apr 2015 16:12:47
Original commit files touched by this commit  4.0.3_3
Revision:383931 This port version is marked as vulnerable.
feld search for other commits by this committer
Add CPE information

PR:		199372
26 Mar 2015 17:02:09
Original commit files touched by this commit  4.0.3_3
Revision:382331 This port version is marked as vulnerable.
feld search for other commits by this committer
Varnish is not always obeying CPPFLAGS

Revert to CFLAGS to fix this build issue
24 Mar 2015 12:47:07
Original commit files touched by this commit  4.0.3_3
Revision:382088 This port version is marked as vulnerable.
feld search for other commits by this committer
Should really be CPPFLAGS instead of CFLAGS

Submitted by:	danfe
23 Mar 2015 16:27:37
Original commit files touched by this commit  4.0.3_3
Revision:382013 This port version is marked as vulnerable.
feld search for other commits by this committer
Allow configuration of the varnishncsa log format

PR:		198742
23 Mar 2015 16:11:53
Original commit files touched by this commit  4.0.3_2
Revision:382012 This port version is marked as vulnerable.
feld search for other commits by this committer
Varnish was failing to build if devel/libedit was installed.

Add libedit as a dependency with correct CFLAGS so it builds
successfuly.
07 Mar 2015 03:20:28
Original commit files touched by this commit  4.0.3_1
Revision:380668 This port version is marked as vulnerable.
feld search for other commits by this committer
Fix building on i386

Removed a patch that was upstreamed.
03 Mar 2015 15:40:23
Original commit files touched by this commit  4.0.3_1
Revision:380377 This port version is marked as vulnerable.
feld search for other commits by this committer
Varnish 4.0.3 removed default hardcoded -sfile size and no longer
accepts percentages.

Set to 100M by default instead to match old behavior.

https://github.com/varnish/Varnish-Cache/commit/82ba5b928d5204df386a9a212dca9334d7a2bb41
03 Mar 2015 13:03:22
Original commit files touched by this commit  4.0.3
Revision:380360 This port version is marked as vulnerable.
feld search for other commits by this committer
Welcome www/varnish4 to the tree

Fix COMMENT
03 Mar 2015 12:57:58
Original commit files touched by this commit  4.0.3
Revision:380358 This port version is marked as vulnerable.
feld search for other commits by this committer
Update "BSD" license for buganini's ports

Number of commits found: 36

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
arjOct 19
cactiOct 19
mariadb100-serverOct 19
mariadb101-serverOct 19
mariadb102-serverOct 19
mariadb55-serverOct 19
mysql55-serverOct 19
mysql56-serverOct 19
mysql57-serverOct 19
percona55-serverOct 19
percona56-serverOct 19
percona57-serverOct 19
krb5Oct 18
krb5-113Oct 18
krb5-114Oct 18

22 vulnerabilities affecting 93 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31606
Broken 154
Deprecated 78
Ignore 423
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 57
Expired 16
Set to expire 71
Interactive 0
new 24 hours 5
new 48 hours8
new 7 days19
new fortnight49
new month431

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.