diff --git a/usr.bin/ncftp/.cvsimport.sh b/usr.bin/ncftp/.cvsimport.sh new file mode 100644 index 000000000000..0d73149854c0 --- /dev/null +++ b/usr.bin/ncftp/.cvsimport.sh @@ -0,0 +1,5 @@ +#!/bin/sh +tar zxvf ncftp185.tgz +cd ncftp185 +mv Makefile Makefile.ORIG +cvs import src/usr.bin/ncftp mgleason ncftp_1_8_5 diff --git a/usr.bin/ncftp/Makefile b/usr.bin/ncftp/Makefile new file mode 100644 index 000000000000..a93ff773566d --- /dev/null +++ b/usr.bin/ncftp/Makefile @@ -0,0 +1,17 @@ +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 -DPASSIVEMODE + +MK= $(CC) $(CFLAGS) $(LDADD) + +cmds.o: + $(CC) $(CFLAGS) -DMK='"$(MK)"' -c ${.CURDIR}/cmds.c + +.include diff --git a/usr.bin/ncftp/cmds.c b/usr.bin/ncftp/cmds.c index 41394dbb2c4e..0ff105509969 100644 --- a/usr.bin/ncftp/cmds.c +++ b/usr.bin/ncftp/cmds.c @@ -1,8 +1,8 @@ /* cmds.c */ /* $RCSfile: cmds.c,v $ - * $Revision: 14020.14 $ - * $Date: 93/07/09 11:31:53 $ + * $Revision: 1.1.1.1 $ + * $Date: 1994/09/22 23:45:33 $ */ #include "sys.h" @@ -37,7 +37,7 @@ /* cmds.c globals */ #ifdef PASSIVEMODE -int passivemode = 1; +int passivemode = 0; #endif int curtype; /* file transfer type */ char *typeabbrs = "abiet";