1 |
commit: a8963c8285d295c0ddd6634ecaf1f939aca6f61b |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 26 17:51:28 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 26 17:51:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8963c82 |
7 |
|
8 |
www-servers/varnish: version bump to 6.3.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
www-servers/varnish/Manifest | 1 + |
14 |
www-servers/varnish/varnish-6.3.0.ebuild | 98 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 99 insertions(+) |
16 |
|
17 |
diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest |
18 |
index f3997d099a7..bfe4a40694d 100644 |
19 |
--- a/www-servers/varnish/Manifest |
20 |
+++ b/www-servers/varnish/Manifest |
21 |
@@ -8,3 +8,4 @@ DIST varnish-6.1.1.tgz 3135623 BLAKE2B c39904fe2745ab601e7c1f6d85850fe1a83c19e8d |
22 |
DIST varnish-6.2.0.tgz 3207400 BLAKE2B e35a3621fd55eb61da38f39554027575f646d24987c7fe64938da6da40e751bfd87019629d8b475c24b748d80dec213ae4b4bb6d762dcd42dff6fb7785ac8c47 SHA512 fc447c27fbe31ef96c7e5666cd83007467619d012c7587c252da6fc8dc00e9534c790f1558c568f610ef9a61f5a0a61dc367e3723d905dece525dc27ee236376 |
23 |
DIST varnish-6.2.1.tgz 3207791 BLAKE2B 7c57bd0a120de381473e560c8b6d4e5bae34a435765a4eb7fc9f390e74ca0ca96c1ce1d275abd87cbb6bc36a5b8e48fac04bebbf63f78e51d7db2c29aa8ab1c1 SHA512 57d478a566482a2c58dfb40e44d3f2a799c4d1f62dcb149bb9a5c45ffb681861465eb7847262db2cb139a488d33de099d0221f6b43335b4e68c16f00ed0e4600 |
24 |
DIST varnish-6.2.2.tgz 3208447 BLAKE2B 051efacf5b956a0f83723e4a0dd69291fa2215378e2c8b7ca653a87f7b10871b323ed0ee9bc1ed4d1602526b882c2a94b981f3b194584c463d6a7fba18055845 SHA512 cc03fd1833b86e74ca275797da5e16b8ce754c7a9d232d5825c876eacc632d7e4edfae0a15e49b36cb551aea1e72a0d054da06433321498a3c74789c545f6c7a |
25 |
+DIST varnish-6.3.0.tgz 3308117 BLAKE2B ee9a1ab87ceb96fbfeaa4130da6043f2474cfc6a29ab9f8d74cc66e28003467b63916f7fe498be4cd63fe80ac347bf02e2a5434afab381da32bcb821c9bb5404 SHA512 887c27b498bdac1ddb01759569078e2394a0a754ab3842f866fd06724f154950accebe80c5412b0ba5dd70ff9f687ce4bad3161d1bd32448e0d50aa01c6f96b1 |
26 |
|
27 |
diff --git a/www-servers/varnish/varnish-6.3.0.ebuild b/www-servers/varnish/varnish-6.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..9930680fa67 |
30 |
--- /dev/null |
31 |
+++ b/www-servers/varnish/varnish-6.3.0.ebuild |
32 |
@@ -0,0 +1,98 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{3_5,3_6,3_7} pypy ) |
39 |
+ |
40 |
+inherit user autotools systemd python-r1 |
41 |
+ |
42 |
+DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator" |
43 |
+HOMEPAGE="https://varnish-cache.org/" |
44 |
+SRC_URI="http://varnish-cache.org/_downloads/${P}.tgz" |
45 |
+ |
46 |
+LICENSE="BSD-2 GPL-2" |
47 |
+SLOT="0/2" |
48 |
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" |
49 |
+IUSE="jemalloc jit static-libs" |
50 |
+ |
51 |
+CDEPEND=" |
52 |
+ sys-libs/readline:0= |
53 |
+ dev-libs/libpcre[jit?] |
54 |
+ jemalloc? ( dev-libs/jemalloc ) |
55 |
+ sys-libs/ncurses:0=" |
56 |
+ |
57 |
+#varnish compiles stuff at run time |
58 |
+RDEPEND=" |
59 |
+ ${PYTHON_DEPS} |
60 |
+ ${CDEPEND} |
61 |
+ acct-user/varnish |
62 |
+ acct-group/varnish |
63 |
+ sys-devel/gcc" |
64 |
+ |
65 |
+DEPEND=" |
66 |
+ ${CDEPEND} |
67 |
+ dev-python/docutils |
68 |
+ dev-python/sphinx |
69 |
+ virtual/pkgconfig" |
70 |
+ |
71 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
72 |
+ |
73 |
+RESTRICT="test" #315725 |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ # Remove -Werror bug #528354 |
77 |
+ sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac |
78 |
+ |
79 |
+ # Upstream doesn't put varnish.m4 in the m4/ directory |
80 |
+ # We link because the Makefiles look for the file in |
81 |
+ # the original location |
82 |
+ ln -sf ../varnish.m4 m4/varnish.m4 |
83 |
+ |
84 |
+ eapply_user |
85 |
+ |
86 |
+ eautoreconf |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ econf \ |
91 |
+ $(use_enable static-libs static) \ |
92 |
+ $(use_enable jit pcre-jit ) \ |
93 |
+ $(use_with jemalloc) |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ emake DESTDIR="${D}" install |
98 |
+ |
99 |
+ python_replicate_script "${D}/usr/share/varnish/vmodtool.py" |
100 |
+ |
101 |
+ newinitd "${FILESDIR}"/varnishlog.initd varnishlog |
102 |
+ newconfd "${FILESDIR}"/varnishlog.confd varnishlog |
103 |
+ |
104 |
+ newinitd "${FILESDIR}"/varnishncsa.initd varnishncsa |
105 |
+ newconfd "${FILESDIR}"/varnishncsa.confd varnishncsa |
106 |
+ |
107 |
+ newinitd "${FILESDIR}"/varnishd.initd-r4 varnishd |
108 |
+ newconfd "${FILESDIR}"/varnishd.confd-r4 varnishd |
109 |
+ |
110 |
+ insinto /etc/logrotate.d/ |
111 |
+ newins "${FILESDIR}/varnishd.logrotate-r2" varnishd |
112 |
+ |
113 |
+ diropts -m750 |
114 |
+ |
115 |
+ keepdir /var/lib/varnish |
116 |
+ keepdir /var/log/varnish |
117 |
+ |
118 |
+ systemd_dounit "${FILESDIR}/${PN}d.service" |
119 |
+ |
120 |
+ insinto /etc/varnish/ |
121 |
+ doins lib/libvmod_std/vmod.vcc |
122 |
+ doins etc/example.vcl |
123 |
+ |
124 |
+ dodoc README.rst |
125 |
+ dodoc doc/changes.rst |
126 |
+ |
127 |
+ fowners root:varnish /etc/varnish/ |
128 |
+ fowners varnish:varnish /var/lib/varnish/ |
129 |
+ fperms 0750 /var/lib/varnish/ /etc/varnish/ |
130 |
+} |