summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-21 11:58:44 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-21 11:58:44 +0000
commitfb76faf56aca9b79648d776896a4a4fae7c978cf (patch)
tree77aed5d588534a742b7795fa9f8406469e067414
parent7f2cd05720e721c7e8131d4a4762d97a29fbf7b4 (diff)
downloads6-networking-fb76faf56aca9b79648d776896a4a4fae7c978cf.tar.xz
Move all tls stuff into its own subdir
-rw-r--r--package/deps.mak70
-rw-r--r--src/tls/deps-exe/s6-tlsc (renamed from src/conn-tools/deps-exe/s6-tlsc)0
-rw-r--r--src/tls/deps-exe/s6-tlsc-io (renamed from src/conn-tools/deps-exe/s6-tlsc-io)0
-rw-r--r--src/tls/deps-exe/s6-tlsclient (renamed from src/conn-tools/deps-exe/s6-tlsclient)0
-rw-r--r--src/tls/deps-exe/s6-tlsd (renamed from src/conn-tools/deps-exe/s6-tlsd)0
-rw-r--r--src/tls/deps-exe/s6-tlsd-io (renamed from src/conn-tools/deps-exe/s6-tlsd-io)0
-rw-r--r--src/tls/deps-exe/s6-tlsserver (renamed from src/conn-tools/deps-exe/s6-tlsserver)0
-rw-r--r--src/tls/deps-exe/s6-ucspitlsc (renamed from src/conn-tools/deps-exe/s6-ucspitlsc)0
-rw-r--r--src/tls/deps-exe/s6-ucspitlsd (renamed from src/conn-tools/deps-exe/s6-ucspitlsd)0
-rw-r--r--src/tls/deps-lib/s6tls (renamed from src/conn-tools/deps-lib/s6tls)0
-rw-r--r--src/tls/s6-tlsc-io.c (renamed from src/conn-tools/s6-tlsc-io.c)0
-rw-r--r--src/tls/s6-tlsc.c (renamed from src/conn-tools/s6-tlsc.c)0
-rw-r--r--src/tls/s6-tlsclient.c (renamed from src/conn-tools/s6-tlsclient.c)0
-rw-r--r--src/tls/s6-tlsd-io.c (renamed from src/conn-tools/s6-tlsd-io.c)0
-rw-r--r--src/tls/s6-tlsd.c (renamed from src/conn-tools/s6-tlsd.c)0
-rw-r--r--src/tls/s6-tlsserver.c (renamed from src/conn-tools/s6-tlsserver.c)0
-rw-r--r--src/tls/s6-ucspitlsc.c (renamed from src/conn-tools/s6-ucspitlsc.c)0
-rw-r--r--src/tls/s6-ucspitlsd.c (renamed from src/conn-tools/s6-ucspitlsd.c)0
-rw-r--r--src/tls/s6tls-internal.h (renamed from src/conn-tools/s6tls-internal.h)0
-rw-r--r--src/tls/s6tls_exec_tlscio.c (renamed from src/conn-tools/s6tls_exec_tlscio.c)0
-rw-r--r--src/tls/s6tls_exec_tlsdio.c (renamed from src/conn-tools/s6tls_exec_tlsdio.c)0
-rw-r--r--src/tls/s6tls_sync_and_exec_app.c (renamed from src/conn-tools/s6tls_sync_and_exec_app.c)0
-rw-r--r--src/tls/s6tls_ucspi_exec_app.c (renamed from src/conn-tools/s6tls_ucspi_exec_app.c)0
23 files changed, 35 insertions, 35 deletions
diff --git a/package/deps.mak b/package/deps.mak
index 9f779b9..adfe397 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -20,18 +20,6 @@ src/conn-tools/s6-tcpserver4d.o src/conn-tools/s6-tcpserver4d.lo: src/conn-tools
src/conn-tools/s6-tcpserver6-socketbinder.o src/conn-tools/s6-tcpserver6-socketbinder.lo: src/conn-tools/s6-tcpserver6-socketbinder.c
src/conn-tools/s6-tcpserver6.o src/conn-tools/s6-tcpserver6.lo: src/conn-tools/s6-tcpserver6.c src/include/s6-networking/config.h
src/conn-tools/s6-tcpserver6d.o src/conn-tools/s6-tcpserver6d.lo: src/conn-tools/s6-tcpserver6d.c
-src/conn-tools/s6-tlsc-io.o src/conn-tools/s6-tlsc-io.lo: src/conn-tools/s6-tlsc-io.c src/include/s6-networking/config.h src/include/s6-networking/sbearssl.h src/include/s6-networking/stls.h
-src/conn-tools/s6-tlsc.o src/conn-tools/s6-tlsc.lo: src/conn-tools/s6-tlsc.c src/conn-tools/s6tls-internal.h
-src/conn-tools/s6-tlsclient.o src/conn-tools/s6-tlsclient.lo: src/conn-tools/s6-tlsclient.c src/include/s6-networking/config.h
-src/conn-tools/s6-tlsd-io.o src/conn-tools/s6-tlsd-io.lo: src/conn-tools/s6-tlsd-io.c src/include/s6-networking/config.h src/include/s6-networking/sbearssl.h src/include/s6-networking/stls.h
-src/conn-tools/s6-tlsd.o src/conn-tools/s6-tlsd.lo: src/conn-tools/s6-tlsd.c src/conn-tools/s6tls-internal.h
-src/conn-tools/s6-tlsserver.o src/conn-tools/s6-tlsserver.lo: src/conn-tools/s6-tlsserver.c src/include/s6-networking/config.h
-src/conn-tools/s6-ucspitlsc.o src/conn-tools/s6-ucspitlsc.lo: src/conn-tools/s6-ucspitlsc.c src/include/s6-networking/config.h src/conn-tools/s6tls-internal.h
-src/conn-tools/s6-ucspitlsd.o src/conn-tools/s6-ucspitlsd.lo: src/conn-tools/s6-ucspitlsd.c src/include/s6-networking/config.h src/conn-tools/s6tls-internal.h
-src/conn-tools/s6tls_exec_tlscio.o src/conn-tools/s6tls_exec_tlscio.lo: src/conn-tools/s6tls_exec_tlscio.c src/include/s6-networking/config.h src/conn-tools/s6tls-internal.h
-src/conn-tools/s6tls_exec_tlsdio.o src/conn-tools/s6tls_exec_tlsdio.lo: src/conn-tools/s6tls_exec_tlsdio.c src/include/s6-networking/config.h src/conn-tools/s6tls-internal.h
-src/conn-tools/s6tls_sync_and_exec_app.o src/conn-tools/s6tls_sync_and_exec_app.lo: src/conn-tools/s6tls_sync_and_exec_app.c src/conn-tools/s6tls-internal.h
-src/conn-tools/s6tls_ucspi_exec_app.o src/conn-tools/s6tls_ucspi_exec_app.lo: src/conn-tools/s6tls_ucspi_exec_app.c src/conn-tools/s6tls-internal.h
src/libs6net/s6net_ident_client.o src/libs6net/s6net_ident_client.lo: src/libs6net/s6net_ident_client.c src/include/s6-networking/ident.h
src/libs6net/s6net_ident_error.o src/libs6net/s6net_ident_error.lo: src/libs6net/s6net_ident_error.c src/include/s6-networking/ident.h
src/libs6net/s6net_ident_reply_get.o src/libs6net/s6net_ident_reply_get.lo: src/libs6net/s6net_ident_reply_get.c src/include/s6-networking/ident.h
@@ -80,6 +68,18 @@ src/stls/stls_client_init_and_handshake.o src/stls/stls_client_init_and_handshak
src/stls/stls_drop.o src/stls/stls_drop.lo: src/stls/stls_drop.c src/stls/stls-internal.h
src/stls/stls_run.o src/stls/stls_run.lo: src/stls/stls_run.c src/include/s6-networking/stls.h
src/stls/stls_server_init_and_handshake.o src/stls/stls_server_init_and_handshake.lo: src/stls/stls_server_init_and_handshake.c src/include/s6-networking/stls.h src/stls/stls-internal.h
+src/tls/s6-tlsc-io.o src/tls/s6-tlsc-io.lo: src/tls/s6-tlsc-io.c src/include/s6-networking/config.h src/include/s6-networking/sbearssl.h src/include/s6-networking/stls.h
+src/tls/s6-tlsc.o src/tls/s6-tlsc.lo: src/tls/s6-tlsc.c src/tls/s6tls-internal.h
+src/tls/s6-tlsclient.o src/tls/s6-tlsclient.lo: src/tls/s6-tlsclient.c src/include/s6-networking/config.h
+src/tls/s6-tlsd-io.o src/tls/s6-tlsd-io.lo: src/tls/s6-tlsd-io.c src/include/s6-networking/config.h src/include/s6-networking/sbearssl.h src/include/s6-networking/stls.h
+src/tls/s6-tlsd.o src/tls/s6-tlsd.lo: src/tls/s6-tlsd.c src/tls/s6tls-internal.h
+src/tls/s6-tlsserver.o src/tls/s6-tlsserver.lo: src/tls/s6-tlsserver.c src/include/s6-networking/config.h
+src/tls/s6-ucspitlsc.o src/tls/s6-ucspitlsc.lo: src/tls/s6-ucspitlsc.c src/include/s6-networking/config.h src/tls/s6tls-internal.h
+src/tls/s6-ucspitlsd.o src/tls/s6-ucspitlsd.lo: src/tls/s6-ucspitlsd.c src/include/s6-networking/config.h src/tls/s6tls-internal.h
+src/tls/s6tls_exec_tlscio.o src/tls/s6tls_exec_tlscio.lo: src/tls/s6tls_exec_tlscio.c src/include/s6-networking/config.h src/tls/s6tls-internal.h
+src/tls/s6tls_exec_tlsdio.o src/tls/s6tls_exec_tlsdio.lo: src/tls/s6tls_exec_tlsdio.c src/include/s6-networking/config.h src/tls/s6tls-internal.h
+src/tls/s6tls_sync_and_exec_app.o src/tls/s6tls_sync_and_exec_app.lo: src/tls/s6tls_sync_and_exec_app.c src/tls/s6tls-internal.h
+src/tls/s6tls_ucspi_exec_app.o src/tls/s6tls_ucspi_exec_app.lo: src/tls/s6tls_ucspi_exec_app.c src/tls/s6tls-internal.h
s6-clockadd: EXTRA_LIBS := -lskarnet ${SYSCLOCK_LIB}
s6-clockadd: src/clock/s6-clockadd.o
@@ -91,13 +91,6 @@ s6-taiclock: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB}
s6-taiclock: src/clock/s6-taiclock.o
s6-taiclockd: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB}
s6-taiclockd: src/clock/s6-taiclockd.o
-ifeq ($(strip $(STATIC_LIBS_ARE_PIC)),)
-libs6tls.a.xyzzy: src/conn-tools/s6tls_exec_tlscio.o src/conn-tools/s6tls_exec_tlsdio.o src/conn-tools/s6tls_sync_and_exec_app.o src/conn-tools/s6tls_ucspi_exec_app.o
-else
-libs6tls.a.xyzzy: src/conn-tools/s6tls_exec_tlscio.lo src/conn-tools/s6tls_exec_tlsdio.lo src/conn-tools/s6tls_sync_and_exec_app.lo src/conn-tools/s6tls_ucspi_exec_app.lo
-endif
-libs6tls.so.xyzzy: EXTRA_LIBS :=
-libs6tls.so.xyzzy: src/conn-tools/s6tls_exec_tlscio.lo src/conn-tools/s6tls_exec_tlsdio.lo src/conn-tools/s6tls_sync_and_exec_app.lo src/conn-tools/s6tls_ucspi_exec_app.lo
s6-getservbyname: EXTRA_LIBS := -lskarnet ${SOCKET_LIB}
s6-getservbyname: src/conn-tools/s6-getservbyname.o
s6-ident-client: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} ${SYSCLOCK_LIB}
@@ -120,22 +113,6 @@ s6-tcpserver6-socketbinder: EXTRA_LIBS := -lskarnet ${SOCKET_LIB}
s6-tcpserver6-socketbinder: src/conn-tools/s6-tcpserver6-socketbinder.o
s6-tcpserver6d: EXTRA_LIBS := -lskarnet ${SOCKET_LIB}
s6-tcpserver6d: src/conn-tools/s6-tcpserver6d.o
-s6-tlsc: EXTRA_LIBS := -lskarnet
-s6-tlsc: src/conn-tools/s6-tlsc.o libs6tls.a.xyzzy
-s6-tlsc-io: EXTRA_LIBS := -lskarnet ${CRYPTO_LIB} ${SOCKET_LIB} ${SYSCLOCK_LIB}
-s6-tlsc-io: src/conn-tools/s6-tlsc-io.o ${LIBCRYPTOSUPPORT}
-s6-tlsclient: EXTRA_LIBS := -lskarnet
-s6-tlsclient: src/conn-tools/s6-tlsclient.o
-s6-tlsd: EXTRA_LIBS := -lskarnet
-s6-tlsd: src/conn-tools/s6-tlsd.o libs6tls.a.xyzzy
-s6-tlsd-io: EXTRA_LIBS := -lskarnet ${CRYPTO_LIB} ${SOCKET_LIB} ${SYSCLOCK_LIB}
-s6-tlsd-io: src/conn-tools/s6-tlsd-io.o ${LIBCRYPTOSUPPORT}
-s6-tlsserver: EXTRA_LIBS := -lskarnet
-s6-tlsserver: src/conn-tools/s6-tlsserver.o
-s6-ucspitlsc: EXTRA_LIBS := -lskarnet ${SOCKET_LIB}
-s6-ucspitlsc: src/conn-tools/s6-ucspitlsc.o libs6tls.a.xyzzy
-s6-ucspitlsd: EXTRA_LIBS := -lskarnet ${SOCKET_LIB}
-s6-ucspitlsd: src/conn-tools/s6-ucspitlsd.o libs6tls.a.xyzzy
ifeq ($(strip $(STATIC_LIBS_ARE_PIC)),)
libs6net.a.xyzzy: src/libs6net/s6net_ident_client.o src/libs6net/s6net_ident_reply_get.o src/libs6net/s6net_ident_reply_parse.o src/libs6net/s6net_ident_error.o
else
@@ -159,3 +136,26 @@ libstls.a.xyzzy: src/stls/stls_drop.lo src/stls/stls_run.lo src/stls/stls_client
endif
libstls.so.xyzzy: EXTRA_LIBS := ${CRYPTO_LIB} -lskarnet
libstls.so.xyzzy: src/stls/stls_drop.lo src/stls/stls_run.lo src/stls/stls_client_init_and_handshake.lo src/stls/stls_server_init_and_handshake.lo
+ifeq ($(strip $(STATIC_LIBS_ARE_PIC)),)
+libs6tls.a.xyzzy: src/tls/s6tls_exec_tlscio.o src/tls/s6tls_exec_tlsdio.o src/tls/s6tls_sync_and_exec_app.o src/tls/s6tls_ucspi_exec_app.o
+else
+libs6tls.a.xyzzy: src/tls/s6tls_exec_tlscio.lo src/tls/s6tls_exec_tlsdio.lo src/tls/s6tls_sync_and_exec_app.lo src/tls/s6tls_ucspi_exec_app.lo
+endif
+libs6tls.so.xyzzy: EXTRA_LIBS :=
+libs6tls.so.xyzzy: src/tls/s6tls_exec_tlscio.lo src/tls/s6tls_exec_tlsdio.lo src/tls/s6tls_sync_and_exec_app.lo src/tls/s6tls_ucspi_exec_app.lo
+s6-tlsc: EXTRA_LIBS := -lskarnet
+s6-tlsc: src/tls/s6-tlsc.o libs6tls.a.xyzzy
+s6-tlsc-io: EXTRA_LIBS := -lskarnet ${CRYPTO_LIB} ${SOCKET_LIB} ${SYSCLOCK_LIB}
+s6-tlsc-io: src/tls/s6-tlsc-io.o ${LIBCRYPTOSUPPORT}
+s6-tlsclient: EXTRA_LIBS := -lskarnet
+s6-tlsclient: src/tls/s6-tlsclient.o
+s6-tlsd: EXTRA_LIBS := -lskarnet
+s6-tlsd: src/tls/s6-tlsd.o libs6tls.a.xyzzy
+s6-tlsd-io: EXTRA_LIBS := -lskarnet ${CRYPTO_LIB} ${SOCKET_LIB} ${SYSCLOCK_LIB}
+s6-tlsd-io: src/tls/s6-tlsd-io.o ${LIBCRYPTOSUPPORT}
+s6-tlsserver: EXTRA_LIBS := -lskarnet
+s6-tlsserver: src/tls/s6-tlsserver.o
+s6-ucspitlsc: EXTRA_LIBS := -lskarnet ${SOCKET_LIB}
+s6-ucspitlsc: src/tls/s6-ucspitlsc.o libs6tls.a.xyzzy
+s6-ucspitlsd: EXTRA_LIBS := -lskarnet ${SOCKET_LIB}
+s6-ucspitlsd: src/tls/s6-ucspitlsd.o libs6tls.a.xyzzy
diff --git a/src/conn-tools/deps-exe/s6-tlsc b/src/tls/deps-exe/s6-tlsc
index 37405fd..37405fd 100644
--- a/src/conn-tools/deps-exe/s6-tlsc
+++ b/src/tls/deps-exe/s6-tlsc
diff --git a/src/conn-tools/deps-exe/s6-tlsc-io b/src/tls/deps-exe/s6-tlsc-io
index 3e2653d..3e2653d 100644
--- a/src/conn-tools/deps-exe/s6-tlsc-io
+++ b/src/tls/deps-exe/s6-tlsc-io
diff --git a/src/conn-tools/deps-exe/s6-tlsclient b/src/tls/deps-exe/s6-tlsclient
index e7187fe..e7187fe 100644
--- a/src/conn-tools/deps-exe/s6-tlsclient
+++ b/src/tls/deps-exe/s6-tlsclient
diff --git a/src/conn-tools/deps-exe/s6-tlsd b/src/tls/deps-exe/s6-tlsd
index 37405fd..37405fd 100644
--- a/src/conn-tools/deps-exe/s6-tlsd
+++ b/src/tls/deps-exe/s6-tlsd
diff --git a/src/conn-tools/deps-exe/s6-tlsd-io b/src/tls/deps-exe/s6-tlsd-io
index 3e2653d..3e2653d 100644
--- a/src/conn-tools/deps-exe/s6-tlsd-io
+++ b/src/tls/deps-exe/s6-tlsd-io
diff --git a/src/conn-tools/deps-exe/s6-tlsserver b/src/tls/deps-exe/s6-tlsserver
index e7187fe..e7187fe 100644
--- a/src/conn-tools/deps-exe/s6-tlsserver
+++ b/src/tls/deps-exe/s6-tlsserver
diff --git a/src/conn-tools/deps-exe/s6-ucspitlsc b/src/tls/deps-exe/s6-ucspitlsc
index ac1b327..ac1b327 100644
--- a/src/conn-tools/deps-exe/s6-ucspitlsc
+++ b/src/tls/deps-exe/s6-ucspitlsc
diff --git a/src/conn-tools/deps-exe/s6-ucspitlsd b/src/tls/deps-exe/s6-ucspitlsd
index ac1b327..ac1b327 100644
--- a/src/conn-tools/deps-exe/s6-ucspitlsd
+++ b/src/tls/deps-exe/s6-ucspitlsd
diff --git a/src/conn-tools/deps-lib/s6tls b/src/tls/deps-lib/s6tls
index f392de5..f392de5 100644
--- a/src/conn-tools/deps-lib/s6tls
+++ b/src/tls/deps-lib/s6tls
diff --git a/src/conn-tools/s6-tlsc-io.c b/src/tls/s6-tlsc-io.c
index 79dd25d..79dd25d 100644
--- a/src/conn-tools/s6-tlsc-io.c
+++ b/src/tls/s6-tlsc-io.c
diff --git a/src/conn-tools/s6-tlsc.c b/src/tls/s6-tlsc.c
index 5b2e7dc..5b2e7dc 100644
--- a/src/conn-tools/s6-tlsc.c
+++ b/src/tls/s6-tlsc.c
diff --git a/src/conn-tools/s6-tlsclient.c b/src/tls/s6-tlsclient.c
index 267f457..267f457 100644
--- a/src/conn-tools/s6-tlsclient.c
+++ b/src/tls/s6-tlsclient.c
diff --git a/src/conn-tools/s6-tlsd-io.c b/src/tls/s6-tlsd-io.c
index 0b42b3b..0b42b3b 100644
--- a/src/conn-tools/s6-tlsd-io.c
+++ b/src/tls/s6-tlsd-io.c
diff --git a/src/conn-tools/s6-tlsd.c b/src/tls/s6-tlsd.c
index 361502e..361502e 100644
--- a/src/conn-tools/s6-tlsd.c
+++ b/src/tls/s6-tlsd.c
diff --git a/src/conn-tools/s6-tlsserver.c b/src/tls/s6-tlsserver.c
index fb899eb..fb899eb 100644
--- a/src/conn-tools/s6-tlsserver.c
+++ b/src/tls/s6-tlsserver.c
diff --git a/src/conn-tools/s6-ucspitlsc.c b/src/tls/s6-ucspitlsc.c
index 92660eb..92660eb 100644
--- a/src/conn-tools/s6-ucspitlsc.c
+++ b/src/tls/s6-ucspitlsc.c
diff --git a/src/conn-tools/s6-ucspitlsd.c b/src/tls/s6-ucspitlsd.c
index 4bfa253..4bfa253 100644
--- a/src/conn-tools/s6-ucspitlsd.c
+++ b/src/tls/s6-ucspitlsd.c
diff --git a/src/conn-tools/s6tls-internal.h b/src/tls/s6tls-internal.h
index 09be544..09be544 100644
--- a/src/conn-tools/s6tls-internal.h
+++ b/src/tls/s6tls-internal.h
diff --git a/src/conn-tools/s6tls_exec_tlscio.c b/src/tls/s6tls_exec_tlscio.c
index ad00ecd..ad00ecd 100644
--- a/src/conn-tools/s6tls_exec_tlscio.c
+++ b/src/tls/s6tls_exec_tlscio.c
diff --git a/src/conn-tools/s6tls_exec_tlsdio.c b/src/tls/s6tls_exec_tlsdio.c
index b00adb2..b00adb2 100644
--- a/src/conn-tools/s6tls_exec_tlsdio.c
+++ b/src/tls/s6tls_exec_tlsdio.c
diff --git a/src/conn-tools/s6tls_sync_and_exec_app.c b/src/tls/s6tls_sync_and_exec_app.c
index 4ae63fa..4ae63fa 100644
--- a/src/conn-tools/s6tls_sync_and_exec_app.c
+++ b/src/tls/s6tls_sync_and_exec_app.c
diff --git a/src/conn-tools/s6tls_ucspi_exec_app.c b/src/tls/s6tls_ucspi_exec_app.c
index f4b52ef..f4b52ef 100644
--- a/src/conn-tools/s6tls_ucspi_exec_app.c
+++ b/src/tls/s6tls_ucspi_exec_app.c