summaryrefslogtreecommitdiff
path: root/www/varnish
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2013-09-09 12:22:45 +0000
committerfhajny <fhajny@pkgsrc.org>2013-09-09 12:22:45 +0000
commitdef05de9e001fc50384c1f25a8429bb24aaa9cac (patch)
tree7d44c96c8d3888e5f2254f0e814beae4fdd7bd6c /www/varnish
parent644709970de2689aa69d484355930c96abf7eae9 (diff)
downloadpkgsrc-def05de9e001fc50384c1f25a8429bb24aaa9cac.tar.gz
Update varnish to 3.0.4.
Changes since 3.0.3: * The ACL code had a bug which could lead to false negatives. This has been assigned CVE-2013-4090. * Varnish will now return an error if the client sends multiple Host headers. * If the backend sent invalid gzip while using ESI, Varnish would in some cases assert. It now works correctly. * TCP_NODELAY is now enabled, which should lead to performance improvements in some cases. Full changelog: https://www.varnish-cache.org/trac/browser/doc/changes.rst
Diffstat (limited to 'www/varnish')
-rw-r--r--www/varnish/Makefile11
-rw-r--r--www/varnish/distinfo9
-rw-r--r--www/varnish/patches/patch-configure.ac15
3 files changed, 8 insertions, 27 deletions
diff --git a/www/varnish/Makefile b/www/varnish/Makefile
index 1bb20eee79a..41057a8c274 100644
--- a/www/varnish/Makefile
+++ b/www/varnish/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2013/04/21 03:14:15 mspo Exp $
+# $NetBSD: Makefile,v 1.18 2013/09/09 12:22:45 fhajny Exp $
#
-DISTNAME= varnish-3.0.3
-#PKGREVISION= 4
+DISTNAME= varnish-3.0.4
CATEGORIES= www
MASTER_SITES= http://repo.varnish-cache.org/source/
@@ -13,7 +12,7 @@ LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= autoconf pkg-config gmake
+USE_TOOLS+= pkg-config gmake
BUILD_DEFS+= VARBASE
EGDIR= ${PREFIX}/share/examples/varnish
@@ -55,9 +54,7 @@ CONFIGURE_ENV+= VCC_CC="gcc ${_COMPILER_ABI_FLAG.${ABI}} -fpic -shared -o %o %s"
. endif
.endif
-pre-configure:
- cd ${WRKSRC} && autoconf
-
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/varnish/distinfo b/www/varnish/distinfo
index 12134acfc0e..a185e48b971 100644
--- a/www/varnish/distinfo
+++ b/www/varnish/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.10 2013/04/21 03:14:15 mspo Exp $
+$NetBSD: distinfo,v 1.11 2013/09/09 12:22:45 fhajny Exp $
-SHA1 (varnish-3.0.3.tar.gz) = 6e1535caa30c3f61af00160c59d318e470cd6f57
-RMD160 (varnish-3.0.3.tar.gz) = a911a2637ef26607aad8a1c34a83bc797a15235d
-Size (varnish-3.0.3.tar.gz) = 2070020 bytes
-SHA1 (patch-configure.ac) = 5614b7a0f5d016884e1b6dcb43c42f59af3611db
+SHA1 (varnish-3.0.4.tar.gz) = 6ac72f0bcaf92c9716d6fd8cc790c8f3333c4cb7
+RMD160 (varnish-3.0.4.tar.gz) = ed8aba21af17d5fee225eb03950fd90ad7b07911
+Size (varnish-3.0.4.tar.gz) = 2081361 bytes
SHA1 (patch-etc__Makefile.in) = 86424950049721ef224facdfbe4cb630a2c46532
diff --git a/www/varnish/patches/patch-configure.ac b/www/varnish/patches/patch-configure.ac
deleted file mode 100644
index 38fefe7d20d..00000000000
--- a/www/varnish/patches/patch-configure.ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.1 2011/11/12 20:40:16 mspo Exp $
-
-deal with missing exp2
-
---- configure.ac.orig 2011-10-30 12:53:05.000000000 +0000
-+++ configure.ac
-@@ -380,6 +380,8 @@ else
- ac_cv_func_port_create=no
- fi
-
-+AC_CHECK_FUNCS([exp2])
-+
- AM_MISSING_HAS_RUN
- AC_CHECK_PROGS(PYTHON, [python3 python3.1 python3.2 python2.7 python2.6 python2.5 python2 python], [AC_MSG_ERROR([Python is needed to build Varnish, please install python.])])
-