LibreTLS + OpenSSL isn't working well for me yet. Switch back to BearSSL for now, riding recent PKGREVISION bump.diff -r1.4 -r1.5 pkgsrc/net/s6-networking/PLIST
(schmonz)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2021/01/11 18:31:10 schmonz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2021/01/22 16:20:38 schmonz Exp $ | |
2 | bin/minidentd | 2 | bin/minidentd | |
3 | bin/s6-clockadd | 3 | bin/s6-clockadd | |
4 | bin/s6-clockview | 4 | bin/s6-clockview | |
5 | bin/s6-getservbyname | 5 | bin/s6-getservbyname | |
6 | bin/s6-ident-client | 6 | bin/s6-ident-client | |
7 | ${PLIST.tls}bin/s6-pkgsrc-cadir | 7 | ${PLIST.tls}bin/s6-pkgsrc-cadir | |
8 | bin/s6-sntpclock | 8 | bin/s6-sntpclock | |
9 | bin/s6-taiclock | 9 | bin/s6-taiclock | |
10 | bin/s6-taiclockd | 10 | bin/s6-taiclockd | |
11 | bin/s6-tcpclient | 11 | bin/s6-tcpclient | |
12 | bin/s6-tcpserver | 12 | bin/s6-tcpserver | |
13 | bin/s6-tcpserver-access | 13 | bin/s6-tcpserver-access | |
14 | bin/s6-tcpserver4 | 14 | bin/s6-tcpserver4 | |
@@ -21,14 +21,14 @@ ${PLIST.tls}bin/s6-tlsc | @@ -21,14 +21,14 @@ ${PLIST.tls}bin/s6-tlsc | |||
21 | ${PLIST.tls}bin/s6-tlsc-io | 21 | ${PLIST.tls}bin/s6-tlsc-io | |
22 | ${PLIST.tls}bin/s6-tlsclient | 22 | ${PLIST.tls}bin/s6-tlsclient | |
23 | ${PLIST.tls}bin/s6-tlsd | 23 | ${PLIST.tls}bin/s6-tlsd | |
24 | ${PLIST.tls}bin/s6-tlsd-io | 24 | ${PLIST.tls}bin/s6-tlsd-io | |
25 | ${PLIST.tls}bin/s6-tlsserver | 25 | ${PLIST.tls}bin/s6-tlsserver | |
26 | ${PLIST.tls}bin/s6-ucspitlsc | 26 | ${PLIST.tls}bin/s6-ucspitlsc | |
27 | ${PLIST.tls}bin/s6-ucspitlsd | 27 | ${PLIST.tls}bin/s6-ucspitlsd | |
28 | include/s6-networking/config.h | 28 | include/s6-networking/config.h | |
29 | include/s6-networking/ident.h | 29 | include/s6-networking/ident.h | |
30 | include/s6-networking/s6net.h | 30 | include/s6-networking/s6net.h | |
31 | include/s6-networking/sbearssl.h | 31 | include/s6-networking/sbearssl.h | |
32 | include/s6-networking/stls.h | 32 | include/s6-networking/stls.h | |
33 | lib/s6-networking/libs6net.a | 33 | lib/s6-networking/libs6net.a | |
34 | ${PLIST.tls}lib/s6-networking/libstls.a | 34 | ${PLIST.tls}lib/s6-networking/libsbearssl.a |
@@ -1,32 +1,32 @@ | @@ -1,32 +1,32 @@ | |||
1 | # $NetBSD: options.mk,v 1.2 2021/01/11 18:31:10 schmonz Exp $ | 1 | # $NetBSD: options.mk,v 1.3 2021/01/22 16:20:38 schmonz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.s6-networking | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.s6-networking | |
4 | PKG_SUPPORTED_OPTIONS+= execline tls | 4 | PKG_SUPPORTED_OPTIONS+= execline tls | |
5 | PKG_SUGGESTED_OPTIONS+= tls | 5 | PKG_SUGGESTED_OPTIONS+= tls | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | .if !empty(PKG_OPTIONS:Mexecline) | 9 | .if !empty(PKG_OPTIONS:Mexecline) | |
10 | . include "../../lang/execline/buildlink3.mk" | 10 | . include "../../lang/execline/buildlink3.mk" | |
11 | .else | 11 | .else | |
12 | CONFIGURE_ARGS+= --disable-execline | 12 | CONFIGURE_ARGS+= --disable-execline | |
13 | .endif | 13 | .endif | |
14 | 14 | |||
15 | PLIST_VARS= tls | 15 | PLIST_VARS= tls | |
16 | .if !empty(PKG_OPTIONS:Mtls) | 16 | .if !empty(PKG_OPTIONS:Mtls) | |
17 | PLIST.tls= yes | 17 | PLIST.tls= yes | |
18 | . include "../../security/libretls/buildlink3.mk" | 18 | . include "../../security/bearssl/buildlink3.mk" | |
19 | CONFIGURE_ARGS+= --enable-ssl=libressl | 19 | CONFIGURE_ARGS+= --enable-ssl=bearssl | |
20 | 20 | |||
21 | PKG_USERS_VARS+= UCSPI_SSL_USER | 21 | PKG_USERS_VARS+= UCSPI_SSL_USER | |
22 | PKG_GROUPS_VARS+= UCSPI_SSL_GROUP | 22 | PKG_GROUPS_VARS+= UCSPI_SSL_GROUP | |
23 | PKG_GROUPS+= ${UCSPI_SSL_GROUP} | 23 | PKG_GROUPS+= ${UCSPI_SSL_GROUP} | |
24 | PKG_USERS+= ${UCSPI_SSL_USER}:${UCSPI_SSL_GROUP} | 24 | PKG_USERS+= ${UCSPI_SSL_USER}:${UCSPI_SSL_GROUP} | |
25 | 25 | |||
26 | SUBST_CLASSES+= paths | 26 | SUBST_CLASSES+= paths | |
27 | SUBST_STAGE.paths= pre-configure | 27 | SUBST_STAGE.paths= pre-configure | |
28 | SUBST_FILES.paths= s6-pkgsrc-cadir | 28 | SUBST_FILES.paths= s6-pkgsrc-cadir | |
29 | SUBST_VARS.paths= SH SETENV SSLDIR | 29 | SUBST_VARS.paths= SH SETENV SSLDIR | |
30 | 30 | |||
31 | post-extract: | 31 | post-extract: | |
32 | for f in s6-pkgsrc-cadir; do \ | 32 | for f in s6-pkgsrc-cadir; do \ |