diff options
author | CHOI Junho <cjh@FreeBSD.org> | 2000-06-20 14:27:33 +0000 |
---|---|---|
committer | CHOI Junho <cjh@FreeBSD.org> | 2000-06-20 14:27:33 +0000 |
commit | b94f60a58b448d34d313b61ea45b33b395fcb17d (patch) | |
tree | f56e14f174df9c93e122170e675ab782a5655ebe /net/ztelnet/files/patch-ap | |
parent | Locally hosted distfiles moved to ftp.freebsd.org. (diff) |
- fix core-dump problem in 4.x reported in ports/18573
- cleanup patches and extra file
- fix unnecessary delay(from byung)
- resurrect MAINTAINER line(me)
- fix distfile location
- fix DESCR to correct maintainer
PR: ports/18573
Submitted by: byung@nowcool.dhs.org
Diffstat (limited to 'net/ztelnet/files/patch-ap')
-rw-r--r-- | net/ztelnet/files/patch-ap | 600 |
1 files changed, 440 insertions, 160 deletions
diff --git a/net/ztelnet/files/patch-ap b/net/ztelnet/files/patch-ap index 117c15a7921f..1178671edea1 100644 --- a/net/ztelnet/files/patch-ap +++ b/net/ztelnet/files/patch-ap @@ -1,160 +1,440 @@ -diff -uNr ../ztelnet/zmodem/Makefile ./zmodem/Makefile ---- ../ztelnet/zmodem/Makefile Wed Sep 20 00:20:41 1995 -+++ ./zmodem/Makefile Wed Dec 3 05:48:19 1997 -@@ -1,142 +1,19 @@ --# Makefile for Unix/Xenix rz and sz programs --# the makefile is not too well tested yet --CFLAGS= -c -O --OBJS=sz.o rz.o --SRCS= rbsb.c minirb.c zm.c zmr.c crctab.c crc.c zmodem.h --ARCFILES= README rbsb.c gz *.t minirb.c zmodem.h \ -- zm.c zmr.c crctab.c sz.c rz.c mailer.rz crc.c -+LIB= librzsz.a -+SRCS= rz.c sz.c - --nothing: -- @echo -- @echo "Please study the #ifdef's in crctab.c, rbsb.c, rz.c and sz.c," -- @echo "make any necessary hacks for oddball or merged SYSV/BSD systems," -- @echo "then type 'make SYSTEM' where SYSTEM is one of:" -- @echo -- @echo " posix POSIX compliant systems" -- @echo " linux LINUX systems" -- @echo " odt SCO Open Desktop" -- @echo " sysvr4 SYSTEM 5.4 Unix, SCO Open Desktop" -- @echo " sysvr3 SYSTEM 5.3 Unix with mkdir(2)" -- @echo " sysv SYSTEM 3/5 Unix" -- @echo " xenix Xenix" -- @echo " x386 386 Xenix" -- @echo " bsd Berkeley 4.x BSD, Ultrix, V7" -- @echo " tandy Tandy 6000 Xenix" -- @echo " dnix DIAB Dnix 5.2" -- @echo " dnix5r3 DIAB Dnix 5.3" -- @echo " amiga 3000UX running SVR4" -- @echo " POSIX POSIX compliant systems (SCO Open Desktop, strict)" -- @echo -- @echo " doc Format the man pages with nroff" -- @echo -+OBJS= rz.o sz.o \ -+ ${LIB_OBJ} - --usenet:doc -- shar -c -a -n rzsz -o /tmp/rzsz -l64 \ -- README Makefile zmodem.h zm.c rz.c rbsb.c \ -- crc.c crctab.c minirb.c mailer.rz zmr.c *.doc gz sz.c *.t -+CFLAGS= -O2 ${DEFINES} ${INCLUDES} - --shar:doc -- shar -c README Makefile zmodem.h zm.c \ -- zmr.c sz.c rz.c crctab.c \ -- mailer.rz crc.c rbsb.c minirb.c *.doc gz *.t >/tmp/rzsz -+${LIB}: ${OBJS} -+ rm -f ${LIB} -+ ${AR} ${ARFLAGS} ${LIB} `lorder ${OBJS} | tsort` -+ @if [ ${RANLIB} != NONE ]; \ -+ then echo ${RANLIB} ${LIB}; ${RANLIB} ${LIB}; fi - --unixforum: shar -- compress /tmp/rzsz.sh -+clean cleandir: -+ rm -f *.o ${LIB} core a.out - --unix: -- undos $(ARCFILES) -- --dos: -- todos $(ARCFILES) -- --doc:rz.doc sz.doc crc.doc minirb.doc -- --minirb.doc:minirb.1 -- nroff -man minirb.1 | col >minirb.doc -- --rz.doc:rz.1 -- nroff -man rz.1 | col >rz.doc -- --sz.doc:sz.1 -- nroff -man sz.1 | col >sz.doc -- --crc.doc:crc.1 -- nroff -man crc.1 | col >crc.doc -- --zoo: doc -- -rm -f /tmp/rzsz.zoo -- zoo ah /tmp/rzsz README Makefile zmodem.h zm.c sz.c rz.c \ -- mailer.rz crctab.c rbsb.c *.doc \ -- zmr.c crc.c gz *.t minirb.c -- touch /tmp/rzsz.zoo -- chmod og-w /tmp/rzsz.zoo -- mv /tmp/rzsz.zoo /u/t/yam -- -rm -f rzsz.zip -- zip rzsz readme mailer.rz makefile zmodem.h zm.c sz.c rz.c -- zip rzsz crctab.c rbsb.c *.doc -- zip rzsz zmr.c crc.c gz *.t minirb.c -- mv rzsz.zip /u/t/yam -- --tar:doc -- tar cvf /tmp/rzsz.tar README Makefile zmodem.h zm.c sz.c rz.c \ -- mailer.rz crctab.c rbsb.c \ -- zmr.c crc.c *.1 *.doc gz *.t minirb.c -- --tags: -- ctags sz.c rz.c zm.c zmr.c rbsb.c -- --clean: -- rm -f *.o -- --xenix: -- $(CC) $(CFLAGS) -M0 -K -i -DUSG -DNFGVMIN -DREADCHECK sz.c -- $(CC) $(CFLAGS) -M0 -K -i -DUSG -DMD rz.c -- --x386: -- $(CC) $(CFLAGS) -DUSG -DMD sz.c -- $(CC) $(CFLAGS) -DUSG -DNFGVMIN -DREADCHECK rz.c -- --sysv: -- $(CC) $(CFLAGS) -DUSG -DMD sz.c -- $(CC) $(CFLAGS) -DUSG -DSV -DNFGVMIN rz.c -- --sysvr3 ultrix3.1: -- $(CC) $(CFLAGS) -DUSG -DMD=2 sz.c -- $(CC) $(CFLAGS) -DSV -DUSG -DNFGVMIN rz.c -- --sysvr4 ultrix4.0: -- $(CC) $(CFLAGS) -DUSG -DMD=2 sz.c -- $(CC) $(CFLAGS) -DSV -DUSG rz.c -- --odt: -- $(CC) $(CFLAGS) -strict -W2 -n -DUSG -DMD=2 sz.c -- $(CC) $(CFLAGS) -strict -W2 -n -DUSG -DREADCHECK rz.c -- --linux posix: -- $(CC) $(CFLAGS) -DPOSIX -DMD=2 sz.c -- $(CC) $(CFLAGS) -DPOSIX rz.c -- --POSIX: -- @echo "Well, stricter, as in *safer sex* ..." -- $(CC) $(CFLAGS) -posix -W2 -DPOSIX -DMD=2 sz.c -- $(CC) $(CFLAGS) -posix -W2 -DPOSIX rz.c -- --bsd 4.4bsd 4.3reno 4.3tahoe 4.3bsd sun3.5 sun4.0 sun4.0.3c sun4.1: -- $(CC) $(CFLAGS) -DMD=2 -Dstrchr=index -DV7 sz.c -- $(CC) $(CFLAGS) -DV7 -DNFGVMIN rz.c -- --tandy: -- $(CC) $(CFLAGS) -n -DUSG -DMD -DT6K sz.c -- $(CC) $(CFLAGS) -n -DUSG -DMD -DT6K rz.c -- --dnix: -- $(CC) $(CFLAGS) -DUSG -DMD sz.c -- $(CC) $(CFLAGS) -DSV -DUSG -DNFGVMIN -DREADCHECK rz.c -- --dnix5r3: -- $(CC) $(CFLAGS) -DUSG -DMD=2 sz.c -- $(CC) $(CFLAGS) -DUSG -DSV -DNFGVMIN -DREADCHECK rz.c -- --amiga: -- $(CC) $(CFLAGS) -DUSG -DNFGVMIN -g sz.c -- $(CC) $(CFLAGS) -DUSG -DSV -DNFGVMIN -g rz.c -+rz.o : zmodem.h -+sz.o : zmodem.h +diff -uNr --exclude=*.orig work.old/ztelnet/telnet/telnet.1 work/ztelnet/telnet/telnet.1 +--- work.old/ztelnet/telnet/telnet.1 Tue Mar 26 07:14:28 1991 ++++ work/ztelnet/telnet/telnet.1 Tue Jun 20 22:58:33 2000 +@@ -18,15 +18,15 @@ + .\" @(#)telnet.1 6.13 (Berkeley) 7/28/90 + .\" + .Dd July 28, 1990 +-.Dt TELNET 1 ++.Dt ZTELNET 1 + .Os BSD 4.2 + .Sh NAME +-.Nm telnet ++.Nm ztelnet + .Nd User interface to the + .Li TELNET +-protocol ++protocol, with support for Zmodem file transfers. + .Sh SYNOPSIS +-.Nm telnet ++.Nm ztelnet + .Op Fl 8 + .Op Fl E + .Op Fl K +@@ -47,23 +47,32 @@ + .Oe + .Sh DESCRIPTION + The +-.Nm telnet ++.Nm ztelnet + command + is used to communicate with another host using the + .Li TELNET + protocol. + If +-.Nm telnet ++.Nm ztelnet + is invoked without the + .Ar host + argument, it enters command mode, + indicated by its prompt +-.Pq Nm telnet\&> . ++.Pq Nm ztelnet\&> . + In this mode, it accepts and executes the commands listed below. + If it is invoked with arguments, it performs an + .Ic open + command with those arguments. + .Pp ++To perform Zmodem file transfers, issue the appropriate Zmodem command on ++the remote host. Then hit the ++.Nm ++command line escape key (^]) and issue the appropriate Zmodem command for ++the local host. Typically these commands would be ++.Nm sz ++and ++.Nm rz . ++.Pp + Options: + .Tw Fl + .Tp Fl 8 +@@ -116,7 +125,7 @@ + .Cx + Sets the initial + .Nm +-.B telnet ++.B ztelnet + escape character to + .Ar escape char. + If +@@ -130,7 +139,7 @@ + If Kerberos authentication is being used, the + .Fl k + option requests that +-.Nm telnet ++.Nm ztelnet + obtain tickets for the remote host in realm + .Ar realm + instead of the remote host's +@@ -175,13 +184,13 @@ + .Tp Ar port + Indicates a port number (address of an application) or name. If a number is + not specified, the default +-.Nm telnet ++.Nm ztelnet + port is used. + Port names are mapped to port numbers via the + /etc/services + file. + Normally when a port number is specified, +-.Nm telnet ++.Nm ztelnet + will not send out any initial + .Li TELNET + option negotiation. +@@ -199,19 +208,19 @@ + .Nm + escape character. + Similarly, the line ``~^Z'' will suspend the +-.Nm telnet ++.Nm ztelnet + session. + The line ``~^]'' will escape to the normal +-.Nm telnet ++.Nm ztelnet + escape prompt. + .Pp + Once a connection has been opened, +-.Nm telnet ++.Nm ztelnet + will attempt to enable the + .Li TELNET LINEMODE + option. + If this fails, then +-.Nm telnet ++.Nm ztelnet + will revert to one of two input modes: + either \*(Lqcharacter at a time\*(Rq + or \*(Lqold line by line\*(Rq +@@ -281,15 +290,15 @@ + .Ic intr ) . + .Pp + While connected to a remote host, +-.Nm telnet ++.Nm ztelnet + command mode may be entered by typing the +-.Nm telnet ++.Nm ztelnet + \*(Lqescape character\*(Rq (initially \*(Lq^ + \*(Rq). + When in command mode, the normal terminal editing conventions are available. + .Pp + The following +-.Nm telnet ++.Nm ztelnet + commands are available. + Only enough of each command to uniquely identify it need be typed + (this is also true for most of the arguments to the +@@ -659,7 +668,7 @@ + Open a connection to the named host. + If no port number + is specified, +-.Nm telnet ++.Nm ztelnet + will attempt to contact a + .Li TELNET + server at the default port. +@@ -674,7 +683,7 @@ + .Li ENVIRON + option. + When connecting to a non-standard port, +-.Nm telnet ++.Nm ztelnet + omits any automatic initiation of + .Li TELNET + options. When the port number is preceded by a minus sign, +@@ -696,10 +705,10 @@ + first thing on the line is the name of the machine that is + being connected to. The rest of the line, and successive + lines that begin with whitespace are assumed to be +-.Nm telnet ++.Nm ztelnet + commands and are processed as if they had been typed + in manually to the +-.Nm telnet ++.Nm ztelnet + command prompt. + The special machine name + .Ic DEFAULT +@@ -714,7 +723,7 @@ + Close any open + .Li TELNET + session and exit +-.Nm telnet . ++.Nm ztelnet . + An end of file (in command mode) will also close a session and exit. + .\" ######## END the "quit" command + .\" +@@ -776,7 +785,7 @@ + sequence. + .Tp Ic escape + Sends the current +-.Nm telnet ++.Nm ztelnet + escape character (initially \*(Lq^\*(Rq). + .Tp Ic ga + Sends the +@@ -833,7 +842,7 @@ + The + .Ic set + command will set any one of a number of +-.Nm telnet ++.Nm ztelnet + variables to a specific value or to TRUE. + The special value + .Ic off +@@ -859,7 +868,7 @@ + .Tw Fl + .Tp Ic ayt + If +-.Nm telnet ++.Nm ztelnet + is in + .Ic localchars + mode, or +@@ -884,7 +893,7 @@ + echoing of entered characters (for entering, say, a password). + .Tp Ic eof + If +-.Nm telnet ++.Nm ztelnet + is operating in + .Li LINEMODE + or \*(Lqold line by line\*(Rq mode, entering this character +@@ -895,7 +904,7 @@ + character. + .Tp Ic erase + If +-.Nm telnet ++.Nm ztelnet + is in + .Ic localchars + mode (see +@@ -904,7 +913,7 @@ + below), + .Sy and + if +-.Nm telnet ++.Nm ztelnet + is operating in \*(Lqcharacter at a time\*(Rq mode, then when this + character is typed, a + .Li TELNET EC +@@ -919,14 +928,14 @@ + character. + .Tp Ic escape + This is the +-.Nm telnet ++.Nm ztelnet + escape character (initially \*(Lq^[\*(Rq) which causes entry + into +-.Nm telnet ++.Nm ztelnet + command mode (when connected to a remote system). + .Tp Ic flushoutput + If +-.Nm telnet ++.Nm ztelnet + is in + .Ic localchars + mode (see +@@ -949,7 +958,7 @@ + .Tp Ic forw1 + .Tp Ic forw2 + If +-.Nm telnet ++.Nm ztelnet + is operating in + .Li LINEMODE, + these are the characters that, when typed, +@@ -962,7 +971,7 @@ + characters. + .Tp Ic interrupt + If +-.Nm telnet ++.Nm ztelnet + is in + .Ic localchars + mode (see +@@ -984,7 +993,7 @@ + character. + .Tp Ic kill + If +-.Nm telnet ++.Nm ztelnet + is in + .Ic localchars + mode (see +@@ -993,7 +1002,7 @@ + below), + .Ic and + if +-.Nm telnet ++.Nm ztelnet + is operating in \*(Lqcharacter at a time\*(Rq mode, then when this + character is typed, a + .Li TELNET EL +@@ -1008,7 +1017,7 @@ + character. + .Tp Ic lnext + If +-.Nm telnet ++.Nm ztelnet + is operating in + .Li LINEMODE + or \*(Lqold line by line\*(Lq mode, then this character is taken to +@@ -1021,7 +1030,7 @@ + character. + .Tp Ic quit + If +-.Nm telnet ++.Nm ztelnet + is in + .Ic localchars + mode (see +@@ -1043,7 +1052,7 @@ + character. + .Tp Ic reprint + If +-.Nm telnet ++.Nm ztelnet + is operating in + .Li LINEMODE + or \*(Lqold line by line\*(Lq mode, then this character is taken to +@@ -1057,14 +1066,14 @@ + .Tp Ic rlogin + This is the rlogin escape character. + If set, the normal +-.Nm telnet ++.Nm ztelnet + .Ic escape + character will be ignored unless it is preceded by this character + at the beginning of a line. + This character, at the beginning of a line, followed by a ``.'' + will close the connection; when followed by a ``^Z'' it will + suspend the +-.Nm telnet ++.Nm ztelnet + command. + The initial state is to have the + .Ic rlogin +@@ -1095,7 +1104,7 @@ + character. + .Tp Ic susp + If +-.Nm telnet ++.Nm ztelnet + is in + .Ic localchars + mode, or +@@ -1124,7 +1133,7 @@ + then tracing information will be written to standard output (the default). + .Tp Ic worderase + If +-.Nm telnet ++.Nm ztelnet + is operating in + .Li LINEMODE + or \*(Lqold line by line\*(Lq mode, then this character is taken to +@@ -1172,7 +1181,7 @@ + Switch to the local defaults for the special characters. The + local default characters are those of the local terminal at + the time when +-.Nm telnet ++.Nm ztelnet + was started. + .Tp Ic import + Switch to the remote defaults for the special characters. +@@ -1195,7 +1204,7 @@ + .\" ######## BEGIN the "status" command + .Tp Ic status + Show the current status of +-.Nm telnet . ++.Nm ztelnet . + This includes the peer one is connected to, as well + as the current mode. + .\" ######## END the "status" command +@@ -1210,7 +1219,7 @@ + and + FALSE) + various flags that control how +-.Nm telnet ++.Nm ztelnet + responds to events. + These flags may be set explicitly to TRUE or FALSE + using the +@@ -1242,7 +1251,7 @@ + sequences; see + .Ic set + above for details), +-.Nm telnet ++.Nm ztelnet + refuses to display any data on the user's terminal + until the remote system acknowledges (via a + .Li TELNET TIMING MARK +@@ -1269,7 +1278,7 @@ + If the + .Li TELNET AUTHENTICATION + option is supported by the remote side, then +-.Nm telnet ++.Nm ztelnet + will attempt to use it to perform automatic authentication. + If the + .Li AUTHENTICATION +@@ -1395,7 +1404,7 @@ + The initial value for this toggle is FALSE. + .Tp Ic options + Toggles the display of some internal +-.Nm telnet ++.Nm ztelnet + protocol processing (having to do with + .Li TELNET + options). +@@ -1421,7 +1430,7 @@ + .Ic skiprc + toggle + is TRUE, then +-.Nm telnet ++.Nm ztelnet + will skip the reading of the + .Pa \&.telnetrc + file in the users home directory +@@ -1434,7 +1443,7 @@ + When the + .Ic verbose_encrypt + toggle is TRUE, then +-.Nm telnet ++.Nm ztelnet + will print out a message each time encryption is + enabled or disabled. + The initial value for this toggle is FALSE. +@@ -1448,7 +1457,7 @@ + .\" ######## BEGIN the "z" command + .Tp Ic z + Suspend +-.Nm telnet . ++.Nm ztelnet . + This command only works when the user is using the + .Xr csh 1 . + .\" ######## END the "z" command +@@ -1471,10 +1480,10 @@ + .Op Ar command + .Cx + Get help. With no arguments, +-.Nm telnet ++.Nm ztelnet + prints a help summary. + If a command is specified, +-.Nm telnet ++.Nm ztelnet + will print the help information for just that command. + .\" ######## END the "!" command + .Sh ENVIRONMENT |