system/dash: Updated for version 0.5.9.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Donald Cooley 2017-02-17 12:06:46 +00:00 committed by David Spencer
parent 35d5bf2f3c
commit 3afe0aa044
4 changed files with 18 additions and 2404 deletions

View file

@ -1,13 +1,4 @@
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as
small as possible. It does this without sacrificing speed where possible.
In fact, it is significantly faster than bash (the GNU Bourne-Again SHell)
for most tasks.
To patch in fixes from current git, add 'USE_GIT_PATCH=yes' to the command
line when building, like this:
# USE_GIT_PATCH=yes sh dash.Slackbuild
or, if you use fakeroot to build:
$ fakeroot env USE_GIT_PATCH=yes sh dash.SlackBuild
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as
small as possible. It does this without sacrificing speed where
possible. In fact, it is significantly faster than bash (the GNU
Bourne-Again SHell) for most tasks.

View file

@ -3,17 +3,16 @@
# Slackware build script for dash
# Written by Vincent Batts, http://hashbangbash.com/
# Copyright 2017 Donald Cooley South Haven, Indiana USA
PRGNAM=dash
VERSION=${VERSION:-0.5.8}
_PATCH_VERS=${PATCH_VERS:-git_d7582e6}
VERSION=${VERSION:-0.5.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
USE_GIT_PATCH=${USE_GIT_PATCH:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -24,8 +23,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -47,13 +46,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
# add fixes from upstream devel, if requested
if [ "$USE_GIT_PATCH" = "yes" ] && \
[ -f $CWD/patches/dash-${VERSION}-${_PATCH_VERS}.diff ]; then
patch -p1 < $CWD/patches/dash-${VERSION}-${_PATCH_VERS}.diff
VERSION="${VERSION}.${_PATCH_VERS}"
fi
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -78,14 +70,16 @@ make install DESTDIR=$PKG
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin ; ln -s /bin/dash dash )
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING ChangeLog \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="dash"
VERSION="0.5.8"
VERSION="0.5.9.1"
HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
DOWNLOAD="http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.8.tar.gz"
MD5SUM="5c152209680dab3c319e8923f6c51378"
DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/dash/dash-0.5.9.1.tar.gz"
MD5SUM="6472702a8d9760d166ef8333dcb527a6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="John Vogel"
EMAIL="jvogel4@stny.rr.com"
MAINTAINER="Donald Cooley"
EMAIL="chytraeu@sdf.org"

File diff suppressed because it is too large Load diff