aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-01-30 15:10:09 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-31 06:54:55 +0700
commit93881d2f85b1c45ccf18de64de90a94c854b50ff (patch)
treed0464dfb88d4986290fc0cc7c51816555fb3431b
parent5ca1ad77f744c3d31378fbcea0aeb3531b5a922f (diff)
network/sshuttle: copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/sshuttle/sshuttle.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/network/sshuttle/sshuttle.SlackBuild b/network/sshuttle/sshuttle.SlackBuild
index 118d5064792b7..556e57a2ca274 100644
--- a/network/sshuttle/sshuttle.SlackBuild
+++ b/network/sshuttle/sshuttle.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# SlackBuild script for "sshuttle".
+# Slackware build script for "sshuttle".
-# Copyright 2014 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -26,7 +26,7 @@
PRGNAM=sshuttle
VERSION=${VERSION:-0.61}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,7 @@ 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 {} \;
sed -i 's#DIR=.*#DIR=/usr/share/sshuttle#' sshuttle
@@ -97,7 +97,9 @@ cat $TMP/$PRGNAM-$VERSION/Documentation/$PRGNAM.8 | gzip -9c > \
$PKG/usr/man/man8/$PRGNAM.8.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install