summaryrefslogtreecommitdiff
path: root/network/socat/socat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/socat/socat.SlackBuild')
-rw-r--r--network/socat/socat.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/socat/socat.SlackBuild b/network/socat/socat.SlackBuild
index 1d3f45af1e..724c4e1dc0 100644
--- a/network/socat/socat.SlackBuild
+++ b/network/socat/socat.SlackBuild
@@ -3,6 +3,7 @@
# Copyright 2009 Andrew Psaltis <ampsaltis@gmail.com>
# Copyright 2011 Grigorios Bouzakis <grbzks@imap.cc>
+# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -21,7 +22,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=socat
-VERSION=${VERSION:-1.7.2.1}
+VERSION=${VERSION:-1.7.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,15 +53,13 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="BUGREPORTS CHANGES COPYING COPYING.OpenSSL DEVELOPMENT EXAMPLES FAQ README README.FIPS SECURITY doc/*.html"
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -87,10 +86,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ BUGREPORTS CHANGES COPYING* DEVELOPMENT EXAMPLES FAQ README* SECURITY doc/*.{css,html} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install