public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/varnish/
Date: Sat, 11 Mar 2017 15:23:01 +0000 (UTC)	[thread overview]
Message-ID: <1489245756.e7934a3d25bb839578dc5513a90b2a866214bc8b.blueness@gentoo> (raw)

commit:     e7934a3d25bb839578dc5513a90b2a866214bc8b
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 15:22:36 2017 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 15:22:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7934a3d

www-servers/varnish: version bump to 5.0.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 www-servers/varnish/Manifest             |  1 +
 www-servers/varnish/varnish-5.0.0.ebuild | 98 ++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest
index 33cf7931c67..edffb16edf8 100644
--- a/www-servers/varnish/Manifest
+++ b/www-servers/varnish/Manifest
@@ -1,2 +1,3 @@
 DIST varnish-4.0.3.tar.gz 1866760 SHA256 94b9a174097f47db2286acd2c35f235e49a2b7a9ddfdbd6eb7aa4da9ae8f8206 SHA512 db7bb141afd4617ac95573983dc30591b0eb9bc1af06df1094f2c1eeac539da936afb4a239d2f446d3c3a51b88a781b7f9f6d9a0b2028eaf0e7049ea2159d883 WHIRLPOOL 942456e19be427859283959dabe5522667519d36decbc598c8ee1e949767ea7435469393289d4373db6abac5275e50a95fc3799a837dc17740a490b4912bfe6f
 DIST varnish-4.1.5.tar.gz 2199183 SHA256 b52d4d05dd3c571c5538f2d821b237ec029691aebbc35918311ede256404feb3 SHA512 8d54a59afbc9f485b313d2e036dcc8d874ec279e1dd2aab9daf2a169e169d15c98ff71307d44c6beb43968dcd7d69b9501486ea3b138c27d084bc4b16ed10d24 WHIRLPOOL bc2e5f2d7fab56db2a7cda961be557bf0487bc5ec28f5f5274edbf49eaf615234f35d8ee7a83251f1c49b8dd4241758b0ae24e13c7fb28c4c7a11c01553c67ae
+DIST varnish-5.0.0.tar.gz 2472963 SHA256 5101ad72b29d288a07e2e5ded4c2abe850b70ff000c13ceb1764625e83823f4a SHA512 0694ad32595dc559bd044c5cf1bf12f002e4c0ab477b5fdc9d026d0bc3aec64d6dbe0b14dbab0b95a2180aa2ffe3871db22d0793b12c9d67350da05c25ae8e6c WHIRLPOOL 0e9e6415934971e9e289693a3e4963eb2a9415a3364293c22703c2539e14e77bd0cce46440a5c3426a1be75c28a9353dab23243283e70e786123e1d7b0c78775

diff --git a/www-servers/varnish/varnish-5.0.0.ebuild b/www-servers/varnish/varnish-5.0.0.ebuild
new file mode 100644
index 00000000000..1c0902ad4fc
--- /dev/null
+++ b/www-servers/varnish/varnish-5.0.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4} pypy )
+
+inherit user autotools eutils systemd python-r1
+
+DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
+HOMEPAGE="http://www.varnish-cache.org/"
+SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz"
+
+LICENSE="BSD-2 GPL-2"
+SLOT="0"
+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
+	virtual/pkgconfig"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="test" #315725
+
+DOCS=( README.rst doc/changes.rst )
+
+pkg_setup() {
+	ebegin "Creating varnish user and group"
+	enewgroup varnish
+	enewuser varnish -1 -1 /var/lib/varnish varnish
+	eend $?
+}
+
+src_prepare() {
+	# Remove bundled libjemalloc. We also fix
+	# automagic dep in our patches, bug #461638
+	rm -rf lib/libjemalloc
+
+	# Remove -Werror bug #528354
+	sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac
+
+	eapply_user
+
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable static-libs static) \
+		$(use_enable jit pcre-jit ) \
+		$(use_with jemalloc)
+}
+
+src_install() {
+	default
+
+	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
+	dodir /var/log/varnish/
+
+	systemd_dounit "${FILESDIR}/${PN}d.service"
+
+	insinto /etc/varnish/
+	doins lib/libvmod_std/vmod.vcc
+	doins etc/example.vcl
+
+	fowners root:varnish /etc/varnish/
+	fowners varnish:varnish /var/lib/varnish/
+	fperms 0750 /var/lib/varnish/ /etc/varnish/
+}


             reply	other threads:[~2017-03-11 15:23 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-11 15:23 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-05 17:12 [gentoo-commits] repo/gentoo:master commit in: www-servers/varnish/ Pacho Ramos
2024-06-19 19:43 Arthur Zamarin
2024-06-19 11:58 Sam James
2024-06-19  9:08 Pacho Ramos
2023-10-02 17:16 Hans de Graaff
2023-06-28 13:54 Sam James
2023-06-28  7:19 Sam James
2023-01-06 20:13 Arthur Zamarin
2023-01-06 20:13 Arthur Zamarin
2022-11-24  1:24 Yixun Lan
2022-11-18  4:52 Sam James
2022-11-18  4:52 Sam James
2022-11-09 18:46 John Helmert III
2022-08-14 15:24 Anthony G. Basile
2022-08-14 13:30 Sam James
2022-08-13  6:58 Agostino Sarubbo
2022-08-12 13:14 Anthony G. Basile
2022-07-26 13:43 Anthony G. Basile
2022-07-26  1:36 Sam James
2022-07-26  1:36 Sam James
2022-07-22 17:48 Anthony G. Basile
2022-07-22 15:41 Anthony G. Basile
2022-07-22 15:37 Anthony G. Basile
2022-06-06  9:32 Jakov Smolić
2022-06-06  6:53 Jakov Smolić
2022-05-30 15:20 Anthony G. Basile
2022-05-14 13:13 Anthony G. Basile
2022-05-10 22:57 Andreas K. Hüttel
2022-01-19 18:23 Anthony G. Basile
2021-09-24 17:34 Anthony G. Basile
2021-08-29 11:34 Anthony G. Basile
2021-08-29 10:02 Agostino Sarubbo
2021-08-28  5:36 Agostino Sarubbo
2021-08-24 20:46 Anthony G. Basile
2021-07-16 16:01 Conrad Kostecki
2021-01-10 13:33 Lars Wendler
2020-10-01 23:19 Anthony G. Basile
2020-06-18  2:42 Aaron Bauman
2020-05-07 17:58 Michał Górny
2020-04-26 23:44 Thomas Deutschmann
2020-04-22 14:15 Mikle Kolyada
2020-04-20 15:04 Anthony G. Basile
2020-04-20 15:00 Anthony G. Basile
2020-04-20 14:58 Anthony G. Basile
2020-03-12 11:38 Mikle Kolyada
2020-03-11 15:05 Anthony G. Basile
2020-01-08 17:08 Anthony G. Basile
2019-12-27 14:01 Anthony G. Basile
2019-12-26 17:54 Anthony G. Basile
2019-12-26 17:51 Anthony G. Basile
2019-12-19 11:58 Anthony G. Basile
2019-12-17 17:57 Anthony G. Basile
2019-04-06 13:32 Anthony G. Basile
2019-04-06 13:30 Anthony G. Basile
2018-11-12 18:52 Mikle Kolyada
2018-11-12  1:14 Thomas Deutschmann
2018-10-27 14:26 Anthony G. Basile
2018-10-15 13:53 Anthony G. Basile
2018-10-02 10:53 Thomas Deutschmann
2018-10-02  3:28 Anthony G. Basile
2018-10-02  3:28 Anthony G. Basile
2018-09-12 20:02 Anthony G. Basile
2018-07-23  8:15 Christian Ruppert
2018-03-17 22:50 Anthony G. Basile
2018-03-11 14:24 Anthony G. Basile
2018-02-21  0:55 Anthony G. Basile
2018-02-18  7:52 Anthony G. Basile
2018-02-16 12:22 Anthony G. Basile
2018-02-11 11:36 Michał Górny
2017-09-25  0:35 Anthony G. Basile
2017-08-29 20:42 Thomas Deutschmann
2017-08-25 21:56 Mikle Kolyada
2017-08-02 14:59 Anthony G. Basile
2017-08-02 14:59 Anthony G. Basile
2017-07-15 13:29 Anthony G. Basile
2017-06-25  0:44 Anthony G. Basile
2017-06-25  0:44 Anthony G. Basile
2017-06-11  9:22 Thomas Deutschmann
2017-06-05 22:57 Anthony G. Basile
2017-05-28 11:40 Pacho Ramos
2017-04-30  9:26 Agostino Sarubbo
2017-04-29 17:02 Anthony G. Basile
2017-04-08 14:08 Anthony G. Basile
2017-03-18 17:00 Anthony G. Basile
2017-03-11 15:23 Anthony G. Basile
2017-02-15 15:12 Anthony G. Basile
2016-12-02 10:55 Anthony G. Basile
2016-07-11 10:42 Anthony G. Basile
2016-07-10 18:02 Anthony G. Basile
2016-06-21 19:20 Michał Górny
2016-05-12  8:22 Anthony G. Basile
2016-03-17 19:06 Christian Ruppert
2015-11-03 16:18 Agostino Sarubbo
2015-10-19  9:27 Agostino Sarubbo
2015-10-05  8:16 Anthony G. Basile
2015-10-05  8:16 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489245756.e7934a3d25bb839578dc5513a90b2a866214bc8b.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox