An HTTP(S), FTP client.
Found a copy of some old OpenBSD days hacking stashed somewhere in
the backups. This version saw the light of the day as official
OpenBSD ftp(1) for a grand total of 1 day :-)
# Define SMALL to disable command line editing
#CFLAGS+=-DSMALL
PROG= ftp
SRCS= cmd.c file.c ftp.c http.c main.c progressmeter.c url.c util.c xmalloc.c
LDADD+= -ledit -lcurses -lutil -ltls -lssl -lcrypto
DPADD+= ${LIBEDIT} ${LIBCURSES} ${LIBUTIL} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}
regression-tests:
@echo Running regression tests...
@cd ${.CURDIR}/regress && ${MAKE} depend && exec ${MAKE} regress
.include <bsd.prog.mk>