2003-04-11 13:49:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.44 2003/04/11 11:49:53 darcy Exp $
|
1998-02-09 23:45:02 +01:00
|
|
|
# $FreeBSD Id: Makefile,v 1.17 1997/11/26 23:16:51 jseger Exp
|
|
|
|
#
|
|
|
|
|
2003-04-11 13:49:53 +02:00
|
|
|
DISTNAME= cku209
|
|
|
|
PKGNAME= kermit-8.0.209
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
1998-02-09 23:45:02 +01:00
|
|
|
CATEGORIES= comms
|
Update from 8.0.201 to 8.0.206.
List of Changes
Most of these also apply to Kermit 95 2.1.
New commands:
* ORIENTATION lists location-related variables and their values.
* KCD changes to special directories by their symbolic names ("kcd ?"
for a list).
* SET CD HOME path to specify home directory for CD and KCD commands.
* CONTINUE given at top level is equivalent to END -- handy when
PROMPT'ed out of a script, to continue the script.
New switches or operands for existing commands:
* GETOK /TIMEOUT
* ASK, ASKQ, GETOK /QUIET (suppresses error message on timeout)
* COPY /APPEND now allows concatenating multiple source files into one
dest file.
* SET TCP { HTTP-PROXY, SOCKS-SERVER } /USER, /PASSWORD.
* DIRECTORY command now accepts multiple filespecs, e.g. "dir a b c".
SET QUIET ON now also applies to:
* SET HOST connection progress messages.
* "Press the X or E key to cancel" file-transfer message.
* REMOTE CD response.
* REMOTE LOGIN response.
Improvements and new features:
* Numerous FTP client fixes and new features, listed below.
* C-Kermit, when in remote mode at the end of a file transfer, now
prints a one-line "where" message. Control with SET TRANSFER REPORT.
* Unix makefile "install" target now creates an UNINSTALL script.
* Improved operation and performance on RFC 2217 Telnet connections.
* Improved CONNECT (interactive terminal connection) performance.
* HELP text updated for many commands.
New or fixed makefile targets:
* Solaris 9 (several variations)
* Concurrent PowerMAX
* Mac OS X 10.2
* FreeBSD 1.0
* FreeBSD 4.6, 5.0
* AIX 5.2, 5.3
Bugs fixed (general):
* Failure to run in VMS Batch fixed.
* LDIRECTORY fixed to run Kermit's built-in DIRECTORY command rather
than an external one.
* Fixed Solaris and other SVORPOSIX builds to find out their full
hostnames rather than just the "uname -n" name.
* Fixed some problems matching strings that start with ".".
* Fixed some problems matching pattern that contain {a,b,c} lists.
* Fixed erroneous reporting of text-mode reception as binary when
sender did not report the file size (cosmetic only).
* Many problems with SWITCH statements fixed.
* Fixed SET OPTIONS DIRECTORY /DOTFILES to work for server too.
* Fixed DELETE to print an error message if the file was not found.
* Fixed SET CONTROL UNPREFIX ALL and SET PREFIXING NONE to do the same
thing.
* Fixed bugs executing macros from within the ON_EXIT macro.
* \fday() and \fnday() fixed for dates prior to 17 Nov 1858.
* Serial speed-changing bug in Linux fixed.
* "Unbalanced braces" script parsing errors when using \{number} fixed.
* "if defined \v(name)" fixed to behave as described in the book.
* Fixed Problems caused by LOCAL variables whose names are left
substrings of macro names.
* The INPUT command was fixed to honor the PARITY setting.
* Fixed bug with COPY to existing file that is longer than source file.
* REINPUT command failed to strip braces/quotes around its target
string.
* Network directory lookups didn't work for SSH connections.
* REMOTE SET { FILE, TRANSFER } CHARACTER-SET fixed.
* Closed some holes whereby an incompletely received file was not
deleted when SET FILE INCOMPLETE is DISCARD, e.g. when the Kermit is
hung up upon.
* SET XFER CHARACTER-SET TRANSPARENT fixed to do the same as SET XFER
TRANSLATION OFF.
* SET HOST PTY (e.g. SSH) connection fixed to pass along window-size
changes.
* C-Kermit search path for TAKE files was accidentally disabled.
FTP client bugs fixed:
* Character set translation was broken on little-endian (e.g. PC)
architectures.
* FTP PUT /SERVER-RENAME:, /RENAME-TO:, /MOVE-TO: switches were sticky.
* Make SET TRANSFER MODE MANUAL apply to FTP.
* Make SET FILE INCOMPLETE { KEEP, DISCARD } apply to FTP.
* FTP MGET /UPDATE handled equal times incorrectly.
* FTP GET /RECOVER fixed to ignore file dates, use only size.
* FTP MGET /RECOVER sometimes downloaded files it didn't need to.
* FTP downloads with TRANSFER DISPLAY BRIEF could give misleading error
msgs.
* MGET temp file not deleted if FTP DEBUG set to OFF after it was ON.
* LOCUS not switched back when FTP connection is lost.
* Set incoming file date even if it was not completely received.
* FTP MGET sent SIZE and MDTM commands even when it didn't have to.
* FTP MGET sent SIZE and MDTM commands even when it knew they wouldn't
work.
* FTP MGET failed if no files were selected for download.
* FTP MGET a* b* c* would fail to get any c*'s if no b*'s existed.
* Big problems canceling MGET with Ctrl-C.
* Some extraneous LOCUS dialogs squelched.
* Some inconsistencies in SET FTP FILENAMES AUTO fixed.
* Fixed file-descriptor pileup after multiple MGETs when using
mkstemp().
* Fixed "mget foo", where foo is a directory name.
FTP improvements:
* New FTP protocol features added (FEAT, MLSD).
* FTP MGET /RECURSIVE now works as expected if server supports MLSD.
* FTP MGET /DATES-DIFFER to download if local and remote file dates
differ.
* FTP DATES default changed to ON.
* FTP MPUT, MGET /EXCEPT now allows up to 64 patterns (up from 8).
* Top-level SITE and PASSIVE commands added for convenience.
* MGET /COLLISION:APPEND /AS-NAME:newfile *.* puts all remote files
into one local file.
* SET FTP SERVER-TIME-OFFSET for when server has wrong timezone set.
* Allow for alternative server interpretations of [M]MPUT /UNIQUE.
* SET FTP ANONOMOUS-PASSWORD lets you specify the default anonymous
password.
* Allow "GET /RECURSIVE path/file" to force local subdirectory
creation.
* SET FTP DISPLAY is like SET TRANSFER DISPLAY but applies only to FTP.
* FTP { ENABLE, DISABLE } new-protocol-feature-name.
* FTP MGET /NODOTFILES.
* Debug log now records FTP commands and responses in grep-able format.
2003-01-09 19:41:03 +01:00
|
|
|
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2003-03-11 02:48:56 +01:00
|
|
|
MAINTAINER= hubertf@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.columbia.edu/kermit/
|
2001-02-16 14:51:27 +01:00
|
|
|
COMMENT= Network and serial communication, file transfer, and scripting utility
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2000-09-13 04:26:50 +02:00
|
|
|
LICENSE= kermit-license
|
1999-12-20 13:33:45 +01:00
|
|
|
|
2002-01-28 13:06:55 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
ALL_TARGET= macosx10
|
|
|
|
.else
|
1999-12-20 13:33:45 +01:00
|
|
|
ALL_TARGET= netbsd
|
2002-01-28 13:06:55 +01:00
|
|
|
.endif
|
|
|
|
|
1999-12-20 13:33:45 +01:00
|
|
|
BUILD_DEFS+= KFLAGS LIBS KERMIT_SUID_UUCP
|
|
|
|
MAKE_ENV+= KFLAGS="${KFLAGS}" LIBS="${LIBS}"
|
|
|
|
MAKEFILE= makefile
|
2000-01-06 17:31:06 +01:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2000-01-02 23:57:25 +01:00
|
|
|
#KFLAGS+= -DNODEBUG -DNOOLDMODEMS
|
1999-12-20 13:33:45 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
|
2000-01-02 22:05:01 +01:00
|
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
2003-01-23 23:47:43 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kermit
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/kermit
|
2001-11-26 05:52:47 +01:00
|
|
|
|
|
|
|
no-manpage-in-beta-release:
|
2000-02-13 17:33:47 +01:00
|
|
|
for OPT in ${MANINSTALL} broken-solaris-needs-this; do \
|
2000-01-02 22:05:01 +01:00
|
|
|
case $$OPT in \
|
|
|
|
catinstall) \
|
|
|
|
nroff -man ${WRKSRC}/ckuker.nr > ${WRKSRC}/kermit.0; \
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/kermit.0 ${PREFIX}/man/cat1/kermit.0; \
|
|
|
|
${ECHO} man/cat1/kermit.0 >>${PLIST_SRC}; \
|
|
|
|
;; \
|
|
|
|
maninstall) \
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1; \
|
|
|
|
${ECHO} man/man1/kermit.1 >>${PLIST_SRC}; \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done
|
1998-02-09 23:45:02 +01:00
|
|
|
|
1999-12-20 13:33:45 +01:00
|
|
|
.if defined(KERMIT_SUID_UUCP)
|
|
|
|
.if ${KERMIT_SUID_UUCP} == "yes" || ${KERMIT_SUID_UUCP} == "YES"
|
2000-01-06 17:31:06 +01:00
|
|
|
BINOWN= uucp
|
|
|
|
BINMODE= 4555
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.for __tmp__ in NetBSD-1.3*
|
|
|
|
.if ${MACHINE_PLATFORM:M${__tmp__}} != ""
|
|
|
|
LIBS+= -ltermcap
|
|
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
# XXX This needs to be tested. XXX
|
|
|
|
#
|
|
|
|
# Include SOCKS firewall support
|
|
|
|
.if defined(USE_SOCKS)
|
|
|
|
.if ${USE_SOCKS} == 4
|
|
|
|
DEPENDS+= socks4-2.2:../../net/socks4
|
|
|
|
KFLAGS+= -DSOCKS
|
2002-05-25 21:24:00 +02:00
|
|
|
LIBS+= -L${PREFIX}/lib -lsocks4
|
2000-01-06 17:31:06 +01:00
|
|
|
.elif ${USE_SOCKS} == 5
|
|
|
|
DEPENDS+= socks5-1.0.2:../../net/socks5
|
|
|
|
KFLAGS+= -DSOCKS -DCK_SOCKS5
|
2002-05-25 21:24:00 +02:00
|
|
|
LIBS+= -L${PREFIX}/lib -lsocks5
|
1999-12-20 13:33:45 +01:00
|
|
|
.endif
|
|
|
|
.endif
|
2000-01-06 17:57:16 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|