=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for sslsplit-0.5.5nb1
------------------------------------------------------------------------------
SSLsplit 0.5.5
------------------------------------------------------------------------------
Report bugs at https://github.com/droe/sslsplit/issues/new
Please supply this header for diagnostics when reporting build issues
Before reporting bugs, make sure to try the latest develop branch first:
% git clone -b develop https://github.com/droe/sslsplit.git
------------------------------------------------------------------------------
Via pkg-config: 
OPENSSL_BASE:   /usr
LIBEVENT_BASE:  /usr
LIBPCAP_BASE:   /usr
LIBNET_BASE:    /usr/pkg
Build options:  -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF
Build info:     V:FILE HDIFF:1 N:83c4edf
uname -a:       NetBSD kali.zia.io 10.0 NetBSD 10.0 (LIBKVER) #0: Tue Jan 19 00:00:00 UTC 2038 root@localhost:/sys/arch/evbarm/compile/LIBKVER evbarm
------------------------------------------------------------------------------
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o base64.o base64.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2023-11-05\"" -D"BUILD_INFO=\"V:FILE HDIFF:1 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF\"" -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cache.o cache.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachedsess.o cachedsess.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachefkcrt.o cachefkcrt.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachemgr.o cachemgr.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachessess.o cachessess.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cachetgcrt.o cachetgcrt.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o cert.o cert.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o dynbuf.o dynbuf.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o log.o log.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logbuf.o logbuf.c
In file included from logpkt.h:39,
                 from log.c:36:
/tmp/pkgbuild/security/sslsplit/work.aarch64eb/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined
   62 | #define _GNU_SOURCE
      | 
<command-line>: note: this is the location of the previous definition
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logger.o logger.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logpkt.o logpkt.c
In file included from logpkt.h:39,
                 from logpkt.c:29:
/tmp/pkgbuild/security/sslsplit/work.aarch64eb/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined
   62 | #define _GNU_SOURCE
      | 
<command-line>: note: this is the location of the previous definition
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o main.o main.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o nat.o nat.c
In file included from main.c:60:
/tmp/pkgbuild/security/sslsplit/work.aarch64eb/.buildlink/include/libnet11/libnet.h:62: warning: "_GNU_SOURCE" redefined
   62 | #define _GNU_SOURCE
      | 
<command-line>: note: this is the location of the previous definition
logpkt.c: In function 'logpkt_pcap_build':
logpkt.c:351:3: warning: converting a packed 'ip4_hdr_t' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
logpkt.c:81:9: note: defined here
logpkt.c:399:2: warning: converting a packed 'tcp_hdr_t' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
logpkt.c:103:9: note: defined here
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o opts.o opts.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o privsep.o privsep.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proc.o proc.c
opts.c: In function 'opts_free':
opts.c:131:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from opts.c:29:
/usr/include/openssl/dh.h:200:58: note: declared here
  200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                                                          ^      
opts.c: In function 'opts_set_dh':
opts.c:765:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from opts.c:29:
/usr/include/openssl/dh.h:200:58: note: declared here
  200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                                                          ^      
opts.c: In function 'opts_set_ecdhcurve':
opts.c:794:2: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from opts.c:29:
/usr/include/openssl/ec.h:1003:58: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                                                          ^          
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proxy.o proxy.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxyconn.o pxyconn.c
privsep.c: In function 'privsep_server_handle_req':
privsep.c:363:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
privsep.c:365:2: note: here
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o sys.o sys.c
pxyconn.c: In function 'pxy_srcsslctx_create':
pxyconn.c:788:3: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ssl.h:35,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/ssl.h:2227:6: note: declared here
 2227 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pxyconn.c:795:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/ec.h:1003:58: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                                                          ^          
pxyconn.c:799:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/ec.h:1003:58: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                                                          ^          
pxyconn.c: In function 'pxy_bev_eventcb':
pxyconn.c:2202:19: warning: implicit declaration of function 'ERR_GET_FUNC'; did you mean 'ERR_GET_LIB'? [-Wimplicit-function-declaration]
pxyconn.c:2204:19: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:65: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
pxyconn.c:2214:20: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:65: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
pxyconn.c:2232:19: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:65: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
pxyconn.c:2242:20: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ssl.h:36,
                 from opts.h:34,
                 from pxyconn.h:32,
                 from pxyconn.c:29:
/usr/include/openssl/err.h:458:65: note: declared here
  458 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
      |                                                                 ^~~~~~~~~            
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o thrqueue.o thrqueue.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o url.o url.c
gcc -c -I/usr/include -I/usr/pkg/include/libnet11 -isystem/usr/include -isystem/usr/include -isystem/usr/pkg/include/libnet11 -isystem/usr/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_IPFILTER -DHAVE_IPFW -DHAVE_PF -O2 -I/usr/include -I/usr/pkg/include/libnet11  -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o util.o util.c
sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2023-11-05,' <sslsplit.conf.in >sslsplit.conf
sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2023-11-05,' <sslsplit.1.in >sslsplit.1
sed -e 's,/usr/local/etc/sslsplit,/usr/pkg/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2023-11-05,' <sslsplit.conf.5.in >sslsplit.conf.5
ssl.c: In function 'ssl_engine':
ssl.c:530:2: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ssl.c:44:
/usr/include/openssl/engine.h:336:61: note: declared here
  336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
      |                                                             ^           
ssl.c:534:2: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ssl.c:44:
/usr/include/openssl/engine.h:708:57: note: declared here
  708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags);
      |                                                         ^~~~~~~~~~~~~~~~~~
ssl.c: In function 'ssl_tmp_dh_callback':
ssl.c:738:2: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:199:57: note: declared here
  199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                                                         ^     
ssl.c:744:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:255:57: note: declared here
  255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                                         ^~~~~~~~~~~
ssl.c:750:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:255:57: note: declared here
  255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                                         ^~~~~~~~~~~
ssl.c:756:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:255:57: note: declared here
  255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                                         ^~~~~~~~~~~
ssl.c:762:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:255:57: note: declared here
  255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                                         ^~~~~~~~~~~
ssl.c:771:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:200:58: note: declared here
  200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                                                          ^      
ssl.c:776:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:200:58: note: declared here
  200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                                                          ^      
ssl.c: In function 'ssl_dh_load':
ssl.c:798:2: warning: 'PEM_read_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/ssl.h:35,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/pem.h:469:184: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      |                                                                                                                                                                                        ^                
ssl.c: In function 'ssl_ec_by_name':
ssl.c:820:2: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:32,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/ec.h:998:61: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                                                             ^~~~                    
ssl.c: In function 'ssl_key_genrsa':
ssl.c:1370:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rsa.h:201:58: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                                                          ^      
ssl.c:1373:2: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rsa.h:260:57: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                                                         ^~~~~~~~~~~~~~~~~~~
ssl.c:1376:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/x509.h:35,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/rsa.h:293:58: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                                                          ^       
ssl.c: In function 'ssl_dh_refcount_inc':
ssl.c:1506:2: warning: 'DH_up_ref' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/ssl.h:30,
                 from ssl.h:35,
                 from ssl.c:29:
/usr/include/openssl/dh.h:201:57: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH *dh);
      |                                                         ^        
gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/libnet11 -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/pkg/lib/libnet11 -L/usr/lib -pthread -o sslsplit base64.o build.o cache.o cachedsess.o cachefkcrt.o cachemgr.o cachessess.o cachetgcrt.o cert.o dynbuf.o log.o logbuf.o logger.o logpkt.o main.o nat.o opts.o privsep.o proc.o proxy.o pxyconn.o pxythrmgr.o ssl.o sys.o thrqueue.o url.o util.o -lssl -lcrypto -lz -levent -levent_openssl -levent_pthreads -lnet -lpcap
ld: pxyconn.o: in function `pxy_bev_eventcb':
pxyconn.c:(.text+0x31a8): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x3220): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x35ec): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x3664): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.c:(.text+0x38d8): undefined reference to `ERR_GET_FUNC'
ld: pxyconn.o:pxyconn.c:(.text+0x3ad8): more undefined references to `ERR_GET_FUNC' follow
distcc[10334] ERROR: compile (null) on localhost failed
gmake: *** [GNUmakefile:477: sslsplit] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/security/sslsplit
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/sslsplit