diff --git a/sysutils/Makefile b/sysutils/Makefile index 346533604357..f205b67384ca 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,1648 +1,1649 @@ COMMENT = System utilities SUBDIR += 3dm SUBDIR += 3mux SUBDIR += 44bsd-more SUBDIR += 915resolution SUBDIR += LPRng SUBDIR += LPRngTool SUBDIR += R-cran-fs SUBDIR += R-cran-processx SUBDIR += R-cran-ps SUBDIR += R-cran-xopen SUBDIR += UEFITool SUBDIR += abduco SUBDIR += abgx360 SUBDIR += accounts-qml-module SUBDIR += accountsservice SUBDIR += acerhdf-kmod SUBDIR += acfgfs SUBDIR += acltool SUBDIR += acpi_call SUBDIR += acpica-tools SUBDIR += acts SUBDIR += adtool SUBDIR += afbinit SUBDIR += afflib SUBDIR += afio SUBDIR += agedu SUBDIR += ah-tty SUBDIR += aimage SUBDIR += aird SUBDIR += alfio SUBDIR += am-utils SUBDIR += amazon-ssm-agent SUBDIR += amdmsrtweaker SUBDIR += amrstat SUBDIR += amtc SUBDIR += anacron SUBDIR += and SUBDIR += android-file-transfer SUBDIR += android-file-transfer-qt5 SUBDIR += angrysearch SUBDIR += ansible SUBDIR += ansible-iocage SUBDIR += ansible-kld SUBDIR += ansible-sshjail SUBDIR += ansible-sysrc SUBDIR += ansible4 SUBDIR += anvil SUBDIR += apache-mesos SUBDIR += apachetop SUBDIR += apcctrl SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += aptly SUBDIR += arc_summary SUBDIR += arcconf SUBDIR += archey4 SUBDIR += archivemount SUBDIR += ascpu SUBDIR += asfsm SUBDIR += asmctl SUBDIR += asmem SUBDIR += asusoled SUBDIR += atf-fvp SUBDIR += atf-master SUBDIR += atf-rk3328 SUBDIR += atf-rk3399 SUBDIR += atf-sun50i_a64 SUBDIR += atf-sun50i_h6 SUBDIR += atitvout SUBDIR += atop SUBDIR += auto-admin SUBDIR += autojump SUBDIR += automount SUBDIR += automounter SUBDIR += avfs SUBDIR += azure-agent SUBDIR += b2sum SUBDIR += b3sum SUBDIR += b43-fwcutter SUBDIR += backuppc SUBDIR += backuppc-devel SUBDIR += backuppc4 SUBDIR += backupuser SUBDIR += bacula11-client SUBDIR += bacula11-client-static SUBDIR += bacula11-docs SUBDIR += bacula11-server SUBDIR += bacula13-client SUBDIR += bacula13-docs SUBDIR += bacula13-server SUBDIR += bacula9-client SUBDIR += bacula9-client-static SUBDIR += bacula9-docs SUBDIR += bacula9-server SUBDIR += baloo-widgets SUBDIR += bamf SUBDIR += bareos-client SUBDIR += bareos-server SUBDIR += bareos-traymonitor SUBDIR += bareos18-client SUBDIR += bareos18-server SUBDIR += bareos18-traymonitor SUBDIR += bareos19-client SUBDIR += bareos19-server SUBDIR += bareos19-traymonitor SUBDIR += bareos20-client SUBDIR += bareos20-server SUBDIR += bareos20-traymonitor SUBDIR += barrier SUBDIR += bashtop SUBDIR += bastille SUBDIR += batmon SUBDIR += batterycat SUBDIR += battmond SUBDIR += battray SUBDIR += bchunk SUBDIR += beadm SUBDIR += beadm-devel SUBDIR += beats6 SUBDIR += beats7 + SUBDIR += beats8 SUBDIR += bfs SUBDIR += bhyve+ SUBDIR += bhyve-firmware SUBDIR += bhyve-rc SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += bkt SUBDIR += boot-extract SUBDIR += bottom SUBDIR += boxbackup-devel SUBDIR += bpytop SUBDIR += brasero SUBDIR += brename SUBDIR += brut SUBDIR += bsd-splash-changer SUBDIR += bsdconfig SUBDIR += bsdcrashtar SUBDIR += bsdebfetch SUBDIR += bsdfan SUBDIR += bsdhwmon SUBDIR += bsdinfo SUBDIR += bsdisks SUBDIR += bsdstats SUBDIR += bstack SUBDIR += btop SUBDIR += btsixad SUBDIR += buildah SUBDIR += bulk_extractor SUBDIR += bupstash SUBDIR += burp SUBDIR += burp-devel SUBDIR += busybox SUBDIR += bvm SUBDIR += byobu SUBDIR += calamares SUBDIR += catfish SUBDIR += cbsd SUBDIR += cbsd-mq-api SUBDIR += cbsd-mq-router SUBDIR += ccd2iso SUBDIR += cciss_vol_status SUBDIR += ccze SUBDIR += cdargs SUBDIR += cdbkup SUBDIR += cdeploy SUBDIR += cdircmp SUBDIR += cdrdao SUBDIR += cdrkit SUBDIR += cdroot SUBDIR += cdrtools SUBDIR += cfengine SUBDIR += cfengine-devel SUBDIR += cfengine-masterfiles SUBDIR += cfengine-masterfiles-devel SUBDIR += cfengine-masterfiles317 SUBDIR += cfengine-masterfiles318 SUBDIR += cfengine-masterfiles319 SUBDIR += cfengine-masterfiles320 SUBDIR += cfengine317 SUBDIR += cfengine318 SUBDIR += cfengine319 SUBDIR += cfengine320 SUBDIR += chaoskube SUBDIR += checkrestart SUBDIR += chezmoi SUBDIR += chgrep SUBDIR += choria SUBDIR += chyves SUBDIR += cinnamon-control-center SUBDIR += cinnamon-settings-daemon SUBDIR += ciso SUBDIR += ciso-maker SUBDIR += ck4up SUBDIR += clean SUBDIR += clockspeed SUBDIR += clone SUBDIR += clonehdd SUBDIR += cloudabi-utils SUBDIR += clsync SUBDIR += cluster-glue SUBDIR += cmdwatch SUBDIR += cmocka SUBDIR += cmockery2 SUBDIR += cmogstored SUBDIR += cmospwd SUBDIR += colorize SUBDIR += conan SUBDIR += confctl SUBDIR += conky SUBDIR += conky-awesome SUBDIR += conman SUBDIR += conmon SUBDIR += consolehm SUBDIR += consolekit2 SUBDIR += consul SUBDIR += consul-alerts SUBDIR += consul-replicate SUBDIR += consul_exporter SUBDIR += container-diff SUBDIR += containerd SUBDIR += containers-common SUBDIR += contractor SUBDIR += copytape SUBDIR += coreos-ct SUBDIR += coreutils SUBDIR += cpdup SUBDIR += cpu-x SUBDIR += cpuburn SUBDIR += cpufetch SUBDIR += cpuid SUBDIR += cpuid2cpuflags SUBDIR += cpulimit SUBDIR += cpupdate SUBDIR += cramfs SUBDIR += crashme SUBDIR += crate SUBDIR += cronic SUBDIR += cronolog SUBDIR += cronolog-devel SUBDIR += ctop SUBDIR += currtime SUBDIR += cw SUBDIR += czkawka SUBDIR += daa2iso SUBDIR += dae SUBDIR += daemonize SUBDIR += daemontools SUBDIR += daemontools-encore SUBDIR += daggy SUBDIR += damager SUBDIR += dar SUBDIR += darling-dmg SUBDIR += datadog-agent SUBDIR += datadog-integrations SUBDIR += dateutils SUBDIR += dc3dd SUBDIR += dcfldd SUBDIR += dd_rescue SUBDIR += ddpt SUBDIR += ddrescue SUBDIR += debhelper SUBDIR += debootstrap SUBDIR += deltarpm SUBDIR += deltup SUBDIR += desktop-installer SUBDIR += detox SUBDIR += devcpu-data SUBDIR += devcpu-data-amd SUBDIR += devcpu-data-intel SUBDIR += devctl-jail-kmod SUBDIR += devstat SUBDIR += dfc SUBDIR += di SUBDIR += digdag SUBDIR += dim SUBDIR += dirdiff SUBDIR += direnv SUBDIR += direvent SUBDIR += dirvish SUBDIR += discus SUBDIR += diskcheckd SUBDIR += diskimage-tools SUBDIR += diskonaut SUBDIR += diskscrub SUBDIR += disktype SUBDIR += diskus SUBDIR += dmg2img SUBDIR += dmidecode SUBDIR += dnf SUBDIR += docker SUBDIR += docker-compose SUBDIR += docker-credential-pass SUBDIR += docker-machine SUBDIR += docker-registry SUBDIR += doctl SUBDIR += doinkd SUBDIR += dolly SUBDIR += downtimed SUBDIR += dsbbatmon SUBDIR += dsbdriverd SUBDIR += dsblogoutmgr SUBDIR += dsbmc SUBDIR += dsbmc-cli SUBDIR += dsbmd SUBDIR += dsbsu SUBDIR += dsbwrtsysctl SUBDIR += dtc SUBDIR += dtpstree SUBDIR += dtrace-toolkit SUBDIR += du2ps SUBDIR += dua-cli SUBDIR += duf SUBDIR += duff SUBDIR += dunst SUBDIR += dupd SUBDIR += duplicity SUBDIR += duply SUBDIR += dupmerge SUBDIR += dust SUBDIR += dvd+rw-tools SUBDIR += dvdbackup SUBDIR += dvdimagecmp SUBDIR += dvdisaster SUBDIR += dvdvideo SUBDIR += dvtm SUBDIR += dwatch SUBDIR += dwatch-gource SUBDIR += dwatch-json SUBDIR += dwatch-pwsnoop SUBDIR += e2fsprogs SUBDIR += e2fsprogs-core SUBDIR += e2tools SUBDIR += ebsnvme-id SUBDIR += ec2-scripts SUBDIR += eclat SUBDIR += edid-decode SUBDIR += edk2 SUBDIR += egress-monitor SUBDIR += eject SUBDIR += eksctl SUBDIR += endian SUBDIR += enteruser SUBDIR += entr SUBDIR += env4801 SUBDIR += envconsul SUBDIR += epazote SUBDIR += equinix-metal-cli SUBDIR += etc_os-release SUBDIR += etcmerge SUBDIR += etcupdate SUBDIR += ethname SUBDIR += evhz SUBDIR += evisum SUBDIR += evtviewer SUBDIR += exa SUBDIR += exfat-utils SUBDIR += extipl SUBDIR += ezjail SUBDIR += f2 SUBDIR += f3 SUBDIR += facter SUBDIR += fakertc SUBDIR += fand SUBDIR += fanout SUBDIR += fatback SUBDIR += fcode-utils SUBDIR += fconfig SUBDIR += fcron SUBDIR += fd SUBDIR += fdupes SUBDIR += fetchlog SUBDIR += ffs2recov SUBDIR += file SUBDIR += filedupe SUBDIR += filelight SUBDIR += filemon SUBDIR += fileprune SUBDIR += fileschanged SUBDIR += filetype SUBDIR += filevercmp SUBDIR += filewatcherd SUBDIR += finfo SUBDIR += firstboot-cloudsetup SUBDIR += firstboot-freebsd-update SUBDIR += firstboot-pkgs SUBDIR += flasher SUBDIR += flashrom SUBDIR += flexbackup SUBDIR += flock SUBDIR += flog SUBDIR += flowgger SUBDIR += fluent-bit SUBDIR += fluxengine SUBDIR += fonteditfs SUBDIR += foremost SUBDIR += fortunelock SUBDIR += fpart SUBDIR += fpc-syslog SUBDIR += fpc-users SUBDIR += fpc-utmp SUBDIR += fpc-uuid SUBDIR += frand SUBDIR += freebsd-snapshot SUBDIR += freecolor SUBDIR += freedt SUBDIR += freeipmi SUBDIR += freesbie SUBDIR += froxlor SUBDIR += fsbackup SUBDIR += fsc SUBDIR += fsearch SUBDIR += fselect SUBDIR += fstyp SUBDIR += fswatch-mon SUBDIR += ftwin SUBDIR += fusefs-afuse SUBDIR += fusefs-bindfs SUBDIR += fusefs-chironfs SUBDIR += fusefs-cryptofs SUBDIR += fusefs-curlftpfs SUBDIR += fusefs-encfs SUBDIR += fusefs-exfat SUBDIR += fusefs-ext2 SUBDIR += fusefs-funionfs SUBDIR += fusefs-fusepak SUBDIR += fusefs-gitfs SUBDIR += fusefs-hfsfuse SUBDIR += fusefs-httpdirfs SUBDIR += fusefs-httpfs SUBDIR += fusefs-ifuse SUBDIR += fusefs-jmtpfs SUBDIR += fusefs-libs SUBDIR += fusefs-libs3 SUBDIR += fusefs-lkl SUBDIR += fusefs-mhddfs SUBDIR += fusefs-mp3fs SUBDIR += fusefs-nbt SUBDIR += fusefs-ntfs SUBDIR += fusefs-ntfs-compression SUBDIR += fusefs-pod SUBDIR += fusefs-rar2fs SUBDIR += fusefs-s3backer SUBDIR += fusefs-s3fs SUBDIR += fusefs-sandboxfs SUBDIR += fusefs-securefs SUBDIR += fusefs-simple-mtpfs SUBDIR += fusefs-smbnetfs SUBDIR += fusefs-sqlfs SUBDIR += fusefs-squashfuse SUBDIR += fusefs-sshfs SUBDIR += fusefs-unionfs SUBDIR += fusefs-unreliablefs SUBDIR += fusefs-webdavfs SUBDIR += fusefs-xfuse SUBDIR += fusefs-zip SUBDIR += fvcool SUBDIR += fwup SUBDIR += fx SUBDIR += g15daemon SUBDIR += gaffitter SUBDIR += ganglia-monitor-core SUBDIR += ganglia-webfrontend SUBDIR += gapcmon SUBDIR += garcon SUBDIR += gather SUBDIR += gconf-editor SUBDIR += gcp-ops-agent SUBDIR += gdisk SUBDIR += gdmap SUBDIR += gdu SUBDIR += genisoimage SUBDIR += geomWatch SUBDIR += getdelta SUBDIR += geteltorito SUBDIR += getssl SUBDIR += gigolo SUBDIR += gitwatch SUBDIR += gkfreq SUBDIR += gkleds2 SUBDIR += gkrellflynn SUBDIR += gkrellm-trayicons SUBDIR += gkrellm2 SUBDIR += gkrelltop SUBDIR += glogg SUBDIR += glow SUBDIR += gnome-control-center SUBDIR += gnome-power-manager SUBDIR += gnome-settings-daemon SUBDIR += gnome-system-monitor SUBDIR += gnome_subr SUBDIR += go-wtf SUBDIR += goaccess SUBDIR += goawk SUBDIR += gobi_loader SUBDIR += gomi SUBDIR += gomplate SUBDIR += google-compute-engine-oslogin SUBDIR += gotop SUBDIR += govmomi SUBDIR += gpart SUBDIR += graffer SUBDIR += graveman SUBDIR += graylog SUBDIR += grub2-bhyve SUBDIR += grub2-efi SUBDIR += grub2-pcbsd SUBDIR += gsh SUBDIR += gsmartcontrol SUBDIR += gstat-rs SUBDIR += gstopd SUBDIR += gstreamer1-plugins-cdio SUBDIR += gtk-imonc SUBDIR += handlr SUBDIR += hardlink SUBDIR += hare SUBDIR += hared SUBDIR += hatop SUBDIR += hcloud SUBDIR += hdrecover SUBDIR += healthd SUBDIR += heirloom SUBDIR += helm SUBDIR += helmfile SUBDIR += herbe SUBDIR += hexpeek SUBDIR += hextools SUBDIR += hexyl SUBDIR += hfsexplorer SUBDIR += hfsutils SUBDIR += hid-tools SUBDIR += highlnk SUBDIR += hilite SUBDIR += host-setup SUBDIR += hostctl SUBDIR += hourglass SUBDIR += hpacucli SUBDIR += hploscripts SUBDIR += hptcli SUBDIR += hs-cputype SUBDIR += hstr SUBDIR += htop SUBDIR += httplog SUBDIR += hw-probe SUBDIR += hwstat SUBDIR += i2c-tools SUBDIR += i7z SUBDIR += iat SUBDIR += iichid SUBDIR += immortal SUBDIR += incron SUBDIR += inotify-tools SUBDIR += installwatch SUBDIR += intel-nvmupdate SUBDIR += intel-pcm SUBDIR += intel-undervolt SUBDIR += inxi SUBDIR += ioc SUBDIR += iocage SUBDIR += iocage-devel SUBDIR += iocell SUBDIR += iograph SUBDIR += iohyve SUBDIR += ioping SUBDIR += ipa SUBDIR += ipad_charge SUBDIR += ipdbtools SUBDIR += ipfs-go SUBDIR += ipfs-go-fs-repo-migrations SUBDIR += ipget SUBDIR += ipmi_exporter SUBDIR += ipmitool SUBDIR += ipsc SUBDIR += isc-cron SUBDIR += isomaster SUBDIR += istatserver SUBDIR += istio SUBDIR += jadm SUBDIR += jail-primer SUBDIR += jail_exporter SUBDIR += jailadmin SUBDIR += jaildaemon SUBDIR += jailme SUBDIR += jailrc SUBDIR += jailutils SUBDIR += javaservicewrapper SUBDIR += jdiskreport SUBDIR += jdupes SUBDIR += jest SUBDIR += jkill SUBDIR += jobd SUBDIR += jps SUBDIR += jruls SUBDIR += jstest-gtk SUBDIR += jtop SUBDIR += jtopen SUBDIR += jvmtop SUBDIR += k3b SUBDIR += k4dirstat SUBDIR += k8temp SUBDIR += k9s SUBDIR += kbackup SUBDIR += kcron SUBDIR += kdeadmin SUBDIR += kdebugsettings SUBDIR += kdf SUBDIR += kdialog SUBDIR += keyboard-daemon SUBDIR += keyd SUBDIR += kf5-baloo SUBDIR += kf5-kwallet SUBDIR += kfloppy SUBDIR += khelpcenter SUBDIR += kiconvtool SUBDIR += kio-fuse SUBDIR += kldfind SUBDIR += kldpatch SUBDIR += kopia SUBDIR += kops SUBDIR += kpmcore SUBDIR += krename SUBDIR += kshutdown SUBDIR += ksystemlog SUBDIR += kubectl SUBDIR += kvmclock-kmod SUBDIR += lava SUBDIR += lbl-cf SUBDIR += lbl-hf SUBDIR += lcdproc SUBDIR += ldap-account-manager SUBDIR += ldapvi SUBDIR += ledit SUBDIR += less SUBDIR += lfm SUBDIR += libcdio SUBDIR += libcdio-paranoia SUBDIR += libchk SUBDIR += libcpuid SUBDIR += libdnf SUBDIR += libfvde SUBDIR += libg15 SUBDIR += libg15render SUBDIR += libieee1284 SUBDIR += libptytty SUBDIR += libretto-config SUBDIR += libsunacl SUBDIR += libsysstat SUBDIR += libtree SUBDIR += libudisks SUBDIR += liburcu SUBDIR += lineak-defaultplugin SUBDIR += lineak-xosdplugin SUBDIR += lineakd SUBDIR += linrename SUBDIR += linux-c7-dosfstools SUBDIR += linux-c7-lttng-ust SUBDIR += linux-c7-numactl-libs SUBDIR += linux-c7-userspace-rcu SUBDIR += linux-miniconda-installer SUBDIR += linux-rkbin SUBDIR += linuxfdisk SUBDIR += lizardfs SUBDIR += lmmon SUBDIR += lmon SUBDIR += lnav SUBDIR += lockfile-progs SUBDIR += loganalyzer SUBDIR += logrotate SUBDIR += logstalgia SUBDIR += logstash-forwarder SUBDIR += logstash6 SUBDIR += logstash7 SUBDIR += logstash8 SUBDIR += logtool SUBDIR += logwatch SUBDIR += loki SUBDIR += lookat SUBDIR += lr SUBDIR += lsblk SUBDIR += lscpu SUBDIR += lsd SUBDIR += lsof SUBDIR += lsop SUBDIR += lsyncd SUBDIR += ltfs SUBDIR += ltrace SUBDIR += lttng-tools SUBDIR += lttng-ust SUBDIR += luckybackup SUBDIR += lxinput SUBDIR += lxqt-admin SUBDIR += lxqt-config SUBDIR += lxqt-policykit SUBDIR += lxqt-powermanagement SUBDIR += lxqt-qtplugin SUBDIR += lxsplit SUBDIR += lxtask SUBDIR += lxterminal SUBDIR += mac_nonet SUBDIR += mac_rtprio SUBDIR += mackerel-agent SUBDIR += magicrescue SUBDIR += manck SUBDIR += mapchan SUBDIR += mapdir SUBDIR += massadmin SUBDIR += mate-control-center SUBDIR += mate-polkit SUBDIR += mate-power-manager SUBDIR += mate-settings-daemon SUBDIR += mate-system-monitor SUBDIR += mbgtools SUBDIR += mcelog SUBDIR += mcfly SUBDIR += mcollective SUBDIR += mcollective-actionpolicy-auth SUBDIR += mcollective-nettest-agent SUBDIR += mcollective-nettest-client SUBDIR += mcollective-nettest-common SUBDIR += mcollective-nrpe-agent SUBDIR += mcollective-nrpe-client SUBDIR += mcollective-nrpe-common SUBDIR += mcollective-puppet-agent SUBDIR += mcollective-puppet-client SUBDIR += mcollective-puppet-common SUBDIR += mcollective-service-agent SUBDIR += mcollective-service-client SUBDIR += mcollective-service-common SUBDIR += mcollective-shell-agent SUBDIR += mcollective-shell-client SUBDIR += mcron SUBDIR += mcweject SUBDIR += mdf2iso SUBDIR += megacli SUBDIR += megarc SUBDIR += memdump SUBDIR += memfetch SUBDIR += memtest86 SUBDIR += memtest86+ SUBDIR += memtester SUBDIR += metalog SUBDIR += mfid SUBDIR += minikube SUBDIR += minimunin SUBDIR += minipot SUBDIR += minipro SUBDIR += minirsyslogd SUBDIR += mixer SUBDIR += mkdesktop SUBDIR += mkfwimage SUBDIR += mkjail SUBDIR += mkntpwd SUBDIR += mmc-utils SUBDIR += mmve SUBDIR += mnrpes SUBDIR += modman SUBDIR += modules SUBDIR += mog SUBDIR += monit SUBDIR += monitord SUBDIR += monitorix SUBDIR += moosefs2-cgi SUBDIR += moosefs2-cgiserv SUBDIR += moosefs2-chunkserver SUBDIR += moosefs2-cli SUBDIR += moosefs2-client SUBDIR += moosefs2-master SUBDIR += moosefs2-metalogger SUBDIR += moosefs2-netdump SUBDIR += moosefs3-cgi SUBDIR += moosefs3-cgiserv SUBDIR += moosefs3-chunkserver SUBDIR += moosefs3-cli SUBDIR += moosefs3-client SUBDIR += moosefs3-master SUBDIR += moosefs3-metalogger SUBDIR += moosefs3-netdump SUBDIR += moreutils SUBDIR += most SUBDIR += mountsmb2 SUBDIR += mping SUBDIR += mprocs SUBDIR += mptd SUBDIR += msiklm SUBDIR += msktutil SUBDIR += mstflint SUBDIR += mstflint-lite SUBDIR += msyslog SUBDIR += mtm SUBDIR += mtpfs SUBDIR += mtxorbd SUBDIR += multitail SUBDIR += munin-common SUBDIR += munin-contrib SUBDIR += munin-master SUBDIR += munin-node SUBDIR += muse SUBDIR += mxkill SUBDIR += mybashburn SUBDIR += myrescue SUBDIR += n98-magerun SUBDIR += nagios-statd SUBDIR += namefix SUBDIR += nbosd SUBDIR += ncdu SUBDIR += ndmpd SUBDIR += neofetch SUBDIR += nerdctl SUBDIR += netevent SUBDIR += nfcutils SUBDIR += nfs-over-tls SUBDIR += nitrogen SUBDIR += nix SUBDIR += nmrpflash SUBDIR += no-login SUBDIR += node_exporter SUBDIR += nomad SUBDIR += nomad-pot-driver SUBDIR += npadmin SUBDIR += nq SUBDIR += nrg2iso SUBDIR += nss_ndb SUBDIR += nsysctl SUBDIR += ntfy SUBDIR += ntpstat SUBDIR += nut SUBDIR += nut-devel SUBDIR += nvclock SUBDIR += nvimpager SUBDIR += nvme-cli SUBDIR += nvramtool SUBDIR += oak SUBDIR += obliterate SUBDIR += oc SUBDIR += ocijail SUBDIR += odo SUBDIR += ods2 SUBDIR += ohmu SUBDIR += omnibackup SUBDIR += onefetch SUBDIR += opa SUBDIR += open SUBDIR += opencorsairlink SUBDIR += opendircolors SUBDIR += openipmi SUBDIR += opensbi SUBDIR += openseachest SUBDIR += openshift-install SUBDIR += openupsd SUBDIR += openzfs SUBDIR += openzfs-kmod SUBDIR += osinfo-db-tools SUBDIR += p5-App-Regather SUBDIR += p5-App-RunCron SUBDIR += p5-App-ZFSCurses SUBDIR += p5-BSD-Jail-Object SUBDIR += p5-BSD-Process SUBDIR += p5-BSD-Sysctl SUBDIR += p5-BSD-getloadavg SUBDIR += p5-BackupPC-XS SUBDIR += p5-Brackup SUBDIR += p5-Device-RAID-Poller SUBDIR += p5-Dir-Purge SUBDIR += p5-File-BackupCopy SUBDIR += p5-File-Cmp SUBDIR += p5-File-DirCompare SUBDIR += p5-File-Listing SUBDIR += p5-File-Log SUBDIR += p5-File-Next SUBDIR += p5-File-Rename SUBDIR += p5-File-Signature SUBDIR += p5-File-Stat-Bits SUBDIR += p5-File-Stat-ModeString SUBDIR += p5-File-Tee SUBDIR += p5-File-Which SUBDIR += p5-Filesys-Df SUBDIR += p5-Filesys-DfPortable SUBDIR += p5-Filesys-DiskFree SUBDIR += p5-Filesys-DiskSpace SUBDIR += p5-Filesys-DiskUsage SUBDIR += p5-Filesys-Statvfs SUBDIR += p5-Filesys-ZFS SUBDIR += p5-Filesys-ZFS-Stat SUBDIR += p5-Fuse SUBDIR += p5-Fuse-Simple SUBDIR += p5-Giovanni SUBDIR += p5-Iterator-File SUBDIR += p5-Lchown SUBDIR += p5-Linux-Cpuinfo SUBDIR += p5-Log-Colorize-Helper SUBDIR += p5-Log-Syslog-Constants SUBDIR += p5-Log-Syslog-Fast SUBDIR += p5-MogileFS-Client SUBDIR += p5-MogileFS-Network SUBDIR += p5-MogileFS-Server SUBDIR += p5-MogileFS-Utils SUBDIR += p5-Monitor-Simple SUBDIR += p5-POSIX-Run-Capture SUBDIR += p5-Plugtools SUBDIR += p5-Plugtools-Plugins-HomeOU SUBDIR += p5-Probe-Perl SUBDIR += p5-Proc-PidUtil SUBDIR += p5-Proc-ProcessTable-Colorizer SUBDIR += p5-Proc-ProcessTable-InfoString SUBDIR += p5-Proc-ProcessTable-Match SUBDIR += p5-Proc-ProcessTable-ncps SUBDIR += p5-Proclet SUBDIR += p5-Quota SUBDIR += p5-Rex SUBDIR += p5-RundeckAPI SUBDIR += p5-Samba-SIDhelper SUBDIR += p5-Schedule-At SUBDIR += p5-Schedule-Cron SUBDIR += p5-Schedule-Cron-Events SUBDIR += p5-Schedule-Load SUBDIR += p5-Schedule-Match SUBDIR += p5-Shell-Command SUBDIR += p5-Stat-lsMode SUBDIR += p5-Sys-CpuLoad SUBDIR += p5-Sys-Filesystem SUBDIR += p5-Sys-Gamin SUBDIR += p5-Sys-Group-GIDhelper SUBDIR += p5-Sys-HostIP SUBDIR += p5-Sys-Hostname-FQDN SUBDIR += p5-Sys-Hostname-Long SUBDIR += p5-Sys-Load SUBDIR += p5-Sys-Syslog SUBDIR += p5-Sys-User-UIDhelper SUBDIR += p5-Sysadm-Install SUBDIR += p5-SyslogScan SUBDIR += p5-Tail-Stat SUBDIR += p5-Tie-Syslog SUBDIR += p5-Ubic SUBDIR += p5-Unix-ConfigFile SUBDIR += p5-Unix-Lsof SUBDIR += p5-Unix-Mknod SUBDIR += p5-Unix-Processors SUBDIR += p5-Unix-Syslog SUBDIR += p5-User SUBDIR += p5-arclog SUBDIR += p5-reslog SUBDIR += packer SUBDIR += packmule SUBDIR += pacman SUBDIR += paicc SUBDIR += paladin SUBDIR += pam_mount SUBDIR += pam_xdg SUBDIR += panicmail SUBDIR += parafly SUBDIR += parallel SUBDIR += parkverbot SUBDIR += pass-otp SUBDIR += pass-secrets SUBDIR += pass-update SUBDIR += password-store SUBDIR += passwordsafe SUBDIR += patchelf SUBDIR += pax-utils SUBDIR += pbimaker SUBDIR += pc-networkmanager SUBDIR += pcapfix SUBDIR += pciutils SUBDIR += pcpustat SUBDIR += pdixtract SUBDIR += pdsh SUBDIR += pdumpfs SUBDIR += pear-Cache SUBDIR += pear-Cache_Lite SUBDIR += pear-File SUBDIR += pear-File_Find SUBDIR += pear-File_Fstab SUBDIR += pear-File_Gettext SUBDIR += pear-Horde_Log SUBDIR += pear-Horde_Vfs SUBDIR += pear-I18Nv2 SUBDIR += pear-Log SUBDIR += pear-Translation2 SUBDIR += pecl-proctitle SUBDIR += pefs-kmod SUBDIR += perp SUBDIR += personality SUBDIR += pfetch SUBDIR += pflogx SUBDIR += pfstat SUBDIR += pftables SUBDIR += pftop SUBDIR += php74-fileinfo SUBDIR += php74-posix SUBDIR += php80-fileinfo SUBDIR += php80-posix SUBDIR += php81-fileinfo SUBDIR += php81-posix SUBDIR += php82-fileinfo SUBDIR += php82-posix SUBDIR += phybs SUBDIR += pick SUBDIR += pidof SUBDIR += pies SUBDIR += pipemeter SUBDIR += plasma-pass SUBDIR += plasma5-discover SUBDIR += plasma5-drkonqi SUBDIR += plasma5-kde-cli-tools SUBDIR += plasma5-kinfocenter SUBDIR += plasma5-kmenuedit SUBDIR += plasma5-ksysguard SUBDIR += plasma5-ksystemstats SUBDIR += plasma5-libksysguard SUBDIR += plasma5-plasma-disks SUBDIR += plasma5-plasma-systemmonitor SUBDIR += plasma5-polkit-kde-agent-1 SUBDIR += plasma5-powerdevil SUBDIR += plasma5-systemsettings SUBDIR += plconfig SUBDIR += pmt SUBDIR += pnscan SUBDIR += podman SUBDIR += podman-suite SUBDIR += polkit SUBDIR += polkit-gnome SUBDIR += polkit-qt SUBDIR += pot SUBDIR += potnet SUBDIR += powerdxx SUBDIR += powerman SUBDIR += powermon SUBDIR += pp SUBDIR += pprotectd SUBDIR += prips SUBDIR += procenv SUBDIR += procmap SUBDIR += progsreiserfs SUBDIR += pslist SUBDIR += psmisc SUBDIR += pstack SUBDIR += pstacku SUBDIR += pstree SUBDIR += puppet-lint SUBDIR += puppet-mode.el SUBDIR += puppet6 SUBDIR += puppet7 SUBDIR += puppetserver6 SUBDIR += puppetserver7 SUBDIR += pv SUBDIR += pwd_unmkdb SUBDIR += pwgen SUBDIR += pwol SUBDIR += pwsafe SUBDIR += pxattr SUBDIR += pxp-agent SUBDIR += py-ansible-compat SUBDIR += py-ansible-core SUBDIR += py-ansible-core211 SUBDIR += py-ansible-lint SUBDIR += py-ansible-runner SUBDIR += py-azure-cli SUBDIR += py-azure-cli-acr SUBDIR += py-azure-cli-base SUBDIR += py-azure-cli-core SUBDIR += py-azure-cli-telemetry SUBDIR += py-bitrot SUBDIR += py-borgmatic SUBDIR += py-concurrent-log-handler SUBDIR += py-cron-descriptor SUBDIR += py-croniter SUBDIR += py-dict-toolbox SUBDIR += py-diffoscope SUBDIR += py-dirsync SUBDIR += py-distro SUBDIR += py-dlipower SUBDIR += py-docker SUBDIR += py-drmaa SUBDIR += py-elf_diff SUBDIR += py-execnet SUBDIR += py-filelike SUBDIR += py-filelock SUBDIR += py-focker SUBDIR += py-glances SUBDIR += py-google-compute-engine SUBDIR += py-hared SUBDIR += py-hcloud SUBDIR += py-honcho SUBDIR += py-howdoi SUBDIR += py-hpilo SUBDIR += py-iowait SUBDIR += py-ioztat SUBDIR += py-jailconf SUBDIR += py-keep SUBDIR += py-leviathan SUBDIR += py-liquidctl SUBDIR += py-mitogen SUBDIR += py-mqttwarn SUBDIR += py-nagiosplugin SUBDIR += py-packet-python SUBDIR += py-pkginfo SUBDIR += py-ploy SUBDIR += py-ploy_ezjail SUBDIR += py-plumbum SUBDIR += py-power SUBDIR += py-prometheus-zfs SUBDIR += py-psutil SUBDIR += py-psutil121 SUBDIR += py-ptyprocess SUBDIR += py-puremagic SUBDIR += py-py-cpuinfo SUBDIR += py-python-consul SUBDIR += py-python-consul2 SUBDIR += py-python-crontab SUBDIR += py-python-nomad SUBDIR += py-pytsk SUBDIR += py-pywatchman SUBDIR += py-pyznap SUBDIR += py-qmk SUBDIR += py-queuelib SUBDIR += py-ranger SUBDIR += py-rdiff-backup SUBDIR += py-resolve-march-native SUBDIR += py-salt SUBDIR += py-scandir SUBDIR += py-scarab SUBDIR += py-supervisor SUBDIR += py-tarsnapper SUBDIR += py-tmuxp SUBDIR += py-upt SUBDIR += py-upt-cpan SUBDIR += py-upt-freebsd SUBDIR += py-upt-pypi SUBDIR += py-upt-rubygems SUBDIR += py-uptime SUBDIR += py-zdaemon SUBDIR += py-zfs-autobackup SUBDIR += pydf SUBDIR += qchroot SUBDIR += qdirstat SUBDIR += qjail SUBDIR += qjail54 SUBDIR += qlogtools SUBDIR += qsudo SUBDIR += qt5-qtdiag SUBDIR += qt5-qtpaths SUBDIR += qt5-qtplugininfo SUBDIR += qtpass SUBDIR += quickjail SUBDIR += quicksynergy SUBDIR += racktables SUBDIR += radeontool SUBDIR += radeontop SUBDIR += radmind SUBDIR += rainbarf SUBDIR += raincoat SUBDIR += rcadm SUBDIR += rclean SUBDIR += rcm SUBDIR += rdate SUBDIR += rdfind SUBDIR += rdup SUBDIR += read-edid SUBDIR += recoverdm SUBDIR += reed SUBDIR += reggae SUBDIR += rej SUBDIR += relaxconf SUBDIR += rename SUBDIR += renameutils SUBDIR += reoback SUBDIR += reptyr SUBDIR += respond SUBDIR += rest-server SUBDIR += restic SUBDIR += retail SUBDIR += rex SUBDIR += rhc SUBDIR += rinse SUBDIR += rmlint SUBDIR += rocinante SUBDIR += rocr SUBDIR += roct SUBDIR += root-tail SUBDIR += rovclock SUBDIR += rpi-firmware SUBDIR += rset SUBDIR += rsfetch SUBDIR += rshim-user-space SUBDIR += rsnapshot SUBDIR += rsyncbackup SUBDIR += rsyncrypto SUBDIR += rsyslog8 SUBDIR += rtsx-kmod SUBDIR += rtty SUBDIR += rubygem-backup SUBDIR += rubygem-bolt SUBDIR += rubygem-bosh-gen SUBDIR += rubygem-bundler SUBDIR += rubygem-bundler_ext SUBDIR += rubygem-capistrano SUBDIR += rubygem-capistrano-ext SUBDIR += rubygem-capistrano-harrow SUBDIR += rubygem-chef SUBDIR += rubygem-chef-bin SUBDIR += rubygem-chef-cleanroom SUBDIR += rubygem-chef-config SUBDIR += rubygem-chef-telemetry SUBDIR += rubygem-chef-utils SUBDIR += rubygem-chef-vault SUBDIR += rubygem-chef-zero SUBDIR += rubygem-choria-mcorpc-support SUBDIR += rubygem-facter SUBDIR += rubygem-fluent-mixin-plaintextformatter SUBDIR += rubygem-fluent-plugin-config-expander SUBDIR += rubygem-fluent-plugin-file-alternative SUBDIR += rubygem-fluent-plugin-tail-asis SUBDIR += rubygem-fluentd SUBDIR += rubygem-fssm SUBDIR += rubygem-god SUBDIR += rubygem-guard SUBDIR += rubygem-guard-compat SUBDIR += rubygem-guard-cucumber SUBDIR += rubygem-guard-livereload SUBDIR += rubygem-guard-minitest SUBDIR += rubygem-guard-rspec SUBDIR += rubygem-hammer_cli SUBDIR += rubygem-hammer_cli_foreman SUBDIR += rubygem-hammer_cli_foreman_bootdisk SUBDIR += rubygem-hammer_cli_foreman_salt SUBDIR += rubygem-hammer_cli_foreman_ssh SUBDIR += rubygem-hiera SUBDIR += rubygem-hiera-eyaml SUBDIR += rubygem-hiera-file SUBDIR += rubygem-hieracles SUBDIR += rubygem-httplog SUBDIR += rubygem-itamae SUBDIR += rubygem-librarian-puppet SUBDIR += rubygem-license-acceptance SUBDIR += rubygem-license_scout SUBDIR += rubygem-log4r SUBDIR += rubygem-logify SUBDIR += rubygem-mogilefs-client SUBDIR += rubygem-mothra SUBDIR += rubygem-murder SUBDIR += rubygem-ohai SUBDIR += rubygem-parallel SUBDIR += rubygem-puppet_forge SUBDIR += rubygem-puppetfile-resolver SUBDIR += rubygem-puppetserver-ca SUBDIR += rubygem-r10k SUBDIR += rubygem-redfish_client SUBDIR += rubygem-rubyipmi SUBDIR += rubygem-serverspec SUBDIR += rubygem-shellany SUBDIR += rubygem-smart_proxy_dynflow SUBDIR += rubygem-smart_proxy_remote_execution_ssh SUBDIR += rubygem-smart_proxy_salt SUBDIR += rubygem-specinfra SUBDIR += rubygem-sys-admin SUBDIR += rubygem-sys-cpu SUBDIR += rubygem-sys-filesystem SUBDIR += rubygem-sys-host SUBDIR += rubygem-sys-proctable SUBDIR += rubygem-sys-uname SUBDIR += rubygem-sys-uptime SUBDIR += rubygem-syslog-logger SUBDIR += rubygem-teamocil SUBDIR += rubygem-tmuxinator SUBDIR += rubygem-vagrant-bhyve SUBDIR += rubygem-vagrant-mutate SUBDIR += rubygem-vagrant-vbguest SUBDIR += rubygem-vagrant_cloud SUBDIR += rubygem-vmstat SUBDIR += rubygem-win32-file SUBDIR += rubygem-win32-file-security SUBDIR += rubygem-win32-file-stat SUBDIR += rubygem-winrm SUBDIR += rubygem-winrm-elevated SUBDIR += rubygem-winrm-fs SUBDIR += rubygem-yell SUBDIR += rundeck2 SUBDIR += rundeck3 SUBDIR += runit SUBDIR += runit-faster SUBDIR += runj SUBDIR += runwhen SUBDIR += rush SUBDIR += rw SUBDIR += s-tui SUBDIR += s6 SUBDIR += s6-rc SUBDIR += safe-rm SUBDIR += safecat SUBDIR += safecopy SUBDIR += samdruckerclientshell SUBDIR += samefile SUBDIR += samesame SUBDIR += sanoid SUBDIR += sanoid-devel SUBDIR += sas2ircu SUBDIR += sas3ircu SUBDIR += savelogs SUBDIR += scalpel SUBDIR += scan_ffs SUBDIR += scanbuttond SUBDIR += scanmem SUBDIR += scct SUBDIR += schedutils SUBDIR += schilyutils SUBDIR += screen SUBDIR += screenfetch SUBDIR += screenfetch-nox11 SUBDIR += screenie SUBDIR += scterc SUBDIR += sd-agent SUBDIR += sdparm SUBDIR += seatd SUBDIR += seatools SUBDIR += sec SUBDIR += sensu-go SUBDIR += serf SUBDIR += setcdboot SUBDIR += setsid SUBDIR += sg3_utils SUBDIR += shim SUBDIR += shlock SUBDIR += shmcat SUBDIR += shuf SUBDIR += siegfried SUBDIR += signon-kwallet-extension SUBDIR += signon-plugin-oauth2 SUBDIR += signon-qt5 SUBDIR += signon-ui SUBDIR += skopeo SUBDIR += slack SUBDIR += sleuthkit SUBDIR += slst SUBDIR += slurm-wlm SUBDIR += smart SUBDIR += smartmontools SUBDIR += smenu SUBDIR += smp_utils SUBDIR += smug SUBDIR += snap SUBDIR += snapraid SUBDIR += snmp_exporter SUBDIR += snooze SUBDIR += sockaddr SUBDIR += socket SUBDIR += socklog SUBDIR += solaar SUBDIR += spcm SUBDIR += spindown SUBDIR += spinner SUBDIR += spiped SUBDIR += squashfs-tools SUBDIR += squashfs-tools-ng SUBDIR += ssd_report SUBDIR += sshsudo SUBDIR += ssync SUBDIR += stalepid SUBDIR += stepsync SUBDIR += storcli SUBDIR += stow SUBDIR += stowES SUBDIR += stress SUBDIR += stressdisk SUBDIR += superiotool SUBDIR += swapd SUBDIR += swapexd SUBDIR += swapmon SUBDIR += swapusage SUBDIR += sweeper SUBDIR += symlinks SUBDIR += symon SUBDIR += synergy SUBDIR += sysctlbyname-improved-kmod SUBDIR += sysctlinfo-kmod SUBDIR += sysgather SUBDIR += sysinfo SUBDIR += syslinux SUBDIR += syslog-ng SUBDIR += syslogger SUBDIR += sysrc SUBDIR += sysvbanner SUBDIR += tai64nfrac SUBDIR += tarsnap SUBDIR += tarsnap-gui SUBDIR += tarsnap-periodic SUBDIR += tartarus SUBDIR += tbku SUBDIR += tclsyslog SUBDIR += tcplist SUBDIR += tdir SUBDIR += tealdeer SUBDIR += tenshi SUBDIR += terraform SUBDIR += terraform-docs SUBDIR += terraform-provider-gridscale SUBDIR += terraform-provider-vultr SUBDIR += terraform-switcher SUBDIR += terragrunt SUBDIR += testdisk SUBDIR += tflint SUBDIR += thefish SUBDIR += timelimit SUBDIR += timemon SUBDIR += tiramisu SUBDIR += titlefix SUBDIR += tkdvd SUBDIR += tlsdate SUBDIR += tm SUBDIR += tmate SUBDIR += tmate-ssh-server SUBDIR += tmpreaper SUBDIR += tmpwatch SUBDIR += tmux SUBDIR += tmux-mem-cpu-load SUBDIR += tmux23 SUBDIR += topgrade SUBDIR += topless SUBDIR += torque SUBDIR += toshctl SUBDIR += toybox SUBDIR += tracker SUBDIR += tracker-miners SUBDIR += tracker3 SUBDIR += tree SUBDIR += triton SUBDIR += trueos-libqt5 SUBDIR += ts SUBDIR += tty-clock SUBDIR += ttyd SUBDIR += ttyload SUBDIR += tuptime SUBDIR += turbostat SUBDIR += tw_cli SUBDIR += twmn SUBDIR += tzdialog SUBDIR += u-boot-a13-olinuxino SUBDIR += u-boot-a64-olinuxino SUBDIR += u-boot-bananapi SUBDIR += u-boot-bananapim2 SUBDIR += u-boot-beaglebone SUBDIR += u-boot-chip SUBDIR += u-boot-clearfog SUBDIR += u-boot-cubieboard SUBDIR += u-boot-cubieboard2 SUBDIR += u-boot-cubox-hummingboard SUBDIR += u-boot-firefly-rk3399 SUBDIR += u-boot-imx-serial-loader SUBDIR += u-boot-master SUBDIR += u-boot-nanopi-a64 SUBDIR += u-boot-nanopi-m1plus SUBDIR += u-boot-nanopi-neo SUBDIR += u-boot-nanopi-neo-air SUBDIR += u-boot-nanopi-neo2 SUBDIR += u-boot-nanopi-r4s SUBDIR += u-boot-olimex-a20-som-evb SUBDIR += u-boot-olinuxino-lime SUBDIR += u-boot-olinuxino-lime2 SUBDIR += u-boot-olinuxino-lime2-emmc SUBDIR += u-boot-orangepi-one SUBDIR += u-boot-orangepi-pc SUBDIR += u-boot-orangepi-pc-plus SUBDIR += u-boot-orangepi-pc2 SUBDIR += u-boot-orangepi-plus-2e SUBDIR += u-boot-orangepi-r1 SUBDIR += u-boot-orangepi-zero SUBDIR += u-boot-orangepi-zero-plus SUBDIR += u-boot-pandaboard SUBDIR += u-boot-pcduino3 SUBDIR += u-boot-pine-h64 SUBDIR += u-boot-pine64 SUBDIR += u-boot-pine64-lts SUBDIR += u-boot-pinebook SUBDIR += u-boot-pinebookpro SUBDIR += u-boot-qemu-arm SUBDIR += u-boot-qemu-arm64 SUBDIR += u-boot-qemu-riscv64 SUBDIR += u-boot-riotboard SUBDIR += u-boot-rock-pi-4 SUBDIR += u-boot-rock64 SUBDIR += u-boot-rockpro64 SUBDIR += u-boot-rpi SUBDIR += u-boot-rpi-0-w SUBDIR += u-boot-rpi-arm64 SUBDIR += u-boot-rpi2 SUBDIR += u-boot-rpi3 SUBDIR += u-boot-rpi3-32 SUBDIR += u-boot-rpi4 SUBDIR += u-boot-sifive-fu540 SUBDIR += u-boot-sifive-fu740 SUBDIR += u-boot-sinovoip-bpi-m3 SUBDIR += u-boot-sopine SUBDIR += u-boot-sopine-spi SUBDIR += u-boot-tools SUBDIR += u-boot-utilite SUBDIR += u-boot-wandboard SUBDIR += ua SUBDIR += ucspi-ipc SUBDIR += ucspi-proxy SUBDIR += ucspi-ssl SUBDIR += ucspi-tcp SUBDIR += ucspi-unix SUBDIR += udfclient SUBDIR += uefi-edk2-bhyve-csm SUBDIR += ufetch SUBDIR += ufs_copy SUBDIR += uhidd SUBDIR += uif2iso SUBDIR += unetbootin SUBDIR += unieject SUBDIR += uniutils SUBDIR += unquote SUBDIR += unstow SUBDIR += upower SUBDIR += upsdaemon SUBDIR += uptimed SUBDIR += usb_modeswitch SUBDIR += usbhid-dump SUBDIR += usbtop SUBDIR += usbutils SUBDIR += uschedule SUBDIR += userinfo SUBDIR += userlist SUBDIR += usermatic SUBDIR += usermin SUBDIR += userneu SUBDIR += userneu-devel SUBDIR += usrinfo SUBDIR += utcount SUBDIR += vagrant SUBDIR += vbetool SUBDIR += vchanger SUBDIR += vcp SUBDIR += vector SUBDIR += viddy SUBDIR += videogen SUBDIR += vii SUBDIR += vils SUBDIR += vimpager SUBDIR += virt-what SUBDIR += virtualmin SUBDIR += vivid SUBDIR += vm-bhyve SUBDIR += vm-bhyve-devel SUBDIR += vmdktool SUBDIR += vmtouch SUBDIR += vobcopy SUBDIR += volman SUBDIR += vordog SUBDIR += vpnc-scripts SUBDIR += vttest SUBDIR += vzvol SUBDIR += wait_on SUBDIR += watchfolder SUBDIR += watchman SUBDIR += watchmen SUBDIR += waynergy SUBDIR += webmin SUBDIR += weedit SUBDIR += wemux SUBDIR += whatpix SUBDIR += whowatch SUBDIR += wiimms SUBDIR += wimlib SUBDIR += wmapmload SUBDIR += wmbluecpu SUBDIR += wmbsdbatt SUBDIR += wmcpuload SUBDIR += wmcube SUBDIR += wmdiskmon SUBDIR += wmflame SUBDIR += wmmemfree SUBDIR += wmmemload SUBDIR += wmscript SUBDIR += wmtop SUBDIR += wmupmon SUBDIR += worldtools SUBDIR += wuzzah SUBDIR += x86info SUBDIR += xbatt SUBDIR += xbattbar SUBDIR += xcdroast SUBDIR += xcpustate SUBDIR += xdu SUBDIR += xe SUBDIR += xe-guest-utilities SUBDIR += xen-guest-tools SUBDIR += xen-tools SUBDIR += xfburn SUBDIR += xfce4-battery-plugin SUBDIR += xfce4-bsdcpufreq-plugin SUBDIR += xfce4-cpugraph-plugin SUBDIR += xfce4-diskperf-plugin SUBDIR += xfce4-fsguard-plugin SUBDIR += xfce4-genmon-plugin SUBDIR += xfce4-mount-plugin SUBDIR += xfce4-netload-plugin SUBDIR += xfce4-places-plugin SUBDIR += xfce4-power-manager SUBDIR += xfce4-settings SUBDIR += xfce4-systemload-plugin SUBDIR += xfce4-wavelan-plugin SUBDIR += xfsm SUBDIR += xfsprogs SUBDIR += xin SUBDIR += xjobs SUBDIR += xmbmon SUBDIR += xorriso SUBDIR += xosview SUBDIR += xpipe SUBDIR += xstow SUBDIR += xsysstats SUBDIR += yadf SUBDIR += yadm SUBDIR += yank SUBDIR += z SUBDIR += zap SUBDIR += zbackup SUBDIR += zeitgeist SUBDIR += zellij SUBDIR += zeroer SUBDIR += zetaback SUBDIR += zetaback-devel SUBDIR += zfs-periodic SUBDIR += zfs-replicate SUBDIR += zfs-snap-diff SUBDIR += zfs-snapshot-clean SUBDIR += zfs-snapshot-mgmt SUBDIR += zfs-stats SUBDIR += zfs-stats-lite SUBDIR += zfsnap SUBDIR += zfsnap2 SUBDIR += zfstools SUBDIR += zidrav SUBDIR += zisofs-tools SUBDIR += znapzend SUBDIR += zogftw SUBDIR += zoxide SUBDIR += zpool-iostat-viz SUBDIR += zrep SUBDIR += zrepl SUBDIR += zsd SUBDIR += zsm SUBDIR += ztop SUBDIR += zxfer .include diff --git a/sysutils/beats8/Makefile b/sysutils/beats8/Makefile new file mode 100644 index 000000000000..424c6152b2fe --- /dev/null +++ b/sysutils/beats8/Makefile @@ -0,0 +1,132 @@ +PORTNAME= beats +DISTVERSIONPREFIX= v +DISTVERSION= 8.5.2 +CATEGORIES= sysutils +MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod +PKGNAMESUFFIX?= 8 +DISTFILES= go.mod:gomod + +MAINTAINER= elastic@FreeBSD.org +COMMENT= Send logs, network, metrics and heartbeat to elasticsearch or logstash +WWW= https://www.elastic.co/products/beats/ + +LICENSE= APACHE20 + +USES= go:modules +USE_GITHUB= yes + +GH_ACCOUNT= elastic + +USE_RC_SUBR= ${GO_TARGET:C,\./,,g} + +GO_MODULE= github.com/elastic/beats/v8 +CGO_CFLAGS= -I. +CGO_LDFLAGS= -L. +MAKE_ENV+= GOBUILD_FLAGS="-mod=vendor" + +CONFLICTS= beats6 beats7 + +PORTSCOUT= limit:^8 + +SUB_FILES= pkg-message + +OPTIONS_DEFINE= AUDITBEAT FILEBEAT HEARTBEAT METRICBEAT PACKETBEAT +OPTIONS_DEFAULT= FILEBEAT HEARTBEAT METRICBEAT +OPTIONS_SUB= yes + +AUDITBEAT_DESC= Auditbeat +FILEBEAT_DESC= Filebeat +HEARTBEAT_DESC= Heartbeat +METRICBEAT_DESC= Metricbeat +PACKETBEAT_DESC= Packetbeat +AUDITBEAT_MASTER_SITES= https://artifacts.elastic.co/downloads/beats/auditbeat/:auditbeat +AUDITBEAT_DISTFILES= auditbeat-${DISTVERSION}-darwin-x86_64.tar.gz:auditbeat +AUDITBEAT_VARS= GO_TARGET+=./auditbeat +FILEBEAT_MASTER_SITES= https://artifacts.elastic.co/downloads/beats/filebeat/:filebeat +FILEBEAT_DISTFILES= filebeat-${DISTVERSION}-darwin-x86_64.tar.gz:filebeat +FILEBEAT_VARS= GO_TARGET+=./filebeat +HEARTBEAT_MASTER_SITES= https://artifacts.elastic.co/downloads/beats/heartbeat/:heartbeat +HEARTBEAT_DISTFILES= heartbeat-${DISTVERSION}-darwin-x86_64.tar.gz:heartbeat +HEARTBEAT_VARS= GO_TARGET+=./heartbeat +METRICBEAT_MASTER_SITES= https://artifacts.elastic.co/downloads/beats/metricbeat/:metricbeat +METRICBEAT_DISTFILES= metricbeat-${DISTVERSION}-darwin-x86_64.tar.gz:metricbeat +METRICBEAT_VARS= GO_TARGET+=./metricbeat +PACKETBEAT_MASTER_SITES= https://artifacts.elastic.co/downloads/beats/packetbeat/:packetbeat +PACKETBEAT_DISTFILES= packetbeat-${DISTVERSION}-darwin-x86_64.tar.gz:packetbeat +PACKETBEAT_VARS= CGO_CFLAGS+=-I/usr/include \ + CGO_LDFLAGS+=-L/usr/lib \ + GO_TARGET+=./packetbeat + +.include + +post-patch: + ${REINPLACE_CMD} -e "s|%%BEATSVERSION%%|v${PORTVERSION}|g" ${WRKSRC}/dev-tools/mage/settings.go +.for BEATMOD in ${GO_TARGET:C,\./,,g} + ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|g" ${WRKSRC}/${BEATMOD}/*.yml +.endfor + +do-install: + ${MKDIR} ${STAGEDIR}${ETCDIR} +.for BEATMOD in ${GO_TARGET:C,^\./,,g} + ${MKDIR} ${STAGEDIR}/var/db/beats/${BEATMOD} && \ + ${INSTALL_PROGRAM} ${WRKDIR}/bin/${BEATMOD} \ + ${STAGEDIR}${PREFIX}/sbin && \ + ${INSTALL_DATA} ${WRKSRC}/${BEATMOD}/${BEATMOD}.yml \ + ${STAGEDIR}${ETCDIR}/${BEATMOD}.yml.sample && \ + ${INSTALL_DATA} ${WRKSRC}/${BEATMOD}/${BEATMOD}.reference.yml \ + ${STAGEDIR}${ETCDIR}/${BEATMOD}.yml.reference + (MODULE_SRC=${WRKDIR}/${BEATMOD}-${DISTVERSION}-darwin-x86_64/module; \ + if [ -d $${MODULE_SRC} ]; then \ + MODULE_DEST=${STAGEDIR}${DATADIR}/${BEATMOD}/module && \ + ${MKDIR} $${MODULE_DEST} && \ + cd $${MODULE_SRC} && ${COPYTREE_SHARE} . $${MODULE_DEST} && \ + cd $${MODULE_DEST} && \ + ${FIND} . -type d -empty | ${SORT} | \ + ${SED} -e 's,^\.,@dir ${DATADIR_REL}/${BEATMOD}/module,' >> ${TMPPLIST} && \ + ${FIND} . -not -type d | ${SORT} | \ + ${SED} -e 's,^\.,${DATADIR_REL}/${BEATMOD}/module,' >> ${TMPPLIST}; \ + fi) && \ + (MODULESD_SRC=${WRKDIR}/${BEATMOD}-${DISTVERSION}-darwin-x86_64/modules.d; \ + if [ -d $${MODULESD_SRC} ]; then \ + MODULESD_DEST=${STAGEDIR}${EXAMPLESDIR}/${BEATMOD}.modules.d && \ + ${MKDIR} $${MODULESD_DEST} && \ + cd $${MODULESD_SRC} && ${COPYTREE_SHARE} . $${MODULESD_DEST} && \ + cd $${MODULESD_DEST} && \ + ${FIND} . -type d -empty | ${SORT} | \ + ${SED} -e 's,^\.,@dir ${EXAMPLESDIR_REL}/${BEATMOD}.modules.d,' >> ${TMPPLIST} && \ + ${FIND} . -not -type d | ${SORT} | \ + ${SED} -e 's,^\.,${EXAMPLESDIR_REL}/${BEATMOD}.modules.d,' >> ${TMPPLIST}; \ + ${MKDIR} ${STAGEDIR}${ETCDIR}/${BEATMOD}.modules.d && \ + ${ECHO_CMD} "The modules.d files are now in ${EXAMPLESDIR}/${BEATMOD}.modules.d" > \ + ${STAGEDIR}${ETCDIR}/${BEATMOD}.modules.d/README; \ + ${ECHO_CMD} ${ETCDIR_REL}/${BEATMOD}.modules.d/README >> ${TMPPLIST}; \ + fi) && \ + (MONITORSD_SRC=${WRKDIR}/${BEATMOD}-${DISTVERSION}-darwin-x86_64/monitors.d; \ + if [ -d $${MONITORSD_SRC} ]; then \ + MONITORSD_DEST=${STAGEDIR}${EXAMPLESDIR}/${BEATMOD}.monitors.d && \ + ${MKDIR} $${MONITORSD_DEST} && \ + cd $${MONITORSD_SRC} && ${COPYTREE_SHARE} . $${MONITORSD_DEST} && \ + cd $${MONITORSD_DEST} && \ + ${FIND} . -type d -empty | ${SORT} | \ + ${SED} -e 's,^\.,@dir ${EXAMPLESDIR_REL}/${BEATMOD}.monitors.d,' >> ${TMPPLIST} && \ + ${FIND} . -not -type d | ${SORT} | \ + ${SED} -e 's,^\.,${EXAMPLESDIR_REL}/${BEATMOD}.monitors.d,' >> ${TMPPLIST}; \ + ${MKDIR} ${STAGEDIR}${ETCDIR}/${BEATMOD}.monitors.d && \ + ${ECHO_CMD} "The monitors.d files are now in ${EXAMPLESDIR}/${BEATMOD}.monitors.d" > \ + ${STAGEDIR}${ETCDIR}/${BEATMOD}.monitors.d/README; \ + ${ECHO_CMD} ${ETCDIR_REL}/${BEATMOD}.monitors.d/README >> ${TMPPLIST}; \ + fi) && \ + (KIBANA_SRC=${WRKDIR}/${BEATMOD}-${DISTVERSION}-darwin-x86_64/kibana; \ + if [ -d $${KIBANA_SRC} ]; then \ + KIBANA_PATH=${STAGEDIR}${DATADIR}/${BEATMOD}/kibana; \ + ${MKDIR} $${KIBANA_PATH} && \ + cd $${KIBANA_SRC} && ${COPYTREE_SHARE} . $${KIBANA_PATH}; \ + cd $${KIBANA_PATH} && \ + ${FIND} . -type d -empty | ${SORT} | \ + ${SED} -e 's,^\.,@dir ${DATADIR_REL}/${BEATMOD}/kibana,' >> ${TMPPLIST}; \ + ${FIND} . -not -type d | ${SORT} | \ + ${SED} -e 's,^\.,${DATADIR_REL}/${BEATMOD}/kibana,' >> ${TMPPLIST}; \ + fi) +.endfor + +.include diff --git a/sysutils/beats8/distinfo b/sysutils/beats8/distinfo new file mode 100644 index 000000000000..afcf1d500314 --- /dev/null +++ b/sysutils/beats8/distinfo @@ -0,0 +1,15 @@ +TIMESTAMP = 1669417041 +SHA256 (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/go.mod) = 2fba3adaa4b2ab5f864bc2ff8eb4584a854bb9701f01a50814ed46f736b4d9a0 +SIZE (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/go.mod) = 18988 +SHA256 (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/auditbeat-8.5.2-darwin-x86_64.tar.gz) = e5869103a1948c121b481b66aa3849355037e279a68a52093b1b5e8521dc1141 +SIZE (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/auditbeat-8.5.2-darwin-x86_64.tar.gz) = 27766683 +SHA256 (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/filebeat-8.5.2-darwin-x86_64.tar.gz) = d35cc6bf587aad870779d69c7df90f5b4526bb01c31a7c953ecfb7bcf75c61dd +SIZE (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/filebeat-8.5.2-darwin-x86_64.tar.gz) = 36503488 +SHA256 (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/heartbeat-8.5.2-darwin-x86_64.tar.gz) = 0dcdfbdec5cabec79935c2d7fe9c1133a85eaed8c58bb3bbcdd00fd7b822ad08 +SIZE (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/heartbeat-8.5.2-darwin-x86_64.tar.gz) = 27844888 +SHA256 (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/metricbeat-8.5.2-darwin-x86_64.tar.gz) = 5961b1b4e22675cadec41ea0bb05b604c30ca2038b4f54bb16b4aaa749191713 +SIZE (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/metricbeat-8.5.2-darwin-x86_64.tar.gz) = 42925666 +SHA256 (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/packetbeat-8.5.2-darwin-x86_64.tar.gz) = 3e96e28c1dcc2a077a1d277f604531f72e5dcca361860089d74398a91eb7929d +SIZE (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/packetbeat-8.5.2-darwin-x86_64.tar.gz) = 29124396 +SHA256 (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/elastic-beats-v8.5.2_GH0.tar.gz) = d86a9932cbb0030bce986e2b0a8bcea26d62acd689d45e81154fd188b0a4b8cb +SIZE (go/sysutils_beats8/elastic-beats-v8.5.2_GH0/elastic-beats-v8.5.2_GH0.tar.gz) = 111493219 diff --git a/sysutils/beats8/files/auditbeat.in b/sysutils/beats8/files/auditbeat.in new file mode 100644 index 000000000000..4091c69b6182 --- /dev/null +++ b/sysutils/beats8/files/auditbeat.in @@ -0,0 +1,50 @@ +#!/bin/sh + +# PROVIDE: auditbeat +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable auditbeat: +# +# auditbeat_enable (bool): Set to YES to enable auditbeat +# Default: NO +# auditbeat_flags (str): Extra flags passed to auditbeat +# auditbeat_config (str): auditbeat configuration directory +# Default: ${PREFIX}/etc/beats +# auditbeat_conffile (str): auditbeat configuration file +# relative to ${auditbeat_conf} +# Default: auditbeat.yml + +. /etc/rc.subr + +name="auditbeat" +rcvar=${name}_enable +load_rc_config $name + +: ${auditbeat_enable:="NO"} +: ${auditbeat_config:="%%ETCDIR%%"} +: ${auditbeat_conffile:="auditbeat.yml"} +: ${auditbeat_home:="%%DATADIR%%/auditbeat"} +: ${auditbeat_logs:="/var/log/beats"} +: ${auditbeat_data:="/var/db/beats/auditbeat"} + +# daemon +start_precmd=auditbeat_prestart +command=/usr/sbin/daemon +pidfile="/var/run/${name}" +command_args="-frP ${pidfile} %%PREFIX%%/sbin/${name} ${auditbeat_flags} --path.config ${auditbeat_config} --path.home ${auditbeat_home} --path.data ${auditbeat_data} --path.logs ${auditbeat_logs} -c ${auditbeat_conffile}" +auditbeat_prestart() { +# Have to empty rc_flags so they don't get passed to daemon(8) + rc_flags="" +} + +# auditbeat will refuse to quit if linprocfs is mounted, and sadly requires -9 +[ -f /compat/linux/proc/cpuinfo ] && stop_cmd=auditbeat_stop + +auditbeat_stop() { + pkill -9 -F ${pidfile} > /dev/null 2>&1 + pkill -9 -F ${pidfile}.child > /dev/null 2>&1 +} + +run_rc_command "$1" diff --git a/sysutils/beats8/files/filebeat.in b/sysutils/beats8/files/filebeat.in new file mode 100644 index 000000000000..8ae08af5b398 --- /dev/null +++ b/sysutils/beats8/files/filebeat.in @@ -0,0 +1,43 @@ +#!/bin/sh + +# PROVIDE: filebeat +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable filebeat: +# +# filebeat_enable (bool): Set to YES to enable filebeat +# Default: NO +# filebeat_flags (str): Extra flags passed to filebeat +# filebeat_config (str): filebeat configuration directory +# Default: ${PREFIX}/etc/beats +# filebeat_conffile (str): filebeat configuration file +# relative to ${filebeat_conf} +# Default: filebeat.yml + +. /etc/rc.subr + +name="filebeat" +rcvar=${name}_enable +load_rc_config $name + +: ${filebeat_enable:="NO"} +: ${filebeat_config:="%%ETCDIR%%"} +: ${filebeat_conffile:="filebeat.yml"} +: ${filebeat_home:="%%DATADIR%%/filebeat"} +: ${filebeat_logs:="/var/log/beats"} +: ${filebeat_data:="/var/db/beats/filebeat"} + +# daemon +start_precmd=filebeat_prestart +command=/usr/sbin/daemon +pidfile="/var/run/${name}" +command_args="-frP ${pidfile} %%PREFIX%%/sbin/${name} ${filebeat_flags} --path.config ${filebeat_config} --path.home ${filebeat_home} --path.data ${filebeat_data} --path.logs ${filebeat_logs} -c ${filebeat_conffile}" + +filebeat_prestart() { +# Have to empty rc_flags so they don't get passed to daemon(8) + rc_flags="" +} + +run_rc_command "$1" diff --git a/sysutils/beats8/files/heartbeat.in b/sysutils/beats8/files/heartbeat.in new file mode 100644 index 000000000000..d99374ab011c --- /dev/null +++ b/sysutils/beats8/files/heartbeat.in @@ -0,0 +1,44 @@ +#!/bin/sh + +# PROVIDE: heartbeat +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable heartbeat: +# +# heartbeat_enable (bool): Set to YES to enable heartbeat +# Default: NO +# heartbeat_flags (str): Extra flags passed to heartbeat +# heartbeat_config (str): heartbeat configuration directory +# Default: ${PREFIX}/etc/beats +# heartbeat_conffile (str): heartbeat configuration file +# relative to ${heartbeat_conf} +# Default: heartbeat.yml + +. /etc/rc.subr + +name="heartbeat" +rcvar=${name}_enable +load_rc_config $name + +: ${heartbeat_enable:="NO"} +: ${heartbeat_config:="%%ETCDIR%%"} +: ${heartbeat_conffile:="heartbeat.yml"} +: ${heartbeat_home:="%%DATADIR%%/heartbeat"} +: ${heartbeat_logs:="/var/log/beats"} +: ${heartbeat_data:="/var/db/beats/heartbeat"} + + +# daemon +start_precmd=heartbeat_prestart +command=/usr/sbin/daemon +pidfile="/var/run/${name}" +command_args="-frP ${pidfile} %%PREFIX%%/sbin/${name} ${heartbeat_flags} --path.config ${heartbeat_config} --path.home ${heartbeat_home} --path.data ${heartbeat_data} --path.logs ${heartbeat_logs} -c ${heartbeat_conffile}" + +heartbeat_prestart() { +# Have to empty rc_flags so they don't get passed to daemon(8) + rc_flags="" +} + +run_rc_command "$1" diff --git a/sysutils/beats8/files/metricbeat.in b/sysutils/beats8/files/metricbeat.in new file mode 100644 index 000000000000..270966c4f669 --- /dev/null +++ b/sysutils/beats8/files/metricbeat.in @@ -0,0 +1,51 @@ +#!/bin/sh + +# PROVIDE: metricbeat +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable metricbeat: +# +# metricbeat_enable (bool): Set to YES to enable metricbeat +# Default: NO +# metricbeat_flags (str): Extra flags passed to metricbeat +# metricbeat_config (str): metricbeat configuration directory +# Default: ${PREFIX}/etc/beats +# metricbeat_conffile (str): metricbeat configuration file +# relative to ${metricbeat_conf} +# Default: metricbeat.yml + +. /etc/rc.subr + +name="metricbeat" +rcvar=${name}_enable +load_rc_config $name + +: ${metricbeat_enable:="NO"} +: ${metricbeat_config:="%%ETCDIR%%"} +: ${metricbeat_conffile:="metricbeat.yml"} +: ${metricbeat_home:="%%DATADIR%%/metricbeat"} +: ${metricbeat_logs:="/var/log/beats"} +: ${metricbeat_data:="/var/db/beats/metricbeat"} + +# daemon +start_precmd=metricbeat_prestart +command=/usr/sbin/daemon +pidfile="/var/run/${name}" +command_args="-frP ${pidfile} %%PREFIX%%/sbin/${name} ${metricbeat_flags} --path.config ${metricbeat_config} --path.home ${metricbeat_home} --path.data ${metricbeat_data} --path.logs ${metricbeat_logs} -c ${metricbeat_conffile}" + +metricbeat_prestart() { +# Have to empty rc_flags so they don't get passed to daemon(8) + rc_flags="" +} + +# metricbeat will refuse to quit if linprocfs is mounted, and sadly requires -9 +[ -f /compat/linux/proc/cpuinfo ] && stop_cmd=metricbeat_stop + +metricbeat_stop() { + pkill -9 -F ${pidfile} > /dev/null 2>&1 + pkill -9 -F ${pidfile}.child > /dev/null 2>&1 +} + +run_rc_command "$1" diff --git a/sysutils/beats8/files/packetbeat.in b/sysutils/beats8/files/packetbeat.in new file mode 100644 index 000000000000..4dc21856c49a --- /dev/null +++ b/sysutils/beats8/files/packetbeat.in @@ -0,0 +1,43 @@ +#!/bin/sh + +# PROVIDE: packetbeat +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable packetbeat +# +# packetbeat_enable (bool): Set to YES to enable packetbeat +# Default: NO +# packetbeat_flags (str): Extra flags passed to packetbeat +# packetbeat_config (str): packetbeat configuration directory +# Default: ${PREFIX}/etc/beats +# packetbeat_conffile (str): packetbeat configuration file +# relative to ${packetbeat_conf} +# Default: packetbeat.yml + +. /etc/rc.subr + +name="packetbeat" +rcvar=${name}_enable +load_rc_config $name + +: ${packetbeat_enable:="NO"} +: ${packetbeat_config:="%%ETCDIR%%"} +: ${packetbeat_conffile:="packetbeat.yml"} +: ${packetbeat_home:="%%DATADIR%%/packetbeat"} +: ${packetbeat_logs:="/var/log/beats"} +: ${packetbeat_data:="/var/db/beats/packetbeat"} + +# daemon +start_precmd=packetbeat_prestart +command=/usr/sbin/daemon +pidfile="/var/run/${name}" +command_args="-frP ${pidfile} %%PREFIX%%/sbin/${name} ${packetbeat_flags} --path.config ${packetbeat_config} --path.home ${packetbeat_home} --path.data ${packetbeat_data} --path.logs ${packetbeat_logs} -c ${packetbeat_conffile}" + +packetbeat_prestart() { +# Have to empty rc_flags so they don't get passed to daemon(8) + rc_flags="" +} + +run_rc_command "$1" diff --git a/sysutils/beats8/files/patch-auditbeat_auditbeat.reference.yml b/sysutils/beats8/files/patch-auditbeat_auditbeat.reference.yml new file mode 100644 index 000000000000..3761774a00eb --- /dev/null +++ b/sysutils/beats8/files/patch-auditbeat_auditbeat.reference.yml @@ -0,0 +1,20 @@ +--- auditbeat/auditbeat.reference.yml.orig 2022-10-24 06:49:31 UTC ++++ auditbeat/auditbeat.reference.yml +@@ -14,7 +14,7 @@ + auditbeat.config.modules: + + # Glob pattern for configuration reloading +- path: ${path.config}/modules.d/*.yml ++ path: ${path.config}/auditbeat.modules.d/*.yml + + # Period on which files under path should be checked for changes + reload.period: 10s +@@ -1133,7 +1133,7 @@ output.elasticsearch: + + # The directory from where to read the dashboards. The default is the `kibana` + # folder in the home path. +-#setup.dashboards.directory: ${path.home}/kibana ++#setup.dashboards.directory: %%DATADIR%%/auditbeat/kibana + + # The URL from where to download the dashboards archive. It is used instead of + # the directory if it has a value. diff --git a/sysutils/beats8/files/patch-auditbeat_auditbeat.yml b/sysutils/beats8/files/patch-auditbeat_auditbeat.yml new file mode 100644 index 000000000000..20ee2d0016a5 --- /dev/null +++ b/sysutils/beats8/files/patch-auditbeat_auditbeat.yml @@ -0,0 +1,13 @@ +--- auditbeat/auditbeat.yml.orig 2022-10-24 06:49:31 UTC ++++ auditbeat/auditbeat.yml +@@ -82,6 +82,10 @@ setup.template.settings: + # website. + #setup.dashboards.url: + ++# The directory from where to read the dashboards. The default is the `kibana` ++# folder in the home path. ++#setup.dashboards.directory: %%DATADIR%%/auditbeat/kibana ++ + # =================================== Kibana =================================== + + # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. diff --git a/sysutils/beats8/files/patch-dev-tools_mage_settings.go b/sysutils/beats8/files/patch-dev-tools_mage_settings.go new file mode 100644 index 000000000000..db8c9ed4cbe1 --- /dev/null +++ b/sysutils/beats8/files/patch-dev-tools_mage_settings.go @@ -0,0 +1,20 @@ +--- dev-tools/mage/settings.go.orig 2022-09-27 13:19:27 UTC ++++ dev-tools/mage/settings.go +@@ -30,7 +30,6 @@ import ( + "sync" + "time" + +- "github.com/magefile/mage/sh" + "github.com/pkg/errors" + "golang.org/x/tools/go/vcs" + +@@ -249,7 +248,8 @@ var ( + func CommitHash() (string, error) { + var err error + commitHashOnce.Do(func() { +- commitHash, err = sh.Output("git", "rev-parse", "HEAD") ++ err = nil ++ commitHash = "%%BEATSVERSION%%" + }) + return commitHash, err + } diff --git a/sysutils/beats8/files/patch-filebeat_filebeat.reference.yml b/sysutils/beats8/files/patch-filebeat_filebeat.reference.yml new file mode 100644 index 000000000000..71410a09ec92 --- /dev/null +++ b/sysutils/beats8/files/patch-filebeat_filebeat.reference.yml @@ -0,0 +1,26 @@ +--- filebeat/filebeat.reference.yml.orig 2022-09-27 13:19:27 UTC ++++ filebeat/filebeat.reference.yml +@@ -1241,12 +1241,12 @@ filebeat.inputs: + #filebeat.config: + #inputs: + #enabled: false +- #path: inputs.d/*.yml ++ #path: filebeat.inputs.d/*.yml + #reload.enabled: true + #reload.period: 10s + #modules: + #enabled: true +- #path: modules.d/*.yml ++ #path: filebeat.modules.d/*.yml + #reload.enabled: true + #reload.period: 10s + +@@ -2266,7 +2266,7 @@ output.elasticsearch: + + # The directory from where to read the dashboards. The default is the `kibana` + # folder in the home path. +-#setup.dashboards.directory: ${path.home}/kibana ++#setup.dashboards.directory: %%DATADIR%%/filebeat/kibana + + # The URL from where to download the dashboards archive. It is used instead of + # the directory if it has a value. diff --git a/sysutils/beats8/files/patch-filebeat_filebeat.yml b/sysutils/beats8/files/patch-filebeat_filebeat.yml new file mode 100644 index 000000000000..6630fa8d04d6 --- /dev/null +++ b/sysutils/beats8/files/patch-filebeat_filebeat.yml @@ -0,0 +1,33 @@ +--- filebeat/filebeat.yml.orig 2022-09-27 13:19:27 UTC ++++ filebeat/filebeat.yml +@@ -58,7 +58,7 @@ filebeat.inputs: + + filebeat.config.modules: + # Glob pattern for configuration loading +- path: ${path.config}/modules.d/*.yml ++ path: ${path.config}/filebeat.modules.d/*.yml + + # Set to true to enable config reloading + reload.enabled: false +@@ -101,6 +101,10 @@ setup.template.settings: + # website. + #setup.dashboards.url: + ++# The directory from where to read the dashboards. The default is the `kibana` ++# folder in the home path. ++#setup.dashboards.directory: %%DATADIR%%/filebeat/kibana ++ + # =================================== Kibana =================================== + + # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. +@@ -168,8 +172,8 @@ processors: + - add_host_metadata: + when.not.contains.tags: forwarded + - add_cloud_metadata: ~ +- - add_docker_metadata: ~ +- - add_kubernetes_metadata: ~ ++# - add_docker_metadata: ~ ++# - add_kubernetes_metadata: ~ + + # ================================== Logging =================================== + diff --git a/sysutils/beats8/files/patch-heartbeat_heartbeat.yml b/sysutils/beats8/files/patch-heartbeat_heartbeat.yml new file mode 100644 index 000000000000..4e41b4e0d011 --- /dev/null +++ b/sysutils/beats8/files/patch-heartbeat_heartbeat.yml @@ -0,0 +1,11 @@ +--- heartbeat/heartbeat.yml.orig 2021-07-04 13:59:29 UTC ++++ heartbeat/heartbeat.yml +@@ -13,7 +13,7 @@ + # of individual yaml files. + heartbeat.config.monitors: + # Directory + glob pattern to search for configuration files +- path: ${path.config}/monitors.d/*.yml ++ path: ${path.config}/heartbeat.monitors.d/*.yml + # If enabled, heartbeat will periodically check the config.monitors path for changes + reload.enabled: false + # How often to check for changes diff --git a/sysutils/beats8/files/patch-libbeat_autodiscover_providers_docker_config.go b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_docker_config.go new file mode 100644 index 000000000000..b57cdd46584d --- /dev/null +++ b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_docker_config.go @@ -0,0 +1,13 @@ +--- libbeat/autodiscover/providers/docker/config.go.orig 2022-10-24 06:49:31 UTC ++++ libbeat/autodiscover/providers/docker/config.go +@@ -15,8 +15,8 @@ + // specific language governing permissions and limitations + // under the License. + +-//go:build linux || darwin || windows +-// +build linux darwin windows ++//go:build linux || darwin || windows || freebsd ++// +build linux darwin windows freebsd + + package docker + diff --git a/sysutils/beats8/files/patch-libbeat_autodiscover_providers_docker_docker.go b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_docker_docker.go new file mode 100644 index 000000000000..465edde47d12 --- /dev/null +++ b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_docker_docker.go @@ -0,0 +1,22 @@ +--- libbeat/autodiscover/providers/docker/docker.go.orig 2022-10-24 06:49:31 UTC ++++ libbeat/autodiscover/providers/docker/docker.go +@@ -15,8 +15,8 @@ + // specific language governing permissions and limitations + // under the License. + +-//go:build linux || darwin || windows +-// +build linux darwin windows ++//go:build linux || darwin || windows || freebsd ++// +build linux darwin windows freebsd + + package docker + +@@ -33,7 +33,7 @@ import ( + "github.com/elastic/beats/v7/libbeat/common" + + "github.com/elastic/elastic-agent-autodiscover/bus" +- "github.com/elastic/elastic-agent-autodiscover/docker" ++ docker "github.com/elastic/elastic-agent-autodiscover/docker" + "github.com/elastic/elastic-agent-autodiscover/utils" + "github.com/elastic/elastic-agent-libs/config" + "github.com/elastic/elastic-agent-libs/keystore" diff --git a/sysutils/beats8/files/patch-libbeat_autodiscover_providers_kubernetes_config.go b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_kubernetes_config.go new file mode 100644 index 000000000000..36eee0f9cd90 --- /dev/null +++ b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_kubernetes_config.go @@ -0,0 +1,13 @@ +--- libbeat/autodiscover/providers/kubernetes/config.go.orig 2021-12-17 15:54:41 UTC ++++ libbeat/autodiscover/providers/kubernetes/config.go +@@ -15,8 +15,8 @@ + // specific language governing permissions and limitations + // under the License. + +-//go:build linux || darwin || windows +-// +build linux darwin windows ++//go:build linux || darwin || windows || freebsd ++// +build linux darwin windows freebsd + + package kubernetes + diff --git a/sysutils/beats8/files/patch-libbeat_autodiscover_providers_kubernetes_kubernetes.go b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_kubernetes_kubernetes.go new file mode 100644 index 000000000000..0795f2de7c98 --- /dev/null +++ b/sysutils/beats8/files/patch-libbeat_autodiscover_providers_kubernetes_kubernetes.go @@ -0,0 +1,13 @@ +--- libbeat/autodiscover/providers/kubernetes/kubernetes.go.orig 2021-12-17 15:54:41 UTC ++++ libbeat/autodiscover/providers/kubernetes/kubernetes.go +@@ -15,8 +15,8 @@ + // specific language governing permissions and limitations + // under the License. + +-//go:build linux || darwin || windows +-// +build linux darwin windows ++//go:build linux || darwin || windows || freebsd ++// +build linux darwin windows freebsd + + package kubernetes + diff --git a/sysutils/beats8/files/patch-libbeat_scripts_Makefile b/sysutils/beats8/files/patch-libbeat_scripts_Makefile new file mode 100644 index 000000000000..59c695a04824 --- /dev/null +++ b/sysutils/beats8/files/patch-libbeat_scripts_Makefile @@ -0,0 +1,26 @@ +--- libbeat/scripts/Makefile.orig 2022-09-27 13:19:27 UTC ++++ libbeat/scripts/Makefile +@@ -47,7 +47,7 @@ GOFILES = $(shell find . -type f -name '*.go' 2>/dev/n + GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "*/vendor/*" 2>/dev/null) + GOFILES_ALL = $(GOFILES) $(shell find $(ES_BEATS) -type f -name '*.go' 2>/dev/null) + GOPACKAGES_STRESSTESTS=$(shell find . -name '*.go' 2>/dev/null | xargs grep -l '\+build.*stresstest' | xargs -n1 dirname | uniq) +-SHELL=bash ++SHELL=sh + ES_HOST?=elasticsearch + ES_PORT?=9200 + ES_USER?=beats +@@ -352,12 +352,12 @@ ifndef EXCLUDE_COMMON_UPDATE_TARGET + update: python-env fields collect config ## @build Update expects the most recent version of libbeat in the GOPATH + @echo "Updating generated files for ${BEAT_NAME}" + +-ifneq ($(shell [[ $(BEAT_NAME) == libbeat || $(BEAT_NAME) == metricbeat ]] && echo true ),true) ++ifneq ($(shell [[ $(BEAT_NAME) = libbeat || $(BEAT_NAME) = metricbeat ]] && echo true ),true) + mkdir -p include + go run ${INSTALL_FLAG} ${ES_BEATS}/dev-tools/cmd/asset/asset.go -license $(LICENSE) -pkg include -in fields.yml -out include/fields.go $(BEAT_NAME) + endif + +-ifneq ($(shell [[ $(BEAT_NAME) == libbeat || $(BEAT_NAME) == metricbeat ]] && echo true ),true) ++ifneq ($(shell [[ $(BEAT_NAME) = libbeat || $(BEAT_NAME) = metricbeat ]] && echo true ),true) + @# Update docs + @mkdir -p docs + @${PYTHON_ENV_EXE} ${ES_BEATS}/libbeat/scripts/generate_fields_docs.py $(PWD)/fields.yml ${BEAT_TITLE} ${ES_BEATS} diff --git a/sysutils/beats8/files/patch-metricbeat_metricbeat.reference.yml b/sysutils/beats8/files/patch-metricbeat_metricbeat.reference.yml new file mode 100644 index 000000000000..54e125f6af50 --- /dev/null +++ b/sysutils/beats8/files/patch-metricbeat_metricbeat.reference.yml @@ -0,0 +1,20 @@ +--- metricbeat/metricbeat.reference.yml.orig 2022-09-27 13:19:27 UTC ++++ metricbeat/metricbeat.reference.yml +@@ -14,7 +14,7 @@ + metricbeat.config.modules: + + # Glob pattern for configuration reloading +- path: ${path.config}/modules.d/*.yml ++ path: ${path.config}/metricbeat.modules.d/*.yml + + # Period on which files under path should be checked for changes + reload.period: 10s +@@ -2006,7 +2006,7 @@ output.elasticsearch: + + # The directory from where to read the dashboards. The default is the `kibana` + # folder in the home path. +-#setup.dashboards.directory: ${path.home}/kibana ++#setup.dashboards.directory: %%DATADIR%%/metricbeat/kibana + + # The URL from where to download the dashboards archive. It is used instead of + # the directory if it has a value. diff --git a/sysutils/beats8/files/patch-metricbeat_metricbeat.yml b/sysutils/beats8/files/patch-metricbeat_metricbeat.yml new file mode 100644 index 000000000000..0dcf745f9cfd --- /dev/null +++ b/sysutils/beats8/files/patch-metricbeat_metricbeat.yml @@ -0,0 +1,33 @@ +--- metricbeat/metricbeat.yml.orig 2021-10-07 17:20:31 UTC ++++ metricbeat/metricbeat.yml +@@ -11,7 +11,7 @@ + + metricbeat.config.modules: + # Glob pattern for configuration loading +- path: ${path.config}/modules.d/*.yml ++ path: ${path.config}/metricbeat.modules.d/*.yml + + # Set to true to enable config reloading + reload.enabled: false +@@ -54,6 +54,10 @@ setup.template.settings: + # website. + #setup.dashboards.url: + ++# The directory from where to read the dashboards. The default is the `kibana` ++# folder in the home path. ++#setup.dashboards.directory: %%DATADIR%%/metricbeat/kibana ++ + # =================================== Kibana =================================== + + # Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API. +@@ -123,8 +127,8 @@ output.elasticsearch: + processors: + - add_host_metadata: ~ + - add_cloud_metadata: ~ +- - add_docker_metadata: ~ +- - add_kubernetes_metadata: ~ ++# - add_docker_metadata: ~ ++# - add_kubernetes_metadata: ~ + + + # ================================== Logging =================================== diff --git a/sysutils/beats8/files/patch-packetbeat_packetbeat.reference.yml b/sysutils/beats8/files/patch-packetbeat_packetbeat.reference.yml new file mode 100644 index 000000000000..de6d99250123 --- /dev/null +++ b/sysutils/beats8/files/patch-packetbeat_packetbeat.reference.yml @@ -0,0 +1,11 @@ +--- packetbeat/packetbeat.reference.yml.orig 2022-09-27 13:19:27 UTC ++++ packetbeat/packetbeat.reference.yml +@@ -1634,7 +1634,7 @@ output.elasticsearch: + + # The directory from where to read the dashboards. The default is the `kibana` + # folder in the home path. +-#setup.dashboards.directory: ${path.home}/kibana ++#setup.dashboards.directory: %%DATADIR%%/packetbeat/kibana + + # The URL from where to download the dashboards archive. It is used instead of + # the directory if it has a value. diff --git a/sysutils/beats8/files/patch-packetbeat_packetbeat.yml b/sysutils/beats8/files/patch-packetbeat_packetbeat.yml new file mode 100644 index 000000000000..0a3f15dfcbc9 --- /dev/null +++ b/sysutils/beats8/files/patch-packetbeat_packetbeat.yml @@ -0,0 +1,23 @@ +--- packetbeat/packetbeat.yml.orig 2022-10-24 06:49:31 UTC ++++ packetbeat/packetbeat.yml +@@ -25,7 +25,8 @@ + # internal_networks: + # - private + # +-packetbeat.interfaces.device: any ++# On FreeBSD, you must specify particular interface to sniff on ++packetbeat.interfaces.device: em0 + + # Specify the amount of time between polling for changes in the default + # route. This option is only used when one of the default route devices +@@ -173,6 +174,10 @@ setup.template.settings: + # versions, this URL points to the dashboard archive on the artifacts.elastic.co + # website. + #setup.dashboards.url: ++ ++# The directory from where to read the dashboards. The default is the `kibana` ++# folder in the home path. ++#setup.dashboards.directory: %%DATADIR%%/packetbeat/kibana + + # =================================== Kibana =================================== + diff --git a/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-autodiscover_docker_client.go b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-autodiscover_docker_client.go new file mode 100644 index 000000000000..4c27b7b7445b --- /dev/null +++ b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-autodiscover_docker_client.go @@ -0,0 +1,13 @@ +--- vendor/github.com/elastic/elastic-agent-autodiscover/docker/client.go.orig 2022-11-25 21:51:45 UTC ++++ vendor/github.com/elastic/elastic-agent-autodiscover/docker/client.go +@@ -15,8 +15,8 @@ + // specific language governing permissions and limitations + // under the License. + +-//go:build linux || darwin || windows +-// +build linux darwin windows ++//go:build linux || darwin || windows || freebsd ++// +build linux darwin windows freebsd + + package docker + diff --git a/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-autodiscover_docker_watcher.go b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-autodiscover_docker_watcher.go new file mode 100644 index 000000000000..b3eb5109493f --- /dev/null +++ b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-autodiscover_docker_watcher.go @@ -0,0 +1,13 @@ +--- vendor/github.com/elastic/elastic-agent-autodiscover/docker/watcher.go.orig 2022-11-25 21:51:52 UTC ++++ vendor/github.com/elastic/elastic-agent-autodiscover/docker/watcher.go +@@ -15,8 +15,8 @@ + // specific language governing permissions and limitations + // under the License. + +-//go:build linux || darwin || windows +-// +build linux darwin windows ++//go:build linux || darwin || windows || freebsd ++// +build linux darwin windows freebsd + + package docker + diff --git a/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_cpu_metrics__freebsd.go b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_cpu_metrics__freebsd.go new file mode 100644 index 000000000000..f8872e79e492 --- /dev/null +++ b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_cpu_metrics__freebsd.go @@ -0,0 +1,10 @@ +--- vendor/github.com/elastic/elastic-agent-system-metrics/metric/cpu/metrics_freebsd.go.orig 2022-11-25 21:56:24 UTC ++++ vendor/github.com/elastic/elastic-agent-system-metrics/metric/cpu/metrics_freebsd.go +@@ -57,3 +57,7 @@ func parseCPULine(line string) (CPU, error) { + + return cpuData, errs.Err() + } ++ ++func scanCPUInfoFile(scanner *bufio.Scanner) ([]CPUInfo, error) { ++ return cpuinfoScanner(scanner) ++} diff --git a/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_cpu_metrics__procfs__common.go b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_cpu_metrics__procfs__common.go new file mode 100644 index 000000000000..1756133ba7a0 --- /dev/null +++ b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_cpu_metrics__procfs__common.go @@ -0,0 +1,20 @@ +--- vendor/github.com/elastic/elastic-agent-system-metrics/metric/cpu/metrics_procfs_common.go.orig 2022-11-25 21:55:11 UTC ++++ vendor/github.com/elastic/elastic-agent-system-metrics/metric/cpu/metrics_procfs_common.go +@@ -32,7 +32,7 @@ import ( + + // Get returns a metrics object for CPU data + func Get(procfs resolve.Resolver) (CPUMetrics, error) { +- path := procfs.ResolveHostFS("/proc/stat") ++ path := procfs.ResolveHostFS("/compat/linux/proc/stat") + fd, err := os.Open(path) + defer func() { + _ = fd.Close() +@@ -46,7 +46,7 @@ func Get(procfs resolve.Resolver) (CPUMetrics, error) + return CPUMetrics{}, fmt.Errorf("scanning stat file: %w", err) + } + +- cpuInfoPath := procfs.ResolveHostFS("/proc/cpuinfo") ++ cpuInfoPath := procfs.ResolveHostFS("/compat/linux/proc/cpuinfo") + cpuInfoFd, err := os.Open(cpuInfoPath) + if err != nil { + return CPUMetrics{}, fmt.Errorf("opening '%s': %w", cpuInfoPath, err) diff --git a/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_system_filesystem_filesystem__unix.go b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_system_filesystem_filesystem__unix.go new file mode 100644 index 000000000000..26fa875e63eb --- /dev/null +++ b/sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-system-metrics_metric_system_filesystem_filesystem__unix.go @@ -0,0 +1,14 @@ +--- vendor/github.com/elastic/elastic-agent-system-metrics/metric/system/filesystem/filesystem_unix.go.orig 2022-11-25 22:00:53 UTC ++++ vendor/github.com/elastic/elastic-agent-system-metrics/metric/system/filesystem/filesystem_unix.go +@@ -37,9 +37,9 @@ func (fs *FSStat) GetUsage() error { + + fs.Total = opt.UintWith(stat.Blocks).MultUint64OrNone(uint64(stat.Bsize)) + fs.Free = opt.UintWith(stat.Bfree).MultUint64OrNone(uint64(stat.Bsize)) +- fs.Avail = opt.UintWith(stat.Bavail).MultUint64OrNone(uint64(stat.Bsize)) ++ fs.Avail = opt.UintWith(uint64(stat.Bavail)).MultUint64OrNone(uint64(stat.Bsize)) + fs.Files = opt.UintWith(stat.Files) +- fs.FreeFiles = opt.UintWith(stat.Ffree) ++ fs.FreeFiles = opt.UintWith(uint64(stat.Ffree)) + + fs.fillMetrics() + diff --git a/sysutils/beats8/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go b/sysutils/beats8/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go new file mode 100644 index 000000000000..e8acdf147806 --- /dev/null +++ b/sysutils/beats8/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go @@ -0,0 +1,12 @@ +--- vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go.orig 2021-08-05 12:40:38 UTC ++++ vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go +@@ -8,7 +8,8 @@ + package dbus + + /* +-const int sizeofPtr = sizeof(void*); ++static const int sizeofPtr = sizeof(void*); ++#include + #define _WANT_UCRED + #include + */ diff --git a/sysutils/beats8/files/patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_bindtodevice__bsd.go b/sysutils/beats8/files/patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_bindtodevice__bsd.go new file mode 100644 index 000000000000..9f3b27a9518c --- /dev/null +++ b/sysutils/beats8/files/patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_bindtodevice__bsd.go @@ -0,0 +1,22 @@ +--- vendor/github.com/insomniacslk/dhcp/dhcpv4/bindtodevice_bsd.go.orig 2021-12-20 11:34:32 UTC ++++ vendor/github.com/insomniacslk/dhcp/dhcpv4/bindtodevice_bsd.go +@@ -0,0 +1,19 @@ ++//go:build freebsd || openbsd || netbsd ++// +build freebsd openbsd netbsd ++ ++package dhcpv4 ++ ++import ( ++ "net" ++ "syscall" ++) ++ ++// BindToInterface emulates linux's SO_BINDTODEVICE option for a socket by using ++// IP_RECVIF. ++func BindToInterface(fd int, ifname string) error { ++ iface, err := net.InterfaceByName(ifname) ++ if err != nil { ++ return err ++ } ++ return syscall.SetsockoptInt(fd, syscall.IPPROTO_IP, syscall.IP_RECVIF, iface.Index) ++} diff --git a/sysutils/beats8/files/pkg-message.in b/sysutils/beats8/files/pkg-message.in new file mode 100644 index 000000000000..d774668512dc --- /dev/null +++ b/sysutils/beats8/files/pkg-message.in @@ -0,0 +1,12 @@ +[ +{ type: install + message: <