2013-02-07 00:20:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.82 2013/02/06 23:21:51 jperkin Exp $
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2011-08-25 16:54:06 +02:00
|
|
|
DISTNAME= cku302
|
|
|
|
PKGNAME= kermit-9.0.302
|
2013-02-07 00:20:50 +01:00
|
|
|
PKGREVISION= 3
|
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
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
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"
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2004-10-04 01:50:23 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2005-12-02 18:01:35 +01:00
|
|
|
BUILD_DEFS+= KFLAGS LIBS MANINSTALL
|
2006-10-01 16:16:21 +02:00
|
|
|
MAKE_ENV+= KFLAGS=${KFLAGS:Q} LIBS=${LIBS:Q}
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2000-01-02 23:57:25 +01:00
|
|
|
#KFLAGS+= -DNODEBUG -DNOOLDMODEMS
|
2011-12-06 02:19:15 +01:00
|
|
|
KFLAGS+= ${BUILDLINK_CPPFLAGS}
|
|
|
|
LIBS+= ${BUILDLINK_LDFLAGS}
|
1999-12-20 13:33:45 +01:00
|
|
|
|
2005-12-02 18:01:35 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2008-03-01 06:17:32 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/kermit
|
2005-06-16 08:57:37 +02:00
|
|
|
|
1999-12-20 13:33:45 +01:00
|
|
|
do-install:
|
2008-03-01 06:03:25 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${DESTDIR}${PREFIX}/bin/kermit
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/kermit
|
2008-03-01 06:17:32 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/ckuker.nr \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/kermit.1; \
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2006-10-01 16:16:21 +02:00
|
|
|
.for p in NetBSD-1.3*
|
|
|
|
. if ${MACHINE_PLATFORM:M${p}} != ""
|
|
|
|
LIBS+= -ltermcap
|
|
|
|
. endif
|
2000-01-06 17:31:06 +01:00
|
|
|
.endfor
|
|
|
|
|
2011-12-06 02:19:15 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
|
|
|
2003-07-02 22:37:34 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2011-11-20 13:01:50 +01:00
|
|
|
. if !empty(OS_VERSION:M??.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx10.6
|
|
|
|
. elif !empty(OS_VERSION:M9.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx10.5
|
|
|
|
. elif !empty(OS_VERSION:M8.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx10.4
|
|
|
|
. elif empty(OS_VERSION:M7.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx103.9
|
2006-10-01 16:16:21 +02:00
|
|
|
. else
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= macosx10
|
2006-10-01 16:16:21 +02:00
|
|
|
. endif
|
2005-04-27 18:15:24 +02:00
|
|
|
.elif ${OPSYS} == "Linux"
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= linux
|
2011-12-06 02:19:15 +01:00
|
|
|
MAKE_ENV+= HAVE_LIBCURSES=-l${BUILDLINK_LIBNAME.curses}
|
|
|
|
. if ${CURSES_TYPE} == "ncurses"
|
|
|
|
MAKE_ENV+= HAVE_CURSES=-DCK_NCURSES
|
|
|
|
. else
|
|
|
|
MAKE_ENV+= HAVE_CURSES=-DCK_NCURSES
|
|
|
|
. endif
|
2011-05-14 21:27:53 +02:00
|
|
|
.elif ${OPSYS} == "SunOS"
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= solaris11g
|
2003-07-02 22:37:34 +02:00
|
|
|
.else
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= netbsd
|
1999-12-20 13:33:45 +01:00
|
|
|
.endif
|
2000-01-06 17:57:16 +01:00
|
|
|
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET= ${BUILD_TARGET_OPSYS}${BUILD_TARGET_OPTIONS:ts}
|
|
|
|
|
2000-01-06 17:57:16 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|