summaryrefslogtreecommitdiff
path: root/www-servers/varnish
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /www-servers/varnish
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'www-servers/varnish')
-rw-r--r--www-servers/varnish/Manifest22
-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.1.ebuild4
-rw-r--r--www-servers/varnish/varnish-6.2.2-r1.ebuild (renamed from www-servers/varnish/varnish-6.1.0.ebuild)17
-rw-r--r--www-servers/varnish/varnish-6.3.0.ebuild (renamed from www-servers/varnish/varnish-6.2.0.ebuild)17
-rw-r--r--www-servers/varnish/varnish-6.3.1.ebuild98
10 files changed, 134 insertions, 44 deletions
diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest
index 9d16d629cea6..83f3794a67b0 100644
--- a/www-servers/varnish/Manifest
+++ b/www-servers/varnish/Manifest
@@ -13,15 +13,17 @@ DIST varnish-4.1.8.tgz 2254772 BLAKE2B acadf4079d58bb8f0dc5e24713aba7f2786ca6f06
DIST varnish-5.1.3.tgz 2643223 BLAKE2B 85bae87785da1284d7d916b8948a0984eea9cf07e96012255435ba04c28e8078e5dad893946bbc12da6cbe9326699458f0e3af6be55cb5e7bba4e622724ddac2 SHA512 a10c317dc38ddff139ca8153f6388955df449c3abeb4d4f069b632ba2b32064a2827ab05fa8515994b251a68507fc3a7bf4e08eacc991fc03283ab234b9efd0a
DIST varnish-5.2.1.tgz 2827676 BLAKE2B 6f50a55a9b16d137eaec59aea98a0179b808bb67fc3de26c9b0924b9937a3688b7f9db45d2f0a71be2b7c6f77bfd47cd22e7b898348b5236114572b5bb33ff22 SHA512 2e979983c7f2325e289768752cc474dc3032c3420de65ccfd5871098c076aecf18e962b04308ecb1860f542fd6f6418dc79220fdd6cf4a75f7476a733faa589c
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
-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
+DIST varnish-6.2.2.tgz 3208447 BLAKE2B 051efacf5b956a0f83723e4a0dd69291fa2215378e2c8b7ca653a87f7b10871b323ed0ee9bc1ed4d1602526b882c2a94b981f3b194584c463d6a7fba18055845 SHA512 cc03fd1833b86e74ca275797da5e16b8ce754c7a9d232d5825c876eacc632d7e4edfae0a15e49b36cb551aea1e72a0d054da06433321498a3c74789c545f6c7a
+DIST varnish-6.3.0.tgz 3308117 BLAKE2B ee9a1ab87ceb96fbfeaa4130da6043f2474cfc6a29ab9f8d74cc66e28003467b63916f7fe498be4cd63fe80ac347bf02e2a5434afab381da32bcb821c9bb5404 SHA512 887c27b498bdac1ddb01759569078e2394a0a754ab3842f866fd06724f154950accebe80c5412b0ba5dd70ff9f687ce4bad3161d1bd32448e0d50aa01c6f96b1
+DIST varnish-6.3.1.tgz 3306392 BLAKE2B d34e52567fc0a9c57ac894c79155b43279a7b1549651494053f3eca3ddf83d234e41cffa4fed4833535b3c07e2a62ec0f54a1cc69c1bd689fee4ab90252f6588 SHA512 2fee11bcd01f53464b53e8271c2aec08233af078f2e9a2600cd82efbf646b3fd48160ebb2add09e1fb4f43e18e61f21a2408e351eeb2a567179733a3efbc3ddc
+EBUILD varnish-4.0.5.ebuild 2036 BLAKE2B d6355a402703608ccd047fb192430bc512ae32e63867eebeb30bd31e79d1ea488abe2e58fe4a9768e9a54f9c9e71d84a4668b7714ea36d442bd255c1f5dc23cc SHA512 a20138f280c6715a51957853e87d6d0e9981d07b4a8cece2c9738549d3cceb43e0fbb25350bbfd8abc2f892622ba84264d77cd910f35843a4a3ae117cfb9920c
+EBUILD varnish-4.1.8.ebuild 2194 BLAKE2B 9cf8d8b6b1ef0de8dd6dcb863e9348fef7944c32214740bc43639d6f6f9349e43e108bdfa2b326a389c624d45d459f35782c66f445e6f7facffe2290fdd99c30 SHA512 dd87847d810303135a7953580f130b8f79908af5b8c38c094d1c0e4a7ab9ca1fa5774ef2409a906bf0daac3a1b947a55553f5895d81b9b525b94a68ab2b71007
+EBUILD varnish-5.1.3.ebuild 2197 BLAKE2B 5d85b7d080f2733b4c24c9459fbfa6b549dcb70a295cf84f403bd92268b5fdffe5a8ad1a43a2ce1c4366c8f0289eb54bc4480bfc3f5341adbe4e169d94f3295e SHA512 849564032f4296836947738b65802133cb165513dd5bbccdcc7cf443f62d1b20ef004784dd4d115c02496960184ec69848b38a8bed81ea729addc3832946b3f2
+EBUILD varnish-5.2.1.ebuild 2251 BLAKE2B b7ebfd9d61a40bde41137e816d64000248a7555dd424bcdf1b47b51b7103fbfe77c1cc2831c9f02e63e9cc8b33caf3fc489e8c8dbbfd75ecdc253faf4e0ef4ba SHA512 9ddcbb86b4b96ed117c5493e2e4095d9e2d092e777c22ed05ab9f1dcb2ee9df19830e1f62a7fb2cbce336dec742038d358a961a65aade8d87c51b1175b61071e
+EBUILD varnish-6.0.1.ebuild 2226 BLAKE2B 9c1542546a0de87b46d02509b4f6f7db4c04124e0c2913c21b8c6cab6e2e0608b25b5ed11f8e372cec576ce829d441ad98f2f3da8e2b49c719f31d00713d653b SHA512 393e0d76d2fa76f10a08525a4f549a1719c64ff73a4688d256efeff1c99ef8b7e1c48a58ef24c4ab7cc97d98ddef64fb0218adb2bb6d603a4531ac3e3b4ee829
+EBUILD varnish-6.1.1.ebuild 2245 BLAKE2B 982205e36c37146d84bbba87f8620965e188c5cf75d4ae303dfd3c4b50fe8b313541a0433a108ff88c442106fe537022fabce9a893e2e2d8a855b67560c55e72 SHA512 4b9eced42abdcc18b3081e5c89943267eb1765d43e490487490dfabb58fa88aed2c6fa0e703c59f89f40abfdf63a86d89d02bb29f3cfbd951c46bca2723bc5d5
+EBUILD varnish-6.2.2-r1.ebuild 2145 BLAKE2B 2f0aec0428b1fe2ebf852edb16c1b10ec0f9c7c7839188a54dfe1412e43ae65f0425d198f14e13fdd4d5e2a13a66da1c7e4fe2a4ebdfc87e560ef4eb27d9975d SHA512 90df906ce9a8d51a432d3077a86f14f103b44853eda277a27762a9c6e07c61f5f01ae13a0dff82b82181022aa53bf2040f48e292fbc4dc5d2cf4606bc8714ace
+EBUILD varnish-6.3.0.ebuild 2145 BLAKE2B 2f0aec0428b1fe2ebf852edb16c1b10ec0f9c7c7839188a54dfe1412e43ae65f0425d198f14e13fdd4d5e2a13a66da1c7e4fe2a4ebdfc87e560ef4eb27d9975d SHA512 90df906ce9a8d51a432d3077a86f14f103b44853eda277a27762a9c6e07c61f5f01ae13a0dff82b82181022aa53bf2040f48e292fbc4dc5d2cf4606bc8714ace
+EBUILD varnish-6.3.1.ebuild 2145 BLAKE2B 2f0aec0428b1fe2ebf852edb16c1b10ec0f9c7c7839188a54dfe1412e43ae65f0425d198f14e13fdd4d5e2a13a66da1c7e4fe2a4ebdfc87e560ef4eb27d9975d SHA512 90df906ce9a8d51a432d3077a86f14f103b44853eda277a27762a9c6e07c61f5f01ae13a0dff82b82181022aa53bf2040f48e292fbc4dc5d2cf4606bc8714ace
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 649885e3f55e..a5a0a6d2194f 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-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python2_7 pypy )
+PYTHON_COMPAT=( python2_7 )
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 69944b3e71f0..770a0ea24b3e 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-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python2_7 pypy )
+PYTHON_COMPAT=( python2_7 )
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 60dea7e21c54..08be389bf7b0 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-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_6} )
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 1307df6c2053..e0015d83aff2 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-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_6} )
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 6c31874944de..8f8ce746c0ba 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-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_6} )
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 94d3b6a44086..01cc35179636 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-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_6} )
inherit user autotools systemd python-r1
diff --git a/www-servers/varnish/varnish-6.1.0.ebuild b/www-servers/varnish/varnish-6.2.2-r1.ebuild
index cbc508b46c07..87e7399056bc 100644
--- a/www-servers/varnish/varnish-6.1.0.ebuild
+++ b/www-servers/varnish/varnish-6.2.2-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{3_6,3_7} )
-inherit user autotools systemd python-r1
+inherit autotools systemd python-r1
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
HOMEPAGE="https://varnish-cache.org/"
@@ -26,6 +26,8 @@ CDEPEND="
RDEPEND="
${PYTHON_DEPS}
${CDEPEND}
+ acct-user/varnish
+ acct-group/varnish
sys-devel/gcc"
DEPEND="
@@ -38,13 +40,6 @@ 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
diff --git a/www-servers/varnish/varnish-6.2.0.ebuild b/www-servers/varnish/varnish-6.3.0.ebuild
index fe7cfa24cf56..87e7399056bc 100644
--- a/www-servers/varnish/varnish-6.2.0.ebuild
+++ b/www-servers/varnish/varnish-6.3.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
-PYTHON_COMPAT=( python{3_5,3_6,3_7} pypy )
+PYTHON_COMPAT=( python{3_6,3_7} )
-inherit user autotools systemd python-r1
+inherit autotools systemd python-r1
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
HOMEPAGE="https://varnish-cache.org/"
@@ -26,6 +26,8 @@ CDEPEND="
RDEPEND="
${PYTHON_DEPS}
${CDEPEND}
+ acct-user/varnish
+ acct-group/varnish
sys-devel/gcc"
DEPEND="
@@ -38,13 +40,6 @@ 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
diff --git a/www-servers/varnish/varnish-6.3.1.ebuild b/www-servers/varnish/varnish-6.3.1.ebuild
new file mode 100644
index 000000000000..87e7399056bc
--- /dev/null
+++ b/www-servers/varnish/varnish-6.3.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python{3_6,3_7} )
+
+inherit 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}
+ acct-user/varnish
+ acct-group/varnish
+ sys-devel/gcc"
+
+DEPEND="
+ ${CDEPEND}
+ dev-python/docutils
+ dev-python/sphinx
+ virtual/pkgconfig"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="test" #315725
+
+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/
+}