update to 7.0.197; install fragment from FreeBSD
This commit is contained in:
parent
d751904f65
commit
921871e90c
@ -1,29 +1,60 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2001/09/11 00:20:51 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2001/09/30 19:08:58 naddy Exp $
|
||||
|
||||
COMMENT= "file transfer/terminal emulation"
|
||||
COMMENT= "serial and network communications package"
|
||||
|
||||
DISTNAME= cku192src
|
||||
PKGNAME= kermit-6.0.192
|
||||
PKGNAME= kermit-7.0.197
|
||||
DISTNAME= cku197
|
||||
CATEGORIES= comms
|
||||
NEED_VERSION= 1.435
|
||||
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
|
||||
ftp://ftp.th-darmstadt.de/pub/networking/kermit/ \
|
||||
ftp://ftp.std.com/customers2/src/telcom/
|
||||
NEED_VERSION= 1.463
|
||||
HOMEPAGE= http://www.kermit-project.org/
|
||||
|
||||
PERMIT_PACKAGE_CDROM= "no fee"
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= "no fee"
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FAKE_FLAGS= PREFIX="${PREFIX}" DESTDIR="${WRKINST}"
|
||||
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
|
||||
ftp://ftp.icm.edu.pl/pub/kermit/archives/
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
post-extract:
|
||||
@cp -f ${FILESDIR}/Makefile ${WRKSRC}
|
||||
MAKE_FILE= makefile
|
||||
ALL_TARGET= xermit #ckuker.nr
|
||||
MAKE_FLAGS= KTARGET=openbsd \
|
||||
CFLAGS="${CFLAGS} -DBSD44 -DCK_CURSES -DCK_NEWTERM \
|
||||
-DTCPSOCKET -DOPENBSD -DUSE_UU_LOCK -DFNFLOAT -DUSE_STRERROR" \
|
||||
LIBS="-lcurses -lutil -lm"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/kermit
|
||||
${INSTALL_DATA} ${FILESDIR}/dot.kermrc ${PREFIX}/share/examples/kermit
|
||||
DOCDIR= ${PREFIX}/share/doc/kermit
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/kermit
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/wermit ${PREFIX}/bin/kermit
|
||||
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1
|
||||
@echo "Installing documentation ..."
|
||||
@${INSTALL_DATA_DIR} ${DOCDIR}
|
||||
@for file in ckuaaa.txt ckermit2.txt ckcbwr.txt ckubwr.txt \
|
||||
ckuins.txt telnet.txt security.txt iksd.txt ckcplm.txt \
|
||||
ckccfg.txt ; \
|
||||
do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCDIR} ; \
|
||||
done
|
||||
@echo "Installing examples ..."
|
||||
@${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
||||
@set -- \
|
||||
ckermit.ini dot.kermrc \
|
||||
ckermod.ini dot.mykermrc \
|
||||
ckurzsz.ini dot.rzszkermrc \
|
||||
ckermit.kdd dot.kdd \
|
||||
ckermit.knd dot.knd \
|
||||
ckermit.ksd dot.ksd \
|
||||
ckedemo.ksc ckedemo.ksc \
|
||||
ckepage.ksc ckepage.ksc \
|
||||
ckevt.ksc ckevt.ksc \
|
||||
iksdpy iksdpy ; \
|
||||
while [ $$# -gt 1 ]; do \
|
||||
file=$$1; dest=$$2 ; shift ; shift ; \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$file ${EXAMPLESDIR}/$$dest; \
|
||||
done
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,34 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2001/09/11 00:20:51 brad Exp $
|
||||
|
||||
PROG= kermit
|
||||
CFLAGS+= -I${.CURDIR} -DBSD44 -DCK_CURSES -DDYNAMIC -DTCPSOCKET \
|
||||
-DNOCOTFMC -DNDSYSERRLIST
|
||||
SRCS= ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
|
||||
ckuus6.c ckuus7.c ckuusx.c ckuusy.c ckcpro.c ckcfns.c ckcfn2.c \
|
||||
ckcfn3.c ckuxla.c ckucon.c ckutio.c ckufio.c ckudia.c ckuscr.c \
|
||||
ckcnet.c ckusig.c
|
||||
|
||||
BINDIR= ${PREFIX}/bin
|
||||
MANDIR= ${PREFIX}/man/cat
|
||||
|
||||
CLEANFILES+= ckcpro.c ckcwart.o wart kermit.1
|
||||
|
||||
DPADD= ${LIBCURSES} ${LIBTERMLIB}
|
||||
LDADD= -lcurses -ltermlib
|
||||
|
||||
.SUFFIXES: .w
|
||||
|
||||
.w.c:
|
||||
./wart ${.IMPSRC} ${.TARGET}
|
||||
|
||||
wart: ckwart.c
|
||||
$(CC) -o wart ${.CURDIR}/ckwart.c
|
||||
|
||||
ckcpro.c: ckcpro.w
|
||||
ckcpro.c: wart
|
||||
|
||||
kermit.1: ckuker.cpp
|
||||
$(CPP) ckuker.cpp | grep -v ^$$ | grep -v ^\# > kermit.1 || \
|
||||
rm -f kermit.1
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,14 +0,0 @@
|
||||
# .kermit -- typical ckermit init file
|
||||
|
||||
set send packet 9024 # packet size send
|
||||
set receive packet 9024 # packet size receive
|
||||
set file type binary # file type
|
||||
set block 3 # use 16bit CCITT crc's
|
||||
set window 15 # use 15 sliding window slots
|
||||
set file name literal # do not translate file names
|
||||
set file coll overwrite # overwrite if file allready exists
|
||||
set file dis crt # display in terms of cps and percentage
|
||||
set flow rts # hardware flow control
|
||||
set con unprefix all # unpre all control characters
|
||||
set con prefix 0 3 131 # prefix necessary control characters
|
||||
set speed 57600 # use 57600bps DTE
|
@ -1,3 +1,3 @@
|
||||
MD5 (cku192src.tar.gz) = c54feaa3389a6464003dafa16a6945d2
|
||||
RMD160 (cku192src.tar.gz) = 82a6d9f0a99ab12ccef85564bd831457868d752c
|
||||
SHA1 (cku192src.tar.gz) = 8b1dd588f1d552b174ba87acdbb7ed6c00448f41
|
||||
MD5 (cku197.tar.gz) = 506e3fe0ccd9dcdce50f214713cbe13a
|
||||
RMD160 (cku197.tar.gz) = 81c3541553ac9cb6cfc4516b73f5a18b122f8117
|
||||
SHA1 (cku197.tar.gz) = 055b32a89cf01331d49f1daf49b7a245d7e3cbf7
|
||||
|
@ -1,49 +0,0 @@
|
||||
$OpenBSD: patch-ckcdeb_h,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckcdeb.h.orig Sun Nov 24 19:20:48 1996
|
||||
+++ ckcdeb.h Mon Sep 10 19:30:51 2001
|
||||
@@ -1555,6 +1555,9 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#ifdef __NetBSD__
|
||||
#define BPS_57K
|
||||
#else
|
||||
+#ifdef __OpenBSD__
|
||||
+#define BPS_57K
|
||||
+#else
|
||||
#ifdef MAC
|
||||
#define BPS_57K
|
||||
#else
|
||||
@@ -1566,6 +1569,7 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#endif /* BEBOX */
|
||||
#endif /* QNX */
|
||||
#endif /* MAC */
|
||||
+#endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
@@ -1620,6 +1624,9 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#ifdef __NetBSD__
|
||||
#define BPS_115K
|
||||
#else
|
||||
+#ifdef __OpenBSD__
|
||||
+#define BPS_115K
|
||||
+#else
|
||||
#ifdef OS2
|
||||
#ifdef __32BIT__
|
||||
#define BPS_115K
|
||||
@@ -1629,6 +1636,7 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#define BPS_115K
|
||||
#endif /* BEBOX */
|
||||
#endif /* OS2 */
|
||||
+#endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
@@ -1755,6 +1763,9 @@ _PROTOTYP( long getmsec, (void) );
|
||||
#ifdef __NetBSD__ /* NetBSD */
|
||||
#define POSIX_CRTSCTS
|
||||
#endif /* __NetBSD__ */
|
||||
+#ifdef __OpenBSD__ /* OpenBSD */
|
||||
+#define POSIX_CRTSCTS
|
||||
+#endif /* __OpenBSD__ */
|
||||
#ifdef BEBOX
|
||||
#define POSIX_CRTSCTS
|
||||
/* BEBOX defines CRTSFL as (CTSFLOW & RTSFLOW) */
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-ckucmd_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckucmd.c.orig Sun Nov 24 19:20:49 1996
|
||||
+++ ckucmd.c Mon Sep 10 19:30:50 2001
|
||||
@@ -3648,6 +3648,9 @@ cmdnewl(c) char c;
|
||||
not convert \r to \n, so additional \n needed in newline function. But
|
||||
it is also very likely to result in unwanted blank lines.
|
||||
*/
|
||||
+#ifdef SVORPOSIX
|
||||
+ if (c == CR) putchar(NL);
|
||||
+#endif /* SVORPOSIX */
|
||||
|
||||
#ifdef OS2
|
||||
if (c == CR) putchar(NL);
|
@ -1,24 +0,0 @@
|
||||
$OpenBSD: patch-ckufio_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckufio.c.orig Sun Nov 24 19:20:49 1996
|
||||
+++ ckufio.c Mon Sep 10 19:30:54 2001
|
||||
@@ -2959,11 +2959,15 @@ struct utimbuf tp;
|
||||
}
|
||||
tmx += n;
|
||||
}
|
||||
- time_stamp = localtime(&tmx);
|
||||
- if (!time_stamp)
|
||||
- return(-1);
|
||||
- if (localtime(&tmx)->tm_isdst)
|
||||
- tmx -= 60L * 60L; /* Adjust for daylight savings time */
|
||||
+ {
|
||||
+ time_t t = tmx;
|
||||
+
|
||||
+ time_stamp = localtime(&t);
|
||||
+ if (!time_stamp)
|
||||
+ return(-1);
|
||||
+ if (localtime(&t)->tm_isdst)
|
||||
+ tmx -= 60L * 60L; /* Adjust for daylight savings time */
|
||||
+ }
|
||||
}
|
||||
return(tmx);
|
||||
}
|
@ -1,35 +1,15 @@
|
||||
$OpenBSD: patch-ckutio_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckutio.c.orig Sun Nov 24 19:20:49 1996
|
||||
+++ ckutio.c Mon Sep 10 19:30:52 2001
|
||||
@@ -289,7 +289,11 @@ char *ckxsys = HERALD;
|
||||
#ifdef __NetBSD__
|
||||
#define LOCK_DIR "/var/spool/lock";
|
||||
#else
|
||||
+#ifdef __OpenBSD__
|
||||
+#define LOCK_DIR "/var/spool/lock";
|
||||
$OpenBSD: patch-ckutio_c,v 1.2 2001/09/30 19:08:58 naddy Exp $
|
||||
--- ckutio.c.orig Mon Feb 21 18:16:07 2000
|
||||
+++ ckutio.c Sun Sep 30 19:22:06 2001
|
||||
@@ -296,7 +296,11 @@ char unm_ver[CK_SYSNMLN+1] = { '\0', '\0
|
||||
#ifndef NOUUCP
|
||||
#ifdef USETTYLOCK
|
||||
#ifdef USE_UU_LOCK
|
||||
+#ifdef __FreeBSD__
|
||||
#include <libutil.h>
|
||||
+#else
|
||||
#define LOCK_DIR "/var/spool/uucp";
|
||||
+#endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
#endif /* __386BSD__ */
|
||||
@@ -7162,6 +7166,11 @@ ztime(s) char **s; {
|
||||
#define ZTIMEV7
|
||||
#endif /* POSIX */
|
||||
+#include <util.h>
|
||||
+#endif
|
||||
#endif /* USE_UU_LOCK */
|
||||
#else /* USETTYLOCK */
|
||||
|
||||
+#ifdef BSD44
|
||||
+ time_t secs = time( 0 );
|
||||
+ *s = ctime( &secs );
|
||||
+ debug(F110,"ztime: BSD44",*s,0);
|
||||
+#else
|
||||
#ifdef HPUX1020
|
||||
/*
|
||||
Prototypes are in <time.h>, included above.
|
||||
@@ -7233,6 +7242,7 @@ ztime(s) char **s; {
|
||||
#endif /* PROVX1 */
|
||||
#endif /* ATTSV */
|
||||
#endif /* HPUX1020 */
|
||||
+#endif /* BSD44 */
|
||||
}
|
||||
|
||||
/* C O N G M -- Get console terminal modes. */
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-ckuus5_c,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckuus5.c.orig Sun Nov 24 19:20:50 1996
|
||||
+++ ckuus5.c Mon Sep 10 19:30:53 2001
|
||||
@@ -3351,6 +3351,9 @@ shofea() {
|
||||
#ifdef __NetBSD__
|
||||
if (!prtopt(&lines,"__NetBSD__")) return;
|
||||
#endif /* __NetBSD__ */
|
||||
+#ifdef __OpenBSD__
|
||||
+ if (!prtopt(&lines,"__OpenBSD__")) return;
|
||||
+#endif /* __OpenBSD__ */
|
||||
#ifdef __FreeBSD__
|
||||
if (!prtopt(&lines,"__FreeBSD__")) return;
|
||||
#endif /* __FreeBSD__ */
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-ckuver_h,v 1.1 2001/09/11 00:18:45 brad Exp $
|
||||
--- ckuver.h.orig Fri Nov 29 08:52:13 1996
|
||||
+++ ckuver.h Mon Sep 10 19:30:54 2001
|
||||
@@ -101,6 +101,9 @@
|
||||
#ifdef __NetBSD__
|
||||
#define HERALD " NetBSD"
|
||||
#else
|
||||
+#ifdef __OpenBSD__
|
||||
+#define HERALD " OpenBSD"
|
||||
+#else
|
||||
#ifdef __FreeBSD__
|
||||
#define HERALD " FreeBSD"
|
||||
#else
|
||||
@@ -110,6 +113,7 @@
|
||||
#define HERALD " 4.4BSD"
|
||||
#endif /* __386BSD__ */
|
||||
#endif /* __FreeBSD__ */
|
||||
+#endif /* __OpenBSD__ */
|
||||
#endif /* __NetBSD__ */
|
||||
#endif /* __bsdi__ */
|
||||
#endif /* BSD44 */
|
@ -1,6 +1,7 @@
|
||||
KERMIT file transfer/terminal emulation utility
|
||||
------------------------------------------------------
|
||||
C-Kermit is a combined serial and network communication software
|
||||
package offering a consistent, medium-independent, cross-platform
|
||||
approach to connection establishment, terminal sessions, file
|
||||
transfer, character-set translation, numeric and alphanumeric paging,
|
||||
and automation of communication tasks.
|
||||
|
||||
This is a release of C-Kermit file transfer protocol utility.
|
||||
This version supports transfer of un-escaped control characters for
|
||||
very fast file transfers with high reliability.
|
||||
WWW: ${HOMEPAGE}
|
||||
|
@ -1,5 +1,25 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2001/09/11 00:20:51 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2001/09/30 19:08:58 naddy Exp $
|
||||
bin/kermit
|
||||
man/cat1/kermit.0
|
||||
man/man1/kermit.1
|
||||
share/doc/kermit/ckcbwr.txt
|
||||
share/doc/kermit/ckccfg.txt
|
||||
share/doc/kermit/ckcplm.txt
|
||||
share/doc/kermit/ckermit2.txt
|
||||
share/doc/kermit/ckuaaa.txt
|
||||
share/doc/kermit/ckubwr.txt
|
||||
share/doc/kermit/ckuins.txt
|
||||
share/doc/kermit/iksd.txt
|
||||
share/doc/kermit/security.txt
|
||||
share/doc/kermit/telnet.txt
|
||||
share/examples/kermit/ckedemo.ksc
|
||||
share/examples/kermit/ckepage.ksc
|
||||
share/examples/kermit/ckevt.ksc
|
||||
share/examples/kermit/dot.kdd
|
||||
share/examples/kermit/dot.kermrc
|
||||
share/examples/kermit/dot.knd
|
||||
share/examples/kermit/dot.ksd
|
||||
share/examples/kermit/dot.mykermrc
|
||||
share/examples/kermit/dot.rzszkermrc
|
||||
share/examples/kermit/iksdpy
|
||||
@dirrm share/examples/kermit
|
||||
@dirrm share/doc/kermit
|
||||
|
Loading…
Reference in New Issue
Block a user