Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/varnish: ChangeLog varnish-3.0.3.ebuild
Date: Thu, 23 Aug 2012 21:00:01
Message-Id: 20120823205946.75736204C4@flycatcher.gentoo.org
1 blueness 12/08/23 20:59:46
2
3 Modified: ChangeLog
4 Added: varnish-3.0.3.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.11.9/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.52 www-servers/varnish/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 11 Jul 2012 23:27:45 -0000 1.51
24 +++ ChangeLog 23 Aug 2012 20:59:46 -0000 1.52
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-servers/varnish
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.51 2012/07/11 23:27:45 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.52 2012/08/23 20:59:46 blueness Exp $
30 +
31 +*varnish-3.0.3 (23 Aug 2012)
32 +
33 + 23 Aug 2012; Anthony G. Basile <blueness@g.o> +varnish-3.0.3.ebuild,
34 + +files/varnish-3.0.3-automagic.patch:
35 + Version bump
36
37 11 Jul 2012; Anthony G. Basile <blueness@g.o> varnish-2.0.4-r1.ebuild,
38 varnish-3.0.2-r1.ebuild:
39
40
41
42 1.1 www-servers/varnish/varnish-3.0.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/varnish-3.0.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/varnish-3.0.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: varnish-3.0.3.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-3.0.3.ebuild,v 1.1 2012/08/23 20:59:46 blueness Exp $
52
53 EAPI="4"
54
55 inherit autotools-utils eutils
56
57 DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
58 HOMEPAGE="http://www.varnish-cache.org/"
59 SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz"
60
61 LICENSE="BSD-2 GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~mips ~x86"
64 IUSE="doc libedit static-libs +tools"
65
66 CDEPEND="dev-libs/libpcre
67 libedit? ( dev-libs/libedit )
68 tools? ( sys-libs/ncurses )"
69 #varnish compiles stuff at run time
70 RDEPEND="${CDEPEND}
71 sys-devel/gcc"
72 DEPEND="${CDEPEND}
73 dev-python/docutils
74 virtual/pkgconfig"
75
76 RESTRICT="test" #315725
77
78 DOCS=( README doc/changes.rst )
79
80 PATCHES=( "${FILESDIR}"/${PN}-3.0.3-automagic.patch )
81
82 src_prepare() {
83 autotools-utils_src_prepare
84 eautoreconf
85 }
86
87 src_configure() {
88 local myeconfargs=(
89 $(use_with libedit)
90 $(use_with tools)
91 )
92 autotools-utils_src_configure
93 }
94
95 src_install() {
96 autotools-utils_src_install
97
98 newinitd "${FILESDIR}"/varnishd.initd varnishd
99 newconfd "${FILESDIR}"/varnishd.confd varnishd
100
101 insinto /etc/logrotate.d
102 newins "${FILESDIR}/varnishd.logrotate" varnishd
103
104 dodir /var/log/varnish
105
106 use doc && dohtml -r "doc/sphinx/=build/html/"
107 }
108
109 pkg_postinst () {
110 elog "No demo-/sample-configfile is included in the distribution -"
111 elog "please read the man-page for more info."
112 elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
113 elog " /etc/conf.d/varnishd"
114 }