From b0a511f900a2884c0d1bb55e3991c068ef3e37f2 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 1 Oct 2024 21:09:22 +0200 Subject: ftp: remove libcurl dependency This splits out sftp into a separate binary that *does* depend on libcurl. However, ftp now uses the same socket code as gopher. ftps is dropped, because I've never even tested it. Maybe I'll add it back when we have working OpenSSL bindings. This is still "doing the easy part first", now I have no clue how to handle sftp because my initial plan ("just use the sftp binary") doesn't work - sftp batch mode doesn't accept passwords. libssh2 remains the sole candidate, but that's what libcurl wraps anyway. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c9d0c248..88670d04 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ all: $(OUTDIR_BIN)/cha $(OUTDIR_BIN)/mancha $(OUTDIR_CGI_BIN)/http \ $(OUTDIR_CGI_BIN)/gmifetch $(OUTDIR_LIBEXEC)/gmi2html \ $(OUTDIR_CGI_BIN)/gopher $(OUTDIR_LIBEXEC)/gopher2html \ $(OUTDIR_CGI_BIN)/cha-finger $(OUTDIR_CGI_BIN)/about \ - $(OUTDIR_CGI_BIN)/file $(OUTDIR_CGI_BIN)/ftp \ + $(OUTDIR_CGI_BIN)/file $(OUTDIR_CGI_BIN)/ftp $(OUTDIR_CGI_BIN)/sftp \ $(OUTDIR_CGI_BIN)/man $(OUTDIR_CGI_BIN)/spartan \ $(OUTDIR_CGI_BIN)/stbi $(OUTDIR_CGI_BIN)/jebp $(OUTDIR_CGI_BIN)/canvas \ $(OUTDIR_CGI_BIN)/sixel $(OUTDIR_CGI_BIN)/resize \ @@ -171,7 +171,8 @@ manpages = $(manpages1) $(manpages5) .PHONY: manpage manpage: $(manpages:%=doc/%) -protocols = http about file ftp gopher gmifetch cha-finger man spartan stbi jebp sixel canvas resize +protocols = http about file ftp sftp gopher gmifetch cha-finger man spartan stbi \ + jebp sixel canvas resize converters = gopher2html md2html ansi2html gmi2html tools = urlenc -- cgit