pkgsrc/net/tnftp/Makefile
lukem 1524f1105e Update to tnftp 20050610.
Notable changes (see files/ChangeLog for full details):
* Convert to use getline() instead of fgets() whenever reading user input to
  ensure that an overly long input line doesn't leave excess characters for
  the next input operation to accidentally use as input.
  Should fix PR 23953.
* Improve method used in fileindir() to determine if `file' is in or under
  `dir': realpath(3) on non-NetBSD systems may fail if the target filename
  doesn't exist, so instead use realpath(3) on the parent directory of `file'.
  (The previous code was over-aggressive in preventing transfers on systems
  with a realpath(3) that had different semantics to NetBSD.)
* Various portability fixes.
2005-06-10 05:10:02 +00:00

47 lines
1,005 B
Makefile

# $NetBSD: Makefile,v 1.15 2005/06/10 05:10:02 lukem Exp $
#
DISTNAME= tnftp-20050610
SVR4_PKGNAME= tnftp
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
# distfile obtained from: ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp
MAINTAINER= lukem@NetBSD.org
COMMENT= The enhanced FTP client in NetBSD
GNU_CONFIGURE= YES
CONFLICTS+= kth-krb4-[0-9]*
CONFLICTS+= lukemftp-[0-9]*
NO_CHECKSUM= # defined
.include "../../mk/bsd.prefs.mk"
# Include SOCKS firewall support
.if defined(USE_SOCKS) && (${USE_SOCKS} == "4" || ${USE_SOCKS} == "5")
. if ${USE_SOCKS} == "4"
DEPENDS+= socks4-2.2:../../net/socks4
CONFIGURE_ARGS+= --with-socks4
. else
DEPENDS+= socks5-1.0.2:../../net/socks5
CONFIGURE_ARGS+= --with-socks5
. endif
.endif
.if defined(USE_INET6) && ${USE_INET6} == "YES"
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
OPSYSVARS+= MAKE_ENV
MAKE_ENV.SunOS+= CPPFLAGS=""
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
.include "../../mk/bsd.pkg.mk"