pkgsrc/comms/kermit/Makefile

85 lines
2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.70 2008/01/18 05:06:26 tnn Exp $
DISTNAME= cku211
PKGNAME= kermit-8.0.211
PKGREVISION= 2
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/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.columbia.edu/kermit/
COMMENT= Network and serial communication, file transfer, and scripting utility
LICENSE= kermit-license
.include "../../mk/bsd.prefs.mk"
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
BUILD_DEFS+= KFLAGS LIBS MANINSTALL
2006-10-01 16:16:21 +02:00
MAKE_ENV+= KFLAGS=${KFLAGS:Q} LIBS=${LIBS:Q}
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
#KFLAGS+= -DNODEBUG -DNOOLDMODEMS
# Set to empty
SSLINC= -I${WRKDIR}/.buildlink/include
SSLLIB= -L${WRKDIR}/.buildlink/lib ${COMPILER_RPATH_FLAG}${WRKDIR}/.buildlink/lib
.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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/kermit
2006-10-01 16:16:21 +02:00
set -e; \
for OPT in ${MANINSTALL} broken-solaris-needs-this; do \
case $$OPT in \
catinstall) \
nroff -man ${WRKSRC}/ckuker.nr > ${WRKSRC}/kermit.0; \
${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/cat1; \
${INSTALL_MAN} ${WRKSRC}/kermit.0 ${PREFIX}/${PKGMANDIR}/cat1/kermit.0; \
;; \
maninstall) \
${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/man1; \
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/${PKGMANDIR}/man1/kermit.1; \
;; \
esac; \
done
2006-10-01 16:16:21 +02:00
.for p in NetBSD-1.3*
. if ${MACHINE_PLATFORM:M${p}} != ""
LIBS+= -ltermcap
. endif
.endfor
.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
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
.else
BUILD_TARGET= netbsd+openssl
.include "../../security/openssl/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"