From ca46ac39a08968acca806dfaa75eaa4c6e303b84 Mon Sep 17 00:00:00 2001 From: Menno Duursma Date: Mon, 25 Oct 2010 07:36:40 -0500 Subject: [PATCH] misc/siege: Updated for version 2.70. Signed-off-by: Erik Hanson --- misc/siege/siege.SlackBuild | 17 +++++++++-------- misc/siege/siege.info | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/misc/siege/siege.SlackBuild b/misc/siege/siege.SlackBuild index 912b7ded74..210e9bba76 100644 --- a/misc/siege/siege.SlackBuild +++ b/misc/siege/siege.SlackBuild @@ -9,16 +9,14 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=siege -VERSION=${VERSION:-2.69} +VERSION=${VERSION:-2.70} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -70,15 +68,18 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man || exit 1 - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING KNOWNBUGS MACHINES NEWS PLATFORM README* \ + $PKG/usr/doc/$PRGNAM-$VERSION -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html # Include .siegerc and url.txt examples cp -a doc/{urls.txt,siegerc} $PKG/usr/doc/$PRGNAM-$VERSION + # Test webpages +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a html/{README,basic.php,cache-control.php,cookie-test.php,etag.php,login.php} \ $PKG/usr/doc/$PRGNAM-$VERSION/html diff --git a/misc/siege/siege.info b/misc/siege/siege.info index f9e24759ce..500cd25b76 100644 --- a/misc/siege/siege.info +++ b/misc/siege/siege.info @@ -1,10 +1,10 @@ PRGNAM="siege" -VERSION="2.69" +VERSION="2.70" HOMEPAGE="http://www.joedog.org/index/siege-home" -DOWNLOAD="ftp://ftp.joedog.org/pub/siege/siege-2.69.tar.gz" -MD5SUM="77190ad255dfa14232137d03fd0d994b" +DOWNLOAD="ftp://ftp.joedog.org/pub/siege/siege-2.70.tar.gz" +MD5SUM="835c7a0606851357ebf03084ff546310" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Menno Duursma" EMAIL="druiloor@zonnet.nl" -APPROVED="rworkman" +APPROVED="Erik Hanson"