summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2007-08-02 23:42:54 +0000
committerThilo Bangert <bangert@gentoo.org>2007-08-02 23:42:54 +0000
commit29df8c9e78dbcc5aef44408707c9762dabf96cb8 (patch)
treee4aeb18974dfc12bf7948b0904d1dcdc29d31bd0 /www-servers/varnish
parentInitial version. (diff)
downloadgentoo-2-29df8c9e78dbcc5aef44408707c9762dabf96cb8.tar.gz
gentoo-2-29df8c9e78dbcc5aef44408707c9762dabf96cb8.tar.bz2
gentoo-2-29df8c9e78dbcc5aef44408707c9762dabf96cb8.zip
version bump
(Portage version: 2.1.2.11)
Diffstat (limited to 'www-servers/varnish')
-rw-r--r--www-servers/varnish/ChangeLog8
-rw-r--r--www-servers/varnish/files/digest-varnish-1.13
-rw-r--r--www-servers/varnish/files/varnish-1.1-build-DESTDIR.patch8
-rw-r--r--www-servers/varnish/varnish-1.1.ebuild39
4 files changed, 57 insertions, 1 deletions
diff --git a/www-servers/varnish/ChangeLog b/www-servers/varnish/ChangeLog
index 10cee54ab7ce..e58c4e8b2561 100644
--- a/www-servers/varnish/ChangeLog
+++ b/www-servers/varnish/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-servers/varnish
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.9 2007/06/11 22:59:25 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.10 2007/08/02 23:42:54 bangert Exp $
+
+*varnish-1.1 (02 Aug 2007)
+
+ 02 Aug 2007; Thilo Bangert <bangert@gentoo.org>
+ +files/varnish-1.1-build-DESTDIR.patch, +varnish-1.1.ebuild:
+ version bump
11 Jun 2007; Thilo Bangert <bangert@gentoo.org> files/varnishd.initd,
-varnish-1.0.3.ebuild:
diff --git a/www-servers/varnish/files/digest-varnish-1.1 b/www-servers/varnish/files/digest-varnish-1.1
new file mode 100644
index 000000000000..e4872700568a
--- /dev/null
+++ b/www-servers/varnish/files/digest-varnish-1.1
@@ -0,0 +1,3 @@
+MD5 7e0d9937f9989362acfe370268bbc587 varnish-1.1.tar.gz 561608
+RMD160 a2ca10888c251e826e0feed2d80d3bf1473981a2 varnish-1.1.tar.gz 561608
+SHA256 345f7563c16eb2f00843ebe31c7da9612a1db59996bc87bdcba23b15111009f6 varnish-1.1.tar.gz 561608
diff --git a/www-servers/varnish/files/varnish-1.1-build-DESTDIR.patch b/www-servers/varnish/files/varnish-1.1-build-DESTDIR.patch
new file mode 100644
index 000000000000..f94bd20b6b20
--- /dev/null
+++ b/www-servers/varnish/files/varnish-1.1-build-DESTDIR.patch
@@ -0,0 +1,8 @@
+--- Makefile.am.orig 2007-08-03 01:20:32.000000000 +0200
++++ Makefile.am 2007-08-03 01:20:47.000000000 +0200
+@@ -10,4 +10,4 @@
+ EXTRA_DIST = LICENSE autogen.sh varnishapi.pc.in
+
+ install-data-local:
+- $(install_sh) -d -m 0755 $(localstatedir)/varnish
++ $(install_sh) -d -m 0755 $(DESTDIR)$(localstatedir)/varnish
diff --git a/www-servers/varnish/varnish-1.1.ebuild b/www-servers/varnish/varnish-1.1.ebuild
new file mode 100644
index 000000000000..947b34efc5f8
--- /dev/null
+++ b/www-servers/varnish/varnish-1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-1.1.ebuild,v 1.1 2007/08/02 23:42:54 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=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/varnish-1.1-build-DESTDIR.patch"
+}
+
+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 () {
+ elog "No demo-/sample-configfile is included in the distribution -"
+ elog "please read the man-page for more info."
+ elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
+ elog " /etc/conf.d/varnishd"
+ echo
+}