summaryrefslogtreecommitdiff
path: root/network/putty
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-28 09:26:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-28 09:26:20 +0700
commit9989d31f404c7ea8e4f443ad82b74b571d981958 (patch)
tree6ecc31fe6e6ad2e13d9c5468b969f6d5dc9cfad1 /network/putty
parent1d38c0044f18bccd88edf25bf50411d154b31aae (diff)
downloadslackbuilds-9989d31f404c7ea8e4f443ad82b74b571d981958.tar.gz
network/putty: Updated for version 0.77.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/putty')
-rw-r--r--network/putty/putty.SlackBuild26
-rw-r--r--network/putty/putty.info6
2 files changed, 12 insertions, 20 deletions
diff --git a/network/putty/putty.SlackBuild b/network/putty/putty.SlackBuild
index f93f70f0e1..005c3a921d 100644
--- a/network/putty/putty.SlackBuild
+++ b/network/putty/putty.SlackBuild
@@ -33,7 +33,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=putty
-VERSION=${VERSION:-0.76}
+VERSION=${VERSION:-0.77}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -46,9 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -96,19 +93,15 @@ find -L . \
# Create $PKG tree.
mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION/html,share/applications,share/pixmaps}
-cd unix
- CFLAGS="$SLKCFLAGS -Wno-strict-aliasing" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
- # Don't treat all warnings as errors
- sed -i 's/-Werror//' Makefile*
-
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -121,7 +114,6 @@ cp $CWD/putty.desktop $PKG/usr/share/applications/putty.desktop
cp $CWD/putty.png $PKG/usr/share/pixmaps/putty.png
cp -a README LICENCE doc/puttydoc.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/putty/putty.info b/network/putty/putty.info
index d6ef4251dd..8792a4a48f 100644
--- a/network/putty/putty.info
+++ b/network/putty/putty.info
@@ -1,8 +1,8 @@
PRGNAM="putty"
-VERSION="0.76"
+VERSION="0.77"
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
-DOWNLOAD="https://the.earth.li/~sgtatham/putty/latest/putty-0.76.tar.gz"
-MD5SUM="9d22f8c56c1eaa1c0af3098438f25908"
+DOWNLOAD="https://the.earth.li/~sgtatham/putty/latest/putty-0.77.tar.gz"
+MD5SUM="a6ffe10f1a3f63e7bfff0b212244fdf7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"