network/ckermit: Updated for version 9.0.304.23.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Rowland 2020-06-26 11:44:37 +01:00 committed by Willy Sudiarto Raharjo
parent 817772ad74
commit 061a31eb58
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 20 additions and 11 deletions

View file

@ -19,9 +19,10 @@ C-Kermit includes:
* Built-in scriptable FTP and HTTP clients plus an SSH interface
* Configurability as an SSH Subsystem
* Character-set translation in both file transfer and online sessions,
for Western- and Eastern-European languages, Cyrillic, Greek, Hebrew,
and Japanese, now including Unicode.
for Western- and Eastern-European languages, Cyrillic, Greek,
Hebrew, and Japanese, now including Unicode.
* Ability to send numeric and alphanumeric pages.
This SlackBuild installs a default initialization file in the documentation
directory. However, an initialization file is rarely required with ckermit.
This SlackBuild installs a default initialization file in the
documentation directory. However, an initialization file is rarely
required with ckermit.

View file

@ -5,7 +5,7 @@
# Written by Andrew Rowland (darowland@ieee.org)
PRGNAM=ckermit
VERSION=${VERSION:-9.0.302}
VERSION=${VERSION:-9.0.304.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -43,7 +43,14 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
tar xvf $CWD/cku302.tar.gz -C $PRGNAM-$VERSION
FILE=$(sed -En '/^9\.0\.([0-9]+)\.([0-9]+)$/s//cku\1-dev\2.tar.gz/p'<<<$VERSION)
if [ -z "$FILE" ]; then
FILE=$(sed -En '/^9\.0\.([0-9]+)$/s//cku\1.tar.gz/p'<<<$VERSION)
if [ -z "$FILE" ]; then
FILE=x.tar.gz
fi
fi
tar xvf $CWD/$FILE -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -55,7 +62,7 @@ find -L . \
# Force the makefile to accept our custom cflags
patch -p1 < $CWD/makefile-use-custom-cflags.diff
make linux OPT="$SLKCFLAGS"
make linux OPT="$SLKCFLAGS -D_IO_file_flags"
mkdir -p $PKG/usr/bin
cp -a wermit $PKG/usr/bin/kermit
@ -67,7 +74,8 @@ cp ckuker.nr $PKG/usr/man/man1/kermit.1
gzip -9 $PKG/usr/man/man1/kermit.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING.TXT ockermit.ini *.txt $PKG/usr/doc/$PRGNAM-$VERSION
shopt -s nullglob
cp -a COPYING.TXT *.ini *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/ckermit.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/ckermit.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="ckermit"
VERSION="9.0.302"
VERSION="9.0.304.23"
HOMEPAGE="http://www.kermitproject.org/ck90.html"
DOWNLOAD="ftp://ftp.kermitproject.org/kermit/archives/cku302.tar.gz"
MD5SUM="eac4dbf18b45775e4cdee5a7c74762b0"
DOWNLOAD="ftp://ftp.kermitproject.org/kermit/test/tar/cku304-dev23.tar.gz"
MD5SUM="fd42607a8875409141bce3318f16ca4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""