Final (I hope) tuning
This commit is contained in:
parent
4ddafea3b3
commit
817ce45b72
5
usr.bin/ncftp/.cvsimport.sh
Normal file
5
usr.bin/ncftp/.cvsimport.sh
Normal 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
17
usr.bin/ncftp/Makefile
Normal 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>
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user