diff options
author | Thilo Bangert <bangert@gentoo.org> | 2006-10-19 07:46:53 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2006-10-19 07:46:53 +0000 |
commit | 2921e65c414168fd0bc851044de5152e8751572a (patch) | |
tree | c4580b0e5df4823244c1d65cb970cf994f12fc72 /www-servers | |
parent | Update SRC_URI. (diff) | |
download | historical-2921e65c414168fd0bc851044de5152e8751572a.tar.gz historical-2921e65c414168fd0bc851044de5152e8751572a.tar.bz2 historical-2921e65c414168fd0bc851044de5152e8751572a.zip |
varnish - Varnish is an HTTP accelerator. aka a better squid
Package-Manager: portage-2.1.1
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/varnish/ChangeLog | 10 | ||||
-rw-r--r-- | www-servers/varnish/Manifest | 24 | ||||
-rw-r--r-- | www-servers/varnish/files/digest-varnish-1.0.1 | 3 | ||||
-rw-r--r-- | www-servers/varnish/files/varnishd.confd | 6 | ||||
-rwxr-xr-x | www-servers/varnish/files/varnishd.initd | 20 | ||||
-rw-r--r-- | www-servers/varnish/metadata.xml | 22 | ||||
-rw-r--r-- | www-servers/varnish/varnish-1.0.1.ebuild | 34 |
7 files changed, 119 insertions, 0 deletions
diff --git a/www-servers/varnish/ChangeLog b/www-servers/varnish/ChangeLog new file mode 100644 index 000000000000..bc1f151b590f --- /dev/null +++ b/www-servers/varnish/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-servers/varnish +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.1 2006/10/19 07:46:53 bangert Exp $ + +*varnish-1.0.1 (19 Oct 2006) + + 19 Oct 2006; Thilo Bangert <bangert@gentoo.org> +files/varnishd.confd, + +files/varnishd.initd, +metadata.xml, +varnish-1.0.1.ebuild: + varnish - Varnish is an HTTP accelerator. aka a better squid + diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest new file mode 100644 index 000000000000..47e420e682db --- /dev/null +++ b/www-servers/varnish/Manifest @@ -0,0 +1,24 @@ +AUX varnishd.confd 166 RMD160 ce275968c702f547f6b0db2de24fc1abd3488b04 SHA1 29f426d4ab8de3fb79217fa738e9d8e0800b3662 SHA256 f98389902b477307b1bf4856c4ce744b4c57c88869fffcf0b47217d6b24c24a6 +MD5 4b33e512c21e9a716d3a43a4d7fecbde files/varnishd.confd 166 +RMD160 ce275968c702f547f6b0db2de24fc1abd3488b04 files/varnishd.confd 166 +SHA256 f98389902b477307b1bf4856c4ce744b4c57c88869fffcf0b47217d6b24c24a6 files/varnishd.confd 166 +AUX varnishd.initd 540 RMD160 eb6844e97f3a0623ba98d69fd03da57e7c74bcea SHA1 ed49157db5d27fe622bb75285d90f7939ad281e4 SHA256 33c62d2d15f4a775d32927d80b83debf21d71f3e1ebf186088938a47b5973df6 +MD5 505094b550623a7f332bb4ecb106ad88 files/varnishd.initd 540 +RMD160 eb6844e97f3a0623ba98d69fd03da57e7c74bcea files/varnishd.initd 540 +SHA256 33c62d2d15f4a775d32927d80b83debf21d71f3e1ebf186088938a47b5973df6 files/varnishd.initd 540 +DIST varnish-1.0.1.tar.gz 503442 RMD160 6c1e174b3e63b3e84540211553385528f3d48675 SHA1 9b0bd65ed67a7ef4ab21a774d15bf2629520d0a6 SHA256 e6484aa8b830e2f044f851bd2b1ef3d180c48195a0f13b85b701f2a38041d391 +EBUILD varnish-1.0.1.ebuild 983 RMD160 85f632fe682e6f48d76b634d74c2f4c24c4555c6 SHA1 6b48be87d09538578d4b4df77d4bb3011b8c00c8 SHA256 1000ee8bc7dceb19ab3bd049deeb80c9195e7174c2e098f86aac6772bce5aa58 +MD5 36e9d030b16d199bfba26f1d1d48a776 varnish-1.0.1.ebuild 983 +RMD160 85f632fe682e6f48d76b634d74c2f4c24c4555c6 varnish-1.0.1.ebuild 983 +SHA256 1000ee8bc7dceb19ab3bd049deeb80c9195e7174c2e098f86aac6772bce5aa58 varnish-1.0.1.ebuild 983 +MISC ChangeLog 442 RMD160 3c29bbe4532f90fb8a5777b79ff7169d19fe21eb SHA1 38cb4e33f1f6da9cc2314d34015dc7c1d072b60f SHA256 7bbeffdac7c6bbeb42d28b506264e82889a13e701a3e4b8efc11f0e4cf9aa8e6 +MD5 dbbd01d6ecc20f9bd72d981dbdfc2d7b ChangeLog 442 +RMD160 3c29bbe4532f90fb8a5777b79ff7169d19fe21eb ChangeLog 442 +SHA256 7bbeffdac7c6bbeb42d28b506264e82889a13e701a3e4b8efc11f0e4cf9aa8e6 ChangeLog 442 +MISC metadata.xml 1026 RMD160 e7e9f2813e22bea7b993644082badd89460d3d7f SHA1 3bd5b7b70bb6904df77374f7df74f6cedf074d08 SHA256 fda15c7ee0557ab9d595e3e98caa18bc7b3da81875bbac233f312b32eb4d84f5 +MD5 5b5862eddb733f2186c7af857505458d metadata.xml 1026 +RMD160 e7e9f2813e22bea7b993644082badd89460d3d7f metadata.xml 1026 +SHA256 fda15c7ee0557ab9d595e3e98caa18bc7b3da81875bbac233f312b32eb4d84f5 metadata.xml 1026 +MD5 e97a8a14b5c6f3ffc64ccd284916bde1 files/digest-varnish-1.0.1 241 +RMD160 4f98dc01ee56c40609d3920a2f332596a13c198f files/digest-varnish-1.0.1 241 +SHA256 6cfc7115afec6f4c9d6a3827ac293db64cd87e0da1f5a9998ecca78fd3045826 files/digest-varnish-1.0.1 241 diff --git a/www-servers/varnish/files/digest-varnish-1.0.1 b/www-servers/varnish/files/digest-varnish-1.0.1 new file mode 100644 index 000000000000..774988e02196 --- /dev/null +++ b/www-servers/varnish/files/digest-varnish-1.0.1 @@ -0,0 +1,3 @@ +MD5 59fa7d4277a78c5f6da49a679d7cbfd3 varnish-1.0.1.tar.gz 503442 +RMD160 6c1e174b3e63b3e84540211553385528f3d48675 varnish-1.0.1.tar.gz 503442 +SHA256 e6484aa8b830e2f044f851bd2b1ef3d180c48195a0f13b85b701f2a38041d391 varnish-1.0.1.tar.gz 503442 diff --git a/www-servers/varnish/files/varnishd.confd b/www-servers/varnish/files/varnishd.confd new file mode 100644 index 000000000000..e71aad9e4807 --- /dev/null +++ b/www-servers/varnish/files/varnishd.confd @@ -0,0 +1,6 @@ +# /etc/conf.d/varnishd + +# options passed to varnish on startup +# please see the varnishd man page for more options +VARNISHD_OPTS="-a 127.0.0.1:8080 -b 127.0.0.1:80" + diff --git a/www-servers/varnish/files/varnishd.initd b/www-servers/varnish/files/varnishd.initd new file mode 100755 index 000000000000..5316b5b9b50a --- /dev/null +++ b/www-servers/varnish/files/varnishd.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.1 2006/10/19 07:46:53 bangert Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting varnish" + start-stop-daemon --quiet --start --pidfile /var/run/varnishd.pid --exec /usr/bin/varnishd -- ${VARNISHD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping varnish" + start-stop-daemon --quiet --stop --pidfile /var/run/varnishd.pid + eend $? +} diff --git a/www-servers/varnish/metadata.xml b/www-servers/varnish/metadata.xml new file mode 100644 index 000000000000..484f8b1bbdfe --- /dev/null +++ b/www-servers/varnish/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>www-servers</herd> +<maintainer> + <email>bangert@gentoo.org</email> +</maintainer> +<longdescription lang="en"> +Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse Proxy) +is an application that stores (caches) documents that have been requested over +the HTTP protocol. +Based on certain criteria the next client requesting the document is either +given the cached document, or a "fresh" document requested from a backend +server. The purpose of this is to minimize the requests going to the backend +server(s) by serving the same document to potentially many users. + +The goal of Varnish is to be a very fast, stable and effective light-weight HTTP +accelerator daemon, by using modern and effective technologies. Ease of +managment and good documentation is also a main goal of the project since the +lack of either one will render Varnish useless. +</longdescription> +</pkgmetadata> diff --git a/www-servers/varnish/varnish-1.0.1.ebuild b/www-servers/varnish/varnish-1.0.1.ebuild new file mode 100644 index 000000000000..4e13a16c6e64 --- /dev/null +++ b/www-servers/varnish/varnish-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-1.0.1.ebuild,v 1.1 2006/10/19 07:46:53 bangert Exp $ + +inherit eutils +DESCRIPTION="Varnish is an HTTP accelerator" +HOMEPAGE="http://varnish.linpro.no/" +SRC_URI="mirror://sourceforge/varnish/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + newinitd ${FILESDIR}/varnishd.initd varnishd || die + newconfd ${FILESDIR}/varnishd.confd varnishd || die +} + +pkg_postinst () { + einfo "No demo-/sample-configfile is included in the distribution -" + einfo "please read the man-page for more info." + einfo "A sample (localhost:8080 -> localhost:80) for gentoo is given in" + einfo " /etc/conf.d/varnishd" + echo +} + |