Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/varnish/
Date: Mon, 05 Jun 2017 22:57:42
Message-Id: 1496703444.7dd792a273cc082c5f2581097cf0f24623c36657.blueness@gentoo
1 commit: 7dd792a273cc082c5f2581097cf0f24623c36657
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 5 22:57:24 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 22:57:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dd792a2
7
8 www-servers/varnish: remove older unstable versions
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.1
11
12 www-servers/varnish/Manifest | 2 -
13 www-servers/varnish/varnish-5.0.0.ebuild | 98 -------------------------------
14 www-servers/varnish/varnish-5.1.1.ebuild | 99 --------------------------------
15 3 files changed, 199 deletions(-)
16
17 diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest
18 index de5cbaca407..9497bbea2a8 100644
19 --- a/www-servers/varnish/Manifest
20 +++ b/www-servers/varnish/Manifest
21 @@ -1,6 +1,4 @@
22 DIST varnish-4.0.3.tar.gz 1866760 SHA256 94b9a174097f47db2286acd2c35f235e49a2b7a9ddfdbd6eb7aa4da9ae8f8206 SHA512 db7bb141afd4617ac95573983dc30591b0eb9bc1af06df1094f2c1eeac539da936afb4a239d2f446d3c3a51b88a781b7f9f6d9a0b2028eaf0e7049ea2159d883 WHIRLPOOL 942456e19be427859283959dabe5522667519d36decbc598c8ee1e949767ea7435469393289d4373db6abac5275e50a95fc3799a837dc17740a490b4912bfe6f
23 DIST varnish-4.1.5.tar.gz 2199183 SHA256 b52d4d05dd3c571c5538f2d821b237ec029691aebbc35918311ede256404feb3 SHA512 8d54a59afbc9f485b313d2e036dcc8d874ec279e1dd2aab9daf2a169e169d15c98ff71307d44c6beb43968dcd7d69b9501486ea3b138c27d084bc4b16ed10d24 WHIRLPOOL bc2e5f2d7fab56db2a7cda961be557bf0487bc5ec28f5f5274edbf49eaf615234f35d8ee7a83251f1c49b8dd4241758b0ae24e13c7fb28c4c7a11c01553c67ae
24 DIST varnish-4.1.6.tar.gz 2201975 SHA256 c7ac460b521bebf772868b2f5aefc2f2508a1e133809cd52d3ba1b312226e849 SHA512 c97b6245d467472dc61d1471cbfbefc1cca0839abbca73940efb800e7751437a64437a0c68e2c65e6f4dc039f25bb51ef4d9f3da4e50ccb854646457fb147927 WHIRLPOOL 6b10fc7c2b19f8ba6e8b89cad41b034ce1ab126db510f239a725fa3e1319e2b130c872c3a88b2f3f9c1a5bf9a926540b0fa4aa8238b92eb5174722bee8d307c4
25 -DIST varnish-5.0.0.tar.gz 2472963 SHA256 5101ad72b29d288a07e2e5ded4c2abe850b70ff000c13ceb1764625e83823f4a SHA512 0694ad32595dc559bd044c5cf1bf12f002e4c0ab477b5fdc9d026d0bc3aec64d6dbe0b14dbab0b95a2180aa2ffe3871db22d0793b12c9d67350da05c25ae8e6c WHIRLPOOL 0e9e6415934971e9e289693a3e4963eb2a9415a3364293c22703c2539e14e77bd0cce46440a5c3426a1be75c28a9353dab23243283e70e786123e1d7b0c78775
26 -DIST varnish-5.1.1.tar.gz 2589250 SHA256 6f4b85b52a827f28b3964fbe6a11296e2ed50156c70d511c10feff19459493ae SHA512 d5acb1fa9d55f5bb77bea85a6db637769126b701c010cffd511e8ac9fd67853e7f0d3bf86ba1ff067031e14a320b3bc9a84c66cd4a5a6b66d30226f5184f5f05 WHIRLPOOL 83a17ca817031f7330b3576722f02951a6709413767314c6bed902a303922ec739fb8718fc9aeca2fde354ab2bbfe53e930515a16cf6551a04b138afb1d57353
27 DIST varnish-5.1.2.tar.gz 2597817 SHA256 39d858137e26948a7c85f07363f13f0778da61d234126e03a160a0cb9ba4fce3 SHA512 6ee71c2678a34f7e3963547d8e79bd83e3b326ffe703ad60f0d6f8f218a3801849c870aa00e407008ef22cd2b2baf4cbe02625ce77018279afdb8208d43a743b WHIRLPOOL 4c824fbb00d79fd1a6287bf08e26d9e9074e986d63d37a305f2f0dca320766e694aa8eaf81d723280f207e9b3fb528d2f917ee6fa21c3f24ba84b83acd367e86
28
29 diff --git a/www-servers/varnish/varnish-5.0.0.ebuild b/www-servers/varnish/varnish-5.0.0.ebuild
30 deleted file mode 100644
31 index 1c0902ad4fc..00000000000
32 --- a/www-servers/varnish/varnish-5.0.0.ebuild
33 +++ /dev/null
34 @@ -1,98 +0,0 @@
35 -# Copyright 1999-2017 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI="6"
39 -
40 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
41 -
42 -inherit user autotools eutils systemd python-r1
43 -
44 -DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
45 -HOMEPAGE="http://www.varnish-cache.org/"
46 -SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz"
47 -
48 -LICENSE="BSD-2 GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
51 -IUSE="jemalloc jit static-libs"
52 -
53 -CDEPEND="
54 - sys-libs/readline:0=
55 - dev-libs/libpcre[jit?]
56 - jemalloc? ( dev-libs/jemalloc )
57 - sys-libs/ncurses:0="
58 -
59 -#varnish compiles stuff at run time
60 -RDEPEND="
61 - ${PYTHON_DEPS}
62 - ${CDEPEND}
63 - sys-devel/gcc"
64 -
65 -DEPEND="
66 - ${CDEPEND}
67 - dev-python/docutils
68 - virtual/pkgconfig"
69 -
70 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
71 -
72 -RESTRICT="test" #315725
73 -
74 -DOCS=( README.rst doc/changes.rst )
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 - # Remove -Werror bug #528354
89 - sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac
90 -
91 - eapply_user
92 -
93 - eautoreconf
94 -}
95 -
96 -src_configure() {
97 - econf \
98 - $(use_enable static-libs static) \
99 - $(use_enable jit pcre-jit ) \
100 - $(use_with jemalloc)
101 -}
102 -
103 -src_install() {
104 - default
105 -
106 - python_replicate_script "${D}/usr/share/varnish/vmodtool.py"
107 -
108 - newinitd "${FILESDIR}"/varnishlog.initd varnishlog
109 - newconfd "${FILESDIR}"/varnishlog.confd varnishlog
110 -
111 - newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa
112 - newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa
113 -
114 - newinitd "${FILESDIR}"/varnishd.initd-r4 varnishd
115 - newconfd "${FILESDIR}"/varnishd.confd-r4 varnishd
116 -
117 - insinto /etc/logrotate.d/
118 - newins "${FILESDIR}/varnishd.logrotate-r2" varnishd
119 -
120 - diropts -m750
121 - dodir /var/log/varnish/
122 -
123 - systemd_dounit "${FILESDIR}/${PN}d.service"
124 -
125 - insinto /etc/varnish/
126 - doins lib/libvmod_std/vmod.vcc
127 - doins etc/example.vcl
128 -
129 - fowners root:varnish /etc/varnish/
130 - fowners varnish:varnish /var/lib/varnish/
131 - fperms 0750 /var/lib/varnish/ /etc/varnish/
132 -}
133
134 diff --git a/www-servers/varnish/varnish-5.1.1.ebuild b/www-servers/varnish/varnish-5.1.1.ebuild
135 deleted file mode 100644
136 index 13c2238e88d..00000000000
137 --- a/www-servers/varnish/varnish-5.1.1.ebuild
138 +++ /dev/null
139 @@ -1,99 +0,0 @@
140 -# Copyright 1999-2017 Gentoo Foundation
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI="6"
144 -
145 -PYTHON_COMPAT=( python{2_7,3_4} pypy )
146 -
147 -inherit user autotools eutils systemd python-r1
148 -
149 -DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
150 -HOMEPAGE="http://www.varnish-cache.org/"
151 -SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz"
152 -
153 -LICENSE="BSD-2 GPL-2"
154 -SLOT="0"
155 -KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
156 -IUSE="jemalloc jit static-libs"
157 -
158 -CDEPEND="
159 - sys-libs/readline:0=
160 - dev-libs/libpcre[jit?]
161 - jemalloc? ( dev-libs/jemalloc )
162 - sys-libs/ncurses:0="
163 -
164 -#varnish compiles stuff at run time
165 -RDEPEND="
166 - ${PYTHON_DEPS}
167 - ${CDEPEND}
168 - sys-devel/gcc"
169 -
170 -DEPEND="
171 - ${CDEPEND}
172 - dev-python/docutils
173 - virtual/pkgconfig"
174 -
175 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
176 -
177 -RESTRICT="test" #315725
178 -
179 -DOCS=( README.rst doc/changes.rst )
180 -
181 -pkg_setup() {
182 - ebegin "Creating varnish user and group"
183 - enewgroup varnish
184 - enewuser varnish -1 -1 /var/lib/varnish varnish
185 - eend $?
186 -}
187 -
188 -src_prepare() {
189 - # Remove -Werror bug #528354
190 - sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac
191 -
192 - # Upstream doesn't put varnish.m4 in the m4/ directory
193 - # We link because the Makefiles look for the file in
194 - # the original location
195 - ln -sf ../varnish.m4 m4/varnish.m4
196 -
197 - eapply_user
198 -
199 - eautoreconf
200 -}
201 -
202 -src_configure() {
203 - econf \
204 - $(use_enable static-libs static) \
205 - $(use_enable jit pcre-jit ) \
206 - $(use_with jemalloc)
207 -}
208 -
209 -src_install() {
210 - default
211 -
212 - python_replicate_script "${D}/usr/share/varnish/vmodtool.py"
213 -
214 - newinitd "${FILESDIR}"/varnishlog.initd varnishlog
215 - newconfd "${FILESDIR}"/varnishlog.confd varnishlog
216 -
217 - newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa
218 - newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa
219 -
220 - newinitd "${FILESDIR}"/varnishd.initd-r4 varnishd
221 - newconfd "${FILESDIR}"/varnishd.confd-r4 varnishd
222 -
223 - insinto /etc/logrotate.d/
224 - newins "${FILESDIR}/varnishd.logrotate-r2" varnishd
225 -
226 - diropts -m750
227 - dodir /var/log/varnish/
228 -
229 - systemd_dounit "${FILESDIR}/${PN}d.service"
230 -
231 - insinto /etc/varnish/
232 - doins lib/libvmod_std/vmod.vcc
233 - doins etc/example.vcl
234 -
235 - fowners root:varnish /etc/varnish/
236 - fowners varnish:varnish /var/lib/varnish/
237 - fperms 0750 /var/lib/varnish/ /etc/varnish/
238 -}