summaryrefslogtreecommitdiff
path: root/www-servers/varnish
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/varnish')
-rw-r--r--www-servers/varnish/Manifest16
-rw-r--r--www-servers/varnish/varnish-4.0.5.ebuild4
-rw-r--r--www-servers/varnish/varnish-4.1.8.ebuild4
-rw-r--r--www-servers/varnish/varnish-5.1.3.ebuild4
-rw-r--r--www-servers/varnish/varnish-5.2.1.ebuild4
-rw-r--r--www-servers/varnish/varnish-6.0.1.ebuild4
-rw-r--r--www-servers/varnish/varnish-6.1.0.ebuild4
-rw-r--r--www-servers/varnish/varnish-6.1.1.ebuild6
-rw-r--r--www-servers/varnish/varnish-6.2.0.ebuild103
9 files changed, 127 insertions, 22 deletions
diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest
index dddce685897c..9d16d629cea6 100644
--- a/www-servers/varnish/Manifest
+++ b/www-servers/varnish/Manifest
@@ -15,11 +15,13 @@ DIST varnish-5.2.1.tgz 2827676 BLAKE2B 6f50a55a9b16d137eaec59aea98a0179b808bb67f
DIST varnish-6.0.1.tgz 3065822 BLAKE2B b99d0d50444872353367007f2ee97c5d5f0e60031ece7b07f8b2c3a7a84b31be88fe2b850304b1f2e47a35f35c2c41f43888bee1d1874721a72ad078acfddfa1 SHA512 057cb69ae6a4d980401effb7561d3a9b537216d8626fdf4e7bcc75971958517f51b6bd7f7af86c11bc92a2e77876831c577736dfcd11447ad0128f222c5ad138
DIST varnish-6.1.0.tgz 3137149 BLAKE2B 8db1fb3460a25763bd28c92fa8b9181711b497a7d1cadfbbf19794c9df3e64e60aefac87032892a02eed3ff380686f047fb67d8c7f70b602e65c63b69224e674 SHA512 48584fc2d938cc0759fa5d795992a0c6d5d9fb49db5f3063dca8d3d88c6282dac971ed268edc07bec95b4f25e26562089b1b84abdd26099e12be9ea66557716d
DIST varnish-6.1.1.tgz 3135623 BLAKE2B c39904fe2745ab601e7c1f6d85850fe1a83c19e8d80e8af5a60ac5f134817b26b3274ba62c78c3839fd7e6c2da3e58b6c211a7452d37dd864f0f658d500a6138 SHA512 67e546e5fee2d10ec038d7b011a3f61a0a056ce8a4813556526c8fce23bb1fe4e29952a773e6cbc2433c0228971a5e90693d5ce61f6cb5f2242e055e0ce13d18
-EBUILD varnish-4.0.5.ebuild 2050 BLAKE2B 22e332f95d1138577e37deebee8e0e77f11bb1ead55f672cd67db4765b3d3e8ae5854b940d59a652ec6619c56a5e3a379f425c39780685c0e8fa7a54869a2141 SHA512 b1520598b99b94f29afd63305470e06fc9a8ef4f6d816cc56390b73fb980cbffcd62488e644e4eaa56991445f153ff39661a04726babbb89e574bca3f891a796
-EBUILD varnish-4.1.8.ebuild 2208 BLAKE2B 6a0509906c324ead94dc1706dfcb22156d04c2390615acd541277d90c25fe2e0bf4e96d1210d03f8f886711b67b2deb6fa635d14ef4fe249ab7b71bcf350fdf3 SHA512 166fe6d8e1d89fbf4064f2d6995b00156bbca7920b1131a6fbbde45605d26fdfaf54dadff626ed72546fdfd66ccdec20efb31a526c2ff3336261da2f31d6b84e
-EBUILD varnish-5.1.3.ebuild 2213 BLAKE2B 33a0b63f322d721c352748ac54b9e78c3df4b1916950bf698960bab57cfabfd39efa1c7a5ca4ea945f77fbebd943cfdf2579eb92e21a98bf24690a8a537b14b6 SHA512 290570d1a668f5ed0a4acda504313d5264c9d0dc7dc2d49a237b4bfa16c5c5b31749c48fa20e79fc06cb54a5ad100231da6fef00cdb75362a926f123ff17320f
-EBUILD varnish-5.2.1.ebuild 2267 BLAKE2B 6b6886e00415115a3649eee695bbbd4bbc2a7ab8590edf9cd7951a50cdf6f6e32bd3384514bd3330086dfab18dfc5a39c79db36f40cec76a9c66cdbc4e26ce3b SHA512 d3dec4d67b7e22981ecb643cefdb8729e51cb7545178eee996d96e15875e6373cf9b2956e29b3acc888b5ec6db430164096f0ce9e2bb24b295c01435870d27a3
-EBUILD varnish-6.0.1.ebuild 2239 BLAKE2B 46435007dcaff830ff0abb1aff3c3af1ed8913e759fb3e72ca9875f8c9334f9a617f73fe9342070d1f148308623c347b72a0c24e0962f863c278d55673825666 SHA512 6c2a1d74129726af32015a6c92bf63d253b66b67e9822b308f1b7148979848c99cdfba4ac0c7240a8279f2b255d719895408a447f2e682180ace1c3d7208d1d3
-EBUILD varnish-6.1.0.ebuild 2260 BLAKE2B 317004952169a6c652e229f606e6616c3b12489df02a71a184c61bf5470a4c03d410ec592e845ef9f5ddbecb2b0759ece1992af071b5b30afc03ed9e11945d78 SHA512 a1a936029d0120ba00b45eccdb95eba69c8c48d184ec95f3c03e61715b1bddcf7226aa0f646c4a9caaee491c7b2b29407bd2a8dd216bad3731965c210cb84bee
-EBUILD varnish-6.1.1.ebuild 2260 BLAKE2B 317004952169a6c652e229f606e6616c3b12489df02a71a184c61bf5470a4c03d410ec592e845ef9f5ddbecb2b0759ece1992af071b5b30afc03ed9e11945d78 SHA512 a1a936029d0120ba00b45eccdb95eba69c8c48d184ec95f3c03e61715b1bddcf7226aa0f646c4a9caaee491c7b2b29407bd2a8dd216bad3731965c210cb84bee
+DIST varnish-6.2.0.tgz 3207400 BLAKE2B e35a3621fd55eb61da38f39554027575f646d24987c7fe64938da6da40e751bfd87019629d8b475c24b748d80dec213ae4b4bb6d762dcd42dff6fb7785ac8c47 SHA512 fc447c27fbe31ef96c7e5666cd83007467619d012c7587c252da6fc8dc00e9534c790f1558c568f610ef9a61f5a0a61dc367e3723d905dece525dc27ee236376
+EBUILD varnish-4.0.5.ebuild 2041 BLAKE2B 40849c2e1e4eb7de54434f4afad53c3118e06a8fa806865791477cff77d4cc5971fa0e94d6595ce09c1b4a3d1e06b6b53068601ad29203298356213743af5920 SHA512 d15b5dc8636de0cb89259fd79a660add4eb0b82f7fb0e4136f8d0a1e34ccef23984dba06a3878e812eaf9ff983e8244a592f4f7353c944cf129cd8f9daa05b77
+EBUILD varnish-4.1.8.ebuild 2199 BLAKE2B 68cc745ec689cd900457c378584e147e8c6aacf3e723aabd38587180980ff444a72809f0ad1deffe1806fd07c3a250488f16e508b46e23de91b83469df0f4ea7 SHA512 ddc15dae39fac7da38ac6a4be7be4cdb7dfaa843e536deacab9f73c318d900048ecc3169901f811a0cb6d7dbbf92d7e032c393ded226cf6871236eb31a669f57
+EBUILD varnish-5.1.3.ebuild 2206 BLAKE2B cb71ffa0d53ffc0ff1f66e87777c56a08a6fd5378eefaa5e0795df73311a427d34ea59bfaf521219826d5efedb5a42a766cd8a872a417235a484caff22bfae95 SHA512 b568fdea0212c81843526da83f1d6a3d4421248c9be4133e488a23ae1f72efd345bae0c7a7d8c668b152f1581b86a05dfeb67238c6b36e47da0a2d38185bb97d
+EBUILD varnish-5.2.1.ebuild 2260 BLAKE2B aa4eacd573f0a01eb4c6eedc2575b02eb88c1e885bef05334f2b8a92705049d8915d9188f6d97c89dd73788d177b15f6709dc9c6210ce1e416841272f444a3fa SHA512 9ea6a69121847a78a7e12fd4d7b6bb77c8e4e4b36f86522f39d26bea148e5e42ef392733f90edaba3e40a67b7355237b6ef9be11763f7b77355d2ca2f91d7a72
+EBUILD varnish-6.0.1.ebuild 2235 BLAKE2B e192db3f8f4be308b8f96c822d74de92d868ea247b0e3b81bc898afe5e73c1cda66059ebf34307af097c10ea765251bd9b8ac18ed7f208e979afcd0a0f91083d SHA512 5c8fc13763369355474e2349e703fd5bd187fae06c4c7dfa081c0308cae8400c365e3110421817ea5bd0663f9cd899db3dd952807ec9fc9929aa4928686f6855
+EBUILD varnish-6.1.0.ebuild 2256 BLAKE2B b5fcedc8b9fb11306a92caafb619e5e8c5cf43f003d83951baae34578fe76f2d53f3fca7a6da4a352a857dc3258a9cadd0eb5391b5f14de763b3797d47320bcb SHA512 3aaecfbcfd263a21e7a23fac991431800454069c04d13c4bf88bc1490cdc2b88fc7f60a700f0fd218fcce2f4838c0f55ea0fc040ee6b9b3161ff9f81a453b83a
+EBUILD varnish-6.1.1.ebuild 2254 BLAKE2B 70e6a4efe262d28843bd4b6490c7ddea0448da78407da2c185c01e01451f8cf2eb88bf1a406539a78dc565a1b5ad7a0978e167ec743c8e2bc4dfab150b8d5f67 SHA512 b902aedc91d5c7b7330b9f2a17443348cfef9fa02502f7de7de6a861aa0741a75ba4e61224165a7a36d9c7bbc067f647a7457d631260fe2919b1df0f52987eea
+EBUILD varnish-6.2.0.ebuild 2256 BLAKE2B e072b3e3bd71e169d18c1da30c0b9b4775507ed20e6702d70e2152d1424098e086e2177e48186358b84e67ee24b265f06f15c41d26d46746f04831e769c6b531 SHA512 793a923d4ea3086433d7d6c3a830c85e1ac36d10a4e09f132ceb701735a115954518f4467c2292492df0d6ccd7fff675efa98153c9f0d3bfbef0669e67c2c6fd
MISC metadata.xml 1154 BLAKE2B eef29e16772e06a4b08bb7c2de3c02570a698eafe1eb9f3d1d6708cbf4ea3ef2644642b3040ebea108477e331aff164e4e540dc7f5620f15643b385d1523fd7f SHA512 a429d2e7604fb1e1f1d3ef48c13ab2151f7e2adab6a81021f473d7b56bdc9fc8d7700370125908b0278c2b0621afb3cccb73c4f3284b288cbceac05294e70f99
diff --git a/www-servers/varnish/varnish-4.0.5.ebuild b/www-servers/varnish/varnish-4.0.5.ebuild
index dd9c1ab25220..649885e3f55e 100644
--- a/www-servers/varnish/varnish-4.0.5.ebuild
+++ b/www-servers/varnish/varnish-4.0.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4} pypy )
+PYTHON_COMPAT=( python2_7 pypy )
inherit user autotools systemd python-r1
diff --git a/www-servers/varnish/varnish-4.1.8.ebuild b/www-servers/varnish/varnish-4.1.8.ebuild
index a2b684287b9d..69944b3e71f0 100644
--- a/www-servers/varnish/varnish-4.1.8.ebuild
+++ b/www-servers/varnish/varnish-4.1.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4} pypy )
+PYTHON_COMPAT=( python2_7 pypy )
inherit user autotools systemd python-r1
diff --git a/www-servers/varnish/varnish-5.1.3.ebuild b/www-servers/varnish/varnish-5.1.3.ebuild
index c7269e2396f9..60dea7e21c54 100644
--- a/www-servers/varnish/varnish-5.1.3.ebuild
+++ b/www-servers/varnish/varnish-5.1.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
inherit user autotools systemd python-r1
diff --git a/www-servers/varnish/varnish-5.2.1.ebuild b/www-servers/varnish/varnish-5.2.1.ebuild
index 5b3698dea93b..1307df6c2053 100644
--- a/www-servers/varnish/varnish-5.2.1.ebuild
+++ b/www-servers/varnish/varnish-5.2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
inherit user autotools systemd python-r1
diff --git a/www-servers/varnish/varnish-6.0.1.ebuild b/www-servers/varnish/varnish-6.0.1.ebuild
index 85face76d494..6c31874944de 100644
--- a/www-servers/varnish/varnish-6.0.1.ebuild
+++ b/www-servers/varnish/varnish-6.0.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
inherit user autotools systemd python-r1
diff --git a/www-servers/varnish/varnish-6.1.0.ebuild b/www-servers/varnish/varnish-6.1.0.ebuild
index af7e42b863da..cbc508b46c07 100644
--- a/www-servers/varnish/varnish-6.1.0.ebuild
+++ b/www-servers/varnish/varnish-6.1.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
inherit user autotools systemd python-r1
diff --git a/www-servers/varnish/varnish-6.1.1.ebuild b/www-servers/varnish/varnish-6.1.1.ebuild
index af7e42b863da..94d3b6a44086 100644
--- a/www-servers/varnish/varnish-6.1.1.ebuild
+++ b/www-servers/varnish/varnish-6.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
inherit user autotools systemd python-r1
@@ -13,7 +13,7 @@ SRC_URI="http://varnish-cache.org/_downloads/${P}.tgz"
LICENSE="BSD-2 GPL-2"
SLOT="0/2"
-KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~mips ~ppc ~ppc64 x86"
IUSE="jemalloc jit static-libs"
CDEPEND="
diff --git a/www-servers/varnish/varnish-6.2.0.ebuild b/www-servers/varnish/varnish-6.2.0.ebuild
new file mode 100644
index 000000000000..fe7cfa24cf56
--- /dev/null
+++ b/www-servers/varnish/varnish-6.2.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{3_5,3_6,3_7} pypy )
+
+inherit user autotools systemd python-r1
+
+DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
+HOMEPAGE="https://varnish-cache.org/"
+SRC_URI="http://varnish-cache.org/_downloads/${P}.tgz"
+
+LICENSE="BSD-2 GPL-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="jemalloc jit static-libs"
+
+CDEPEND="
+ sys-libs/readline:0=
+ dev-libs/libpcre[jit?]
+ jemalloc? ( dev-libs/jemalloc )
+ sys-libs/ncurses:0="
+
+#varnish compiles stuff at run time
+RDEPEND="
+ ${PYTHON_DEPS}
+ ${CDEPEND}
+ sys-devel/gcc"
+
+DEPEND="
+ ${CDEPEND}
+ dev-python/docutils
+ dev-python/sphinx
+ virtual/pkgconfig"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="test" #315725
+
+pkg_setup() {
+ ebegin "Creating varnish user and group"
+ enewgroup varnish
+ enewuser varnish -1 -1 /var/lib/varnish varnish
+ eend $?
+}
+
+src_prepare() {
+ # Remove -Werror bug #528354
+ sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac
+
+ # Upstream doesn't put varnish.m4 in the m4/ directory
+ # We link because the Makefiles look for the file in
+ # the original location
+ ln -sf ../varnish.m4 m4/varnish.m4
+
+ eapply_user
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable jit pcre-jit ) \
+ $(use_with jemalloc)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ python_replicate_script "${D}/usr/share/varnish/vmodtool.py"
+
+ newinitd "${FILESDIR}"/varnishlog.initd varnishlog
+ newconfd "${FILESDIR}"/varnishlog.confd varnishlog
+
+ newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa
+ newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa
+
+ newinitd "${FILESDIR}"/varnishd.initd-r4 varnishd
+ newconfd "${FILESDIR}"/varnishd.confd-r4 varnishd
+
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}/varnishd.logrotate-r2" varnishd
+
+ diropts -m750
+
+ keepdir /var/lib/varnish
+ keepdir /var/log/varnish
+
+ systemd_dounit "${FILESDIR}/${PN}d.service"
+
+ insinto /etc/varnish/
+ doins lib/libvmod_std/vmod.vcc
+ doins etc/example.vcl
+
+ dodoc README.rst
+ dodoc doc/changes.rst
+
+ fowners root:varnish /etc/varnish/
+ fowners varnish:varnish /var/lib/varnish/
+ fperms 0750 /var/lib/varnish/ /etc/varnish/
+}