From a4af109a79023a968afabdd845ac03604858f54e Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 8 Dec 1996 23:39:32 +0000 Subject: [PATCH] zmtx and zmrz impliement the ZMODEM error correcting protocol used to send/receive files over a dial-in serial port. And they do one thing and only one thing -- transmit files. They don't do file conversions, they don't do remote commands, or any of that other stuff. --- comms/zmtx-zmrx/Makefile | 41 ++++++++++++++++++++++++++++++++++ comms/zmtx-zmrx/distinfo | 1 + comms/zmtx-zmrx/files/patch-01 | 29 ++++++++++++++++++++++++ comms/zmtx-zmrx/files/patch-02 | 11 +++++++++ comms/zmtx-zmrx/pkg-comment | 1 + comms/zmtx-zmrx/pkg-descr | 9 ++++++++ comms/zmtx-zmrx/pkg-message | 21 +++++++++++++++++ comms/zmtx-zmrx/pkg-plist | 4 ++++ 8 files changed, 117 insertions(+) create mode 100644 comms/zmtx-zmrx/Makefile create mode 100644 comms/zmtx-zmrx/distinfo create mode 100644 comms/zmtx-zmrx/files/patch-01 create mode 100644 comms/zmtx-zmrx/files/patch-02 create mode 100644 comms/zmtx-zmrx/pkg-comment create mode 100644 comms/zmtx-zmrx/pkg-descr create mode 100644 comms/zmtx-zmrx/pkg-message create mode 100644 comms/zmtx-zmrx/pkg-plist diff --git a/comms/zmtx-zmrx/Makefile b/comms/zmtx-zmrx/Makefile new file mode 100644 index 000000000000..40d00b44b2da --- /dev/null +++ b/comms/zmtx-zmrx/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# Ports collection makefile for: zmtx-zmrx +# Version required: 1.02 +# Date created: 29 July 1996 +# Whom: David O'Brien +# +# $Id: Makefile,v 1.1.1.1 1996/03/05 07:46:57 asami Exp $ +# + +DISTNAME= zmtx-zmrx +PKGNAME= zmtx-zmrx-1.02 +CATEGORIES= comms +MASTER_SITES= ftp://ftp.inria.fr/network/modem/ \ + ftp://freefall.FreeBSD.ORG/pub/FreeBSD/LOCAL_PORTS/ +# see also comp.unix.sources for version 1.0 +# ftp://ftp.lth.se/pub/usenet/comp.sources.unix/volume28/zm/part01.gz +EXTRACT_SUFX= .shar.gz + +MAINTAINER= obrien@cs.ucdavis.edu + +NO_CDROM= "can't use use this software for commercial purposes" +NO_PACKAGE= "can't use use this software for commercial purposes" +EXTRACT_CMD= zcat +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= |sh +NO_WRKSUBDIR= yes +MAKEFILE= makefile +MAN1= zmrx.1 zmtx.1 + +do-install: +.for f in zmrx zmtx + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${PREFIX}/man/man1 +.endfor + +post-install: + @${ECHO} "" + @${CAT} ${PKGDIR}/licence + @${ECHO} "" + +.include diff --git a/comms/zmtx-zmrx/distinfo b/comms/zmtx-zmrx/distinfo new file mode 100644 index 000000000000..763d19d14b55 --- /dev/null +++ b/comms/zmtx-zmrx/distinfo @@ -0,0 +1 @@ +MD5 (zmtx-zmrx.shar.gz) = 91b76af80839af697b22417be8165d0e diff --git a/comms/zmtx-zmrx/files/patch-01 b/comms/zmtx-zmrx/files/patch-01 new file mode 100644 index 000000000000..dd6d0d8799cc --- /dev/null +++ b/comms/zmtx-zmrx/files/patch-01 @@ -0,0 +1,29 @@ +--- zmrx.c.orig Sun Oct 13 12:25:53 1996 ++++ zmrx.c Mon Oct 14 20:17:03 1996 +@@ -70,7 +70,7 @@ + + cps = ftell(fp) / duration; + +- fprintf(stderr,"zmrx: receiving file \"%s\" %8ld bytes (%3d %%/%5d cps) \r", ++ fprintf(stderr,"receiving file \"%s\" %8ld bytes (%3d %%/%5d cps)\r", + name,ftell(fp),percentage,cps); + } + +@@ -223,7 +223,7 @@ + } + + if (opt_v) { +- fprintf(stderr,"zmrx: receiving file \"%s\"\r",name); ++ fprintf(stderr,"receiving file \"%s\"\r",name); + } + + sscanf(rx_data_subpacket + strlen(rx_data_subpacket) + 1, +@@ -342,7 +342,7 @@ + */ + + if (opt_v) { +- fprintf(stderr,"zmrx: received file \"%s\" \n",name); ++ fprintf(stderr,"zmrx: received file \"%s\"\n",name); + } + } + diff --git a/comms/zmtx-zmrx/files/patch-02 b/comms/zmtx-zmrx/files/patch-02 new file mode 100644 index 000000000000..f7bb18664359 --- /dev/null +++ b/comms/zmtx-zmrx/files/patch-02 @@ -0,0 +1,11 @@ +--- zmtx.c.orig Sat Oct 19 08:53:36 1996 ++++ zmtx.c Sat Oct 19 08:53:14 1996 +@@ -65,7 +65,7 @@ + + cps = ftell(fp) / duration; + +- fprintf(stderr,"zmtx: sending file \"%s\" %8ld bytes (%3d %%/%5d cps) \r", ++ fprintf(stderr,"sending file \"%s\" %8ld bytes (%3d %%/%5d cps)\r", + name,ftell(fp),percentage,cps); + } + diff --git a/comms/zmtx-zmrx/pkg-comment b/comms/zmtx-zmrx/pkg-comment new file mode 100644 index 000000000000..be47da8d05b2 --- /dev/null +++ b/comms/zmtx-zmrx/pkg-comment @@ -0,0 +1 @@ +Receive/Send files via ZMODEM protocol. (unrestrictive) diff --git a/comms/zmtx-zmrx/pkg-descr b/comms/zmtx-zmrx/pkg-descr new file mode 100644 index 000000000000..9c2eabcebea2 --- /dev/null +++ b/comms/zmtx-zmrx/pkg-descr @@ -0,0 +1,9 @@ +zmtx and zmrz impliement the ZMODEM error correcting protocol used to +send/receive files over a dial-in serial port. And they do one thing +and only one thing -- transmit files. They don't do file conversions, +they don't do remote commands, or any of that other stuff. + +Note, zmtx-zmrx is not derived from Chuck Forsberg's rzsz package. +The only restriction is that you will not use this software for +commercial purposes. (commercial licenses are available contact the +author for info) diff --git a/comms/zmtx-zmrx/pkg-message b/comms/zmtx-zmrx/pkg-message new file mode 100644 index 000000000000..b5a195761fa0 --- /dev/null +++ b/comms/zmtx-zmrx/pkg-message @@ -0,0 +1,21 @@ +MCS allows you to use and copy/modify this source under the following +conditions: + + - MCS or Jacques Mattheij shall not be liable for any damages arising + from the use of this code + - the archive must be distributed as a whole leaving version numbers intact. + please do not distribute modifications; mail them back to us for inclusion + in the next release which should follow each other fairly quickly in + the beginning + - you will not use this software for commercial purposes. + (commercial licenses are available contact us for info) + + +/* contact us through (in order of preference) */ +/* */ +/* email: jacquesm@hacktic.nl */ +/* mail: MCS */ +/* Prinses Beatrixlaan 535 */ +/* 2284 AT RIJSWIJK */ +/* The Netherlands */ +/* voice phone: 31+070-3936926 */ diff --git a/comms/zmtx-zmrx/pkg-plist b/comms/zmtx-zmrx/pkg-plist new file mode 100644 index 000000000000..fd4b02c73472 --- /dev/null +++ b/comms/zmtx-zmrx/pkg-plist @@ -0,0 +1,4 @@ +bin/zmrx +bin/zmtx +man/man1/zmrx.1.gz +man/man1/zmtx.1.gz