pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/s6-networking Add --enable-absolute-paths, as thes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6903314f47f0
branches:  trunk
changeset: 442283:6903314f47f0
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Nov 22 11:33:22 2020 +0000

description:
Add --enable-absolute-paths, as these programs need to invoke each other
while often running in freshly cleared environments. Bump PKGREVISION.

While here, make TLS (via BearSSL) optional, still on by default.

diffstat:

 net/s6-networking/Makefile   |   8 +++++---
 net/s6-networking/PLIST      |  12 ++++++------
 net/s6-networking/options.mk |  14 ++++++++++++++
 3 files changed, 25 insertions(+), 9 deletions(-)

diffs (76 lines):

diff -r 0ab0c671ac9d -r 6903314f47f0 net/s6-networking/Makefile
--- a/net/s6-networking/Makefile        Sun Nov 22 11:17:17 2020 +0000
+++ b/net/s6-networking/Makefile        Sun Nov 22 11:33:22 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2020/11/19 20:12:54 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2020/11/22 11:33:22 schmonz Exp $
 
 DISTNAME=      s6-networking-2.3.2.0
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${HOMEPAGE}
 
@@ -13,13 +14,14 @@
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
 CONFIGURE_ARGS+=       --with-sysdeps=${PREFIX}/lib/skalibs/sysdeps
-CONFIGURE_ARGS+=       --enable-ssl=bearssl
+CONFIGURE_ARGS+=       --enable-absolute-paths
+
+.include "options.mk"
 
 BUILDLINK_API_DEPENDS.skalibs+=skalibs>=2.9.3.0
 .include "../../devel/skalibs/buildlink3.mk"
 BUILDLINK_API_DEPENDS.execline+=execline>=2.6.1.1
 .include "../../lang/execline/buildlink3.mk"
 .include "../../net/s6-dns/buildlink3.mk"
-.include "../../security/bearssl/buildlink3.mk"
 .include "../../sysutils/s6/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0ab0c671ac9d -r 6903314f47f0 net/s6-networking/PLIST
--- a/net/s6-networking/PLIST   Sun Nov 22 11:17:17 2020 +0000
+++ b/net/s6-networking/PLIST   Sun Nov 22 11:33:22 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/11/19 20:12:54 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/11/22 11:33:22 schmonz Exp $
 bin/minidentd
 bin/s6-clockadd
 bin/s6-clockview
@@ -16,14 +16,14 @@
 bin/s6-tcpserver6
 bin/s6-tcpserver6-socketbinder
 bin/s6-tcpserver6d
-bin/s6-tlsc
-bin/s6-tlsclient
-bin/s6-tlsd
-bin/s6-tlsserver
+${PLIST.tls}bin/s6-tlsc
+${PLIST.tls}bin/s6-tlsclient
+${PLIST.tls}bin/s6-tlsd
+${PLIST.tls}bin/s6-tlsserver
 include/s6-networking/config.h
 include/s6-networking/ident.h
 include/s6-networking/s6net.h
 include/s6-networking/sbearssl.h
 include/s6-networking/stls.h
 lib/s6-networking/libs6net.a
-lib/s6-networking/libsbearssl.a
+${PLIST.tls}lib/s6-networking/libsbearssl.a
diff -r 0ab0c671ac9d -r 6903314f47f0 net/s6-networking/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/s6-networking/options.mk      Sun Nov 22 11:33:22 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2020/11/22 11:33:22 schmonz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.s6-networking
+PKG_SUPPORTED_OPTIONS+=        tls
+PKG_SUGGESTED_OPTIONS+=        tls
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS=            tls
+.if !empty(PKG_OPTIONS:Mtls)
+PLIST.tls=             yes
+.  include "../../security/bearssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-ssl=bearssl
+.endif



Home | Main Index | Thread Index | Old Index