aboutsummaryrefslogtreecommitdiff
path: root/network/putty
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-12 12:31:04 -0500
committerErik Hanson <erik@slackbuilds.org>2014-03-12 12:31:04 -0500
commitcd48a72e4aa1985764b4f3b96993fd5166071805 (patch)
treed82b3b26a6f67f197def196e05e0b17bb5c51905 /network/putty
parent2079d92a4078e83795a0c8cbd086fddae00b20be (diff)
network/putty: Updated for version 0.63, new maintainer.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/putty')
-rw-r--r--network/putty/README2
-rw-r--r--network/putty/doinst.sh3
-rw-r--r--network/putty/putty.SlackBuild14
-rw-r--r--network/putty/putty.desktop8
-rw-r--r--network/putty/putty.info10
-rw-r--r--network/putty/putty.pngbin0 -> 724 bytes
-rw-r--r--network/putty/slack-desc2
7 files changed, 29 insertions, 10 deletions
diff --git a/network/putty/README b/network/putty/README
index 15f86de2983cd..dcab826cba0f2 100644
--- a/network/putty/README
+++ b/network/putty/README
@@ -4,4 +4,4 @@ maintained primarily by Simon Tatham.
PLEASE NOTE: The PuTTY package conflicts with pssh in Slackware. If
you install PuTTY, you'll overwrite the /usr/bin/pscp binary. After
-removing PuTTY, you will have to reinstall pssh (N series) again.
+removing PuTTY, you will have to reinstall pssh (n series) again.
diff --git a/network/putty/doinst.sh b/network/putty/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/network/putty/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/network/putty/putty.SlackBuild b/network/putty/putty.SlackBuild
index 20e30be677dc9..dd2ac44758dce 100644
--- a/network/putty/putty.SlackBuild
+++ b/network/putty/putty.SlackBuild
@@ -10,8 +10,11 @@
# Maintained by Binh Nguyen <binhvng@gmail.com>
# from version 0.62
+# Maintained by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# from version 0.63
+
PRGNAM=putty
-VERSION=${VERSION:-0.62}
+VERSION=${VERSION:-0.63}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,7 +67,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Create $PKG tree.
-mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION/html}
+mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION/html,share/applications,share/pixmaps}
cd unix
CFLAGS="$SLKCFLAGS -Wno-strict-aliasing" \
@@ -81,16 +84,21 @@ cd unix
make install DESTDIR=$PKG
cd ..
-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
+
+cp -a $CWD/putty.desktop $PKG/usr/share/applications/putty.desktop
+cp -a $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/putty/putty.desktop b/network/putty/putty.desktop
new file mode 100644
index 0000000000000..8f7bd1bbfca3f
--- /dev/null
+++ b/network/putty/putty.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=putty
+GenericName=Putty
+Icon=putty
+Exec=putty
+Terminal=false
+Categories=Network
diff --git a/network/putty/putty.info b/network/putty/putty.info
index 9494d190c272a..47f7a6de68ba8 100644
--- a/network/putty/putty.info
+++ b/network/putty/putty.info
@@ -1,10 +1,10 @@
PRGNAM="putty"
-VERSION="0.62"
+VERSION="0.63"
HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
-DOWNLOAD="ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-0.62/putty-0.62.tar.gz"
-MD5SUM="1344b606a680a9036df0fc3a05e62e71"
+DOWNLOAD="ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-0.63/putty-0.63.tar.gz"
+MD5SUM="567207b590a149656454d6e6ea7af124"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Binh Nguyen"
-EMAIL="binhvng@gmail.com"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/network/putty/putty.png b/network/putty/putty.png
new file mode 100644
index 0000000000000..8576ea97f8eec
--- /dev/null
+++ b/network/putty/putty.png
Binary files differ
diff --git a/network/putty/slack-desc b/network/putty/slack-desc
index 4083e2f158adb..3dc6d3d53c31b 100644
--- a/network/putty/slack-desc
+++ b/network/putty/slack-desc
@@ -12,7 +12,7 @@ putty: PuTTY is a free implementation of Telnet and SSH for Win32 and
putty: Unix platforms, along with an xterm terminal emulator. It is
putty: written and maintained primarily by Simon Tatham.
putty:
-putty:
+putty: Project URL: http://www.chiark.greenend.org.uk/~sgtatham/putty/
putty:
putty:
putty: