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