summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-05-12 04:22:49 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-05-12 04:23:07 -0400
commitb8c6a40ca62d36b62cbbee5f94b24c8c4d9359c2 (patch)
tree7eca00d209f4eb8b9b98fb4a9837d3f5eabc843b /www-servers/varnish/files
parentwww-servers/varnish: remove older 4.1 version (diff)
downloadgentoo-b8c6a40ca62d36b62cbbee5f94b24c8c4d9359c2.tar.gz
gentoo-b8c6a40ca62d36b62cbbee5f94b24c8c4d9359c2.tar.bz2
gentoo-b8c6a40ca62d36b62cbbee5f94b24c8c4d9359c2.zip
www-servers/varnish: clean out older patches and conf.d files
Package-Manager: portage-2.2.26
Diffstat (limited to 'www-servers/varnish/files')
-rw-r--r--www-servers/varnish/files/varnish-4.0.0-fix-man-Makefile_am.patch14
-rw-r--r--www-servers/varnish/files/varnish-4.0.1-fix-doc-Makefile_am.patch14
-rw-r--r--www-servers/varnish/files/varnish-4.0.1-fix-man-Makefile_am.patch19
-rw-r--r--www-servers/varnish/files/varnish-4.0.1-fix-warning.patch12
-rw-r--r--www-servers/varnish/files/varnishd.confd-r122
-rw-r--r--www-servers/varnish/files/varnishd.initd-r187
6 files changed, 0 insertions, 168 deletions
diff --git a/www-servers/varnish/files/varnish-4.0.0-fix-man-Makefile_am.patch b/www-servers/varnish/files/varnish-4.0.0-fix-man-Makefile_am.patch
deleted file mode 100644
index 311f0fd7c956..000000000000
--- a/www-servers/varnish/files/varnish-4.0.0-fix-man-Makefile_am.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur varnish-4.0.0.orig/man/Makefile.am varnish-4.0.0/man/Makefile.am
---- varnish-4.0.0.orig/man/Makefile.am 2014-04-12 18:25:35.435043191 -0400
-+++ varnish-4.0.0/man/Makefile.am 2014-04-12 18:25:58.579043997 -0400
-@@ -84,8 +84,8 @@
- $(top_srcdir)/doc/sphinx/include/varnishhist_synopsis.rst
- ${RST2MAN} $(top_srcdir)/doc/sphinx/reference/varnishhist.rst $@
-
--vmod_std.3: $(top_srcdir)/lib/libvmod_std/vmod_std.man.rst
-+vmod_std.3: $(top_builddir)/lib/libvmod_std/vmod_std.man.rst
- ${RST2MAN} $? $@
-
--vmod_directors.3: $(top_srcdir)/lib/libvmod_directors/vmod_directors.man.rst
-+vmod_directors.3: $(top_builddir)/lib/libvmod_directors/vmod_directors.man.rst
- ${RST2MAN} $? $@
diff --git a/www-servers/varnish/files/varnish-4.0.1-fix-doc-Makefile_am.patch b/www-servers/varnish/files/varnish-4.0.1-fix-doc-Makefile_am.patch
deleted file mode 100644
index 57885c6488ea..000000000000
--- a/www-servers/varnish/files/varnish-4.0.1-fix-doc-Makefile_am.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur varnish-4.0.1.orig/man/Makefile.am varnish-4.0.1/man/Makefile.am
---- varnish-4.0.1.orig/man/Makefile.am 2014-06-23 09:43:06.000000000 -0400
-+++ varnish-4.0.1/man/Makefile.am 2014-06-25 08:40:43.498765372 -0400
-@@ -86,8 +86,8 @@
- $(top_srcdir)/doc/sphinx/include/varnishhist_synopsis.rst
- ${RST2MAN} $(RST2ANY_FLAGS) $(top_srcdir)/doc/sphinx/reference/varnishhist.rst $@
-
--vmod_std.3: $(top_srcdir)/lib/libvmod_std/vmod_std.man.rst
-+vmod_std.3: $(top_builddir)/lib/libvmod_std/vmod_std.man.rst
- ${RST2MAN} $(RST2ANY_FLAGS) $? $@
-
--vmod_directors.3: $(top_srcdir)/lib/libvmod_directors/vmod_directors.man.rst
-+vmod_directors.3: $(top_builddir)/lib/libvmod_directors/vmod_directors.man.rst
- ${RST2MAN} $(RST2ANY_FLAGS) $? $@
diff --git a/www-servers/varnish/files/varnish-4.0.1-fix-man-Makefile_am.patch b/www-servers/varnish/files/varnish-4.0.1-fix-man-Makefile_am.patch
deleted file mode 100644
index c65fba2391e0..000000000000
--- a/www-servers/varnish/files/varnish-4.0.1-fix-man-Makefile_am.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur varnish-4.0.1.orig/doc/sphinx/Makefile.am varnish-4.0.1/doc/sphinx/Makefile.am
---- varnish-4.0.1.orig/doc/sphinx/Makefile.am 2014-06-23 09:43:06.000000000 -0400
-+++ varnish-4.0.1/doc/sphinx/Makefile.am 2014-06-25 08:35:11.887750279 -0400
-@@ -144,11 +144,13 @@
- BUILT_SOURCES += include/varnishhist_options.rst \
- include/varnishhist_synopsis.rst
-
--reference/vmod_std.generated.rst: $(top_srcdir)/lib/libvmod_std/vmod_std.rst
-+reference/vmod_std.generated.rst: $(top_builddir)/lib/libvmod_std/vmod_std.rst
-+ mkdir -p reference
- cp $? $@
- BUILT_SOURCES += reference/vmod_std.generated.rst
-
--reference/vmod_directors.generated.rst: $(top_srcdir)/lib/libvmod_directors/vmod_directors.rst
-+reference/vmod_directors.generated.rst: $(top_builddir)/lib/libvmod_directors/vmod_directors.rst
-+ mkdir -p reference
- cp $? $@
- BUILT_SOURCES += reference/vmod_directors.generated.rst
-
diff --git a/www-servers/varnish/files/varnish-4.0.1-fix-warning.patch b/www-servers/varnish/files/varnish-4.0.1-fix-warning.patch
deleted file mode 100644
index ae327292fb7c..000000000000
--- a/www-servers/varnish/files/varnish-4.0.1-fix-warning.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur /root/varnish-4.0.1/lib/libvcc/vcc_expr.c varnish-4.0.1/lib/libvcc/vcc_expr.c
---- /root/varnish-4.0.1/lib/libvcc/vcc_expr.c 2014-06-25 07:06:42.550508615 -0400
-+++ varnish-4.0.1/lib/libvcc/vcc_expr.c 2014-06-23 09:43:06.000000000 -0400
-@@ -670,7 +670,7 @@
- struct expr *e1, *e2;
- const char *ip;
- const struct symbol *sym;
-- double d;
-+ double d = 0.0;
-
- *e = NULL;
- if (tl->t->tok == '(') {
diff --git a/www-servers/varnish/files/varnishd.confd-r1 b/www-servers/varnish/files/varnishd.confd-r1
deleted file mode 100644
index 472b26f99426..000000000000
--- a/www-servers/varnish/files/varnishd.confd-r1
+++ /dev/null
@@ -1,22 +0,0 @@
-# /etc/conf.d/varnishd
-
-VARNISHD="/usr/sbin/varnishd"
-VARNISHADM="/usr/bin/varnishadm"
-CONFIGFILE="/etc/varnish/default.vcl"
-
-# Listen on 127.0.0.1:8080 and connect to backend 127.0.0.1:80
-# Ignore the config file, /etc/varnish/default.vcl
-VARNISHD_OPTS="-a 127.0.0.1:8080 -b 127.0.0.1:80"
-
-# Alternatively, don't listen to a backend and use
-# the config file
-#VARNISHD_OPTS="-a 127.0.0.1:8080 -f $CONFIGFILE"
-
-# arguments passed to varnishncsa
-# please see the varnishncsa man page for more options
-VARNISHNCSA_ARGS="-c -a -w /var/log/varnish/access.log"
-
-# We need to increase the number of open files (-n)
-# and the maximum amount off locked memory (-l)
-# See bug #459142
-rc_ulimit="-n 32786 -l 82000"
diff --git a/www-servers/varnish/files/varnishd.initd-r1 b/www-servers/varnish/files/varnishd.initd-r1
deleted file mode 100644
index 54487ca6e9eb..000000000000
--- a/www-servers/varnish/files/varnishd.initd-r1
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-extra_commands="configtest"
-extra_started_commands="reload"
-
-description_configtest="Run syntax tests for configuration files."
-description_reload="Reloads the configuration."
-
-depend() {
- need net
-}
-
-configtest() {
- ebegin "Checking ${SVCNAME} configuration"
- checkconfig
- eend $?
-}
-
-checkconfig() {
- ${VARNISHD} -C -f ${CONFIGFILE} >/dev/null 2>&1
- ret=$?
- if [ $ret -ne 0 ]; then
- eerror "${SVCNAME} has detected an error in your setup:"
- ${VARNISHD} -C -f ${CONFIGFILE}
- fi
-
- return $ret
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting varnish"
- start-stop-daemon --quiet --start --pidfile /var/run/varnishd.pid --exec ${VARNISHD} -- -P /var/run/varnishd.pid ${VARNISHD_OPTS} &> /dev/null
- eend $?
-
- if [ "${VARNISHNCSA_ARGS}" != "" ]; then
- ebegin "Starting varnish logging"
- start-stop-daemon --quiet --start --pidfile /var/run/varnishncsa.pid --exec /usr/bin/varnishncsa -- -D -P /var/run/varnishncsa.pid ${VARNISHNCSA_ARGS}
- eend $?
- fi
-}
-
-stop() {
- ebegin "Stopping varnish"
- start-stop-daemon --quiet --stop --pidfile /var/run/varnishd.pid
- eend $?
-
- if [ -e /var/run/varnishncsa.pid ]; then
- ebegin "Stopping varnish logging"
- start-stop-daemon --quiet --stop --pidfile /var/run/varnishncsa.pid
- eend $?
- fi
-}
-
-reload() {
- checkconfig || return 1
-
- ebegin "Reloading varnish"
-
- $VARNISHADM vcl.list >/dev/null 2>&1
- ret=$?
- if [ $ret -ne 0 ]; then
- eerror "${SVCNAME} cannot list configuration"
- return 1
- fi
-
- new_config="reload_$(date +%FT%H:%M:%S)"
- $VARNISHADM vcl.load $new_config $CONFIGFILE >/dev/null 2>&1
- ret=$?
- if [ $ret -ne 0 ]; then
- eerror "${SVCNAME} cannot load configuration"
- return 1
- fi
-
- $VARNISHADM vcl.use $new_config >/dev/null 2>&1
- ret=$?
- if [ $ret -ne 0 ]; then
- eerror "${SVCNAME} cannot switch configuration"
- return 1
- fi
-
- eend 0
-}