1 |
idl0r 14/05/22 20:23:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: varnish-4.0.0-r1.ebuild |
5 |
Removed: varnish-4.0.0.ebuild |
6 |
Log: |
7 |
Revbump. Major changes |
8 |
|
9 |
Logdir no longer world readable - bug 458888 |
10 |
varnishd, varnishncsa and varnishlog have been split into separate init scripts, also fixes bug 480252 |
11 |
Run Varnish as user (varnish/varnish) |
12 |
Check the VCL for errors before stopping varnishd when doing a restart |
13 |
|
14 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B427ABC8) |
15 |
|
16 |
Revision Changes Path |
17 |
1.77 www-servers/varnish/ChangeLog |
18 |
|
19 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?rev=1.77&view=markup |
20 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?rev=1.77&content-type=text/plain |
21 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/ChangeLog?r1=1.76&r2=1.77 |
22 |
|
23 |
Index: ChangeLog |
24 |
=================================================================== |
25 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v |
26 |
retrieving revision 1.76 |
27 |
retrieving revision 1.77 |
28 |
diff -u -r1.76 -r1.77 |
29 |
--- ChangeLog 12 Apr 2014 22:45:47 -0000 1.76 |
30 |
+++ ChangeLog 22 May 2014 20:23:48 -0000 1.77 |
31 |
@@ -1,6 +1,17 @@ |
32 |
# ChangeLog for www-servers/varnish |
33 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
34 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.76 2014/04/12 22:45:47 blueness Exp $ |
35 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/ChangeLog,v 1.77 2014/05/22 20:23:48 idl0r Exp $ |
36 |
+ |
37 |
+*varnish-4.0.0-r1 (22 May 2014) |
38 |
+ |
39 |
+ 22 May 2014; Christian Ruppert <idl0r@g.o> +files/varnishd.confd-r3, |
40 |
+ +files/varnishd.initd-r3, +files/varnishd.logrotate-r2, |
41 |
+ +files/varnishlog.confd, +files/varnishlog.initd, +files/varnishncsa.confd, |
42 |
+ +files/varnishncsa.initd, +varnish-4.0.0-r1.ebuild, -varnish-4.0.0.ebuild: |
43 |
+ Revbump. Major changes Logdir no longer world readable - bug 458888 varnishd, |
44 |
+ varnishncsa and varnishlog have been split into separate init scripts, also |
45 |
+ fixes bug 480252 Run Varnish as user (varnish/varnish) Check the VCL for |
46 |
+ errors before stopping varnishd when doing a restart |
47 |
|
48 |
*varnish-4.0.0 (12 Apr 2014) |
49 |
|
50 |
|
51 |
|
52 |
|
53 |
1.1 www-servers/varnish/varnish-4.0.0-r1.ebuild |
54 |
|
55 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/varnish-4.0.0-r1.ebuild?rev=1.1&view=markup |
56 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/varnish/varnish-4.0.0-r1.ebuild?rev=1.1&content-type=text/plain |
57 |
|
58 |
Index: varnish-4.0.0-r1.ebuild |
59 |
=================================================================== |
60 |
# Copyright 1999-2014 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-4.0.0-r1.ebuild,v 1.1 2014/05/22 20:23:48 idl0r Exp $ |
63 |
|
64 |
EAPI="5" |
65 |
|
66 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) |
67 |
|
68 |
inherit user autotools-utils eutils systemd python-r1 |
69 |
|
70 |
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator" |
71 |
HOMEPAGE="http://www.varnish-cache.org/" |
72 |
SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz" |
73 |
|
74 |
LICENSE="BSD-2 GPL-2" |
75 |
SLOT="0" |
76 |
KEYWORDS="~amd64 ~mips ~x86" |
77 |
IUSE="jemalloc jit static-libs" |
78 |
|
79 |
CDEPEND=" |
80 |
|| ( dev-libs/libedit sys-libs/readline ) |
81 |
dev-libs/libpcre[jit?] |
82 |
jemalloc? ( dev-libs/jemalloc ) |
83 |
sys-libs/ncurses" |
84 |
|
85 |
#varnish compiles stuff at run time |
86 |
RDEPEND=" |
87 |
${PYTHON_DEPS} |
88 |
${CDEPEND} |
89 |
sys-devel/gcc" |
90 |
|
91 |
DEPEND=" |
92 |
${CDEPEND} |
93 |
dev-python/docutils |
94 |
virtual/pkgconfig" |
95 |
|
96 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
97 |
|
98 |
RESTRICT="test" #315725 |
99 |
|
100 |
DOCS=( README doc/changes.rst ) |
101 |
|
102 |
PATCHES=( |
103 |
"${FILESDIR}"/${PN}-4.0.0-fix-man-Makefile_am.patch |
104 |
) |
105 |
|
106 |
AUTOTOOLS_AUTORECONF="yes" |
107 |
|
108 |
pkg_setup() { |
109 |
ebegin "Creating varnish user and group" |
110 |
enewgroup varnish 40 |
111 |
enewuser varnish 40 -1 /var/lib/varnish varnish |
112 |
eend $? |
113 |
} |
114 |
|
115 |
src_prepare() { |
116 |
# Remove bundled libjemalloc. We also fix |
117 |
# automagic dep in our patches, bug #461638 |
118 |
rm -rf lib/libjemalloc |
119 |
|
120 |
autotools-utils_src_prepare |
121 |
} |
122 |
|
123 |
src_configure() { |
124 |
local myeconfargs=( |
125 |
$(use_enable static-libs static) |
126 |
$(use_enable jit pcre-jit ) |
127 |
$(use_with jemalloc) |
128 |
) |
129 |
autotools-utils_src_configure |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
autotools-utils_src_install |
134 |
|
135 |
python_replicate_script "${D}/usr/share/varnish/vmodtool.py" |
136 |
|
137 |
newinitd "${FILESDIR}"/varnishlog.initd varnishlog |
138 |
newconfd "${FILESDIR}"/varnishlog.confd varnishlog |
139 |
|
140 |
newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa |
141 |
newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa |
142 |
|
143 |
newinitd "${FILESDIR}"/varnishd.initd-r3 varnishd |
144 |
newconfd "${FILESDIR}"/varnishd.confd-r3 varnishd |
145 |
|
146 |
insinto /etc/logrotate.d/ |
147 |
newins "${FILESDIR}/varnishd.logrotate-r2" varnishd |
148 |
|
149 |
diropts -m750 |
150 |
|
151 |
dodir /var/log/varnish/ |
152 |
|
153 |
systemd_dounit "${FILESDIR}/${PN}d.service" |
154 |
|
155 |
insinto /etc/varnish/ |
156 |
doins lib/libvmod_std/vmod.vcc |
157 |
|
158 |
fowners root:varnish /etc/varnish/ |
159 |
fowners varnish:varnish /var/lib/varnish/ |
160 |
fperms 0750 /var/lib/varnish/ /etc/varnish/ |
161 |
} |
162 |
|
163 |
pkg_postinst () { |
164 |
elog "No demo-/sample-configfile is included in the distribution. Please" |
165 |
elog "read the man-page for more info. A sample configuration proxying" |
166 |
elog "localhost:8080 for localhost:80 is given in /etc/conf.d/varnishd." |
167 |
} |