aboutsummaryrefslogtreecommitdiff
path: root/network/dropbear/dropbear.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2020-06-21 17:43:52 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-28 08:16:44 +0700
commit3187f475837a3682531c78d69224bc2155302987 (patch)
tree097505bd12ab49093105364777673ab3a35efa68 /network/dropbear/dropbear.SlackBuild
parent225dc26ce15eb5bb77bc894b63180aeaac2d852f (diff)
network/dropbear: Updated for version 2020.79.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dropbear/dropbear.SlackBuild')
-rw-r--r--network/dropbear/dropbear.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/network/dropbear/dropbear.SlackBuild b/network/dropbear/dropbear.SlackBuild
index e9bd3d6105b00..c1d58897ad860 100644
--- a/network/dropbear/dropbear.SlackBuild
+++ b/network/dropbear/dropbear.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 2007-2008, Piter Punk, São Paulo, Brazil
-# Copyright 2017-2019, Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2020, Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dropbear
-VERSION=${VERSION:-2019.78}
+VERSION=${VERSION:-2020.79}
+SRCVERSION="DROPBEAR_$VERSION"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -68,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -if
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \