From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06753139694 for ; Sat, 15 Jul 2017 13:29:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECE4EE0D9E; Sat, 15 Jul 2017 13:29:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B74C5E0D9E for ; Sat, 15 Jul 2017 13:29:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 40F2F341742 for ; Sat, 15 Jul 2017 13:29:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B49DF7488 for ; Sat, 15 Jul 2017 13:29:46 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1500125381.ba4ad6bba2c8574369965f9725346b45aeb2dd5e.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/varnish/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/varnish/Manifest www-servers/varnish/varnish-4.1.7.ebuild X-VCS-Directories: www-servers/varnish/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: ba4ad6bba2c8574369965f9725346b45aeb2dd5e X-VCS-Branch: master Date: Sat, 15 Jul 2017 13:29:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0fd6d44f-8f45-40d1-a30a-3b4c7456168e X-Archives-Hash: 0c0539673776ff37ffdcbd5240ec40a1 commit: ba4ad6bba2c8574369965f9725346b45aeb2dd5e Author: Anthony G. Basile gentoo org> AuthorDate: Sat Jul 15 13:29:09 2017 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Jul 15 13:29:41 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4ad6bb www-servers/varnish: version bump to 4.1.7 Package-Manager: Portage-2.3.6, Repoman-2.3.1 www-servers/varnish/Manifest | 1 + www-servers/varnish/varnish-4.1.7.ebuild | 102 +++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest index 34bad472aef..1047f36e3b4 100644 --- a/www-servers/varnish/Manifest +++ b/www-servers/varnish/Manifest @@ -1,3 +1,4 @@ DIST varnish-4.0.3.tar.gz 1866760 SHA256 94b9a174097f47db2286acd2c35f235e49a2b7a9ddfdbd6eb7aa4da9ae8f8206 SHA512 db7bb141afd4617ac95573983dc30591b0eb9bc1af06df1094f2c1eeac539da936afb4a239d2f446d3c3a51b88a781b7f9f6d9a0b2028eaf0e7049ea2159d883 WHIRLPOOL 942456e19be427859283959dabe5522667519d36decbc598c8ee1e949767ea7435469393289d4373db6abac5275e50a95fc3799a837dc17740a490b4912bfe6f DIST varnish-4.1.6.tar.gz 2201975 SHA256 c7ac460b521bebf772868b2f5aefc2f2508a1e133809cd52d3ba1b312226e849 SHA512 c97b6245d467472dc61d1471cbfbefc1cca0839abbca73940efb800e7751437a64437a0c68e2c65e6f4dc039f25bb51ef4d9f3da4e50ccb854646457fb147927 WHIRLPOOL 6b10fc7c2b19f8ba6e8b89cad41b034ce1ab126db510f239a725fa3e1319e2b130c872c3a88b2f3f9c1a5bf9a926540b0fa4aa8238b92eb5174722bee8d307c4 +DIST varnish-4.1.7.tar.gz 2210417 SHA256 c52ee2f5d052a496f3700d8ac8eb4da45144779c863f09f7be70daec3cfed105 SHA512 668e69430163600fad34031593d6144a52b113f9aea01d5ba51c7dac0ecf10606610a1d96393f07329e4f6af9a71b4ce668284f7c49b2c5871817707326036fd WHIRLPOOL cede0f86e86b55a312535aa76bd6b6bb0ec27c688ae65ee0b8953b238f4172202237ed97af3278dc77611773a7b29253037a4ebe9ef47bddf01832adefac9ac5 DIST varnish-5.1.2.tar.gz 2597817 SHA256 39d858137e26948a7c85f07363f13f0778da61d234126e03a160a0cb9ba4fce3 SHA512 6ee71c2678a34f7e3963547d8e79bd83e3b326ffe703ad60f0d6f8f218a3801849c870aa00e407008ef22cd2b2baf4cbe02625ce77018279afdb8208d43a743b WHIRLPOOL 4c824fbb00d79fd1a6287bf08e26d9e9074e986d63d37a305f2f0dca320766e694aa8eaf81d723280f207e9b3fb528d2f917ee6fa21c3f24ba84b83acd367e86 diff --git a/www-servers/varnish/varnish-4.1.7.ebuild b/www-servers/varnish/varnish-4.1.7.ebuild new file mode 100644 index 00000000000..abb3177963a --- /dev/null +++ b/www-servers/varnish/varnish-4.1.7.ebuild @@ -0,0 +1,102 @@ +# 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 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 + + # Fix bug #620952 + eapply "${FILESDIR}"/fix-build-x86.patch + + # 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() { + 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 + + 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/ +}