aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-10-01 21:09:22 +0200
committerbptato <nincsnevem662@gmail.com>2024-10-01 21:18:59 +0200
commitb0a511f900a2884c0d1bb55e3991c068ef3e37f2 (patch)
tree2ac5d77d3f62d844335d0dd00e840a8f5b38d726 /Makefile
parentee113a5643ed32b7f6ed2522aed92ac700021097 (diff)
downloadchawan-b0a511f900a2884c0d1bb55e3991c068ef3e37f2.tar.gz
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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