diff options
author | Cherife Li <cherife-#-dotimes.com> | 2010-05-12 17:44:24 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:44:24 +0200 |
commit | 1ecd34752cc70faa167f0b40483b709765425656 (patch) | |
tree | 048a3224dc87274b5dd924f0e8e64bd1f1912f7f /network/varnish/varnish.SlackBuild | |
parent | 3297fdbd30046eaa32c9b37a6da70622e4408020 (diff) | |
download | slackbuilds-1ecd34752cc70faa167f0b40483b709765425656.tar.gz |
network/varnish: Updated for version 2.0.2
Diffstat (limited to 'network/varnish/varnish.SlackBuild')
-rw-r--r-- | network/varnish/varnish.SlackBuild | 26 |
1 files changed, 22 insertions, 4 deletions
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 |