mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
www-servers/vinyl-cache: drop 8.0.0
Bug: https://bugs.gentoo.org/971264 Signed-off-by: Brett A C Sheffield <bacs@librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/813 Merges: https://codeberg.org/gentoo/gentoo/pulls/813 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST varnish-8.0.0.tgz 4385715 BLAKE2B ebc6103ef2375eddf7ce6b89f8cb8b89900c3533dba97916d953bee20935cbccae814340d3a83b0fe1f6be211c950ba0a0d874dd0503621d8baeeb86333e4f23 SHA512 c381928e23deaacb863dcf389a494f30a56d22a4e88fe0c5dc7d4a93828f3dc0595c7ae41837f3549795828aca1a30e08f4456d4a752a6d12c19b61943dd99e9
|
||||
DIST varnish-8.0.1.tgz 4309436 BLAKE2B 802368affb3706968d2a5538bcf560d5875e9856046fb2a0e6cd2d110394ec6e2efd111d0284eb5f40b09eaac9686e249ae9a140b8ddea06e3e188db1842a0ec SHA512 6ca63160e068d4ae6aca9c7f2e848aabc5fe327bae18b3a008e573a27c0ed2ac958740fe129477cb384dded94b1c93cbd54efec5fd6f17098c23263d11ffc9ff
|
||||
DIST vinyl-cache-9.0.0.tgz 6353519 BLAKE2B 6cf36a66e74037a9b11d5048e0797fa2b4d6665d9463363d7d9816854d2a58744c00f684f6e274600459e8c124cfeff8405015e378c7ce12497ba65051331adb SHA512 c7be55b13609a0842bb938af39203b77a1ed17257e18f7ea29b89760687317c135dee48b8b2936561c00aeabe321e503b209b5b9af876588dd824c6c6847d17e
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
commit 24bedea4085a41130b13934acb4946d456976dfb (HEAD -> master)
|
||||
Author: John Helmert III <ajak@gentoo.org>
|
||||
Date: Wed Nov 9 12:33:17 2022 -0600
|
||||
|
||||
disable tests which time out
|
||||
|
||||
These tests time out, but can't reproduce when running manually
|
||||
(outside of sandbox).
|
||||
|
||||
Signed-off-by: John Helmert III <ajak@gentoo.org>
|
||||
|
||||
diff --git a/bin/varnishtest/tests/r02686.vtc b/bin/varnishtest/tests.disabled/r02686.vtc
|
||||
similarity index 100%
|
||||
rename from bin/varnishtest/tests/r02686.vtc
|
||||
rename to bin/varnishtest/tests.disabled/r02686.vtc
|
||||
diff --git a/bin/varnishtest/tests/r02990.vtc b/bin/varnishtest/tests.disabled/r02990.vtc
|
||||
similarity index 100%
|
||||
rename from bin/varnishtest/tests/r02990.vtc
|
||||
rename to bin/varnishtest/tests.disabled/r02990.vtc
|
||||
diff --git a/bin/varnishtest/tests/u00008.vtc b/bin/varnishtest/tests.disabled/u00008.vtc
|
||||
similarity index 100%
|
||||
rename from bin/varnishtest/tests/u00008.vtc
|
||||
rename to bin/varnishtest/tests.disabled/u00008.vtc
|
||||
diff --git a/bin/varnishtest/tests/u00009.vtc b/bin/varnishtest/tests.disabled/u00009.vtc
|
||||
similarity index 100%
|
||||
rename from bin/varnishtest/tests/u00009.vtc
|
||||
rename to bin/varnishtest/tests.disabled/u00009.vtc
|
||||
@@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit autotools systemd python-r1
|
||||
|
||||
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
|
||||
HOMEPAGE="https://vinyl-cache.org/"
|
||||
SRC_URI="https://vinyl-cache.org/downloads/varnish-${PV}.tgz"
|
||||
S="${WORKDIR}/varnish-${PV}"
|
||||
|
||||
LICENSE="BSD-2 GPL-2"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86"
|
||||
# From Fedora:
|
||||
# Default: Use jemalloc, as advised by upstream project
|
||||
IUSE="+jemalloc jit selinux static-libs unwind"
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-libs/readline:=
|
||||
dev-libs/libedit
|
||||
dev-libs/libpcre2[jit?]
|
||||
sys-libs/ncurses:=
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
unwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
|
||||
# varnish compiles stuff at run time
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
${COMMON_DEPEND}
|
||||
acct-user/varnish
|
||||
acct-group/varnish
|
||||
sys-devel/gcc
|
||||
selinux? ( sec-policy/selinux-varnishd )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/docutils
|
||||
dev-python/sphinx
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/varnish-7.1.2-disable-tests.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove -Werror bug #528354
|
||||
sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac || die
|
||||
|
||||
# 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 || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-contrib
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable jit pcre2-jit)
|
||||
$(use_with jemalloc)
|
||||
$(use_with unwind)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Times out
|
||||
rm bin/varnishtest/tests/u00021.vtc || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
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}/varnishd.service"
|
||||
|
||||
insinto /etc/varnish/
|
||||
doins vmod/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/
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user