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 :-)
FTPREL= ../../../
.PATH: ${.CURDIR}/${FTPREL}
PROG=test_url_parse
SRCS=test_url_parse.c
SRCS+=file.c ftp.c http.c progressmeter.c url.c util.c xmalloc.c
CFLAGS+=-I ${.CURDIR}/${FTPREL}
LDADD+= -lutil -ltls -lssl -lcrypto
DPADD+= ${LIBUTIL} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}
REGRESS_TARGETS=run-regress-${PROG}
run-regress-${PROG}: ${PROG}
env ${TEST_ENV} ./${PROG}
.include <bsd.regress.mk>