diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-04 13:26:55 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-04 13:26:55 -0400 |
commit | 4c15c8881087781b7611f4cf557389392889e1f1 (patch) | |
tree | 80103f968eb9d0581e77d4259a77bf2ac7dc78a5 /Makefile | |
parent | 6221fa4734eb95d3fd98421db4354d44f8cace8f (diff) |
add an HTTPS version
It does it's own process management (because socat is stupid and won't let
you pass an arbitrary socket to OPENSSL), instead of outsourcing it to
systemd/inetd/whatever.
And stunnel is too complicated.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -13,13 +13,18 @@ Q = @ MAKEFLAGS += -r vars = $(patsubst .var.%,%,$(filter .var.%,$^)) -build_targets = httpconnectd httpconnectd@.service httpconnectd.socket basicauth.conf-sample -install_targets = $(DESTDIR)$(bindir)/httpconnectd $(DESTDIR)$(systemddir)/httpconnectd@.service $(DESTDIR)$(systemddir)/httpconnectd.socket $(DESTDIR)$(pkgconfdir)/basicauth.conf-sample +build_targets += httpconnectd httpconnectd@.service httpconnectd.socket +build_targets += httpsconnectd httpsconnectd.service +build_targets += basicauth.conf-sample +install_targets += $(DESTDIR)$(bindir)/httpconnectd $(DESTDIR)$(systemddir)/httpconnectd@.service $(DESTDIR)$(systemddir)/httpconnectd.socket +install_targets += $(DESTDIR)$(bindir)/httpsconnectd $(DESTDIR)$(systemddir)/httpsconnectd.service $(DESTDIR)$(pkgconfdir)/https.conf +install_targets += $(DESTDIR)$(pkgconfdir)/basicauth.conf-sample all: $(build_targets) install: $(install_targets) clean: rm -f -- httpconnectd httpconnectd.sh httpconnectd@.service + rm -f -- httpsconnectd httpsconnectd.sh httpsconnectd.service uninstall: rm -f -- $(install_targets) rmdir -p -- $(dir $(install_targets)) @@ -28,6 +33,9 @@ uninstall: httpconnectd@.service: .var.bindir httpconnectd.sh: .var.pkgconfdir +httpsconnectd.service: .var.bindir +httpsconnectd.sh: .var.pkgconfdir + ######################################################################## %: %.sh |