]> err.no Git - varnish/commitdiff
Debian pakking er flyttet til svn://svn.debian.org/svn/pkg-varnish/packages/varnish...
authorbahner <bahner@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Apr 2008 09:42:16 +0000 (09:42 +0000)
committerbahner <bahner@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Apr 2008 09:42:16 +0000 (09:42 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2618 d4fa192b-c00b-0410-8231-f00ffab90ce4

25 files changed:
varnish-cache/debian/Makefile.am [deleted file]
varnish-cache/debian/README.Debian [deleted file]
varnish-cache/debian/changelog [deleted file]
varnish-cache/debian/compat [deleted file]
varnish-cache/debian/control [deleted file]
varnish-cache/debian/copyright [deleted file]
varnish-cache/debian/dirs [deleted file]
varnish-cache/debian/libvarnish0-dev.dirs [deleted file]
varnish-cache/debian/libvarnish0-dev.install [deleted file]
varnish-cache/debian/libvarnish0.dirs [deleted file]
varnish-cache/debian/libvarnish0.install [deleted file]
varnish-cache/debian/rules [deleted file]
varnish-cache/debian/source.lintian-overrides [deleted file]
varnish-cache/debian/varnish.default [deleted file]
varnish-cache/debian/varnish.dirs [deleted file]
varnish-cache/debian/varnish.docs [deleted file]
varnish-cache/debian/varnish.examples [deleted file]
varnish-cache/debian/varnish.init [deleted file]
varnish-cache/debian/varnish.install [deleted file]
varnish-cache/debian/varnish.logrotate [deleted file]
varnish-cache/debian/varnish.manpages [deleted file]
varnish-cache/debian/varnish.postinst [deleted file]
varnish-cache/debian/varnish.postrm [deleted file]
varnish-cache/debian/varnish.varnishlog.init [deleted file]
varnish-cache/debian/watch [deleted file]

diff --git a/varnish-cache/debian/Makefile.am b/varnish-cache/debian/Makefile.am
deleted file mode 100644 (file)
index a21edd0..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-
-EXTRA_DIST =                   \
-       README.Debian           \
-       TODO                    \
-       changelog               \
-       compat                  \
-       control                 \
-       copyright               \
-       dirs                    \
-       docs                    \
-       libvarnish0-dev.dirs    \
-       libvarnish0-dev.install \
-       libvarnish0.dirs        \
-       libvarnish0.install     \
-       lintian-override        \
-       rules                   \
-       varnish.default         \
-       varnish.dirs            \
-       varnish.examples        \
-       varnish.init            \
-       varnish.install         \
-       varnish.logrotate       \
-       varnish.manpages        \
-       varnish.postinst        \
-       varnish.postrm          \
-       varnish.varnishlog.init \
-       watch
diff --git a/varnish-cache/debian/README.Debian b/varnish-cache/debian/README.Debian
deleted file mode 100644 (file)
index 76c472f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-Important change for 1.1.1
-==========================
-
-Varnish now features use of ``-u'' and ``-g'' in the default
-configuration. If you have customized the defaults you may wish to
-make these changes yourself.
-
-GCC
-===
-Varnish requires a GCC-compiler compatible with the compiler used to
-build varnish with. This means GCC 4.1 on a standard Debian 4.0 system.
-
-Io. to be able to backport varnish however, I will remove the
-dependency on version 4.1 of the compiler and just require gcc, as 
-varnish should work fine with GCC 3.3 and above.
-
-
-Standard ports
-==============
-
-I have configured varnish to simply put up an accelerator on port 6081
-pointing request at the local webserver. Varnish can then be 
-administered via port 6082. You probably want to change these ;)
-
-Of course to gain actual value from installing varnish, you want to move 
-varnishes listening port to port 80, and your webserver to 8080 or
-something.
-
-By setting varnish on port 6081 by default you will be able to take it
-for a spin right-out-of-the-box(tm).
-
-
-2006-10-12 Lars Bahner <bahner@debian.org>
diff --git a/varnish-cache/debian/changelog b/varnish-cache/debian/changelog
deleted file mode 100644 (file)
index efbe0c2..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-varnish (1.2-0) unstable; urgency=low
-
-  [ Stig Sandbeck Mathisen ]
-  * New upstream release.
-  * Check if varnishlog is running before attempting reload from
-    logrotate postscript. (Closes: #462029)
-
-  [ Fabio Tranchitella ]
-  * debian/varnish.dirs: removed unused lintian overrides dir.
-  * debian/rules: backup and restore of config.sub and config.guess to not
-    include them into the diff.gz in case of multiple builds from the same
-    working directory.
-
- -- Fabio Tranchitella <kobold@debian.org>  Mon, 24 Mar 2008 08:30:02 +0100
-
-varnish (1.1.2) unstable; urgency=low
-
-  * New upstream release
-  * Renamed library and development packages to reflect sonames
-
- -- Stig Sandbeck Mathisen <ssm@fnord.no>  Wed, 12 Sep 2007 16:05:22 +0200
-
-varnish (1.1.1-1) unstable; urgency=low
-
-  [Lars Bahner]
-  * New upstream release
-  * User and Group id added to default DAEMON_OPTS
-  * Added user and group creation to postinst
-  * Added missing man pages
-
-  [Stig Sandbeck Mathisen]
-  * Set statedir to /var/lib
-  * Removed -n switch from varnish defaults file and varnishlog init script.
-    Use the default instance name instead.
-
- -- Stig Sandbeck Mathisen <ssm@linpro.no>  Tue, 04 Sep 2007 12:27:09 +0200
-
-varnish (1.1-1) unstable; urgency=low
-
-  * New upstream release
-  * Split package into varnish, libvarnish and libvarnish-dev
-
- -- Stig Sandbeck Mathisen <ssm@linpro.no>  Fri, 20 Jul 2007 14:37:36 +0200
-
-varnish (1.0.4-1) unstable; urgency=low
-
-  * New upstream version (Closes: #424560)
-  * Use the upstream default configuration file, renamed to default.vcl.
-    Default template in /etc/default/varnish does not use this, but a
-    commented-out alternative does.
-  * Changed init script.  Use lsb init library functions, move more defaults
-    to /etc/default/varnish, to make init script simpler.
-  * Changed postrm, /var/lib/varnish disappeared on upgrade, making varnish
-    non-startable.
-  * Added example vcl for zope and plone.
-
- -- ssm <ssm@linpro.no>  Wed, 16 May 2007 13:50:08 +0200
-
-varnish (1.0.3-2) unstable; urgency=low
-
-  * Added postrm to partially solve 400384 
-
- -- Lars Bahner <bahner@debian.org>  Tue, 27 Feb 2007 20:41:10 +0100
-
-varnish (1.0.3-1) unstable; urgency=low
-
-  * new upstream release
-  * set VARNISH_MAX_WORKER_THREADS to 2048 instead of INF.
-    (closes: #412004)
-
- -- Lars Bahner <bahner@debian.org>  Tue, 27 Feb 2007 20:16:38 +0100
-
-varnish (1.0.2-2) unstable; urgency=low
-
-  * Preliminary LSB compliabnce in init-script
-  * Lintian override
-
- -- Lars Bahner <bahner@debian.org>  Mon, 23 Oct 2006 14:20:22 +0200
-
-varnish (1.0.2-1) unstable; urgency=low
-
-  * New upstream release
-
- -- Lars Bahner <bahner@linpro.no>  Thu, 19 Oct 2006 15:51:37 +0200
-
-varnish (1.0.2-1~svn20061012) unstable; urgency=low
-
-  * Added README for Debian
-  * svn-based source
-  * Added target to create configure to build from pristine source
-  * Added init-script and defaults
-  * Moved backend storage to /var/lib/varnish/
-
- -- Lars Bahner <bahner@linpro.no>  Fri, 13 Oct 2006 09:58:13 +0200
-
-varnish (1.0.1-3) unstable; urgency=low
-
-  * Bumped automake dependency to automake1.9
-
- -- Lars Bahner <bahner@debian.org>  Tue, 10 Oct 2006 15:00:39 +0200
-
-varnish (1.0.1-2) unstable; urgency=low
-
-  * Removed wrong upstream author.
-  * Added dependency on gcc-4.1 needed by varnish at runtime.
-
- -- Lars Bahner <bahner@debian.org>  Fri,  6 Oct 2006 17:54:53 +0200
-
-varnish (1.0.1-1) unstable; urgency=low
-
-  * Initial release (Closes: #382451)
-
- -- Lars Bahner <bahner@debian.org>  Fri,  6 Oct 2006 16:26:57 +0200
-
diff --git a/varnish-cache/debian/compat b/varnish-cache/debian/compat
deleted file mode 100644 (file)
index 7ed6ff8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/varnish-cache/debian/control b/varnish-cache/debian/control
deleted file mode 100644 (file)
index c631c5d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-Source: varnish
-Section: web
-Priority: optional
-Maintainer: Stig Sandbeck Mathisen <ssm@fnord.no>
-Uploaders: Lars Bahner <bahner@debian.org>, Fabio Tranchitella <kobold@debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, automake1.9, libtool, autoconf, libncurses-dev, xsltproc
-XS-Vcs-Browser: http://varnish.projects.linpro.no/browser/trunk/varnish-cache
-XS-Vcs-Svn: http://varnish.projects.linpro.no/svn/trunk/varnish-cache
-Standards-Version: 3.7.3
-
-Package: varnish
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, gcc ( >= 3.3), libc6-dev | libc-dev, adduser
-Description: A state-of-the-art, high-performance HTTP accelerator
- varnish is the server-side alternative to Squid, written primarily with
- speed in mind, and with a look to implementing full ESI-support in
- a future release.
- .
- The goal of the Varnish project is to develop a state-of-the-art,
- high-performance HTTP accelerator.
- .
- Varnish is targeted primarily at the FreeBSD 6 and Linux 2.6 platforms, and
- will take full advantage of the advanced I/O features offered by these
- operating systems. 
-
-Package: libvarnish0
-Section: libs
-Replaces: libvarnish
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Shared libraries for Varnish
- Shared libraries for the Varnish HTTP accelerator.
-
-Package: libvarnish0-dev
-Section: libdevel
-Replaces: libvarnish-dev
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libvarnish0
-Description: Shared library for Varnish
- Development files for the Varnish library.
diff --git a/varnish-cache/debian/copyright b/varnish-cache/debian/copyright
deleted file mode 100644 (file)
index 3300080..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-This package was debianized by Lars Bahner <bahner@debian.org> on
-Fri,  6 Oct 2006 16:26:57 +0200.
-
-It was pulled from the Subversion repository with
-svn co http://varnish.projects.linpro.no/svn/trunk
-
-Debianizations are an integral part of the main source for varnish,
-so the change for Debian are made before publication of releases, 
-and are as such checked.
-
-Files are downloadable from the following URL
-http://sourceforge.net/project/showfiles.php?group_id=155816
-
-Copyright:     2006 Verdens Gang AS
-               2006 Linpro AS
-All rights reserved.
-
-License:
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
-   notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
-   notice, this list of conditions and the following disclaimer in the
-   documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
-
-The Debian packaging is (C) 2006, Lars Bahner <bahner@debian.org> and
-is licensed under the GPL version 2. The full text of which can be found
-in the file /usr/share/common-licenses/GPL-2 on this system.
diff --git a/varnish-cache/debian/dirs b/varnish-cache/debian/dirs
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/varnish-cache/debian/libvarnish0-dev.dirs b/varnish-cache/debian/libvarnish0-dev.dirs
deleted file mode 100644 (file)
index 6845771..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib
diff --git a/varnish-cache/debian/libvarnish0-dev.install b/varnish-cache/debian/libvarnish0-dev.install
deleted file mode 100644 (file)
index f746d9b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/include
-usr/lib/*.a
-usr/lib/*.la
diff --git a/varnish-cache/debian/libvarnish0.dirs b/varnish-cache/debian/libvarnish0.dirs
deleted file mode 100644 (file)
index 6845771..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib
diff --git a/varnish-cache/debian/libvarnish0.install b/varnish-cache/debian/libvarnish0.install
deleted file mode 100644 (file)
index d0dbfd1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/lib*.so.*
diff --git a/varnish-cache/debian/rules b/varnish-cache/debian/rules
deleted file mode 100755 (executable)
index 32d14d4..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
-
-configure:
-       ./autogen.sh
-
-config.status: configure
-       dh_testdir
-       # The boilerplate linker flags won't allow varnish to compile :(
-       # There are circular dependencies in the varnish libraries, but
-       # the core developers have OK'ed that we don't check.
-       [ -r /usr/share/misc/config.sub ] && \
-           cp -f /usr/share/misc/config.sub config.sub || true
-       [ -r /usr/share/misc/config.guess ] && \
-           cp -f /usr/share/misc/config.guess config.guess || true
-       ./configure \
-           --host=$(DEB_HOST_GNU_TYPE) \
-           --build=$(DEB_BUILD_GNU_TYPE) \
-           --prefix=/usr \
-               --mandir=\$${prefix}/share/man \
-               --infodir=\$${prefix}/share/info \
-               CFLAGS="$(CFLAGS)" --localstatedir=/var/lib
-
-build: build-stamp
-
-build-stamp:  config.status
-       dh_testdir
-       $(MAKE)
-       touch $@
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp 
-       [ -f config.sub.orig ] && mv config.sub.orig config.sub || true
-       [ -f config.guess.orig ] && mv config.sub.orig config.guess || true
-       dh_clean 
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-       dh_install --sourcedir=$(CURDIR)/debian/tmp
-       install -m 644 $(CURDIR)/etc/default.vcl $(CURDIR)/debian/varnish/etc/varnish/
-       install -m 644 $(CURDIR)/debian/varnish.logrotate $(CURDIR)/debian/varnish/etc/logrotate.d/varnish
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs ChangeLog
-       dh_installdocs
-       dh_installinit
-       dh_installinit --name=varnishlog
-       dh_installman
-       dh_installexamples
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_makeshlibs
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/varnish-cache/debian/source.lintian-overrides b/varnish-cache/debian/source.lintian-overrides
deleted file mode 100644 (file)
index 6b39afb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# This is a false positive, upstream Makefile removes config.* with "distclean"
-varnish source: configure-generated-file-in-source config.log
diff --git a/varnish-cache/debian/varnish.default b/varnish-cache/debian/varnish.default
deleted file mode 100644 (file)
index def4299..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-# Configuration file for varnish
-#
-# /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this
-# shell script fragment.
-#
-
-# Maximum number of open files (for ulimit -n)
-NFILES=131072
-
-# Maximum locked memory size (for ulimit -l)
-# Used for locking the shared memory log in memory.  If you increase log size,
-# you need to increase this number as well
-MEMLOCK=82000
-
-# Default varnish instance name is the local nodename.  Can be overridden with
-# the -n switch, to have more instances on a single server.
-INSTANCE=$(uname -n)
-
-# Uncomment this to enable varnishlog.  Please make sure you have
-# enough disk space for significant amounts of log data.  To disable
-# varnishlog, set the variable to "0", "no", or leave it unset.
-# VARNISHLOG_ENABLED=1
-
-# This file contains 4 alternatives, please use only one.
-
-## Alternative 1, Minimal configuration, no VCL
-#
-# Listen on port 6081, administration on localhost:6082, and forward to
-# content server on localhost:8080.  Use a fixed-size cache file.
-#
-DAEMON_OPTS="-a :6081 \
-             -T localhost:6082 \
-            -b localhost:8080 \
-            -u varnish -g varnish \
-            -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
-
-
-## Alternative 2, Configuration with VCL
-#
-# Listen on port 6081, administration on localhost:6082, and forward to
-# one content server selected by the vcl file, based on the request.  Use a
-# fixed-size cache file.
-#
-# DAEMON_OPTS="-a :6081 \
-#              -T localhost:6082 \
-#              -f /etc/varnish/default.vcl \
-#              -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
-
-
-## Alternative 3, Advanced configuration
-#
-# See varnishd(1) for more information.
-#
-# # Main configuration file. You probably want to change it :)
-# VARNISH_VCL_CONF=/etc/varnish/default.vcl
-#
-# # Default address and port to bind to
-# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify
-# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.
-# VARNISH_LISTEN_ADDRESS=
-# VARNISH_LISTEN_PORT=6081
-#
-# # Telnet admin interface listen address and port
-# VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
-# VARNISH_ADMIN_LISTEN_PORT=6082
-#
-# # The minimum number of worker threads to start
-# VARNISH_MIN_THREADS=1
-#
-# # The Maximum number of worker threads to start
-# VARNISH_MAX_THREADS=1000
-#
-# # Idle timeout for worker threads
-# VARNISH_THREAD_TIMEOUT=120
-#
-# # Cache file location
-# VARNISH_STORAGE_FILE=/var/lib/varnish/$INSTANCE/varnish_storage.bin
-#
-# # Cache file size: in bytes, optionally using k / M / G / T suffix,
-# # or in percentage of available disk space using the % suffix.
-# VARNISH_STORAGE_SIZE=1G
-#
-# # Backend storage specification
-# VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
-#
-# # Default TTL used when the backend does not specify one
-# VARNISH_TTL=120
-#
-# # DAEMON_OPTS is used by the init script.  If you add or remove options, make
-# # sure you update this section, too.
-# DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
-#              -f ${VARNISH_VCL_CONF} \
-#              -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
-#              -t ${VARNISH_TTL} \
-#              -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
-#              -s ${VARNISH_STORAGE}"
-#
-
-
-## Alternative 4, Do It Yourself
-#
-# DAEMON_OPTS=""
diff --git a/varnish-cache/debian/varnish.dirs b/varnish-cache/debian/varnish.dirs
deleted file mode 100644 (file)
index 0cc7fb0..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-etc/varnish
-etc/logrotate.d
-usr/bin
-usr/sbin
-var/log
-var/log/varnish
-var/lib/varnish
diff --git a/varnish-cache/debian/varnish.docs b/varnish-cache/debian/varnish.docs
deleted file mode 100644 (file)
index ebc6608..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-README
-doc/*.html
diff --git a/varnish-cache/debian/varnish.examples b/varnish-cache/debian/varnish.examples
deleted file mode 100644 (file)
index a916c59..0000000
+++ /dev/null
@@ -1 +0,0 @@
-etc/zope-plone.vcl
diff --git a/varnish-cache/debian/varnish.init b/varnish-cache/debian/varnish.init
deleted file mode 100644 (file)
index 1e13a33..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#! /bin/sh
-#
-# varnish       Control the varnish HTTP accelerator
-
-### BEGIN INIT INFO
-# Provides:          varnish
-# Required-Start:    $local_fs $network
-# Required-Stop:     $local_fs $network
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Start HTTP accelerator
-# Description:       This script provides a server-side cache
-#                    to be run in front of a httpd and should
-#                    listen on port 80 on a properly configured
-#                    system
-### END INIT INFO
-
-# Source function library
-. /lib/lsb/init-functions
-
-NAME=varnishd
-DESC="HTTP accelerator"
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/varnishd
-PIDFILE=/var/run/$NAME.pid
-
-test -x $DAEMON || exit 0
-
-# Include varnish defaults if available
-if [ -f /etc/default/varnish ] ; then
-        . /etc/default/varnish
-fi
-
-# Open files (usually 1024, which is way too small for varnish)
-ulimit -n ${NFILES:-131072}
-
-# Maxiumum locked memory size for shared memory log
-ulimit -l ${MEMLOCK:-82000}
-
-# If $DAEMON_OPTS is not set at all in /etc/default/varnish, use minimal useful
-# defaults (Backend at localhost:8080, a common place to put a locally
-# installed application server.)
-DAEMON_OPTS=${DAEMON_OPTS:--b localhost}
-
-case "$1" in
-       start)
-               output=$(/bin/tempfile -s.varnish)
-               log_daemon_msg "Starting $DESC" 
-               log_progress_msg $NAME
-                if start-stop-daemon \
-                  --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON} -- \
-                   -P ${PIDFILE} ${DAEMON_OPTS} > ${output} 2>&1; then
-                       log_end_msg 0
-               else
-                       log_end_msg 1
-                       cat $output
-                       exit 1
-               fi
-               rm $output
-               ;;
-       stop)
-               log_daemon_msg "Stopping $DESC"
-               log_progress_msg $NAME
-               if start-stop-daemon \
-                  --stop --quiet --pidfile $PIDFILE --retry 10 \
-                  --exec $DAEMON; then
-                       log_end_msg 0
-               else
-                       log_end_msg 1
-               fi
-               ;;
-       restart|force-reload)
-               $0 stop
-               $0 start
-               ;;
-       *)
-               log_success_msg "Usage: $0 {start|stop|restart|force-reload}"
-               exit 1
-        ;;
-esac
-
-exit 0
diff --git a/varnish-cache/debian/varnish.install b/varnish-cache/debian/varnish.install
deleted file mode 100644 (file)
index ca882bb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --git a/varnish-cache/debian/varnish.logrotate b/varnish-cache/debian/varnish.logrotate
deleted file mode 100644 (file)
index b924702..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/var/log/varnish/varnish.log {
-  daily
-  rotate 7
-  compress
-  delaycompress
-  postrotate
-    if /usr/bin/pgrep -P 1 varnishlog >/dev/null; then
-      /usr/sbin/invoke-rc.d varnishlog reload > /dev/null
-    fi
-  endscript
-}
diff --git a/varnish-cache/debian/varnish.manpages b/varnish-cache/debian/varnish.manpages
deleted file mode 100644 (file)
index 609891b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-bin/varnishncsa/varnishncsa.1
-bin/varnishhist/varnishhist.1
-bin/varnishstat/varnishstat.1
-bin/varnishreplay/varnishreplay.1
-bin/varnishadm/varnishadm.1
-bin/varnishlog/varnishlog.1
-bin/varnishtop/varnishtop.1
-bin/varnishd/varnishd.1
-man/vcl.7
diff --git a/varnish-cache/debian/varnish.postinst b/varnish-cache/debian/varnish.postinst
deleted file mode 100644 (file)
index f8264bc..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-varnish_setup_user() {
-        if ! id varnish > /dev/null 2>&1 ; then
-                adduser --system --no-create-home --group varnish 2>&1 > /dev/null || exit 78
-        fi
-}
-varnish_create_storagedir() {
-       install -o varnish -g varnish -d /var/lib/varnish/$(uname -n) || exit 78
-}
-
-varnish_setup_user
-varnish_create_storagedir
-
-#DEBHELPER#
diff --git a/varnish-cache/debian/varnish.postrm b/varnish-cache/debian/varnish.postrm
deleted file mode 100644 (file)
index d0b0b20..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#! /bin/sh -e
-
-set -e
-
-case "$1" in
-       upgrade)
-       ;;
-
-        remove|failed-upgrade|abort-install|abort-upgrade|disappear)
-
-        if test -e /var/log/varnish ; then
-
-            rm -rf /var/log/varnish 2>&1 > /dev/null || exit 78
-
-        fi
-
-        if test -e /var/lib/varnish; then
-        
-                rm -rf /var/lib/varnish 2>&1 > /dev/null || exit 78
-        fi
-
-        ;;
-
-        purge)
-
-        if test -e /var/log/varnish; then 
-
-                rm -rf /var/log/varnish 2>&1 > /dev/null || exit 78
-                
-        fi
-
-        if test -e /var/lib/varnish; then
-        
-                rm -rf /var/lib/varnish 2>&1 > /dev/null || exit 78
-        fi
-
-        ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 64
-
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/varnish-cache/debian/varnish.varnishlog.init b/varnish-cache/debian/varnish.varnishlog.init
deleted file mode 100755 (executable)
index 7558c5c..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-#! /bin/sh
-#
-# varnish       Control the varnish HTTP accelerator
-
-### BEGIN INIT INFO
-# Provides:          varnishlog
-# Required-Start:    $local_fs $network
-# Required-Stop:     $local_fs $network
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Start HTTP accelerator log daemon
-# Description:       This script provides logging for varnish
-### END INIT INFO
-
-# Source function library
-. /lib/lsb/init-functions
-
-NAME=varnishlog
-DESC="HTTP accelerator log deamon"
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/bin/$NAME
-PIDFILE=/var/run/$NAME.pid
-LOGFILE=/var/log/varnish/varnish.log
-
-# Include varnish defaults if available
-if [ -f /etc/default/varnish ] ; then
-        . /etc/default/varnish
-fi
-
-# If unset, or set to "0" or "no", exit
-if [ -z "${VARNISHLOG_ENABLED}" -o "${VARNISHLOG_ENABLED}" == "0" \
-     -o "${VARNISHLOG_ENABLED}" == "no" ]; then
-  exit 0;
-fi
-
-test -x $DAEMON || exit 0
-
-DAEMON_OPTS="-a -w ${LOGFILE} -D -P $PIDFILE"
-
-case "$1" in
-       start)
-               output=$(/bin/tempfile -s.varnish)
-               log_daemon_msg "Starting $DESC" 
-               log_progress_msg $NAME
-                if start-stop-daemon \
-                  --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON} -- \
-                   ${DAEMON_OPTS} > ${output} 2>&1; then
-                       log_end_msg 0
-               else
-                       log_end_msg 1
-                       cat $output
-                       exit 1
-               fi
-               rm $output
-               ;;
-       stop)
-               log_daemon_msg "Stopping $DESC"
-               log_progress_msg $NAME
-               if start-stop-daemon \
-                  --stop --quiet --pidfile $PIDFILE --retry 10 \
-                  --exec $DAEMON; then
-                       log_end_msg 0
-               else
-                       log_end_msg 1
-               fi
-               ;;
-       reload)
-               log_daemon_msg "Reloading $DESC"
-               log_progress_msg $NAME
-               if kill -HUP $(cat $PIDFILE) >/dev/null 2>&1; then
-                       log_end_msg 0
-               else
-                       log_end_msg 1
-                       exit 1
-               fi
-               ;;
-       restart|force-reload)
-               $0 stop
-               $0 start
-               ;;
-       *)
-               log_success_msg "Usage: $0 {start|stop|restart|force-reload|reload}"
-               exit 1
-        ;;
-esac
-
-exit 0
diff --git a/varnish-cache/debian/watch b/varnish-cache/debian/watch
deleted file mode 100644 (file)
index f78771a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-version=3
-
-# New versions of Varnish are available at SourceForge
-http://sf.net/varnish/varnish-(.*)\.tar\.gz