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: varnish-3.0.5.ebuild ChangeLog
Date: Tue, 03 Dec 2013 13:38:49
Message-Id: 20131203133840.A70082004B@flycatcher.gentoo.org
1 blueness 13/12/03 13:38:40
2
3 Modified: ChangeLog
4 Added: varnish-3.0.5.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.64 www-servers/varnish/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?rev=1.64&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?rev=1.64&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?r1=1.63&r2=1.64
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v
20 retrieving revision 1.63
21 retrieving revision 1.64
22 diff -u -r1.63 -r1.64
23 --- ChangeLog 8 Jul 2013 22:11:35 -0000 1.63
24 +++ ChangeLog 3 Dec 2013 13:38:40 -0000 1.64
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-servers/varnish
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.63 2013/07/08 22:11:35 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.64 2013/12/03 13:38:40 blueness Exp $
30 +
31 +*varnish-3.0.5 (03 Dec 2013)
32 +
33 + 03 Dec 2013; Anthony G. Basile <blueness@g.o> +varnish-3.0.5.ebuild:
34 + Version bump
35
36 *varnish-3.0.4-r1 (08 Jul 2013)
37
38
39
40
41 1.1 www-servers/varnish/varnish-3.0.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/varnish-3.0.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/varnish-3.0.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: varnish-3.0.5.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-3.0.5.ebuild,v 1.1 2013/12/03 13:38:40 blueness Exp $
51
52 EAPI="5"
53
54 inherit autotools-utils eutils
55
56 DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
57 HOMEPAGE="http://www.varnish-cache.org/"
58 SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz"
59
60 LICENSE="BSD-2 GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~mips ~x86"
63 IUSE="doc jemalloc jit static-libs +tools"
64
65 CDEPEND="
66 || ( dev-libs/libedit sys-libs/readline )
67 dev-libs/libpcre[jit?]
68 jemalloc? ( dev-libs/jemalloc )
69 tools? ( sys-libs/ncurses )"
70
71 #varnish compiles stuff at run time
72 RDEPEND="
73 ${CDEPEND}
74 sys-devel/gcc"
75
76 DEPEND="
77 ${CDEPEND}
78 virtual/pkgconfig"
79
80 RESTRICT="test" #315725
81
82 DOCS=( README doc/changes.rst )
83
84 PATCHES=(
85 "${FILESDIR}"/${PN}-3.0.4-fix-automake-1.13.patch
86 "${FILESDIR}"/${PN}-3.0.4-automagic.patch
87 "${FILESDIR}"/${PN}-3.0.3-pthread-uclibc.patch
88 )
89
90 AUTOTOOLS_AUTORECONF="yes"
91
92 src_prepare() {
93 # Remove bundled libjemalloc. We also fix
94 # automagic dep in our patches, bug #461638
95 rm -rf lib/libjemalloc
96
97 autotools-utils_src_prepare
98 }
99
100 src_configure() {
101 local myeconfargs=(
102 $(use_enable static-libs static)
103 $(use_enable jit pcre-jit )
104 $(use_with jemalloc)
105 $(use_with tools)
106 --without-rst2man
107 --without-rst2html
108 )
109 autotools-utils_src_configure
110 }
111
112 src_install() {
113 autotools-utils_src_install
114
115 newinitd "${FILESDIR}"/varnishd.initd-r1 varnishd
116 newconfd "${FILESDIR}"/varnishd.confd-r1 varnishd
117
118 insinto /etc/logrotate.d
119 newins "${FILESDIR}/varnishd.logrotate" varnishd
120
121 dodir /var/log/varnish
122
123 use doc && dohtml -r "doc/sphinx/=build/html/"
124 }
125
126 pkg_postinst () {
127 elog "No demo-/sample-configfile is included in the distribution. Please"
128 elog "read the man-page for more info. A sample configuration proxying"
129 elog "localhost:8080 for localhost:80 is given in /etc/conf.d/varnishd."
130 }