/[gentoo-x86]/www-servers/varnish/varnish-2.1.3.ebuild
Gentoo

Contents of /www-servers/varnish/varnish-2.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 14 20:06:42 2011 UTC (3 years, 8 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-2.1.3.ebuild,v 1.1 2010/10/21 20:31:50 bangert Exp $
4
5 EAPI="3"
6
7 inherit eutils
8
9 DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator."
10 HOMEPAGE="http://www.varnish-cache.org/"
11 SRC_URI="http://www.varnish-software.com/sites/default/files/${P}.tar.gz"
12 LICENSE="BSD-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE=""
16 #varnish compiles stuff at run time
17 RDEPEND="sys-devel/gcc"
18
19 RESTRICT="test" #315725
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${PN}-2.0.4-virtual-ncsa.patch
23 }
24
25 src_install() {
26 emake DESTDIR="${D}" install || die "emake install failed"
27 newinitd "${FILESDIR}"/varnishd.initd varnishd || die
28 newconfd "${FILESDIR}"/varnishd.confd varnishd || die
29
30 insinto /etc/logrotate.d
31 newins "${FILESDIR}/varnishd.logrotate" varnishd
32
33 dodir /var/log/varnish
34 }
35
36 pkg_postinst () {
37 elog "No demo-/sample-configfile is included in the distribution -"
38 elog "please read the man-page for more info."
39 elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
40 elog " /etc/conf.d/varnishd"
41 echo
42 ewarn "Varnish 2.1.x introduces VCL changes wrt. 2.0.x. See also"
43 ewarn "http://www.varnish-cache.org/docs/2.1/reference/vcl.html"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20