network/putty: Updated for version 0.63, new maintainer.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-03-12 12:31:04 -05:00 committed by Erik Hanson
parent 2079d92a40
commit cd48a72e4a
7 changed files with 29 additions and 10 deletions

View file

@ -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.

3
network/putty/doinst.sh Normal file
View file

@ -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

View file

@ -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}

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=putty
GenericName=Putty
Icon=putty
Exec=putty
Terminal=false
Categories=Network

View file

@ -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"

BIN
network/putty/putty.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

View file

@ -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: