summaryrefslogtreecommitdiff
path: root/network/varnish
diff options
context:
space:
mode:
Diffstat (limited to 'network/varnish')
-rw-r--r--network/varnish/rc.varnishd5
-rw-r--r--network/varnish/varnish.SlackBuild26
-rw-r--r--network/varnish/varnish.info10
3 files changed, 29 insertions, 12 deletions
diff --git a/network/varnish/rc.varnishd b/network/varnish/rc.varnishd
index 51be3f59ed..f3cfc86a81 100644
--- a/network/varnish/rc.varnishd
+++ b/network/varnish/rc.varnishd
@@ -1,8 +1,7 @@
#!/bin/sh
#
-# Written to control varnish daemon for Slackware Linux
-# by Cherife Li <cherife@dotimes.com>.
-#
+# Varnish daemon control script.
+# Written for Slackware Linux by Cherife Li <cherife-#-dotimes.com>.
VARNISH_VCL_CONF=/etc/varnish/default.vcl
VARNISH_PIDFILE=/var/run/varnish.pid
diff --git a/network/varnish/varnish.SlackBuild b/network/varnish/varnish.SlackBuild
index acc7ae779f..34a35df72d 100644
--- a/network/varnish/varnish.SlackBuild
+++ b/network/varnish/varnish.SlackBuild
@@ -1,12 +1,29 @@
#!/bin/sh
#
# Slackware build script for ganglia
-# Written by Cherife Li <cherife@dotimes.com>
-# Modified by Robby Workman <rworkman@slackbuilds.org>
#
+# Copyright 2008 Cherife Li <cherife-#-dotimes.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 THE AUTHOR 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.
PRGNAM=varnish
-VERSION=1.1.2
+VERSION=${VERSION:-2.0.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,6 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc/varnish \
--localstatedir=/var \
--mandir=/usr/man \
+ --enable-static=no \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
@@ -63,7 +81,7 @@ cat $CWD/rc.varnishd > $PKG/etc/rc.d/rc.varnishd.new
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENSE INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog INSTALL LICENSE README doc/*.{xml,xsl,html,css} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/man
diff --git a/network/varnish/varnish.info b/network/varnish/varnish.info
index e60a186d44..8c29c1523b 100644
--- a/network/varnish/varnish.info
+++ b/network/varnish/varnish.info
@@ -1,8 +1,8 @@
PRGNAM="varnish"
-VERSION="1.1.2"
+VERSION="2.0.2"
HOMEPAGE="http://varnish.projects.linpro.no/"
-DOWNLOAD="http://downloads.sourceforge.net/varnish/varnish-1.1.2.tar.gz"
-MD5SUM="d9f74dae59a2158cdc31f446b6d92397"
+DOWNLOAD="http://downloads.sourceforge.net/varnish/varnish-2.0.2.tar.gz"
+MD5SUM="131f502a9a507b9ce0a7a91b22528e0c"
MAINTAINER="Cherife Li"
-EMAIL="cherife@dotimes.com"
-APPROVED="David Somero"
+EMAIL="cherife-#-dotimes.com"
+APPROVED="dsomero"