security/wazuh-agent: Add another file to SHEBANG_FILES

12.0/amd64

Pseudo-terminal will not be allocated because stdin is not a terminal.
mkdir: /usr/local/caronade/work/120amd64: File exists
Pseudo-terminal will not be allocated because stdin is not a terminal.
rm -rf /usr/local/caronade/work/120amd64/repo.git
git clone https://code.bluelife.at/decke/ports.git /usr/local/caronade/work/120amd64/repo.git
Cloning into '/usr/local/caronade/work/120amd64/repo.git'...
git -C "/usr/local/caronade/work/120amd64/repo.git" -c advice.detachedHead=false checkout ac6b503c84c8504bb3ee84009bb4bbbf367aa0da
poudriere ports -u -p 120amd64
HEAD is now at ac6b503 security/wazuh-agent: Add another file to SHEBANG_FILES
[00:00:00] Updating portstree "120amd64" with portsnap...Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Wed Sep 11 08:56:21 UTC 2019 to Wed Sep 11 09:24:56 UTC 2019.
Fetching 5 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 4 patches. 
                                     
(0/4) 0.00%                                      
(4/4) 100.00%  done. 
done.
Applying patches... 
done.
Fetching 0 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
/usr/local/poudriere/ports/120amd64/comms/conserver-com/
/usr/local/poudriere/ports/120amd64/devel/clixon/
/usr/local/poudriere/ports/120amd64/net/babeld/
/usr/local/poudriere/ports/120amd64/security/secpanel/
Building new INDEX files... done.
 done
zfs snapshot zroot/poudriere/ports/120amd64@clean
(cd /usr/local/caronade/work/120amd64/repo.git && find * \! -path "Mk/*" -type d -depth +0 -maxdepth 1  -exec echo overlay for {} \;  -exec sh -c 'rm -rf /usr/local/poudriere/ports/120amd64/`echo {}`' \;  -exec sh -c 'cp -pr /usr/local/caronade/work/120amd64/repo.git/`echo {}` /usr/local/poudriere/ports/120amd64/`echo {}`' \; )
overlay for benchmarks/hey
overlay for devel/drone-runner-exec
overlay for devel/drone
overlay for devel/kodi-platform
overlay for lang/micropython
overlay for mail/smtprelay
overlay for misc/bluelife-config-graz
overlay for multimedia/dtv-scan-tables
overlay for multimedia/dvb-apps
overlay for multimedia/gerbera
overlay for multimedia/kodi-addon-pvr-hts
overlay for multimedia/kodi-addon-pvr-iptvsimple
overlay for multimedia/kodi
overlay for multimedia/libdvbcsa
overlay for multimedia/tvheadend
overlay for net/olsrd
overlay for net/srelay
overlay for net/wireguard-go
overlay for net/wireguard
overlay for ports-mgmt/caronade
overlay for print/cloudprint
overlay for security/lua-bcrypt
overlay for security/maltrail
overlay for security/wazuh-agent
overlay for sysutils/docker-engine
overlay for sysutils/docker-freebsd
overlay for sysutils/wtf
overlay for www/gitea
overlay for www/helma
overlay for www/radicale2
overlay for x11-themes/slim-freebsd-black-theme
poudriere testport -j 120amd64 -p 120amd64 security/wazuh-agent
[00:00:00] Creating the reference jail... done
[00:00:01] Mounting system devices for 120amd64-120amd64
[00:00:01] Mounting ports/packages/distfiles
[00:00:01] Stashing existing package repository
[00:00:01] Mounting packages from: /data/packages/120amd64-120amd64
/etc/resolv.conf -> /data/.m/120amd64-120amd64/ref/etc/resolv.conf
[00:00:01] Starting jail 120amd64-120amd64
[00:00:01] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:01] Logs: /data/logs/bulk/120amd64-120amd64/2019-09-11_10h19m28s
[00:00:01] Loading MOVED for /data/.m/120amd64-120amd64/ref/usr/ports
[00:00:01] Gathering ports metadata
[00:00:02] Calculating ports order and dependencies
[00:00:02] Trimming IGNORED and blacklisted ports
[00:00:02] Sanity checking the repository
[00:00:02] Checking packages for incremental rebuild needs
[00:00:02] Deleting stale symlinks... done
[00:00:02] Deleting empty directories... done
[00:00:02] Cleaning the build queue
[00:00:02] Sanity checking build queue
[00:00:02] Processing PRIORITY_BOOST
[00:00:02] Balancing pool
[00:00:02] Recording filesystem state for prepkg... done
[00:00:03] Committing packages to repository: /data/packages/120amd64-120amd64/.real_1568197171 via .latest symlink
[00:00:03] Removing old packages
[00:00:03] Building with flags: 
[00:00:03] Removing existing /usr/local
build started at Wed Sep 11 10:19:31 UTC 2019
port directory: /usr/ports/security/wazuh-agent
package name: wazuh-agent-3.9.5
building for: FreeBSD 120amd64-120amd64 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 amd64
maintained by: m.muenz@gmail.com
Makefile ident: 
Poudriere version: 3.3.99.20190828
Host OSVERSION: 1200086
Jail OSVERSION: 1200086
Job Id: 

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p10
UNAME_r=12.0-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
WARNING_WAIT=0
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
TRYBROKEN=yes
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20190828
MASTERMNT=/data/.m/120amd64-120amd64/ref
DEV_WARNING_WAIT=0
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=su
GID=0
UID=0
PWD=/data/.m/120amd64-120amd64/ref/.p
NO_WARNING_PKG_INSTALL_EOL=yes
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120amd64-120amd64
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/data/.m/120amd64-120amd64/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/testport.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=PACKAGES=/tmp/pkgs PKGREPOSITORY=/tmp/pkgs PKGLATESTREPOSITORY=/tmp/pkgs/Latest
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
m.muenz@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/security/wazuh-agent/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/wazuh-agent/work  HOME=/wrkdirs/usr/ports/security/wazuh-agent/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/wazuh-agent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/security/wazuh-agent/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/wazuh-agent/work  HOME=/wrkdirs/usr/ports/security/wazuh-agent/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/wazuh-agent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.0  PERL_VER=5.30  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.30 DOCSDIR="share/doc/wazuh"  EXAMPLESDIR="share/examples/wazuh"  DATADIR="share/wazuh"  WWWDIR="www/wazuh"  ETCDIR="etc/wazuh"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/wazuh DOCSDIR=/usr/local/share/doc/wazuh EXAMPLESDIR=/usr/local/share/examples/wazuh  WWWDIR=/usr/local/www/wazuh ETCDIR=/usr/local/etc/wazuh
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p10
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
_SMP_CPUS=16
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  34304
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   wazuh-agent-3.9.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[120amd64-120amd64] Installing pkg-1.11.1...
[120amd64-120amd64] Extracting pkg-1.11.1: .......... done
===>   wazuh-agent-3.9.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of wazuh-agent-3.9.5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===>   wazuh-agent-3.9.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by wazuh-agent-3.9.5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===>   wazuh-agent-3.9.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by wazuh-agent-3.9.5 for building
=> SHA256 Checksum OK for wazuh-3.9.5/cJSON.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/src_cpython.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/curl.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/libdb.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/libffi.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/libyaml.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/openssl.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/procps.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/sqlite.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/zlib.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/audit-userspace.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/msgpack.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/wazuh-wazuh-v3.9.5_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===>   wazuh-agent-3.9.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by wazuh-agent-3.9.5 for building
===>  Extracting for wazuh-agent-3.9.5
=> SHA256 Checksum OK for wazuh-3.9.5/cJSON.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/src_cpython.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/curl.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/libdb.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/libffi.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/libyaml.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/openssl.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/procps.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/sqlite.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/zlib.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/audit-userspace.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/msgpack.tar.gz.
=> SHA256 Checksum OK for wazuh-3.9.5/wazuh-wazuh-v3.9.5_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for wazuh-agent-3.9.5
===========================================================================
=======================<phase: build-depends  >============================
===>   wazuh-agent-3.9.5 depends on executable: curl - not found
===>   Installing existing package /packages/All/curl-7.65.3.txz
[120amd64-120amd64] Installing curl-7.65.3...
[120amd64-120amd64] `-- Installing ca_root_nss-3.46...
[120amd64-120amd64] `-- Extracting ca_root_nss-3.46: ........ done
[120amd64-120amd64] `-- Installing libnghttp2-1.39.2...
[120amd64-120amd64] `-- Extracting libnghttp2-1.39.2: .......... done
[120amd64-120amd64] Extracting curl-7.65.3: .......... done
Message from ca_root_nss-3.46:

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
===>   wazuh-agent-3.9.5 depends on executable: curl - found
===>   Returning to build of wazuh-agent-3.9.5
===>   wazuh-agent-3.9.5 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_3.txz
[120amd64-120amd64] Installing gmake-4.2.1_3...
[120amd64-120amd64] `-- Installing gettext-runtime-0.20.1...
[120amd64-120amd64] |   `-- Installing indexinfo-0.3.1...
[120amd64-120amd64] |   `-- Extracting indexinfo-0.3.1: .... done
[120amd64-120amd64] `-- Extracting gettext-runtime-0.20.1: .......... done
[120amd64-120amd64] Extracting gmake-4.2.1_3: .......... done
===>   wazuh-agent-3.9.5 depends on executable: gmake - found
===>   Returning to build of wazuh-agent-3.9.5
===>   wazuh-agent-3.9.5 depends on package: perl5>=5.30.r1<5.31 - not found
===>   Installing existing package /packages/All/perl5-5.30.0.txz
[120amd64-120amd64] Installing perl5-5.30.0...
[120amd64-120amd64] Extracting perl5-5.30.0: .......... done
Message from perl5-5.30.0:

The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
===>   wazuh-agent-3.9.5 depends on package: perl5>=5.30.r1<5.31 - found
===>   Returning to build of wazuh-agent-3.9.5
===========================================================================
=======================<phase: lib-depends    >============================
===>   wazuh-agent-3.9.5 depends on shared library: libreadline.so.8 - not found
===>   Installing existing package /packages/All/readline-8.0.0.txz
[120amd64-120amd64] Installing readline-8.0.0...
[120amd64-120amd64] Extracting readline-8.0.0: .......... done
===>   wazuh-agent-3.9.5 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8)
===>   Returning to build of wazuh-agent-3.9.5
===========================================================================
=>> Recording filesystem state for prebuild... done
=======================<phase: configure      >============================
===>   wazuh-agent-3.9.5 depends on executable: curl - found
===>   wazuh-agent-3.9.5 depends on executable: gmake - found
===>   wazuh-agent-3.9.5 depends on package: perl5>=5.30.r1<5.31 - found
===>   wazuh-agent-3.9.5 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8)
===>  Configuring for wazuh-agent-3.9.5
===========================================================================
=======================<phase: build          >============================
===>  Building for wazuh-agent-3.9.5
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/wazuh-agent/work/wazuh-3.9.5/src'
    CC external/cJSON/cJSON.o
    LINK external/cJSON/libcjson.a
    RANLIB external/cJSON/libcjson.a
cd external/zlib/ && CFLAGS=-fPIC ./configure && gmake libz.a
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.11 with cc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/wazuh-agent/work/wazuh-3.9.5/src/external/zlib'
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o adler32.o adler32.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o crc32.o crc32.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o deflate.o deflate.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o infback.o infback.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o inffast.o inffast.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o inflate.o inflate.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o inftrees.o inftrees.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o trees.o trees.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o zutil.o zutil.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o compress.o compress.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o uncompr.o uncompr.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o gzclose.o gzclose.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o gzlib.o gzlib.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o gzread.o gzread.c
cc -fPIC -D_LARGEFILE64_SOURCE=1  -c -o gzwrite.o gzwrite.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o 
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/wazuh-agent/work/wazuh-3.9.5/src/external/zlib'
cd external/openssl/ && ./config enable-weak-ssl-ciphers no-shared && gmake build_libs
Operating system: amd64-whatever-freebsd
"glob" is not exported by the File::Glob module
Can't continue after import errors at ./Configure line 17.
BEGIN failed--compilation aborted at ./Configure line 17.
"glob" is not exported by the File::Glob module
Can't continue after import errors at ./Configure line 17.
BEGIN failed--compilation aborted at ./Configure line 17.
This system (BSD-x86_64) is not supported. See file INSTALL for details.
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/wazuh-agent/work/wazuh-3.9.5/src/external/openssl'
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
    "-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h
/bin/sh: /usr/bin/perl: not found
gmake[2]: *** [Makefile:593: crypto/include/internal/bn_conf.h] Error 127
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/wazuh-agent/work/wazuh-3.9.5/src/external/openssl'
gmake[1]: *** [Makefile:686: external/openssl/libssl.a] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/wazuh-agent/work/wazuh-3.9.5/src'
*** Error code 2

Stop.
make: stopped in /usr/ports/security/wazuh-agent
build of security/wazuh-agent | wazuh-agent-3.9.5 ended at Wed Sep 11 10:19:39 UTC 2019
build time: 00:00:08
!!! build failure encountered !!!
[00:00:11] Cleaning up
[00:00:11] Error: Build failed in phase: build
[00:00:11] Unmounting file systems
*** Error code 1

Stop.
make: stopped in /usr/local/caronade/work/120amd64
*** Error code 1

Stop.
make: stopped in /usr/local/caronade/work/120amd64

portlint

Pseudo-terminal will not be allocated because stdin is not a terminal.
mkdir: /usr/local/caronade/work/portlint: File exists
Pseudo-terminal will not be allocated because stdin is not a terminal.
rm -rf /usr/local/caronade/work/portlint/repo.git
git clone https://code.bluelife.at/decke/ports.git /usr/local/caronade/work/portlint/repo.git
Cloning into '/usr/local/caronade/work/portlint/repo.git'...
git -C "/usr/local/caronade/work/portlint/repo.git" -c advice.detachedHead=false checkout ac6b503c84c8504bb3ee84009bb4bbbf367aa0da
HEAD is now at ac6b503 security/wazuh-agent: Add another file to SHEBANG_FILES

portlint -A /usr/local/caronade/work/portlint/repo.git/security/wazuh-agent
WARN: Makefile: [52]: possible direct use of command "file" found. use ${FILE} instead.
WARN: Makefile: possible use of absolute pathname "/var/ossec".
WARN: Makefile: possible use of absolute pathname "/logs/ossec".
WARN: Makefile: possible use of absolute pathname "/logs".
0 fatal errors and 4 warnings found.
rm -rf /usr/local/caronade/work/portlint/repo.git