summaryrefslogtreecommitdiff
path: root/www/varnish
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-12-04 16:04:54 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-12-04 16:04:54 +0000
commitf4ebca1946155a46e53f22b4aebc65dca8b30ded (patch)
tree68f1e1c88d3cc6ebc6b84fd5662356e062d2c7ca /www/varnish
parent29a197fdc54e9f2b0493b26332dd74da796efb54 (diff)
downloadpkgsrc-f4ebca1946155a46e53f22b4aebc65dca8b30ded.tar.gz
Initial import of varnish-1.0.2:
Varnish is * a high-performace HTTP accelerator designed for content-heavy dynamic web sites. * designed for maximum performance on modern hardware and modern operating systems. Varnish takes full advantage of modern virtual memory systems and of advanced operating system features such as kqueue, accept filters, sendfile etc. where available. * open source, published under a two-clause BSD license. From the website: Varnish is very, very fast - ten to twenty times faster than Squid on the same hardware. http://www.varnish-cache.org/
Diffstat (limited to 'www/varnish')
-rw-r--r--www/varnish/DESCR9
-rw-r--r--www/varnish/Makefile20
-rw-r--r--www/varnish/PLIST17
-rw-r--r--www/varnish/distinfo7
-rw-r--r--www/varnish/patches/patch-aa12
-rw-r--r--www/varnish/patches/patch-ab16
6 files changed, 81 insertions, 0 deletions
diff --git a/www/varnish/DESCR b/www/varnish/DESCR
new file mode 100644
index 00000000000..ba07daa6e86
--- /dev/null
+++ b/www/varnish/DESCR
@@ -0,0 +1,9 @@
+Varnish is
+
+* a high-performace HTTP accelerator designed for content-heavy
+ dynamic web sites.
+* designed for maximum performance on modern hardware and modern
+ operating systems. Varnish takes full advantage of modern virtual
+ memory systems and of advanced operating system features such as
+ kqueue, accept filters, sendfile etc. where available.
+* open source, published under a two-clause BSD license.
diff --git a/www/varnish/Makefile b/www/varnish/Makefile
new file mode 100644
index 00000000000..152e110ecae
--- /dev/null
+++ b/www/varnish/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/04 16:04:54 xtraeme Exp $
+#
+
+DISTNAME= varnish-1.0.2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=varnish/}
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://varnish-cache.org/
+COMMENT= High-performace HTTP accelerator
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf
+
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/varnish/PLIST b/www/varnish/PLIST
new file mode 100644
index 00000000000..b3a8286dfd1
--- /dev/null
+++ b/www/varnish/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/04 16:04:54 xtraeme Exp $
+bin/varnishhist
+bin/varnishlog
+bin/varnishncsa
+bin/varnishstat
+bin/varnishtop
+lib/libvarnish.la
+lib/libvarnishapi.la
+lib/libvcl.la
+man/man1/varnishd.1
+man/man1/varnishhist.1
+man/man1/varnishlog.1
+man/man1/varnishncsa.1
+man/man1/varnishstat.1
+man/man1/varnishtop.1
+man/man7/vcl.7
+sbin/varnishd
diff --git a/www/varnish/distinfo b/www/varnish/distinfo
new file mode 100644
index 00000000000..5656df0eb0c
--- /dev/null
+++ b/www/varnish/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/12/04 16:04:54 xtraeme Exp $
+
+SHA1 (varnish-1.0.2.tar.gz) = 88fa343be907088ac29be6fc9d899b352c91bf83
+RMD160 (varnish-1.0.2.tar.gz) = 28aac4f266369c2a3ffb4233b1cd3fd0b3f6ade2
+Size (varnish-1.0.2.tar.gz) = 539059 bytes
+SHA1 (patch-aa) = 629a4b677355be2b2f47373d97bf9accfb44aa0b
+SHA1 (patch-ab) = ef32cee26f2542a44f2ab117154b58bc69931237
diff --git a/www/varnish/patches/patch-aa b/www/varnish/patches/patch-aa
new file mode 100644
index 00000000000..3e507f0c22b
--- /dev/null
+++ b/www/varnish/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/12/04 16:04:54 xtraeme Exp $
+
+--- configure.ac.orig 2006-11-07 13:38:11.000000000 +0100
++++ configure.ac 2006-12-04 16:54:54.000000000 +0100
+@@ -45,6 +45,7 @@
+ AC_HEADER_SYS_WAIT
+ AC_HEADER_TIME
+ AC_CHECK_HEADERS([sys/socket.h])
++AC_CHECK_HEADERS([sys/statvfs.h])
+ AC_CHECK_HEADERS([sys/vfs.h])
+ AC_CHECK_HEADERS([netinet/in.h])
+ AC_CHECK_HEADERS([stddef.h])
diff --git a/www/varnish/patches/patch-ab b/www/varnish/patches/patch-ab
new file mode 100644
index 00000000000..0479d8e5341
--- /dev/null
+++ b/www/varnish/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/12/04 16:04:54 xtraeme Exp $
+
+--- bin/varnishd/storage_file.c.orig 2006-12-04 16:49:47.000000000 +0100
++++ bin/varnishd/storage_file.c 2006-12-04 16:54:44.000000000 +0100
+@@ -37,6 +37,11 @@
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+
++#ifdef HAVE_SYS_STATVFS_H
++#include <sys/statvfs.h>
++#define statfs statvfs
++#endif
++
+ #ifdef HAVE_SYS_VFS_H
+ #include <sys/vfs.h>
+ #endif