=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for vtun-3.0.3.tar.gz
=> Checksum RMD160 OK for vtun-3.0.3.tar.gz
=> Checksum SHA512 OK for vtun-3.0.3.tar.gz
===> Installing dependencies for vtun-3.0.3nb2
==========================================================================
The following variables will affect the build process of this package,
vtun-3.0.3nb2.  Their current value is shown below:

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency lzo>=2.01: found lzo-2.10
===> Overriding tools for vtun-3.0.3nb2
===> Extracting for vtun-3.0.3nb2
===> Patching for vtun-3.0.3nb2
=> Applying pkgsrc patches for vtun-3.0.3nb2
=> Verifying /data/pkgsrc/net/vtun/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/net/vtun/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.6 2014/04/20 21:03:25 adam Exp $
|
|--- Makefile.in.orig	2012-07-09 04:55:38.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 19.
Hunk #2 succeeded at 43.
Hunk #3 succeeded at 56.
done
=> Verifying /data/pkgsrc/net/vtun/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/net/vtun/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.2 2011/03/18 10:39:08 adam Exp $
|
|--- vtund.8.orig	2007-06-29 05:26:43.000000000 +0000
|+++ vtund.8
--------------------------
Patching file vtund.8 using Plan A...
Hunk #1 succeeded at 74 (offset 3 lines).
Hunk #2 succeeded at 121 (offset 3 lines).
done
=> Verifying /data/pkgsrc/net/vtun/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/net/vtun/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.3 2011/03/18 10:39:08 adam Exp $
|
|--- lfd_legacy_encrypt.c.orig	2011-03-18 10:18:40.000000000 +0000
|+++ lfd_legacy_encrypt.c
--------------------------
Patching file lfd_legacy_encrypt.c using Plan A...
Hunk #1 succeeded at 49.
done
=> Verifying /data/pkgsrc/net/vtun/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/net/vtun/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2015/01/19 16:10:23 wiedi Exp $
|
|help configure find blowfish headers from openssl
|--- configure.orig	2009-03-29 10:08:48.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 5680.
done
=> Verifying /data/pkgsrc/net/vtun/patches/patch-vtun.h
=> Applying pkgsrc patch /data/pkgsrc/net/vtun/patches/patch-vtun.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-vtun.h,v 1.1 2014/04/20 21:03:25 adam Exp $
|
|Fix for C99 standard.
|
|--- vtun.h.orig	2014-04-20 20:52:19.000000000 +0000
|+++ vtun.h
--------------------------
Patching file vtun.h using Plan A...
Hunk #1 succeeded at 231.
done
===> Creating toolchain wrappers for vtun-3.0.3nb2
===> Configuring for vtun-3.0.3nb2
=> Fixing man pages.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for bison... /usr/bin/yacc
checking for x86_64--netbsd-gcc... clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ANSI C... none needed
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for x86_64--netbsd-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking how to run the C preprocessor... clang -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h:     check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: see the Autoconf documentation
configure: WARNING: netinet/ip.h:     section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for netinet/ip.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for library containing socket... none required
checking for library containing inet_ntoa... none required
checking for library containing gethostbyname... none required
checking for library containing nanosleep... none required
checking for library containing setproctitle... none required

configure: checking for ZLIB Library and Header files ... ...
checking for deflate in -lz... yes

configure: checking for LZO Library and Header files ... ...
checking "for lzo_asm.h"... (/usr/pkg/include/lzo) yes 
checking for lzo1x_decompress in -llzo2... yes

configure: checking for md5 Library and Header files ... ...
checking "for md5.h"... (/usr/include/openssl) yes 

configure: checking for blowfish Library and Header files ... ...
checking "for blowfish.h"... (/usr/include/openssl) yes 
checking for BF_set_key in -lcrypto... yes

configure: checking for AES Library and Header files ... ...
checking "for aes.h"... (/usr/include/openssl) yes 
checking for AES_set_encrypt_key in -lcrypto... yes

configure: checking for EVP Library and Header files ... ...
checking "for evp.h"... (/usr/include/openssl) yes 
checking for EVP_EncryptInit in -lcrypto... yes

checking for getpt... no
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
creating driver and protocol links ... 
linking generic/tun_dev.c  to  tun_dev.c
linking generic/tap_dev.c  to  tap_dev.c
linking generic/pty_dev.c  to  pty_dev.c
linking generic/pipe_dev.c  to  pipe_dev.c
linking generic/tcp_proto.c  to  tcp_proto.c
linking generic/udp_proto.c  to  udp_proto.c

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h