Final (I hope) tuning

This commit is contained in:
Andrey A. Chernov 1994-09-22 23:53:00 +00:00
parent 6bea800e77
commit b2b074c133
3 changed files with 25 additions and 3 deletions

View File

@ -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

17
usr.bin/ncftp/Makefile Normal file
View File

@ -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 <bsd.prog.mk>

View File

@ -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";