diff options
author | Andrew Rowland <darowland@ieee.org> | 2020-06-26 11:44:37 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-28 08:16:49 +0700 |
commit | 061a31eb588d7e644130360f889591822270f24a (patch) | |
tree | ae9719c8188c690a152d1a316ac4e166d66138d7 /network/ckermit | |
parent | 817772ad74db53bd8faa096fac830a2864b54e85 (diff) |
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>
Diffstat (limited to 'network/ckermit')
-rw-r--r-- | network/ckermit/README | 9 | ||||
-rw-r--r-- | network/ckermit/ckermit.SlackBuild | 16 | ||||
-rw-r--r-- | network/ckermit/ckermit.info | 6 |
3 files changed, 20 insertions, 11 deletions
diff --git a/network/ckermit/README b/network/ckermit/README index 67eadee43e1d..ceca6cc69af0 100644 --- a/network/ckermit/README +++ b/network/ckermit/README @@ -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. diff --git a/network/ckermit/ckermit.SlackBuild b/network/ckermit/ckermit.SlackBuild index 8916e7d3fc4a..d62609d874e4 100644 --- a/network/ckermit/ckermit.SlackBuild +++ b/network/ckermit/ckermit.SlackBuild @@ -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 diff --git a/network/ckermit/ckermit.info b/network/ckermit/ckermit.info index b4d7fe1de27c..da4529215d80 100644 --- a/network/ckermit/ckermit.info +++ b/network/ckermit/ckermit.info @@ -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="" |