diff options
author | Andy Alt <arch_stanton5995@protonmail.com> | 2022-08-18 23:40:14 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-20 10:06:42 +0700 |
commit | f13993e553698fb7ad52c82435db6c57c5bb83b2 (patch) | |
tree | f7798320e522eb93f5be90aca6628b695caabfb4 /network/modemu2k | |
parent | 265a2450c3e0a770cf96644f63b6f43d7dc3058d (diff) | |
download | slackbuilds-f13993e553698fb7ad52c82435db6c57c5bb83b2.tar.gz |
network/modemu2k: Updated for version 0.1.0. New email.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/modemu2k')
-rw-r--r-- | network/modemu2k/README.Slackware | 72 | ||||
-rw-r--r-- | network/modemu2k/modemu2k.SlackBuild | 33 | ||||
-rw-r--r-- | network/modemu2k/modemu2k.info | 8 |
3 files changed, 57 insertions, 56 deletions
diff --git a/network/modemu2k/README.Slackware b/network/modemu2k/README.Slackware index dc8babebfa..2cb0c8695f 100644 --- a/network/modemu2k/README.Slackware +++ b/network/modemu2k/README.Slackware @@ -1,50 +1,53 @@ -modemu2k v0.0.6 -------------------- +# modemu2k v0.1.0 modemu2k is a fork of modemu, originally developed by Toru Egashira -(Travis Build status -<https://travis-ci.org/theimpossibleastronaut/modemu2k>) +(Build status +<https://github.com/theimpossibleastronaut/modemu2k/actions/workflows/c-cpp.yml>) -What is modemu2k? ----------------- +## What is modemu2k? modemu2k adds telnet capability to a comm program. It can redirect telnet I/O to a pty so that a comm program can handle the pty as a tty with a real modem, and allows you to use a comm program's scripting and file transfer features over telnet. Now supports IPv6 connections. -Maintainer: Andy Alt <andy400-dev@yahoo.com> +Maintainer: Andy Alt <andy400-dev [at] yahoo [dot] com> + License: GNU GPL 3 -Home page: <https://github.com/theimpossibleastronaut/modemu2k> -Issues and bug reporting -<https://github.com/theimpossibleastronaut/modemu2k/issues> +Home page: <http://theimpossibleastronaut.com/modemu2k/> + +[Issues and bug reporting](https://github.com/theimpossibleastronaut/modemu2k/issues) + Dependencies ------------ - * gettext (unless --disable-nls is used) + * gettext (optional, for translations) * flex Compilation ----------- -`./configure` - Use ./configure --help to see extra options + meson builddir + cd builddir + +Use `meson configure` to see extra options -`make` + ninja -`make install` is optional. The binary can be run from the src/ + +`ninja install` is optional. The binary can be run from the build directory; however, installation is required to use the translations, -and to create and install a script (m2k-minicom.sh) that can invoke +and to create and install a script (m2k-minicom) that can invoke minicom (see below). -Sample Usage ------------- +## Sample Usage + Note: while in the program if backspace doesn't work, use CTRL+H. @@ -82,34 +85,26 @@ Note: while in the program if backspace doesn't work, use CTRL+H. You could also connect to a BBS. For some telnet addresses, see: - * <<Prism BBS<http://filegate.net/> - * The Rusty Mailbox (telnet to trmb.ca, port 2030) - * Synchronet BBS List<http://www.synchro.net/sbbslist.html> + * The Rusty Mailbox (telnet to [trmb.ca](https://trmb.ca/), port 2030) + * [Synchronet BBS List](https://www.synchro.net/sbbslist.html) To quit modemu2k, just quit the comm program. A script to invoke minicom as mentioned above will be installed to your bin directory when `make install` is run. -Escaping to command mode and returning --------------------------------------- +## Escaping to command mode and returning To escape to command mode, use '+++'. Use ATO to return to online mode. -Hanging up a call/closing a connection ------------------------------------- +## Hanging up a call/closing a connection If you are connected to a server where gracefully logging out isn't possible, to "hang up" or close the connection you can escape to command mode and enter 'ATH`. - -Downloads ---------- - -* Release page<https://github.com/theimpossibleastronaut/modemu2k/releases> -* FileGate->(Linux Utilities category)<http://www.filegate.net/utiln/utillnx/> +## Extra Notes (*) Almost all file xfer protocols require 8bit through connection, which means Modemu2k must be in the binary transmission mode. See %B @@ -121,10 +116,13 @@ More details are in the QuickStart guide A man page is also available. -For Translators ------------ +# Downloads + +* Release page<https://github.com/theimpossibleastronaut/modemu2k/releases> + +[![Packaging status](https://repology.org/badge/vertical-allrepos/modemu2k.svg)](https://repology.org/project/modemu2k/versions) + +## Translate + +See <https://github.com/theimpossibleastronaut/modemu2k/blob/master/TRANSLATE.md> -We use Transifex to translate the output messages. To start translating -modemu2k, ​create an account in Transifex and ask to join a translation -team (or create a new one) at -https://www.transifex.com/na-309/modemu2k/ diff --git a/network/modemu2k/modemu2k.SlackBuild b/network/modemu2k/modemu2k.SlackBuild index 5e33b5b52f..9af62e5531 100644 --- a/network/modemu2k/modemu2k.SlackBuild +++ b/network/modemu2k/modemu2k.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for modemu2k # -# Copyright 2019-2020 / Andy Alt / United States +# Copyright 2022 / Andy Alt / United States [81/1847] # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=modemu2k -VERSION=${VERSION:-0.0.6} +VERSION=${VERSION:-0.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,7 +56,7 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then +elif [ "$ARCH" = "x86_64" ]; then [27/1847] SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else @@ -70,7 +70,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,17 +79,20 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --localedir=/usr/share/locale \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + -Dstrip=true \ + --mandir=/usr/man \ + --prefix=/usr \ + --localedir=/usr/share/locale \ + -Ddocdir=/usr/doc/$PRGNAM-$VERSION + ninja + DESTDIR=$PKG ninja install +cd .. 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 diff --git a/network/modemu2k/modemu2k.info b/network/modemu2k/modemu2k.info index 239e0e39dc..6822643041 100644 --- a/network/modemu2k/modemu2k.info +++ b/network/modemu2k/modemu2k.info @@ -1,10 +1,10 @@ PRGNAM="modemu2k" -VERSION="0.0.6" +VERSION="0.1.0" HOMEPAGE="https://github.com/theimpossibleastronaut/modemu2k" -DOWNLOAD="https://github.com/theimpossibleastronaut/modemu2k/releases/download/v0.0.6/modemu2k-0.0.6.tar.gz" -MD5SUM="a6a45ab9ad9d0fa5a2af229368fd05c0" +DOWNLOAD="https://github.com/theimpossibleastronaut/modemu2k/releases/download/v0.1.0/modemu2k-0.1.0.tar.xz" +MD5SUM="8a84feee7aa5e69e5b1aa548b36d0672" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Andy Alt" -EMAIL="andy400-dev@yahoo.com" +EMAIL="arch_stanton5995@protonmail.com" |