=>> Building security/ossec-hids build started at Tue May 6 20:32:08 BST 2025 port directory: /usr/ports/security/ossec-hids package name: ossec-hids-3.8.0 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: dominik.lisiak@bemsoft.pl Makefile datestamp: -rw-r--r-- 1 root wheel 796 Dec 29 14:17 /usr/ports/security/ossec-hids/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: abfff1b87f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ossec-hids-3.8.0: CONFIG=on: Install configuration manager and samples ====> Installation type: you have to select exactly one of them LOCAL=on: Analizes local data only (standalone) AGENT=off: Sends local data to the server for analysis SERVER=off: Analizes local data and data received from multiple agents ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- dominik.lisiak@bemsoft.pl --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/ossec-hids/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ossec-hids/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/ossec-hids/work/.cache HOME=/wrkdirs/usr/ports/security/ossec-hids/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ossec-hids/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/ossec-hids/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/ossec-hids/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ossec-hids/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/ossec-hids/work/.cache HOME=/wrkdirs/usr/ports/security/ossec-hids/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ossec-hids/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/ossec-hids/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ossec-hids" EXAMPLESDIR="share/examples/ossec-hids" DATADIR="share/ossec-hids" WWWDIR="www/ossec-hids" ETCDIR="etc/ossec-hids" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ossec-hids DOCSDIR=/usr/local/share/doc/ossec-hids EXAMPLESDIR=/usr/local/share/examples/ossec-hids WWWDIR=/usr/local/www/ossec-hids ETCDIR=/usr/local/etc/ossec-hids --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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=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) 89999 open files (-n) 8192 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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ossec-hids-3.8.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> ossec-hids-3.8.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ossec-hids-3.8.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ossec-hids-3.8.0 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ossec-hids-3.8.0 for building =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ossec-hids-3.8.0 for building ===> Extracting for ossec-hids-3.8.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ossec-hids-3.8.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ossec-hids-3.8.0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ossec-hids-3.8.0 depends on package: ossec-hids-local>=3.8.0 - not found ===> Installing existing package /packages/All/ossec-hids-local-3.8.0.pkg [pkg-builder.dan.net.uk] Installing ossec-hids-local-3.8.0... [pkg-builder.dan.net.uk] `-- Installing expect-5.45.4_6,1... [pkg-builder.dan.net.uk] | `-- Installing tcl-wrapper-1.1_3... [pkg-builder.dan.net.uk] | | `-- Installing tcl86-8.6.16_2... [pkg-builder.dan.net.uk] | | `-- Extracting tcl86-8.6.16_2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting tcl-wrapper-1.1_3: .. done [pkg-builder.dan.net.uk] `-- Extracting expect-5.45.4_6,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libevent-2.1.12... [pkg-builder.dan.net.uk] | `-- Installing openssl-3.0.16,1... [pkg-builder.dan.net.uk] | `-- Extracting openssl-3.0.16,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libevent-2.1.12: .......... done [pkg-builder.dan.net.uk] `-- Installing libinotify-20240724_1... [pkg-builder.dan.net.uk] `-- Extracting libinotify-20240724_1: .......... done [pkg-builder.dan.net.uk] `-- Installing pcre2-10.45_1... [pkg-builder.dan.net.uk] | `-- Installing readline-8.2.13_2... [pkg-builder.dan.net.uk] | | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] | `-- Extracting readline-8.2.13_2: .......... done [pkg-builder.dan.net.uk] `-- Extracting pcre2-10.45_1: .......... done ===> Creating groups Creating group 'ossec' with gid '966' ===> Creating users Creating user 'ossec' with uid '966' Creating user 'ossecm' with uid '967' Creating user 'ossecr' with uid '968' [pkg-builder.dan.net.uk] Extracting ossec-hids-local-3.8.0: ......... done ===== Message from tcl-wrapper-1.1_3: -- You may wish to modify (or create) the configuration file: /usr/local/etc/tclsh.conf Sample configuration file is located at: /usr/local/etc/tclsh.conf.sample ===== Message from expect-5.45.4_6,1: -- To avoid conflicts, example scripts and man pages have been renamed by prefixing them with "expect_". They are in /usr/local/bin and /usr/local/share/man/man1, respectively. ===== Message from libinotify-20240724_1: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from ossec-hids-local-3.8.0: -- All the files related to OSSEC have been installed in: /usr/local/ossec-hids You need to create main configuration file: /usr/local/ossec-hids/etc/ossec.conf For information on proper configuration see: https://www.ossec.net/docs/syntax/ossec_config.html To enable the startup script add ossec_hids_enable="YES" to /etc/rc.conf. If you intend to use "firewall-drop" active response on this OSSEC instance create the script: /usr/local/ossec-hids/active-response/bin/firewall-drop.sh You can copy or hard link (symbolic link is not supported) one of the scripts already provided by OSSEC: /usr/local/ossec-hids/active-response/bin/ipfilter.sh /usr/local/ossec-hids/active-response/bin/ipfw.sh /usr/local/ossec-hids/active-response/bin/pf.sh For further steps see the documentation: https://www.ossec.net/docs/syntax/head_ossec_config.active-response.html Consider installing "security/ossec-hids-local-config" to ease OSSEC configuration. For additional help execute: # /usr/local/etc/rc.d/ossec-hids help ===> ossec-hids-3.8.0 depends on package: ossec-hids-local>=3.8.0 - found ===> Returning to build of ossec-hids-3.8.0 ===> ossec-hids-3.8.0 depends on package: ossec-hids-local-config>=3.8.0 - not found ===> Installing existing package /packages/All/ossec-hids-local-config-3.8.0.pkg [pkg-builder.dan.net.uk] Installing ossec-hids-local-config-3.8.0... [pkg-builder.dan.net.uk] Extracting ossec-hids-local-config-3.8.0: ....... done ===== Message from ossec-hids-local-config-3.8.0: -- The "ossec.conf" must no longer be used for configuration. It will be overwritten by merged "*.conf" files from the configuration directory: /usr/local/ossec-hids/etc/ossec.conf.d ===> ossec-hids-3.8.0 depends on package: ossec-hids-local-config>=3.8.0 - found ===> Returning to build of ossec-hids-3.8.0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ossec-hids-3.8.0 ===> Generating temporary packing list ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-06T19:32:08+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=abfff1b87f' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ossec-hids-3.8.0 ===> Building ossec-hids-3.8.0 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ossec-hids-3.8.0 build of security/ossec-hids | ossec-hids-3.8.0 ended at Tue May 6 20:32:56 BST 2025 build time: 00:00:49