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

Contents of /www-servers/varnish/varnish-2.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Jul 12 12:04:06 2009 UTC (5 years, 3 months ago) by bangert
Branch: MAIN
implement logging (bug #270597) - thanks Joshua Bronson and Tim Taubert
(Portage version: 2.2_rc33/cvs/Linux i686)

1 bangert 1.1 # Copyright 1999-2009 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.0.4.ebuild,v 1.2 2009/06/11 09:50:42 hollow Exp $
4    
5     EAPI="2"
6    
7     inherit autotools
8    
9     DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator."
10     HOMEPAGE="http://varnish.projects.linpro.no/"
11     SRC_URI="mirror://sourceforge/varnish/${P}.tar.gz"
12    
13     LICENSE="BSD-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16     IUSE=""
17     #varnish compiles stuff at run time
18     RDEPEND="sys-devel/gcc"
19    
20     src_prepare() {
21     epatch "${FILESDIR}"/${P}-link-order.patch
22     epatch "${FILESDIR}"/${P}-virtual-ncsa.patch
23     eautoreconf
24     }
25    
26     src_install() {
27     emake DESTDIR="${D}" install || die "emake install failed"
28     newinitd "${FILESDIR}"/varnishd.initd varnishd || die
29     newconfd "${FILESDIR}"/varnishd.confd varnishd || die
30    
31     insinto /etc/logrotate.d
32     newins "${FILESDIR}/varnishd.logrotate" varnishd
33    
34     dodir /var/log/varnish
35     }
36    
37     pkg_postinst () {
38     elog "No demo-/sample-configfile is included in the distribution -"
39     elog "please read the man-page for more info."
40     elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
41     elog " /etc/conf.d/varnishd"
42     echo
43     }

  ViewVC Help
Powered by ViewVC 1.1.20