network/httping: Updated for version 2.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-06-04 13:36:27 +07:00
parent 9c22ea1954
commit 9d5148307a
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# Slackware build script for HTTPing
# Slackware build script for httping
# Copyright 2010, Steven King <kingrst@gmail.com>
# All rights reserved.
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=httping
VERSION=${VERSION:-2.3.3}
VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,24 +67,23 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make \
OFLAGS="$SLKCFLAGS" \
MANDIR=/usr/man \
DOCDIR=/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/share/locale/nl/LC_MESSAGES
make install \
MANDIR=/usr/man \
DOCDIR=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="httping"
VERSION="2.3.3"
VERSION="2.4"
HOMEPAGE="http://www.vanheusden.com/httping/"
DOWNLOAD="http://www.vanheusden.com/httping/httping-2.3.3.tgz"
MD5SUM="a4ed1ab05a1cc9fc473ade53c1e5927b"
DOWNLOAD="http://www.vanheusden.com/httping/httping-2.4.tgz"
MD5SUM="3b4d003276c1346c32629b65262dfd1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""