1 |
commit: 535d9754989fe98588d9c2e74e052a3d84d95acd |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 2 14:58:09 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 14:59:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=535d9754 |
7 |
|
8 |
www-servers/varnish: version bumps to 4.0.5, 4.1.8, 5.1.3, security bug #626872 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
www-servers/varnish/Manifest | 3 + |
13 |
www-servers/varnish/varnish-4.0.5.ebuild | 97 +++++++++++++++++++++++++++++ |
14 |
www-servers/varnish/varnish-4.1.8.ebuild | 103 +++++++++++++++++++++++++++++++ |
15 |
www-servers/varnish/varnish-5.1.3.ebuild | 101 ++++++++++++++++++++++++++++++ |
16 |
4 files changed, 304 insertions(+) |
17 |
|
18 |
diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest |
19 |
index 1047f36e3b4..45a266590b6 100644 |
20 |
--- a/www-servers/varnish/Manifest |
21 |
+++ b/www-servers/varnish/Manifest |
22 |
@@ -1,4 +1,7 @@ |
23 |
DIST varnish-4.0.3.tar.gz 1866760 SHA256 94b9a174097f47db2286acd2c35f235e49a2b7a9ddfdbd6eb7aa4da9ae8f8206 SHA512 db7bb141afd4617ac95573983dc30591b0eb9bc1af06df1094f2c1eeac539da936afb4a239d2f446d3c3a51b88a781b7f9f6d9a0b2028eaf0e7049ea2159d883 WHIRLPOOL 942456e19be427859283959dabe5522667519d36decbc598c8ee1e949767ea7435469393289d4373db6abac5275e50a95fc3799a837dc17740a490b4912bfe6f |
24 |
+DIST varnish-4.0.5.tar.gz 1947888 SHA256 d90ffa33902d3ac40742cbb50588a37f467f23797f93e67a261724f4a7fb0aff SHA512 a08259f6f9c6fffa188b26c1f8c630de5e6d2f6d52f6efa9d5d8239cdd8721c53e2be3379f8100efb537e74416eadd6c865f4cc687db1c5a9f757bb3f73abeda WHIRLPOOL feea23e932e4bb422885679f15ddfed8d87976ab129f9658a96a01c81de8b3cd92e747739ad96693477b09025aecc9a5da9ce9170fdb9fdfc04c1d7c4ef8d3f4 |
25 |
DIST varnish-4.1.6.tar.gz 2201975 SHA256 c7ac460b521bebf772868b2f5aefc2f2508a1e133809cd52d3ba1b312226e849 SHA512 c97b6245d467472dc61d1471cbfbefc1cca0839abbca73940efb800e7751437a64437a0c68e2c65e6f4dc039f25bb51ef4d9f3da4e50ccb854646457fb147927 WHIRLPOOL 6b10fc7c2b19f8ba6e8b89cad41b034ce1ab126db510f239a725fa3e1319e2b130c872c3a88b2f3f9c1a5bf9a926540b0fa4aa8238b92eb5174722bee8d307c4 |
26 |
DIST varnish-4.1.7.tar.gz 2210417 SHA256 c52ee2f5d052a496f3700d8ac8eb4da45144779c863f09f7be70daec3cfed105 SHA512 668e69430163600fad34031593d6144a52b113f9aea01d5ba51c7dac0ecf10606610a1d96393f07329e4f6af9a71b4ce668284f7c49b2c5871817707326036fd WHIRLPOOL cede0f86e86b55a312535aa76bd6b6bb0ec27c688ae65ee0b8953b238f4172202237ed97af3278dc77611773a7b29253037a4ebe9ef47bddf01832adefac9ac5 |
27 |
+DIST varnish-4.1.8.tar.gz 2254772 SHA256 908e7fbfa0325498717686b2050181134aa0a69d1495c02b2625cd34d35a4ff1 SHA512 c642359118d87e8713d2ccf817da317a454a0f9ae6f7a07da1d10b5076aa7e5d7dcc203ef71ae19d56b7592db0c66b4ca96cb43d5fa0e6aa588d1dc8e03e026e WHIRLPOOL 2e04466f2a7a60cb788177b6328f47a4929767c927c0083da33ccb30bfa2fa39b220ddab965c1093e77c2b222f959798f91090a37e809476781c45e23601fb3e |
28 |
DIST varnish-5.1.2.tar.gz 2597817 SHA256 39d858137e26948a7c85f07363f13f0778da61d234126e03a160a0cb9ba4fce3 SHA512 6ee71c2678a34f7e3963547d8e79bd83e3b326ffe703ad60f0d6f8f218a3801849c870aa00e407008ef22cd2b2baf4cbe02625ce77018279afdb8208d43a743b WHIRLPOOL 4c824fbb00d79fd1a6287bf08e26d9e9074e986d63d37a305f2f0dca320766e694aa8eaf81d723280f207e9b3fb528d2f917ee6fa21c3f24ba84b83acd367e86 |
29 |
+DIST varnish-5.1.3.tar.gz 2643223 SHA256 7439c93ca581340f3722b8c790160f46dc6c5328188e4c0bc233c42f3f04a54e SHA512 a10c317dc38ddff139ca8153f6388955df449c3abeb4d4f069b632ba2b32064a2827ab05fa8515994b251a68507fc3a7bf4e08eacc991fc03283ab234b9efd0a WHIRLPOOL 7dbd0da80bb9b8de194da83c6e8d198ec2652ae8d17105196b0af76d9df1129cecc67b3fd47a73c53d0f175872782478ee836ec6a75738b343b444ecb1dd1f19 |
30 |
|
31 |
diff --git a/www-servers/varnish/varnish-4.0.5.ebuild b/www-servers/varnish/varnish-4.0.5.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..cec5a370a96 |
34 |
--- /dev/null |
35 |
+++ b/www-servers/varnish/varnish-4.0.5.ebuild |
36 |
@@ -0,0 +1,97 @@ |
37 |
+# Copyright 1999-2017 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI="6" |
41 |
+ |
42 |
+PYTHON_COMPAT=( python{2_7,3_4} pypy ) |
43 |
+ |
44 |
+inherit user autotools systemd python-r1 |
45 |
+ |
46 |
+DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator" |
47 |
+HOMEPAGE="http://www.varnish-cache.org/" |
48 |
+SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="BSD-2 GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~mips ~x86" |
53 |
+IUSE="jemalloc jit static-libs" |
54 |
+ |
55 |
+CDEPEND=" |
56 |
+ sys-libs/readline:0= |
57 |
+ dev-libs/libpcre[jit?] |
58 |
+ jemalloc? ( dev-libs/jemalloc ) |
59 |
+ sys-libs/ncurses:0=" |
60 |
+ |
61 |
+#varnish compiles stuff at run time |
62 |
+RDEPEND=" |
63 |
+ ${PYTHON_DEPS} |
64 |
+ ${CDEPEND} |
65 |
+ sys-devel/gcc" |
66 |
+ |
67 |
+DEPEND=" |
68 |
+ ${CDEPEND} |
69 |
+ dev-python/docutils |
70 |
+ virtual/pkgconfig" |
71 |
+ |
72 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
73 |
+ |
74 |
+RESTRICT="test" #315725 |
75 |
+ |
76 |
+pkg_setup() { |
77 |
+ ebegin "Creating varnish user and group" |
78 |
+ enewgroup varnish |
79 |
+ enewuser varnish -1 -1 /var/lib/varnish varnish |
80 |
+ eend $? |
81 |
+} |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ # Remove bundled libjemalloc. We also fix |
85 |
+ # automagic dep in our patches, bug #461638 |
86 |
+ rm -rf lib/libjemalloc |
87 |
+ |
88 |
+ eapply_user |
89 |
+ |
90 |
+ eautoreconf |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ econf \ |
95 |
+ $(use_enable static-libs static) \ |
96 |
+ $(use_enable jit pcre-jit ) \ |
97 |
+ $(use_with jemalloc) |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ emake DESTDIR="${D}" install |
102 |
+ |
103 |
+ python_replicate_script "${D}/usr/share/varnish/vmodtool.py" |
104 |
+ |
105 |
+ newinitd "${FILESDIR}"/varnishlog.initd varnishlog |
106 |
+ newconfd "${FILESDIR}"/varnishlog.confd varnishlog |
107 |
+ |
108 |
+ newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa |
109 |
+ newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa |
110 |
+ |
111 |
+ newinitd "${FILESDIR}"/varnishd.initd-r4 varnishd |
112 |
+ newconfd "${FILESDIR}"/varnishd.confd-r4 varnishd |
113 |
+ |
114 |
+ insinto /etc/logrotate.d/ |
115 |
+ newins "${FILESDIR}/varnishd.logrotate-r2" varnishd |
116 |
+ |
117 |
+ diropts -m750 |
118 |
+ |
119 |
+ dodir /var/log/varnish/ |
120 |
+ |
121 |
+ systemd_dounit "${FILESDIR}/${PN}d.service" |
122 |
+ |
123 |
+ insinto /etc/varnish/ |
124 |
+ doins lib/libvmod_std/vmod.vcc |
125 |
+ doins etc/example.vcl |
126 |
+ |
127 |
+ dodoc README |
128 |
+ dodoc doc/changes.rst |
129 |
+ |
130 |
+ fowners root:varnish /etc/varnish/ |
131 |
+ fowners varnish:varnish /var/lib/varnish/ |
132 |
+ fperms 0750 /var/lib/varnish/ /etc/varnish/ |
133 |
+} |
134 |
|
135 |
diff --git a/www-servers/varnish/varnish-4.1.8.ebuild b/www-servers/varnish/varnish-4.1.8.ebuild |
136 |
new file mode 100644 |
137 |
index 00000000000..96614e6b108 |
138 |
--- /dev/null |
139 |
+++ b/www-servers/varnish/varnish-4.1.8.ebuild |
140 |
@@ -0,0 +1,103 @@ |
141 |
+# Copyright 1999-2017 Gentoo Foundation |
142 |
+# Distributed under the terms of the GNU General Public License v2 |
143 |
+ |
144 |
+EAPI="6" |
145 |
+ |
146 |
+PYTHON_COMPAT=( python{2_7,3_4} pypy ) |
147 |
+ |
148 |
+inherit user autotools systemd python-r1 |
149 |
+ |
150 |
+DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator" |
151 |
+HOMEPAGE="http://www.varnish-cache.org/" |
152 |
+SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz" |
153 |
+ |
154 |
+LICENSE="BSD-2 GPL-2" |
155 |
+SLOT="0" |
156 |
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" |
157 |
+IUSE="jemalloc jit static-libs" |
158 |
+ |
159 |
+CDEPEND=" |
160 |
+ sys-libs/readline:0= |
161 |
+ dev-libs/libpcre[jit?] |
162 |
+ jemalloc? ( dev-libs/jemalloc ) |
163 |
+ sys-libs/ncurses:0=" |
164 |
+ |
165 |
+#varnish compiles stuff at run time |
166 |
+RDEPEND=" |
167 |
+ ${PYTHON_DEPS} |
168 |
+ ${CDEPEND} |
169 |
+ sys-devel/gcc" |
170 |
+ |
171 |
+DEPEND=" |
172 |
+ ${CDEPEND} |
173 |
+ dev-python/docutils |
174 |
+ virtual/pkgconfig" |
175 |
+ |
176 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
177 |
+ |
178 |
+RESTRICT="test" #315725 |
179 |
+ |
180 |
+pkg_setup() { |
181 |
+ ebegin "Creating varnish user and group" |
182 |
+ enewgroup varnish |
183 |
+ enewuser varnish -1 -1 /var/lib/varnish varnish |
184 |
+ eend $? |
185 |
+} |
186 |
+ |
187 |
+src_prepare() { |
188 |
+ # Remove bundled libjemalloc. We also fix |
189 |
+ # automagic dep in our patches, bug #461638 |
190 |
+ rm -rf lib/libjemalloc |
191 |
+ |
192 |
+ # Fix bug #620952 |
193 |
+ eapply "${FILESDIR}"/fix-build-x86.patch |
194 |
+ |
195 |
+ # Remove -Werror bug #528354 |
196 |
+ sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac |
197 |
+ |
198 |
+ eapply_user |
199 |
+ |
200 |
+ eautoreconf |
201 |
+} |
202 |
+ |
203 |
+src_configure() { |
204 |
+ econf \ |
205 |
+ $(use_enable static-libs static) \ |
206 |
+ $(use_enable jit pcre-jit ) \ |
207 |
+ $(use_with jemalloc) |
208 |
+} |
209 |
+ |
210 |
+src_install() { |
211 |
+ emake DESTDIR="${D}" install |
212 |
+ |
213 |
+ python_replicate_script "${D}/usr/share/varnish/vmodtool.py" |
214 |
+ |
215 |
+ newinitd "${FILESDIR}"/varnishlog.initd varnishlog |
216 |
+ newconfd "${FILESDIR}"/varnishlog.confd varnishlog |
217 |
+ |
218 |
+ newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa |
219 |
+ newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa |
220 |
+ |
221 |
+ newinitd "${FILESDIR}"/varnishd.initd-r4 varnishd |
222 |
+ newconfd "${FILESDIR}"/varnishd.confd-r4 varnishd |
223 |
+ |
224 |
+ insinto /etc/logrotate.d/ |
225 |
+ newins "${FILESDIR}/varnishd.logrotate-r2" varnishd |
226 |
+ |
227 |
+ diropts -m750 |
228 |
+ |
229 |
+ dodir /var/log/varnish/ |
230 |
+ |
231 |
+ systemd_dounit "${FILESDIR}/${PN}d.service" |
232 |
+ |
233 |
+ insinto /etc/varnish/ |
234 |
+ doins lib/libvmod_std/vmod.vcc |
235 |
+ doins etc/example.vcl |
236 |
+ |
237 |
+ dodoc README.rst |
238 |
+ dodoc doc/changes.rst |
239 |
+ |
240 |
+ fowners root:varnish /etc/varnish/ |
241 |
+ fowners varnish:varnish /var/lib/varnish/ |
242 |
+ fperms 0750 /var/lib/varnish/ /etc/varnish/ |
243 |
+} |
244 |
|
245 |
diff --git a/www-servers/varnish/varnish-5.1.3.ebuild b/www-servers/varnish/varnish-5.1.3.ebuild |
246 |
new file mode 100644 |
247 |
index 00000000000..e2245b6eb41 |
248 |
--- /dev/null |
249 |
+++ b/www-servers/varnish/varnish-5.1.3.ebuild |
250 |
@@ -0,0 +1,101 @@ |
251 |
+# Copyright 1999-2017 Gentoo Foundation |
252 |
+# Distributed under the terms of the GNU General Public License v2 |
253 |
+ |
254 |
+EAPI="6" |
255 |
+ |
256 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) |
257 |
+ |
258 |
+inherit user autotools systemd python-r1 |
259 |
+ |
260 |
+DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator" |
261 |
+HOMEPAGE="http://www.varnish-cache.org/" |
262 |
+SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz" |
263 |
+ |
264 |
+LICENSE="BSD-2 GPL-2" |
265 |
+SLOT="0" |
266 |
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" |
267 |
+IUSE="jemalloc jit static-libs" |
268 |
+ |
269 |
+CDEPEND=" |
270 |
+ sys-libs/readline:0= |
271 |
+ dev-libs/libpcre[jit?] |
272 |
+ jemalloc? ( dev-libs/jemalloc ) |
273 |
+ sys-libs/ncurses:0=" |
274 |
+ |
275 |
+#varnish compiles stuff at run time |
276 |
+RDEPEND=" |
277 |
+ ${PYTHON_DEPS} |
278 |
+ ${CDEPEND} |
279 |
+ sys-devel/gcc" |
280 |
+ |
281 |
+DEPEND=" |
282 |
+ ${CDEPEND} |
283 |
+ dev-python/docutils |
284 |
+ virtual/pkgconfig" |
285 |
+ |
286 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
287 |
+ |
288 |
+RESTRICT="test" #315725 |
289 |
+ |
290 |
+pkg_setup() { |
291 |
+ ebegin "Creating varnish user and group" |
292 |
+ enewgroup varnish |
293 |
+ enewuser varnish -1 -1 /var/lib/varnish varnish |
294 |
+ eend $? |
295 |
+} |
296 |
+ |
297 |
+src_prepare() { |
298 |
+ # Remove -Werror bug #528354 |
299 |
+ sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac |
300 |
+ |
301 |
+ # Upstream doesn't put varnish.m4 in the m4/ directory |
302 |
+ # We link because the Makefiles look for the file in |
303 |
+ # the original location |
304 |
+ ln -sf ../varnish.m4 m4/varnish.m4 |
305 |
+ |
306 |
+ eapply_user |
307 |
+ |
308 |
+ eautoreconf |
309 |
+} |
310 |
+ |
311 |
+src_configure() { |
312 |
+ econf \ |
313 |
+ $(use_enable static-libs static) \ |
314 |
+ $(use_enable jit pcre-jit ) \ |
315 |
+ $(use_with jemalloc) |
316 |
+} |
317 |
+ |
318 |
+src_install() { |
319 |
+ emake DESTDIR="${D}" install |
320 |
+ |
321 |
+ python_replicate_script "${D}/usr/share/varnish/vmodtool.py" |
322 |
+ |
323 |
+ newinitd "${FILESDIR}"/varnishlog.initd varnishlog |
324 |
+ newconfd "${FILESDIR}"/varnishlog.confd varnishlog |
325 |
+ |
326 |
+ newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa |
327 |
+ newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa |
328 |
+ |
329 |
+ newinitd "${FILESDIR}"/varnishd.initd-r4 varnishd |
330 |
+ newconfd "${FILESDIR}"/varnishd.confd-r4 varnishd |
331 |
+ |
332 |
+ insinto /etc/logrotate.d/ |
333 |
+ newins "${FILESDIR}/varnishd.logrotate-r2" varnishd |
334 |
+ |
335 |
+ diropts -m750 |
336 |
+ |
337 |
+ dodir /var/log/varnish/ |
338 |
+ |
339 |
+ systemd_dounit "${FILESDIR}/${PN}d.service" |
340 |
+ |
341 |
+ insinto /etc/varnish/ |
342 |
+ doins lib/libvmod_std/vmod.vcc |
343 |
+ doins etc/example.vcl |
344 |
+ |
345 |
+ dodoc README.rst |
346 |
+ dodoc doc/changes.rst |
347 |
+ |
348 |
+ fowners root:varnish /etc/varnish/ |
349 |
+ fowners varnish:varnish /var/lib/varnish/ |
350 |
+ fperms 0750 /var/lib/varnish/ /etc/varnish/ |
351 |
+} |