------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for ossec-hids-agent-config-3.7.0: ====> System Audit and Rootkit Detection (rootcheck) BASIC_RC=off: Basic audit and rootkits ====> File Integrity Checking (syscheck) HOSTDENY_SC=off: Ignore access control files BASIC_SC=off: "bin", "sbin" and "etc" directories OSSEC_SC=off: 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=off: Basic system logs OSSEC=off: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/security/ossec-hids-agent-config XDG_CONFIG_HOME=/construction/security/ossec-hids-agent-config XDG_CACHE_HOME=/construction/security/ossec-hids-agent-config/.cache HOME=/construction/security/ossec-hids-agent-config TMPDIR="/tmp" PATH=/construction/security/ossec-hids-agent-config/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/security/ossec-hids-agent-config/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/security/ossec-hids-agent-config XDG_CONFIG_HOME=/construction/security/ossec-hids-agent-config XDG_CACHE_HOME=/construction/security/ossec-hids-agent-config/.cache HOME=/construction/security/ossec-hids-agent-config TMPDIR="/tmp" PATH=/construction/security/ossec-hids-agent-config/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/security/ossec-hids-agent-config/.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 CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/security/ossec-hids-agent-config/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSSEC_HOME=/usr/local/ossec-hids APACHE="@comment " NO_APACHE="" BASIC="@comment " NO_BASIC="" BASIC_RC="@comment " NO_BASIC_RC="" BASIC_SC="@comment " NO_BASIC_SC="" HOSTDENY_SC="@comment " NO_HOSTDENY_SC="" IPF="@comment " NO_IPF="" IPFW="@comment " NO_IPFW="" LOGINS="" NO_LOGINS="@comment " NGINX="@comment " NO_NGINX="" NOFW="" NO_NOFW="@comment " OSSEC="@comment " NO_OSSEC="" OSSEC_SC="@comment " NO_OSSEC_SC="" 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="" VSFTPD="@comment " NO_VSFTPD="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/ossec-hids" EXAMPLESDIR="share/examples/ossec-hids" DATADIR="share/ossec-hids" WWWDIR="www/ossec-hids" ETCDIR="etc/ossec-hids" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PORTNAME=ossec-hids OSSEC_TYPE=agent 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="basic, cis, cis-level1, cis-level2, ossec, postgresql, apache, nginx, radius, vsftpd" APACHE="@comment " NO_APACHE="" BASIC="@comment " NO_BASIC="" BASIC_RC="@comment " NO_BASIC_RC="" BASIC_SC="@comment " NO_BASIC_SC="" HOSTDENY_SC="@comment " NO_HOSTDENY_SC="" IPF="@comment " NO_IPF="" IPFW="@comment " NO_IPFW="" LOGINS="" NO_LOGINS="@comment " NGINX="@comment " NO_NGINX="" NOFW="" NO_NOFW="@comment " OSSEC="@comment " NO_OSSEC="" OSSEC_SC="@comment " NO_OSSEC_SC="" 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="" 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pcre2-10.42.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/libevent-2.1.12.pkg Installing /packages/All/libinotify-20211018.pkg ===== Message from libinotify-20211018: -- 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. Installing /packages/All/ossec-hids-agent-3.7.0.pkg ===> 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'. ===== Message from ossec-hids-agent-3.7.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-agent-config" to ease OSSEC configuration. For additional help execute: # /usr/local/etc/rc.d/ossec-hids help SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> ossec-hids-agent-config-3.7.0 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> ossec-hids-agent-config-3.7.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ossec-hids-agent-config-3.7.0 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> ossec-hids-agent-config-3.7.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ossec-hids-agent-config-3.7.0 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> ossec-hids-agent-config-3.7.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ossec-hids-agent-config-3.7.0 for building ===> Extracting for ossec-hids-agent-config-3.7.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for ossec-hids-agent-config-3.7.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> Configuring for ossec-hids-agent-config-3.7.0 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> ossec-hids-agent-config-3.7.0 depends on package: ossec-hids-agent>=3.7.0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for ossec-hids-agent-config-3.7.0 ===> ossec-hids-agent-config-3.7.0 depends on package: ossec-hids-agent>=3.7.0 - found *** Error code 1 (ignored) *** Error code 1 (ignored) ===> Generating temporary packing list *** Error code 1 (ignored) ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks Warning: /construction/security/ossec-hids-agent-config/pkg-message not in UCL format, will be shown on initial install only. Warning: See https://docs.freebsd.org/en/books/porters-handbook/pkg-files/#porting-message SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for ossec-hids-agent-config-3.7.0 file sizes/checksums [14]: 0% file sizes/checksums [14]: 100% Service unavailablepacking files [14]: 0% packing files [14]: 100% packing directories [9]: 0% packing directories [9]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:06