From 927255858fe3d71baa23bc155245569ab2c286c2 Mon Sep 17 00:00:00 2001 From: Andy Alt Date: Sat, 20 Oct 2018 20:15:59 +0100 Subject: network/modemu2k: Updated for version 0.0.3. Signed-off-by: David Spencer --- network/modemu2k/README | 7 +-- network/modemu2k/README.Slackware | 94 ++++++++++++++++++++++++++++++++++++ network/modemu2k/modemu2k.SlackBuild | 32 +++++++++--- network/modemu2k/modemu2k.info | 6 +-- network/modemu2k/slack-desc | 4 +- 5 files changed, 127 insertions(+), 16 deletions(-) create mode 100644 network/modemu2k/README.Slackware (limited to 'network/modemu2k') diff --git a/network/modemu2k/README b/network/modemu2k/README index 3e8038f0e607e..2fbff5210360e 100644 --- a/network/modemu2k/README +++ b/network/modemu2k/README @@ -1,5 +1,6 @@ -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. +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. modemu2k is a fork of modemu, originally developed by Toru Egashira diff --git a/network/modemu2k/README.Slackware b/network/modemu2k/README.Slackware new file mode 100644 index 0000000000000..081916023c658 --- /dev/null +++ b/network/modemu2k/README.Slackware @@ -0,0 +1,94 @@ +modemu2k is a fork of modemu, originally developed by Toru Egashira + +(Travis Build status +) + + +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. + +Maintainer: Andy Alt +License: GNU GPL 3 +Home page: + +Other contact/chat room: + + +For Translators +----------- + +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/ + + +Compilation +----------- + +./configure + Use ./configure --help to see extra options + +make + +`make install` is optional. The binary can be run from the src/ +directory. (installation is required to use the translations.) + +Making SOCKSified or Termified Modemu2k may require changes to +src/Makefile.am. + + +Sample Usage +------------ + +Note: while in the program if backspace doesn't work, use CTRL+H. + +1) Stand alone usage + + Invoked with no option, + + modemu2k + + modemu2k reads from standard input and writes to standard output. + Input + + > atd"localhost + + (prompt ">" is not shown) You will see your host's login prompt + (if a server is running). When you disconnect, you will get "NO + CARRIER" indication. Then input + + > at%q + + to quit modemu2k. + +2) With a comm program + + (This example uses minicom as the comm program) + + Invoke with "-c" option, + + modemu2k -e "AT%B0=1%B1=1&W" -c "minicom -l -tansi -con -p %s" + + From within the comm program, if you have a server running, you can enter + + atd"localhost + + to connect. You could also connect to a BBS. Here's a list of + telnet-enabled bulletin board systems: + + To quit modemu2k, just quit the comm program. + +(*) Almost all file xfer protocols require 8bit through connection, +which means Modemu2k must be in the binary transmission mode. See %B +command description in the man page. + +More details are in the QuickStart guide + + +A man page is also available. diff --git a/network/modemu2k/modemu2k.SlackBuild b/network/modemu2k/modemu2k.SlackBuild index 3980601073f1d..b9245949a2cc5 100644 --- a/network/modemu2k/modemu2k.SlackBuild +++ b/network/modemu2k/modemu2k.SlackBuild @@ -1,11 +1,29 @@ #!/bin/sh - +# # Slackware build script for modemu2k - -# Written by (Andy Alt) (andy400-dev@yahoo.com) +# +# Copyright 2018 / Andy Alt / United States +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=modemu2k -VERSION=${VERSION:-0.0.2} +VERSION=${VERSION:-0.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,14 +74,12 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ + --localedir=/usr/share/locale \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 +make install-strip DESTDIR=$PKG 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 9db1580775df6..4326c60833cd7 100644 --- a/network/modemu2k/modemu2k.info +++ b/network/modemu2k/modemu2k.info @@ -1,8 +1,8 @@ PRGNAM="modemu2k" -VERSION="0.0.2" +VERSION="0.0.3" HOMEPAGE="https://github.com/theimpossibleastronaut/modemu2k" -DOWNLOAD="https://github.com/theimpossibleastronaut/modemu2k/releases/download/v0.0.2/modemu2k-0.0.2.tar.gz" -MD5SUM="d19da67da5983b34d8d8dd4d83a2d280" +DOWNLOAD="https://github.com/theimpossibleastronaut/modemu2k/releases/download/v0.0.3/modemu2k-0.0.3.tar.gz" +MD5SUM="d5b2e4426eeab337e74ec014a32ddc29" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/network/modemu2k/slack-desc b/network/modemu2k/slack-desc index b01912858eccf..e1e3dfbfb158b 100644 --- a/network/modemu2k/slack-desc +++ b/network/modemu2k/slack-desc @@ -10,10 +10,10 @@ modemu2k: modemu2k (modem emulator) modemu2k: modemu2k: modemu2k adds telnet capability to a comm program. It can redirect modemu2k: telnet I/O to a pty so that a comm program can handle the pty as a -modemu2k: tty with a real modem. +modemu2k: tty with a real modem, and allows you to use a comm program's +modemu2k: scripting and file transfer features over telnet. modemu2k: modemu2k: modemu2k is a fork of modemu, originally developed by Toru Egashira. modemu2k: modemu2k: -modemu2k: modemu2k: Homepage: https://github.com/theimpossibleastronaut/modemu2k -- cgit v1.2.3