mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
misc/siege: Updated for version 2.70.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
e932e113f4
commit
ca46ac39a0
2 changed files with 13 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue