summaryrefslogtreecommitdiff
path: root/net/ztelnet/files/patch-ad
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2000-06-20 14:27:33 +0000
committerCHOI Junho <cjh@FreeBSD.org>2000-06-20 14:27:33 +0000
commitb94f60a58b448d34d313b61ea45b33b395fcb17d (patch)
treef56e14f174df9c93e122170e675ab782a5655ebe /net/ztelnet/files/patch-ad
parentLocally 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-ad')
-rw-r--r--net/ztelnet/files/patch-ad122
1 files changed, 68 insertions, 54 deletions
diff --git a/net/ztelnet/files/patch-ad b/net/ztelnet/files/patch-ad
index 3d59b487ef8a..faed254bb5a3 100644
--- a/net/ztelnet/files/patch-ad
+++ b/net/ztelnet/files/patch-ad
@@ -1,57 +1,71 @@
-diff -uNr ../ztelnet/README.ks ./README.ks
---- ../ztelnet/README.ks Sun Feb 12 14:44:25 1995
-+++ ./README.ks Tue Apr 25 01:25:34 1995
-@@ -7,19 +7,23 @@
- > Install¹æ¹ý
- 1. tar xvf ztelnet.tar
- 2. cd ztelnet
--3. make sun4.1 (´Ù¸¥ machineÀÏ °æ¿ì¿¡´Â ±×¿¡ ÇØ´çÇÏ´Â targetÀ» ÁöÁ¤
-- target¾øÀÌ makeÇÏ¸é °¡´ÉÇÑ targetÀ» ¾Ë ¼ö ÀÖ´Ù.)
--4. ztelnet/telnet/telnet ÀÌ »õ·Î »ý±â´Â ½ÇÇà È­ÀÏ
-+3. cd zmodem
-+4. make bsd (´Ù¸¥ machineÀÏ °æ¿ì¿¡´Â ±×¿¡ ÇØ´çÇÏ´Â targetÀ» ÁöÁ¤
-+ - target¾øÀÌ makeÇÏ¸é °¡´ÉÇÑ targetÀ» ¾Ë ¼ö ÀÖ´Ù.)
-+5. cd ..
-+6. make sun4.1 (´Ù¸¥ machineÀÏ °æ¿ì¿¡´Â ±×¿¡ ÇØ´çÇÏ´Â targetÀ» ÁöÁ¤
-+ - target¾øÀÌ makeÇÏ¸é °¡´ÉÇÑ targetÀ» ¾Ë ¼ö ÀÖ´Ù.)
-+7. ztelnet/telnet/telnet ÀÌ »õ·Î »ý±â´Â ½ÇÇà È­ÀÏ
+diff -uNr --exclude=*.orig work.old/ztelnet/Config.generic work/ztelnet/Config.generic
+--- work.old/ztelnet/Config.generic Thu Sep 21 04:53:28 1995
++++ work/ztelnet/Config.generic Tue Jun 20 22:58:33 2000
+@@ -183,23 +183,22 @@
+ @echo " dynix3.0.12 dynix3.0.17"
+ @echo " ultrix3.1 ultrix4.0"
+ @echo " next1.0"
+- @echo " linux"
- > Down/Up¹æ¹ý
- telnetÀ¸·Î BBS(õ¸®¾È ÇÏÀÌÅÚ ³ª¿ìÄÞµî)¿¡ Á¢¼ÓÇѵÚ
--down/upÁغñ¸¦ ÇÑµÚ escape ¹®ÀÚ ( default´Â Ctrl-'[' )¸¦
-+down/upÁغñ¸¦ ÇÑµÚ escape ¹®ÀÚ ( default´Â Ctrl-']' )¸¦
- ÀÔ·ÂÇÏ¿© telnet command ¸í·ÉÀ¸·Î ºüÁ® ³ª¿Â´Ù.
- binary»óŰ¡ ¾Æ´Ï¸é "set bin" ÇÑ´Ù.
- "rz" ȤÀº "sz" ÇÑ´Ù.
+ 4.4bsd 4.3reno:
+ make -f Makefile.generic ${WHAT} \
+- LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a" \
++ LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ../zmodem/librzsz.a" \
+ LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \
+ ../libtelnet/libtelnet.a" \
+ DEST=${DESTDIR}/usr/bin \
+- DEFINES="-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \
+- -DUSE_TERMIO -DDIAGNOSTICS" \
++ DEFINES="-DLINEMODE -DKLUDGELINEMODE \
++ -DUSE_TERMIO -DDIAGNOSTICS -DHANGUL" \
+ INCLUDES="-I.." \
+- LIB_OBJ="gettytab.o" \
+- LIB_SRC="gettytab.c" \
++# LIB_OBJ="gettytab.o" \
++# LIB_SRC="gettytab.c" \
+ AR=ar ARFLAGS=cq RANLIB=ranlib \
+- VPATH=/usr/src/libexec/getty \
++# VPATH=/usr/src/libexec/getty \
+ LIBEXEC=${DESTDIR}/usr/libexec \
+- CC="${CC}" LCCFLAGS="-O"
++ CC="${CC}" LCCFLAGS="-O2"
- ÇöÀç sun°è¿­ÀÇ ÄÄÇ»ÅÍ¿¡¼­¸¸ test¸¦ ÇØº¸¾Ò½À´Ï´Ù.
--±×¸®°í ¸î°³ÀÇ Áß°£ ³ëµå¸¦ °ÅÃÄ Á¢¼ÓÇØµµ ¿Ïº®ÇϰÔ
-+±×¸®°í ¸î°³ÀÇ Áß°£ ³ëµå¸¦ °ÅÃÄ Á¢¼ÓÇØµµ
- up/downÀÌ µË´Ï´Ù.
+ 4.3tahoe:
+ @echo $@ is untested... it may or may not work..."
+@@ -360,7 +359,6 @@
+ DEST=${DESTDIR}/usr/ucb \
+ DEFINES="-DFILIO_H -DTERMCAP -DUSE_TERMIO \
+ -DKLUDGELINEMODE -DSTREAMS \
+- -DAUTHENTICATE -DENCRYPT \
+ -DDIAGNOSTICS " \
+ INCLUDES="-I.." \
+ LIB_OBJ="getent.o strerror.o setenv.o herror.o" \
+@@ -486,28 +484,3 @@
- ¹®Á¦Á¡Àº ´Ù¿î Áß°£¿¡ NiceÇÏ°Ô °­Á¦·Î ³¡³»´Â °ÍÀÌ
-@@ -30,15 +34,16 @@
- 1995. 2. 12
- ¤Ô ÇãÁØÇõ jhheo@dangun.kaist.ac.kr
- --
-- ________
-- ////|\\\\ / Nice \
-- | . . | / To \
-- O| ^ |O oO \ Meet you!/
-- | V | .' \________/
-- \_____/
-+ ________ ///|\\\\
-+ ////|\\\\ / Nice \ Oo ////|\\\\\
-+ | . . | / To \ `.///_. ._\\\\
-+ O| ^ |O oO \ Meet you!/ /// ^ \\\\
-+ | V | .' \________/ ////| /O\ |\\\\\
-+ \_____/ //// \_____/ \\\\\
-+ ---------------> \\\\ /////
-
--If you ask me "what are you living for ?"
--I will just smile......
-+the good time's gone!
-+ remember coming soon!
-
- CSD KAIST
- the E-mail address
+ clean cleandir:
+ make -f Makefile.generic $@
+-
+-#
+-# The DEFINE, BYPMS is added by Myeong Seok Park, which is for preventing
+-# from annoying Linux-gcc compile errors! The DEFINE is also used to solve
+-# portability problem with other operating systems!
+-# In a sense to mentioned previously, these source files are compatible
+-# to possible UNIX systems(I have not tested to other OSes yet ;<).
+-# If you want to know modified parts of the source files by me, use grep
+-# command (eg. 'grep PMS ~ztelnet/* | less' ). I have no time to write
+-# notes for the modified parts...
+-#
+-
+-linux:
+- make -f Makefile.generic WHAT=$@ LINUX=linux\
+- LIBS="-lncurses ../libtelnet/libtelnet.a" \
+- LIBPATH="/usr/lib/libc.a /usr/lib/libncurses.a \
+- ../libtelnet/libtelnet.a" \
+- DEST=${DESTDIR}/usr/local \
+- DEFINES="-DSYSV_TERMIO -DHAS_GETTOS -DHAVE_fd_set \
+- -DMUST_ALIGN -DBYPMS -Dunix -DHAS_GETTOS \
+- -DLINEMODE -DKLUDGELINEMODE -DDIAGNOSTICS"\
+- INCLUDES="-I.." \
+- AR=ar ARFLAGS=ru RANLIB=ranlib \
+- LIBEXEC=${DEST}/bin \
+- CC="${CC}" LCCFLAGS="-O -traditional -fno-strict-prototype"