Hello, Here is a quick patch for net/sniproxy to v0.6.5
It fixes a problem with pledge call for log files (add cpath). It adds unveil() to limit the access to the filesystem. It merges the patch from kmos@ for building on sparc64. Best Regards
Index: Makefile =================================================================== RCS file: /cvs/ports/net/sniproxy/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 2 Mar 2021 20:10:51 -0000 1.3 +++ Makefile 11 Mar 2021 11:19:03 -0000 @@ -4,7 +4,7 @@ COMMENT = name-based proxying of HTTPS w GH_ACCOUNT = renaudallard GH_PROJECT = sniproxy -GH_TAGNAME = 0.6.4 +GH_TAGNAME = 0.6.5 CATEGORIES = net Index: distinfo =================================================================== RCS file: /cvs/ports/net/sniproxy/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 2 Mar 2021 20:10:51 -0000 1.2 +++ distinfo 11 Mar 2021 11:19:03 -0000 @@ -1,2 +1,2 @@ -SHA256 (sniproxy-0.6.4.tar.gz) = GKTr2n4V3PNXEc+4FpbTlSP33VoV1muZnjG8xSB4IVQ= -SIZE (sniproxy-0.6.4.tar.gz) = 79765 +SHA256 (sniproxy-0.6.5.tar.gz) = 4wFi3HK+xGdgqYBDMsviRw/ekvo1xMCq7JC0hK+HKCk= +SIZE (sniproxy-0.6.5.tar.gz) = 80074 Index: patches/patch-src_Makefile_am =================================================================== RCS file: patches/patch-src_Makefile_am diff -N patches/patch-src_Makefile_am --- patches/patch-src_Makefile_am 8 Mar 2021 08:11:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_Makefile_am,v 1.1 2021/03/08 08:11:15 kmos Exp $ - -Index: src/Makefile.am ---- src/Makefile.am.orig -+++ src/Makefile.am -@@ -1,5 +1,5 @@ - AM_CPPFLAGS = $(LIBEV_CFLAGS) $(LIBPCRE_CFLAGS) $(LIBUDNS_CFLAGS) --AM_CFLAGS = -fno-strict-aliasing -Wall -Wextra -Wpedantic -Wwrite-strings -+AM_CFLAGS = -fno-strict-aliasing -Wall -Wextra -Wwrite-strings - - sbin_PROGRAMS = sniproxy -
smime.p7s
Description: S/MIME Cryptographic Signature