head	1.6;
access;
symbols
	RELENG_2_1_6_1_RELEASE:1.4.4.1
	RELENG_2_1_6_RELEASE:1.4.4.1
	RELENG_2_1_5_RELEASE:1.4.4.1
	RELENG_2_1_0_RELEASE:1.4
	RELENG_2_1_0:1.4.0.4
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.2
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.4
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2;
locks; strict;
comment	@# @;


1.6
date	96.06.19.21.12.18;	author jkh;	state dead;
branches;
next	1.5;

1.5
date	95.12.10.19.54.22;	author pst;	state Exp;
branches;
next	1.4;

1.4
date	94.12.13.21.03.37;	author ache;	state Exp;
branches
	1.4.4.1;
next	1.3;

1.3
date	94.10.07.07.48.12;	author pst;	state Exp;
branches;
next	1.2;

1.2
date	94.10.06.23.57.13;	author pst;	state Exp;
branches;
next	1.1;

1.1
date	94.09.22.23.52.59;	author ache;	state Exp;
branches;
next	;

1.4.4.1
date	96.06.20.14.19.57;	author jkh;	state dead;
branches;
next	;


desc
@@


1.6
log
@Nuke this thing.
@
text
@PROG=	ncftp

SRCS= cmds.c cmdtab.c ftp.c ftprc.c getpass.c glob.c main.c open.c set.c \
tips.c util.c

DPADD= $(LIBREADLINE) $(LIBTERMCAP)
LDADD= -lreadline -ltermcap

CFLAGS+= -DGZCAT=\"/usr/bin/gzcat\" -DREADLINE -DCURSES -DNO_CURSES_H \
	 -DSYSLOG -DTRY_ABOR -DGATEWAY \
	 -DFTP_DATA_BOTTOM=40000 -DFTP_DATA_TOP=44999

MK= $(CC) $(CFLAGS) $(LDADD)

cmds.o:
	$(CC) $(CFLAGS) -DMK='"$(MK)"' -c ${.CURDIR}/cmds.c

.include <bsd.prog.mk>
@


1.5
log
@Add support for high-range FTP data ports
@
text
@@


1.4
log
@Merge...
@
text
@d10 2
a11 1
	 -DSYSLOG -DTRY_ABOR -DGATEWAY
@


1.4.4.1
log
@Merge from HEAD - nuke ncftp
@
text
@@


1.3
log
@Back out the fluff, leave the meat
@
text
@d10 1
a10 1
	 -DSYSLOG -DTRY_ABOR -DGATEWAY -DPASSIVEMODE
@


1.2
log
@(a) there's no reason for PASSIVEMODE to be conditionally compiled since it's
    controlled by a runtime switch.
(b) add '-P' to toggle passive mode from the command line
(c) turn on passive mode by default
	- passive mode ftp works on all but a few servers out there
	- it's easy to disable
	- no, standard ftp should not run with passive enabled by default,
	  but that doesn't matter because I've already fixed standard mode
	  ftp to take a switch

This really should have been implemented as a ncftp "set" command instead
of carrying over the same hack that was done to ftp.  I will go back and fix
it some day.
@
text
@d10 1
a10 1
	 -DSYSLOG -DTRY_ABOR -DGATEWAY
@


1.1
log
@Final (I hope) tuning
@
text
@d10 1
a10 1
	 -DSYSLOG -DTRY_ABOR -DGATEWAY -DPASSIVEMODE
@
