2008-01-18 06:06:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.70 2008/01/18 05:06:26 tnn Exp $
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2004-04-15 20:14:52 +02:00
|
|
|
DISTNAME= cku211
|
|
|
|
PKGNAME= kermit-8.0.211
|
2008-01-18 06:06:18 +01:00
|
|
|
PKGREVISION= 2
|
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
|
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"
|
|
|
|
|
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}
|
2005-12-02 18:01:35 +01:00
|
|
|
MAKE_ENV+= SSLINC=${SSLINC:Q} SSLLIB=${SSLLIB:Q}
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
2006-10-01 16:16:21 +02:00
|
|
|
USE_TOOLS+= nroff
|
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
|
|
|
|
2003-07-02 22:37:34 +02:00
|
|
|
# Set to empty
|
|
|
|
SSLINC= -I${WRKDIR}/.buildlink/include
|
2004-08-27 08:29:06 +02:00
|
|
|
SSLLIB= -L${WRKDIR}/.buildlink/lib ${COMPILER_RPATH_FLAG}${WRKDIR}/.buildlink/lib
|
2003-07-02 22:37:34 +02:00
|
|
|
|
2005-12-02 18:01:35 +01:00
|
|
|
.if !empty(MANINSTALL:Mcatinstall)
|
|
|
|
PLIST_SUBST+= HAVE_CATPAGE=""
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= HAVE_CATPAGE="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(MANINSTALL:Mmaninstall)
|
|
|
|
PLIST_SUBST+= HAVE_MANPAGE=""
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= HAVE_MANPAGE="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
2006-10-01 16:16:21 +02:00
|
|
|
INSTALLATION_DIRS= bin share/doc/kermit
|
2005-06-16 08:57:37 +02:00
|
|
|
|
1999-12-20 13:33:45 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
|
2003-01-23 23:47:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/kermit
|
2006-10-01 16:16:21 +02:00
|
|
|
set -e; \
|
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; \
|
2007-01-07 10:13:46 +01:00
|
|
|
${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/cat1; \
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/kermit.0 ${PREFIX}/${PKGMANDIR}/cat1/kermit.0; \
|
2000-01-02 22:05:01 +01:00
|
|
|
;; \
|
|
|
|
maninstall) \
|
2007-01-07 10:13:46 +01:00
|
|
|
${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/man1; \
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/${PKGMANDIR}/man1/kermit.1; \
|
2000-01-02 22:05:01 +01:00
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done
|
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
|
|
|
|
|
2003-07-02 22:37:34 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2006-10-01 16:16:21 +02:00
|
|
|
. if empty(OS_VERSION:M[0-6]\.*)
|
2005-05-30 17:04:17 +02:00
|
|
|
BUILD_TARGET= macosx103
|
2006-10-01 16:16:21 +02:00
|
|
|
. else
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= macosx10
|
2006-10-01 16:16:21 +02:00
|
|
|
. endif
|
2005-04-27 18:15:24 +02:00
|
|
|
.elif ${OPSYS} == "Linux"
|
|
|
|
BUILD_TARGET= linux
|
2003-07-02 22:37:34 +02:00
|
|
|
.else
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= netbsd+openssl
|
2004-03-30 23:04:21 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
1999-12-20 13:33:45 +01:00
|
|
|
.endif
|
2000-01-06 17:57:16 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|