=>> Building security/ossec-hids-local-config build started at Mon Apr 8 22:17:11 CEST 2024 port directory: /usr/ports/security/ossec-hids-local-config package name: ossec-hids-local-config-3.7.0 building for: FreeBSD head-smeets-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500018 amd64 maintained by: dominik.lisiak@bemsoft.pl Makefile datestamp: -rw-r--r-- 1 1001 1001 15229 Mar 20 20:50 /usr/ports/security/ossec-hids-local-config/Makefile Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1500018 Jail OSVERSION: 1500018 Job Id: 11 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500018 UNAME_v=FreeBSD 15.0-CURRENT 1500018 UNAME_r=15.0-CURRENT 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/head-smeets/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/usr/local/poudriere/data/.m/head-smeets/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=head-smeets SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/head-smeets/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-local-config-3.7.0: ====> Alerting Rules DEFAULT_R=on: Rules provided by OSSEC CONFIG_R=on: Alert changes of the OSSEC main configuration files CMDOUT_R=on: Alert changes of output of the monitored commands ====> Active Response DEFAULT_C=on: Commands provided by OSSEC MERGE_C=on: Commands to merge configuration files MERGE_AR=on: Merge configuration files when they change RESTART_AR=on: Restart OSSEC when main configuration files change HOSTDENY_AR=off: Block the attacker's IP using access control files FWDROP_AR=off: Block the attacker's IP on the firewall ====> System Audit and Rootkit Detection (rootcheck) BASIC_RC=on: Basic audit and rootkits ====> File Integrity Checking (syscheck) NEWFILES_SC=on: Alert on new files created NOAUTO_SC=on: Disable auto_ignore feature BASIC_SC=on: "bin", "sbin" and "etc" directories OSSEC_SC=on: OSSEC directories PGSQL_SC=off: PostgreSQL configuration files ====> Command Output Monitoring LOGINS=on: Last logins PORTS_TCP=on: Open TCP ports PORTS_UDP=on: Open UDP ports ====> Log Monitoring BASIC=on: Basic system logs OSSEC=on: OSSEC active response logs APACHE=off: Apache logs NGINX=off: Nginx logs RADIUS=off: FreeRADIUS logs VSFTPD=off: Vsftpd logs ====> Active Response Firewall: you have to select exactly one of them NOFW=on: Custom or no firewall IPF=off: ipfilter IPFW=off: ipfirewall PF=off: Packet Filter ===> 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-local-config/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work/.cache HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ossec-hids-local-config/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-local-config/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-local-config/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work/.cache HOME=/wrkdirs/usr/ports/security/ossec-hids-local-config/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/ossec-hids-local-config/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-local-config/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-- OSSEC_HOME=/usr/local/ossec-hids APACHE="@comment " NO_APACHE="" BASIC="" NO_BASIC="@comment " BASIC_RC="" NO_BASIC_RC="@comment " BASIC_SC="" NO_BASIC_SC="@comment " CMDOUT_R="" NO_CMDOUT_R="@comment " CONFIG_R="" NO_CONFIG_R="@comment " DEFAULT_C="" NO_DEFAULT_C="@comment " DEFAULT_R="" NO_DEFAULT_R="@comment " FWDROP_AR="@comment " NO_FWDROP_AR="" HOSTDENY_AR="@comment " NO_HOSTDENY_AR="" IPF="@comment " NO_IPF="" IPFW="@comment " NO_IPFW="" LOGINS="" NO_LOGINS="@comment " MERGE_AR="" NO_MERGE_AR="@comment " MERGE_C="" NO_MERGE_C="@comment " NEWFILES_SC="" NO_NEWFILES_SC="@comment " NGINX="@comment " NO_NGINX="" NOAUTO_SC="" NO_NOAUTO_SC="@comment " NOFW="" NO_NOFW="@comment " OSSEC="" NO_OSSEC="@comment " OSSEC_SC="" NO_OSSEC_SC="@comment " PF="@comment " NO_PF="" PGSQL_SC="@comment " NO_PGSQL_SC="" PORTS_TCP="" NO_PORTS_TCP="@comment " PORTS_UDP="" NO_PORTS_UDP="@comment " RADIUS="@comment " NO_RADIUS="" RESTART_AR="" NO_RESTART_AR="@comment " VSFTPD="@comment " NO_VSFTPD="" OSREL=15.0 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-- PORTNAME=ossec-hids OSSEC_TYPE=local OSSEC_HOME=/usr/local/ossec-hids VERSION=3.7.0 USER=root OSSEC_USER=ossec OSSEC_GROUP=ossec OSSEC_RC=/usr/local/etc/rc.d/ossec-hids FW_DROP= ROOTCHECK_BASIC_PROFILE=basic ROOTCHECK_CIS_PROFILE=cis ROOTCHECK_CIS_L1_PROFILE=cis-level1 ROOTCHECK_CIS_L2_PROFILE=cis-level2 SYSCHECK_BASIC_PROFILE=basic SYSCHECK_OSSEC_PROFILE=ossec SYSCHECK_PGSQL_PROFILE=postgresql LOGS_BASIC_PROFILE=basic LOGS_OSSEC_PROFILE=ossec LOGS_APACHE_PROFILE=apache LOGS_NGINX_PROFILE=nginx LOGS_RADIUS_PROFILE=radius LOGS_VSFTPD_PROFILE=vsftpd CONFIG_PROFILES="" APACHE="@comment " NO_APACHE="" BASIC="" NO_BASIC="@comment " BASIC_RC="" NO_BASIC_RC="@comment " BASIC_SC="" NO_BASIC_SC="@comment " CMDOUT_R="" NO_CMDOUT_R="@comment " CONFIG_R="" NO_CONFIG_R="@comment " DEFAULT_C="" NO_DEFAULT_C="@comment " DEFAULT_R="" NO_DEFAULT_R="@comment " FWDROP_AR="@comment " NO_FWDROP_AR="" HOSTDENY_AR="@comment " NO_HOSTDENY_AR="" IPF="@comment " NO_IPF="" IPFW="@comment " NO_IPFW="" LOGINS="" NO_LOGINS="@comment " MERGE_AR="" NO_MERGE_AR="@comment " MERGE_C="" NO_MERGE_C="@comment " NEWFILES_SC="" NO_NEWFILES_SC="@comment " NGINX="@comment " NO_NGINX="" NOAUTO_SC="" NO_NOAUTO_SC="@comment " NOFW="" NO_NOFW="@comment " OSSEC="" NO_OSSEC="@comment " OSSEC_SC="" NO_OSSEC_SC="@comment " PF="@comment " NO_PF="" PGSQL_SC="@comment " NO_PGSQL_SC="" PORTS_TCP="" NO_PORTS_TCP="@comment " PORTS_UDP="" NO_PORTS_UDP="@comment " RADIUS="@comment " NO_RADIUS="" RESTART_AR="" NO_RESTART_AR="@comment " VSFTPD="@comment " NO_VSFTPD="" 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 #### #### DISABLE_LICENSES="YES" multimedia_liba-utils_UNSET=WAYLAND net-mgmt_icingaweb2-module-reporting_UNSET=PDF lang_gcc12_UNSET=LTO_BOOTSTRAP lang_gcc13_UNSET=LTO_BOOTSTRAP lang_gcc_UNSET=LTO_BOOTSTRAP www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC DEFAULT_VERSIONS+=mysql=10.11m #### #### OPTIONS_UNSET+=X11 WITH_PKG=devel WITHOUT_X11=YES WITH_X11=NO #DEFAULT_VERSIONS+=bdb=5 OPTIONS_UNSET+=DOCS DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=mysql=10.11m DEFAULT_VERSIONS+=php=8.1 DEFAULT_VERSIONS+=samba=4.16 DEFAULT_VERSIONS+=imagemagick=7-nox11 dns_opendnssec2_SET+=SOFTHSM dns_opendnssec2_SET+=SQLITE dns_opendnssec2_UNSET=MYSQL www_nginx_SET+=HTTP_FANCYINDEX www_nginx-devel_SET+=HTTP_FANCYINDEX mail_postfix_SET+=SASL mail_postfix-current_SET+=SASL mail_dovecot_SET+=MYSQL multimedia_liba-utils_UNSET=X11 multimedia_liba-utils_UNSET=WAYLAND multimedia_libva-intel-driver_UNSET=X11 multimedia_libva-intel-driver_UNSET=WAYLAND multimedia_libva-intel-hybrid-driver_UNSET=X11 multimedia_libva-intel-hybrid-driver_UNSET=WAYLAND multimedia_libva-intel-driver_UNSET=X11 multimedia_libva-intel-driver_UNSET=WAYLAND DISABLE_LICENSES="YES" graphics_cairo_UNSET+=OPENGL graphics_cairo_UNSET+=GLESV2 graphics_cairo_UNSET+=XCB security_amavisd-new_SET+=MYSQL #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---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) 63795 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 --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ossec-hids-local-config-3.7.0 depends on file: /usr/local/sbin/pkg - found =========================================================================== =================================================== ===== 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-local-config-3.7.0 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ossec-hids-local-config-3.7.0 for building =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by ossec-hids-local-config-3.7.0 for building ===> Extracting for ossec-hids-local-config-3.7.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for ossec-hids-local-config-3.7.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=nobody UID=65534 GID=65534 ===> Configuring for ossec-hids-local-config-3.7.0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ossec-hids-local-config-3.7.0 depends on package: ossec-hids-local>=3.7.0 - not found ===> Installing existing package /packages/All/ossec-hids-local-3.7.0_1.pkg [head-smeets-job-11] Installing ossec-hids-local-3.7.0_1... [head-smeets-job-11] `-- Installing expect-5.45.4_6,1... [head-smeets-job-11] | `-- Installing tcl-wrapper-1.1_3... [head-smeets-job-11] | | `-- Installing tcl86-8.6.14_2... [head-smeets-job-11] | | `-- Extracting tcl86-8.6.14_2: .......... done [head-smeets-job-11] | `-- Extracting tcl-wrapper-1.1_3: .. done [head-smeets-job-11] `-- Extracting expect-5.45.4_6,1: .......... done [head-smeets-job-11] `-- Installing libevent-2.1.12... [head-smeets-job-11] `-- Extracting libevent-2.1.12: .......... done [head-smeets-job-11] `-- Installing libinotify-20211018_1... [head-smeets-job-11] `-- Extracting libinotify-20211018_1: .......... done [head-smeets-job-11] `-- Installing pcre2-10.43... [head-smeets-job-11] `-- Extracting pcre2-10.43: .......... 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'. [head-smeets-job-11] Extracting ossec-hids-local-3.7.0_1: ......... 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-20211018_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.7.0_1: -- 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-local-config-3.7.0 depends on package: ossec-hids-local>=3.7.0 - found ===> Returning to build of ossec-hids-local-config-3.7.0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for ossec-hids-local-config-3.7.0 *** Error code 1 (ignored) *** Error code 1 (ignored) ===> Generating temporary packing list *** Error code 1 (ignored) ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp built_by' 'PKG_NOTE_build_timestamp=2024-04-08T20:17:11+0000' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for ossec-hids-local-config-3.7.0 ===> Building ossec-hids-local-config-3.7.0 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ossec-hids-local-config-3.7.0 build of security/ossec-hids-local-config | ossec-hids-local-config-3.7.0 ended at Mon Apr 8 22:17:27 CEST 2024 build time: 00:00:17