diff --git a/sysutils/Makefile b/sysutils/Makefile index 7e9bb8a86e84..b89b447a4946 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,1612 +1,1615 @@ COMMENT = System utilities SUBDIR += 3dm SUBDIR += 3mux SUBDIR += 44bsd-more SUBDIR += 915resolution SUBDIR += LPRng SUBDIR += LPRngTool SUBDIR += R-cran-processx SUBDIR += R-cran-ps SUBDIR += R-cran-xopen SUBDIR += RyzenAdj SUBDIR += UEFITool SUBDIR += abduco SUBDIR += abgx360 SUBDIR += accounts-qml-module SUBDIR += accountsservice SUBDIR += acerhdf-kmod SUBDIR += acltool SUBDIR += acpi_call SUBDIR += acpica-tools SUBDIR += acts SUBDIR += adtool SUBDIR += afflib SUBDIR += afio SUBDIR += agedu SUBDIR += ah-tty SUBDIR += aimage SUBDIR += aird SUBDIR += alfio SUBDIR += alloy SUBDIR += am-utils SUBDIR += amazon-ssm-agent SUBDIR += amazon-ssm-plugin SUBDIR += amdmsrtweaker SUBDIR += amrstat SUBDIR += amtc SUBDIR += anacron SUBDIR += and SUBDIR += android-file-transfer SUBDIR += android-file-transfer-qt5 SUBDIR += android-ota-payload-extractor SUBDIR += angrysearch SUBDIR += ansible SUBDIR += ansible-iocage SUBDIR += ansible-kld SUBDIR += ansible-sshjail SUBDIR += ansible-sysrc SUBDIR += anvil SUBDIR += apachetop SUBDIR += apcctrl SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += appjail SUBDIR += appjail-devel SUBDIR += apt-mirror-devel SUBDIR += aptly SUBDIR += arc_summary SUBDIR += arcconf SUBDIR += archey4 SUBDIR += ascpu SUBDIR += asfsm SUBDIR += asmctl SUBDIR += asmem SUBDIR += asusoled SUBDIR += async SUBDIR += atf-fvp SUBDIR += atf-master SUBDIR += atf-rk3328 SUBDIR += atf-rk3399 SUBDIR += atf-sun50i_a64 SUBDIR += atf-sun50i_h6 SUBDIR += atop SUBDIR += auto-admin SUBDIR += autojump SUBDIR += automounter SUBDIR += autorestic SUBDIR += azure-agent SUBDIR += b2sum SUBDIR += b3sum SUBDIR += b43-fwcutter SUBDIR += backdown SUBDIR += backuppc SUBDIR += backuppc-devel SUBDIR += backuppc4 SUBDIR += backupuser SUBDIR += bacnet-stack-apps SUBDIR += bacula-libs3 SUBDIR += bacula13-client SUBDIR += bacula13-client-static SUBDIR += bacula13-docs SUBDIR += bacula13-server SUBDIR += bacula15-client SUBDIR += bacula15-client-static SUBDIR += bacula15-docs SUBDIR += bacula15-server SUBDIR += baloo-widgets SUBDIR += bamf SUBDIR += bareos-client SUBDIR += bareos-server SUBDIR += bareos-traymonitor SUBDIR += bareos20-client SUBDIR += bareos20-server SUBDIR += bareos20-traymonitor SUBDIR += bareos21-client SUBDIR += bareos21-server SUBDIR += bareos21-traymonitor SUBDIR += bareos22-client SUBDIR += bareos22-server SUBDIR += bareos22-traymonitor + SUBDIR += bareos23-client + SUBDIR += bareos23-server + SUBDIR += bareos23-traymonitor SUBDIR += barrier SUBDIR += bashtop SUBDIR += bastille SUBDIR += batmon SUBDIR += batterycat SUBDIR += battmond SUBDIR += battray SUBDIR += bchunk SUBDIR += beadm SUBDIR += beats7 SUBDIR += beats8 SUBDIR += bfs SUBDIR += bhyve-firmware SUBDIR += bhyve-rc SUBDIR += bhyvemgr SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += bkt SUBDIR += blisp SUBDIR += bmd SUBDIR += bmd-plugin-avahi SUBDIR += bmd-plugin-hookcmd SUBDIR += boot-extract SUBDIR += bottom 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 += budgie-control-center SUBDIR += buildah SUBDIR += bulk_extractor SUBDIR += bupstash SUBDIR += burp SUBDIR += burp-devel SUBDIR += busybox SUBDIR += bvm SUBDIR += byobu SUBDIR += calamares SUBDIR += cardano-cli SUBDIR += catatonit SUBDIR += catfish SUBDIR += catsit 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-lts SUBDIR += cfengine-masterfiles SUBDIR += cfengine-masterfiles-devel SUBDIR += cfengine-masterfiles-lts SUBDIR += cfengine-masterfiles321 SUBDIR += cfengine-masterfiles322 SUBDIR += cfengine-masterfiles323 SUBDIR += cfengine-masterfiles324 SUBDIR += cfengine321 SUBDIR += cfengine322 SUBDIR += cfengine323 SUBDIR += cfengine324 SUBDIR += chaoskube SUBDIR += checkrestart SUBDIR += chezmoi SUBDIR += chgrep SUBDIR += choria SUBDIR += chyves SUBDIR += cilium SUBDIR += cinnamon-control-center SUBDIR += cinnamon-settings-daemon SUBDIR += ciso SUBDIR += ciso-maker SUBDIR += ck4up SUBDIR += clean SUBDIR += clockspeed SUBDIR += clone SUBDIR += clonehdd SUBDIR += cloud-nuke 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 += conserve SUBDIR += consolehm SUBDIR += consolekit2 SUBDIR += consul SUBDIR += consul-alerts SUBDIR += consul-replicate SUBDIR += consul_exporter SUBDIR += containerd SUBDIR += containers-common SUBDIR += contractor SUBDIR += copytape SUBDIR += coreos-ct SUBDIR += coreutils SUBDIR += cpdup SUBDIR += cpu-microcode SUBDIR += cpu-microcode-amd SUBDIR += cpu-microcode-intel SUBDIR += cpu-microcode-rc SUBDIR += cpu-x SUBDIR += cpuburn SUBDIR += cpufetch SUBDIR += cpuid SUBDIR += cpuid2cpuflags SUBDIR += cpulimit SUBDIR += cpupdate SUBDIR += crashme SUBDIR += crate SUBDIR += createrepo_c 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 += dateutils SUBDIR += dc3dd SUBDIR += dcfldd SUBDIR += dd_rescue SUBDIR += ddh SUBDIR += ddpt SUBDIR += ddrescue SUBDIR += ddrescueview SUBDIR += debhelper SUBDIR += debootstrap SUBDIR += deltarpm SUBDIR += deltup SUBDIR += desktop-installer SUBDIR += detox SUBDIR += devctl-jail-kmod SUBDIR += devd-mount SUBDIR += devedeng SUBDIR += devstat SUBDIR += dfc SUBDIR += di SUBDIR += diffoci SUBDIR += digdag SUBDIR += dirdiff SUBDIR += direnv SUBDIR += direvent SUBDIR += dirvish SUBDIR += discus SUBDIR += diskcheckd SUBDIR += diskimage-tools SUBDIR += diskonaut SUBDIR += diskscrub 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 += downtimed SUBDIR += dsbbatmon SUBDIR += dsbdriverd SUBDIR += dsblogoutmgr 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 += dutree 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 += dynamic_motd SUBDIR += ebsnvme-id SUBDIR += ec2-scripts SUBDIR += eclat SUBDIR += edid-decode SUBDIR += edk2 SUBDIR += egress-monitor SUBDIR += eject SUBDIR += eksctl SUBDIR += elfx86exts SUBDIR += endian SUBDIR += enteruser SUBDIR += entr SUBDIR += env4801 SUBDIR += envconsul SUBDIR += epazote SUBDIR += equinix-metal-cli SUBDIR += erdtree SUBDIR += etcmerge SUBDIR += ethname SUBDIR += evhz SUBDIR += evisum SUBDIR += evtviewer SUBDIR += exa SUBDIR += extipl SUBDIR += eza SUBDIR += ezjail SUBDIR += f-upgrade SUBDIR += f2 SUBDIR += f3 SUBDIR += facter SUBDIR += fakertc SUBDIR += faketty SUBDIR += fand SUBDIR += fanout SUBDIR += fastfetch SUBDIR += fatback SUBDIR += fclones SUBDIR += fcode-utils SUBDIR += fconfig SUBDIR += fcron SUBDIR += fd SUBDIR += fdupes SUBDIR += fetchlog 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 += flipperbit SUBDIR += flock SUBDIR += flog SUBDIR += flowgger SUBDIR += fluent-bit SUBDIR += fluxengine SUBDIR += fonteditfs SUBDIR += foremost SUBDIR += fortunelock SUBDIR += fpart SUBDIR += framework-system SUBDIR += frand SUBDIR += freebsd-bsdlabel SUBDIR += freebsd-fdisk SUBDIR += freebsd-rustdate SUBDIR += freebsd-shar SUBDIR += freebsd-snapshot SUBDIR += freecolor SUBDIR += freedt SUBDIR += freeipmi SUBDIR += freesbie SUBDIR += froxlor SUBDIR += fsbackup SUBDIR += fsc SUBDIR += fsearch SUBDIR += fselect SUBDIR += ftwin SUBDIR += fvcool SUBDIR += fwup SUBDIR += fx SUBDIR += g15daemon SUBDIR += gaffitter SUBDIR += ganglia-monitor-core SUBDIR += gapcmon SUBDIR += garcon SUBDIR += gather SUBDIR += gconf-editor SUBDIR += gcp-ops-agent SUBDIR += gdisk SUBDIR += gdmap SUBDIR += gdu SUBDIR += genimage SUBDIR += genisoimage SUBDIR += getdelta SUBDIR += geteltorito SUBDIR += getssl SUBDIR += gh-md-toc 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 += 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 += hid-tools SUBDIR += highlnk SUBDIR += hilite SUBDIR += host-setup SUBDIR += hostctl SUBDIR += hourglass SUBDIR += hpacucli SUBDIR += hptcli SUBDIR += hs-cputype SUBDIR += hstr SUBDIR += htop SUBDIR += httm SUBDIR += httplog SUBDIR += hw-probe SUBDIR += hwstat SUBDIR += i2c-tools SUBDIR += i7z SUBDIR += iat SUBDIR += imgurbash2 SUBDIR += immortal SUBDIR += incron SUBDIR += infracost SUBDIR += initool SUBDIR += inotify-tools SUBDIR += installwatch SUBDIR += intel-epct SUBDIR += intel-nvmupdate-100g SUBDIR += intel-nvmupdate-10g SUBDIR += intel-nvmupdate-40g SUBDIR += intel-pcm SUBDIR += intel-undervolt SUBDIR += inxi SUBDIR += iocage SUBDIR += iocage-devel SUBDIR += iocell SUBDIR += iograph SUBDIR += iohyve SUBDIR += ioping SUBDIR += ipa SUBDIR += ipad_charge SUBDIR += ipdbtools SUBDIR += ipfs-go-fs-repo-migrations SUBDIR += ipget SUBDIR += ipmi_exporter SUBDIR += ipmitool SUBDIR += ipsc SUBDIR += isc-cron SUBDIR += isomaster 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 += joshuto SUBDIR += jps SUBDIR += jruls SUBDIR += jstest-gtk SUBDIR += jtop SUBDIR += jtopen SUBDIR += jvmtop SUBDIR += k3b SUBDIR += k4dirstat SUBDIR += k8temp SUBDIR += k9s SUBDIR += kapp SUBDIR += kbackup SUBDIR += kcron SUBDIR += kdeadmin SUBDIR += kdebugsettings SUBDIR += kdf SUBDIR += kdialog SUBDIR += keyboard-daemon SUBDIR += keyd SUBDIR += kf5-baloo SUBDIR += kf5-kwallet SUBDIR += kf6-baloo SUBDIR += kf6-kuserfeedback SUBDIR += kf6-kwallet SUBDIR += khelpcenter SUBDIR += kiconvtool SUBDIR += kldfind SUBDIR += kldpatch SUBDIR += kopia SUBDIR += kops SUBDIR += kpmcore SUBDIR += krename SUBDIR += kshutdown SUBDIR += ksystemlog SUBDIR += kubectl SUBDIR += kubie SUBDIR += kubo-go SUBDIR += kustomize 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 += libdisplay-info SUBDIR += libdnf SUBDIR += libfvde SUBDIR += libg15 SUBDIR += libg15render SUBDIR += libieee1284 SUBDIR += libptytty SUBDIR += libsunacl SUBDIR += libsysstat SUBDIR += libsysstat-qt6 SUBDIR += libtpms SUBDIR += libtree SUBDIR += libudisks SUBDIR += liburcu SUBDIR += limine SUBDIR += lineak-defaultplugin SUBDIR += lineak-xosdplugin SUBDIR += lineakd SUBDIR += linrename 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 += littlejet SUBDIR += lmmon SUBDIR += lmon SUBDIR += lnav SUBDIR += loaders-update SUBDIR += lockfile-progs SUBDIR += loganalyzer SUBDIR += logrotate SUBDIR += logstalgia 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 += ltrace SUBDIR += lttng-ust SUBDIR += lua-puremagic SUBDIR += luckybackup SUBDIR += lxinput SUBDIR += lxqt-admin SUBDIR += lxqt-config SUBDIR += lxqt-policykit SUBDIR += lxqt-powermanagement SUBDIR += lxqt-qt6plugin 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 += mcron SUBDIR += mcweject SUBDIR += mdcat 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 += mise SUBDIR += mixer SUBDIR += mkdesktop SUBDIR += mkfwimage SUBDIR += mkjail SUBDIR += mkntpwd SUBDIR += mmc-utils SUBDIR += mmve SUBDIR += modman SUBDIR += modules SUBDIR += mog SUBDIR += monit SUBDIR += monitord SUBDIR += monitorix SUBDIR += moreutils SUBDIR += most SUBDIR += mountsmb2 SUBDIR += mping SUBDIR += mprocs SUBDIR += mptd SUBDIR += msiklm SUBDIR += msktutil SUBDIR += mstflint SUBDIR += mtm SUBDIR += mtxorbd SUBDIR += multitail SUBDIR += munin-common SUBDIR += munin-contrib SUBDIR += munin-master SUBDIR += munin-node SUBDIR += mxkill SUBDIR += mybashburn SUBDIR += myrescue SUBDIR += n98-magerun SUBDIR += nagios-statd SUBDIR += namefix SUBDIR += nbosd SUBDIR += ncdu SUBDIR += ncdu2 SUBDIR += ndmpd SUBDIR += neofetch SUBDIR += nerdctl SUBDIR += netevent SUBDIR += nfcutils SUBDIR += ngbuddy SUBDIR += nitrogen SUBDIR += nix SUBDIR += nmdaemon SUBDIR += nmrpflash SUBDIR += node_exporter SUBDIR += nomad SUBDIR += nomad-pot-driver SUBDIR += npadmin SUBDIR += npmount SUBDIR += nq SUBDIR += nrg2iso SUBDIR += nss_ndb SUBDIR += nsysctl SUBDIR += ntfy SUBDIR += ntpstat SUBDIR += nut SUBDIR += nut-devel SUBDIR += nut_exporter SUBDIR += nvclock SUBDIR += nvimpager SUBDIR += nvme-cli SUBDIR += nvramtool SUBDIR += oak SUBDIR += obliterate SUBDIR += oc SUBDIR += ocijail SUBDIR += odo SUBDIR += ohmu SUBDIR += omnibackup SUBDIR += onefetch SUBDIR += opa SUBDIR += open SUBDIR += opencorsairlink SUBDIR += opendircolors SUBDIR += openipmi SUBDIR += opensbi SUBDIR += openseachest SUBDIR += opentofu SUBDIR += openupsd 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-Command-Runner 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-ZFS SUBDIR += p5-Filesys-ZFS-Stat 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_xdg SUBDIR += panicmail SUBDIR += parafly SUBDIR += parallel SUBDIR += parkverbot SUBDIR += pass-coffin 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 += pcns 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-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 += php81-fileinfo SUBDIR += php81-posix SUBDIR += php82-fileinfo SUBDIR += php82-posix SUBDIR += php83-fileinfo SUBDIR += php83-posix SUBDIR += php84-fileinfo SUBDIR += php84-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 += plasma6-discover SUBDIR += plasma6-drkonqi SUBDIR += plasma6-kde-cli-tools SUBDIR += plasma6-kinfocenter SUBDIR += plasma6-kmenuedit SUBDIR += plasma6-ksystemstats SUBDIR += plasma6-libksysguard SUBDIR += plasma6-plasma-disks SUBDIR += plasma6-plasma-systemmonitor SUBDIR += plasma6-polkit-kde-agent-1 SUBDIR += plasma6-powerdevil SUBDIR += plasma6-systemsettings SUBDIR += plconfig SUBDIR += plocate SUBDIR += pmt SUBDIR += pnscan SUBDIR += podman SUBDIR += podman-suite SUBDIR += polkit SUBDIR += polkit-gnome SUBDIR += polkit-qt-1 SUBDIR += popeye SUBDIR += porch SUBDIR += pot SUBDIR += potnet SUBDIR += poweralertd SUBDIR += powerdxx SUBDIR += powerman SUBDIR += powermon SUBDIR += pp SUBDIR += pprotectd SUBDIR += prips SUBDIR += procenv SUBDIR += process-viewer SUBDIR += procmap SUBDIR += procs SUBDIR += pslist SUBDIR += psmisc SUBDIR += pstack SUBDIR += pstacku SUBDIR += pstree SUBDIR += puppet-lint SUBDIR += puppet-mode.el SUBDIR += puppet7 SUBDIR += puppet8 SUBDIR += puppetserver7 SUBDIR += puppetserver8 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-lint SUBDIR += py-ansible-runner SUBDIR += py-appjail-gui 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-blinkstick SUBDIR += py-borgmatic SUBDIR += py-concurrent-log-handler SUBDIR += py-cron-descriptor SUBDIR += py-croniter SUBDIR += py-croniter2 SUBDIR += py-dict-toolbox SUBDIR += py-diffoscope SUBDIR += py-director 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-psutil SUBDIR += py-ptyprocess SUBDIR += py-puremagic SUBDIR += py-py-cpuinfo SUBDIR += py-pyinfra SUBDIR += py-python-bareos 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-tldr 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 += qchroot SUBDIR += qdirstat SUBDIR += qflipper SUBDIR += qjail SUBDIR += qjail54 SUBDIR += qlogtools SUBDIR += qmk_hid SUBDIR += qsudo SUBDIR += qt5-qtdiag SUBDIR += qt5-qtpaths SUBDIR += qt5-qtplugininfo SUBDIR += qtpass SUBDIR += qtxdg-tools 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 += rename SUBDIR += renameutils SUBDIR += reoback SUBDIR += reproduce SUBDIR += reptyr SUBDIR += respond SUBDIR += rest-server SUBDIR += restic SUBDIR += retail SUBDIR += rex SUBDIR += rhc SUBDIR += rinse SUBDIR += rkbin SUBDIR += rmlint SUBDIR += rocinante SUBDIR += rocr SUBDIR += roct SUBDIR += root-tail SUBDIR += rovclock SUBDIR += rpi-firmware SUBDIR += rset SUBDIR += rshim-user-space SUBDIR += rsnapshot SUBDIR += rsyncbackup SUBDIR += rsyncrypto SUBDIR += rsyslog8 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-licensing 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-filesystem14 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_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-yell SUBDIR += runas SUBDIR += rundeck SUBDIR += runiq SUBDIR += runit SUBDIR += runit-faster SUBDIR += runj SUBDIR += runwhen SUBDIR += rush SUBDIR += rust-coreutils SUBDIR += rust-findutils SUBDIR += rw SUBDIR += rw-tui SUBDIR += s-tui SUBDIR += s6 SUBDIR += s6-rc SUBDIR += safe-rm SUBDIR += safecat SUBDIR += safecopy SUBDIR += sake SUBDIR += samdruckerclientshell SUBDIR += samefile SUBDIR += samesame SUBDIR += sanoid SUBDIR += sanoid-devel SUBDIR += sas2ircu SUBDIR += sas3ircu SUBDIR += savelogs SUBDIR += scalpel SUBDIR += scanbd SUBDIR += scanbuttond SUBDIR += scanmem SUBDIR += scct SUBDIR += schedutils SUBDIR += schilyutils SUBDIR += screen SUBDIR += screen-devel SUBDIR += screen49 SUBDIR += screen50 SUBDIR += screenfetch 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-ui SUBDIR += signond SUBDIR += sispmctl 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 += sndy SUBDIR += snmp_exporter SUBDIR += snooze SUBDIR += sockaddr SUBDIR += socklog SUBDIR += solaar SUBDIR += spcm SUBDIR += spindown SUBDIR += spinner SUBDIR += spiped SUBDIR += ssd_report SUBDIR += sshsudo SUBDIR += ssync SUBDIR += stalepid SUBDIR += stepsync SUBDIR += storcli SUBDIR += stow SUBDIR += stowES SUBDIR += stress SUBDIR += stressdisk SUBDIR += superfile SUBDIR += superiotool SUBDIR += swapd SUBDIR += swapexd SUBDIR += swapmon SUBDIR += swapusage SUBDIR += sweeper SUBDIR += swtpm SUBDIR += symlinks SUBDIR += symon SUBDIR += synergy SUBDIR += syngesture SUBDIR += sysctlbyname-improved-kmod SUBDIR += sysctlinfo-kmod SUBDIR += sysgather SUBDIR += sysinfo SUBDIR += syslinux SUBDIR += syslog-ng SUBDIR += syslogger SUBDIR += systeroid SUBDIR += sysvbanner SUBDIR += szyszka SUBDIR += tai64nfrac SUBDIR += tailspin SUBDIR += tarsnap SUBDIR += tarsnap-gui SUBDIR += tarsnap-periodic SUBDIR += tartarus SUBDIR += tbku SUBDIR += tclsyslog SUBDIR += tcplist SUBDIR += tdir SUBDIR += tealdeer SUBDIR += tenshi SUBDIR += tere 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 += tiempo 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 += tmux-xpanes SUBDIR += tmux23 SUBDIR += topgrade SUBDIR += topless SUBDIR += toshctl SUBDIR += touchegg 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 += tuckr SUBDIR += tuptime SUBDIR += turbostat SUBDIR += tw_cli SUBDIR += twa-kmod 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-bhyve-arm64 SUBDIR += u-boot-bhyve-riscv 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-r2s SUBDIR += u-boot-nanopi-r4s SUBDIR += u-boot-nanopi-r5s 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-quartz64-a SUBDIR += u-boot-quartz64-b 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-starfive-visionfive2 SUBDIR += u-boot-tools SUBDIR += u-boot-wandboard SUBDIR += ua SUBDIR += ucspi-ipc SUBDIR += ucspi-proxy SUBDIR += ucspi-ssl SUBDIR += ucspi-tcp SUBDIR += ucspi-unix SUBDIR += udfclient SUBDIR += ufetch SUBDIR += uhidd SUBDIR += uif2iso SUBDIR += unetbootin 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 += 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 += vmstated SUBDIR += vmtouch SUBDIR += vobcopy SUBDIR += volman SUBDIR += vpnc-scripts SUBDIR += vttest SUBDIR += wait_on SUBDIR += walk SUBDIR += watchfolder SUBDIR += watchman SUBDIR += watchmen SUBDIR += waynergy SUBDIR += webmin SUBDIR += weedit SUBDIR += wemux SUBDIR += whatpix SUBDIR += whowatch SUBDIR += wiimms SUBDIR += wiper 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 += xcp 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 += xin SUBDIR += xjobs SUBDIR += xmbmon SUBDIR += xnvme SUBDIR += xorriso SUBDIR += xosview SUBDIR += xpipe SUBDIR += xstow SUBDIR += xsysstats SUBDIR += xxd SUBDIR += yadf SUBDIR += yadm SUBDIR += yank SUBDIR += yazi SUBDIR += z SUBDIR += zbackup SUBDIR += zeitgeist SUBDIR += zellij SUBDIR += zelta SUBDIR += zeroer SUBDIR += zetaback SUBDIR += zetaback-devel SUBDIR += zidrav SUBDIR += znapzend SUBDIR += zogftw SUBDIR += zoxide SUBDIR += zpool-iostat-viz SUBDIR += zrep SUBDIR += zsd SUBDIR += zsm .include diff --git a/sysutils/bareos23-client/Makefile b/sysutils/bareos23-client/Makefile new file mode 100644 index 000000000000..8396e46a6483 --- /dev/null +++ b/sysutils/bareos23-client/Makefile @@ -0,0 +1,20 @@ +PORTNAME= bareos +PKGNAMESUFFIX= 23-client + +COMMENT= Backup archiving recovery open sourced (client) + +CONFLICTS= bareos22-client bareos21-client bareos20-client bareos-client + +WITH_CLIENT_ONLY=yes +USE_RC_SUBR= bareos-fd + +PLIST= ${PKGDIR}/pkg-plist.client +MASTERDIR= ${.CURDIR}/../../sysutils/bareos23-server + +OPTIONS_GROUP= PLUGINS +OPTIONS_GROUP_PLUGINS= GFAPI +OPTIONS_DEFINE= NLS PYTHON SCSICRYPTO + +GFAPI_DESC= GFAPI fd plugin support + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/bareos23-server/Makefile b/sysutils/bareos23-server/Makefile new file mode 100644 index 000000000000..de473fdd3d8e --- /dev/null +++ b/sysutils/bareos23-server/Makefile @@ -0,0 +1,230 @@ +PORTNAME= bareos +DISTVERSIONPREFIX= Release/ +DISTVERSION= 23.1.1 +PORTREVISION?= 0 +CATEGORIES?= sysutils +PKGNAMEPREFIX?= # +PKGNAMESUFFIX?= 23-server + +MAINTAINER= acm@FreeBSD.org +COMMENT?= Backup archiving recovery open sourced (server) +WWW= https://www.bareos.org/ + +LICENSE= AGPLv3 LGPL3 +LICENSE_COMB= multi + +CONFLICTS?= bareos20-server bareos21-server bareos22-server bareos-server + +LIB_DEPENDS+= liblzo2.so:archivers/lzo2 \ + libjansson.so:devel/jansson \ + libfmt.so:devel/libfmt + +USES+= cmake compiler:c++11-lang cpe localbase:ldflags perl5 pkgconfig readline \ + shebangfix +USE_GITHUB= yes +USE_PERL5= run + +USERS= bareos +GROUPS= ${USERS} + +PLIST_SUB+= LIB_VERSION=${PORTVERSION} + +USE_LDCONFIG= yes +SHEBANG_LANG= perl python +SHEBANG_GLOB= *.py +SHEBANG_FILES= ${WRKSRC}/contrib/misc/bsmc/bin/bsmc + +CPPFLAGS+= -I${LOCALBASE}/readline + +OPTIONS_DEFAULT= OPENSSL +OPTIONS_SINGLE= CRYPTO +OPTIONS_SINGLE_CRYPTO= OPENSSL GNUTLS +OPTIONS_SUB= yes +CRYPTO_DESC= Cryptographic library +MTX_DESC= Install mtx for control of autochanger devices +NDMP_DESC= Enable build of NDMP support +SCSICRYPTO_DESC= Build LTO AME crypto plugin + +.if ${PKGNAMESUFFIX} == "23-server" +OPTIONS_GROUP= BACKENDS +OPTIONS_GROUP_BACKENDS= GFAPI +OPTIONS_DEFINE= MTX PYTHON LMDB NDMP NLS SCSICRYPTO +OPTIONS_DEFAULT+= LMDB PGSQL SCSICRYPTO +OPTIONS_SINGLE_DATABASE= PGSQL +OPTIONS_SINGLE+= DATABASE +BACKENDS_DESC= Storage backends +DATABASE_DESC= Database support +GFAPI_DESC= GFAPI backend support +LMDB_DESC= Enable faster accurate backup support + +NDMP_CMAKE_ON= -Dndmp=ON +NDMP_CMAKE_OFF= -Dndmp=OFF +.endif + +GNUTLS_CONFIGURE_WITH= gnutls=${LOCALBASE} +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls + +OPENSSL_USES= ssl +OPENSSL_CMAKE_ON= -Dopenssl=ON +OPENSSL_CMAKE_OFF= -Dopenssl=OFF + +SCSICRYPTO_CMAKE_ON= -Dscsi-crypto=ON +SCSICRYPTO_CMAKE_OFF= -Dscsi-crypto=OFF + +.if ${PKGNAMESUFFIX} == "23-client" || ${PKGNAMESUFFIX} == "23-server" #Till end of the file +PYTHON_USES= python +PYTHON_CMAKE_ON= -DENABLE_PYTHON=ON +PYTHON_CMAKE_OFF= -DENABLE_PYTHON=OFF +PYTHON_PLUGIN= yes + +.if !defined(WITH_CLIENT_ONLY) +LIB_DEPENDS+= libbareos.so:sysutils/bareos23-client +USE_RC_SUBR?= bareos-dir bareos-sd +.endif + +.if defined(WITH_CLIENT_ONLY) +SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client +.else +SUB_FILES+= pkg-message.server +.endif + +CMAKE_ARGS+= -Dtcp-wrappers=ON \ + -Dsmartalloc=ON \ + -Dsysconfdir=${PREFIX}/etc \ + -Darchivedir=${BAREOS_DIR}/storage \ + -Dworkingdir=${BAREOS_DIR} \ + -Dconfdir=${PREFIX}/etc/bareos \ + -Dlibdir=${PREFIX}/lib \ + -Dlogdir=/var/log/bareos \ + -Dincludedir=${PREFIX}/include/bareos \ + -Dreadline=ON \ + -Ddisable-conio=ON \ + -Dbatch-insert=ON \ + -Dhave_plugins=ON \ + -Dplugindir=${PREFIX}/lib/bareos/plugins \ + -Dscriptdir=${PREFIX}/lib/bareos/scripts \ + -Dbackenddir=${PREFIX}/lib/bareos/backends \ + -Ddump_email=root@localhost \ + -Djob_email=root@localhost \ + -Ddb_name=bareos \ + -Dsbin-perm=755 \ + -Ddb_user=bareos \ + -Dbaseport=9101 \ + -Dpiddir=/var/run/bareos + +.if defined(WITH_CLIENT_ONLY) +CFLAGS+= -DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1 + +CMAKE_ARGS+= -Dfd-user=root \ + -Dfd-group=wheel \ + -Dlmdb=ON +.else +LMDB_CMAKE_ON= -Dlmdb=ON +LMDB_CMAKE_OFF= -Dlmdb=OFF +LMDB_CFLAGS+= -DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1 + +CMAKE_ARGS+= -Ddir-user=${BAREOS_USER} \ + -Ddir-group=${BAREOS_GROUP} \ + -Dsd-user=${BAREOS_USER} \ + -Dsd-group=operator +.endif + +# The user/group IDs below are registered, see +# http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID +# +BAREOS_USER?= bareos +BAREOS_GROUP?= ${BAREOS_USER} +BAREOS_UID?= 997 +BAREOS_GID?= ${BAREOS_UID} +BAREOS_DIR?= /var/db/bareos + +PLIST_SUB+= BAREOS_DIR=${BAREOS_DIR} + +SUB_LIST= BAREOS_USER=${BAREOS_USER} \ + BAREOS_GROUP=${BAREOS_GROUP} \ + BAREOS_UID=${BAREOS_UID} \ + BAREOS_GID=${BAREOS_GID} \ + BAREOS_DIR=${BAREOS_DIR} + +NLS_USES= gettext +NLS_CMAKE_ON= -Dnls=ON +GFAPI_CMAKE_ON= -Dgfapi=ON +GFAPI_LIB_DEPENDS= libglusterfs.so:net/glusterfs + +# Client only or full server version +.if defined(WITH_CLIENT_ONLY) +CONFFILES= fd +CMAKE_ARGS+= -Dclient-only=ON \ + -DENABLE_WEBUI=OFF + +PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client +PKGINSTALL= ${FILESDIR}/pkg-install.client +.else +# Server only Options +CONFFILES= sd dir +CMAKE_ARGS+= -Dbuild-dird=ON \ + -Dbuild-stored=ON \ + -Dbuild_client_only=OFF +# Server default database + +MTX_RUN_DEPENDS= ${LOCALBASE}/sbin/mtx:misc/mtx +PGSQL_CMAKE_ON= -Dpostgresql=ON +PGSQL_USES= pgsql +PGSQL_SUB_LIST= REQ_PGSQL=postgresql +PGSQL_SUB_LIST_OFF= REQ_PGSQL="" +.endif + +.if defined(WITH_CLIENT_ONLY) +MP1+= bconsole.1 +MP8+= bareos-fd.8 +.else +MP8+= bareos.8 bareos-dir.8 bareos-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 \ + btape.8 btraceback.8 bareos-dbcheck.8 +MP1+= bsmtp.1 bregex.1 bwild.1 bareos-tray-monitor.1 +.endif + +MAKE_ENV+= MAN8="${MP8}" MAN1="${MP1}" + +post-patch: + @${REINPLACE_CMD} '136,141d' ${WRKSRC}/CMakeLists.txt +.if ${PKGNAMESUFFIX} == "23-server" + @${REINPLACE_CMD} '50d' ${WRKSRC}/core/src/plugins/CMakeLists.txt +.endif +.if ${PKGNAMESUFFIX} == "23-client" + @${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt + @${REINPLACE_CMD} -e 's|enable_testing()||g' ${WRKSRC}/CMakeLists.txt +.endif + +post-patch-PYTHON-off: + @${REINPLACE_CMD} 's/set(python ON)/set(python OFF)/' ${WRKSRC}/cmake/BareosSetVariableDefaults.cmake + +post-extract: +.if defined(WITH_CLIENT_ONLY) +. if defined(PYTHON_PLUGIN) + @${MKDIR} ${STAGEDIR}${ETCDIR}/python-ldap-conf.d/bareos-dir.d/fileset + @${MKDIR} ${STAGEDIR}${ETCDIR}/python-ldap-conf.d/bareos-dir.d/job +. endif +.endif + @${MV} ${WRKSRC}/core/src/defaultconfigs/bareos-dir.d/fileset/'Windows All Drives.conf' \ + ${WRKSRC}/core/src/defaultconfigs/bareos-dir.d/fileset/'WindowsAllDrives.conf' + @${MV} ${WRKSRC}/contrib/misc/bsmc/etc/bareos/bsmc.conf \ + ${WRKSRC}/contrib/misc/bsmc/etc/bareos/bsmc.conf.sample + +.if !target(post-install) +post-install: +.if defined(WITH_CLIENT_ONLY) + ${MKDIR} ${STAGEDIR}${ETCDIR}/bconsole.d/ + ${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf.sample ${STAGEDIR}${ETCDIR}/bconsole.d/bconsole.conf.sample +.else + ${INSTALL_SCRIPT} ${FILESDIR}/chio-bareos ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_DATA} ${FILESDIR}/bareos-barcodes ${STAGEDIR}${ETCDIR}/bareos-barcodes.sample + ${CHMOD} o+x ${STAGEDIR}${PREFIX}/bin/bsmtp + ${MV} ${STAGEDIR}${ETCDIR}/mtx-changer.conf ${STAGEDIR}${ETCDIR}/mtx-changer.conf.sample +.endif + @${MKDIR} ${STAGEDIR}/var/run/bareos +.endif +.else +.include "${MASTERDIR}/Makefile.common" +.endif # 23-client and 23-server are defined + +.include diff --git a/sysutils/bareos23-server/Makefile.common b/sysutils/bareos23-server/Makefile.common new file mode 100644 index 000000000000..34817cd126a0 --- /dev/null +++ b/sysutils/bareos23-server/Makefile.common @@ -0,0 +1,38 @@ +post-patch: + @${REINPLACE_CMD} '76,79d' ${WRKSRC}/CMakeLists.txt +.if (${PKGNAMESUFFIX} == "23-traymonitor-qt5") || (${PKGNAMESUFFIX} == "23-traymonitor-qt6") + @${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt +.endif + +post-build: +.if ${PKGNAMEPREFIX} == "nagios-check_" + ${MAKE_CMD} -C ${WRKSRC}/examples/nagios/check_bareos +.endif + +pre-install: +.if (${PKGNAMESUFFIX} == "23-traymonitor-qt5") || (${PKGNAMESUFFIX} == "23-traymonitor-qt6") +. for d in client director monitor storage + ${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d} + ${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \; +. endfor +.endif + +do-install: +.if ${PKGNAMEPREFIX} == "nagios-check_" + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios + ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \ + ${STAGEDIR}${PREFIX}/libexec/nagios +.endif +.if ${PKGNAMESUFFIX} == "23-client-static" + ${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bareos-fd ${STAGEDIR}${PREFIX}/sbin/bareos-fd-static + ${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static +.endif +.if (${PKGNAMESUFFIX} == "23-traymonitor-qt5") || (${PKGNAMESUFFIX} == "23-traymonitor-qt6") +# Install config files and preserve existing ones +.for d in client director monitor storage + ${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/ +.endfor + ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/core/src/images/bareos_1.png ${STAGEDIR}${PREFIX}/share/pixmaps/bareos-tray-monitor.png + ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop ${STAGEDIR}${DESKTOPDIR} +.endif diff --git a/sysutils/bareos23-server/distinfo b/sysutils/bareos23-server/distinfo new file mode 100644 index 000000000000..dda6c3c835a2 --- /dev/null +++ b/sysutils/bareos23-server/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1733553941 +SHA256 (bareos-bareos-Release-23.1.1_GH0.tar.gz) = 468fbe12a509b65ca3de5041a901eb0cf1da5c9a4f1729ca57ed39f45fd428e7 +SIZE (bareos-bareos-Release-23.1.1_GH0.tar.gz) = 14010988 diff --git a/sysutils/bareos23-server/files/bareos-barcodes b/sysutils/bareos23-server/files/bareos-barcodes new file mode 100644 index 000000000000..f42cb7f7aeea --- /dev/null +++ b/sysutils/bareos23-server/files/bareos-barcodes @@ -0,0 +1,51 @@ +# +# Bacula barcode simulation file +# used by ${PREFIX}/sbin/chio-bareos (FreeBSD) +# +# The volumenames are returned by the "changer list" command +# labeling in the console is done by "label barcodes" +# (then all volumes belog to the default pool). +# All Lines with an "#" at the bedinning are ignored +# +# !!!! If you export an tape and reinsert another one, +# !!!! don't forget to change the volume name in this file! +# +1:Volume1-100 +2:Volume1-101 +3:Volume1-102 +4:Volume1-103 +5:Volume1-104 +6:Volume1-105 +7:Volume1-106 +8:Volume1-107 +9:Volume1-108 +10:Volume1-109 +11:Volume1-110 +12:Volume1-111 +# +# Further volumes exported from the changer +# +# 36GB AIT2 tapes +#Volume1-100 +#Volume1-101 +#Volume1-102 +#Volume1-103 +#Volume1-104 +#Volume1-105 +#Volume1-106 +#Volume1-107 +#Volume1-108 +#Volume1-109 +#Volume1-110 +#Volume1-111 +#Volume1-112 +#Volume1-113 +#Volume1-114 +#Volume1-115 +# +# 50GB AIT2 tapes +#Volume2-200 +#Volume2-201 +#Volume2-202 +#Volume2-203 +#Volume2-204 diff --git a/sysutils/bareos23-server/files/bareos-dir.in b/sysutils/bareos23-server/files/bareos-dir.in new file mode 100644 index 000000000000..658865b50b67 --- /dev/null +++ b/sysutils/bareos23-server/files/bareos-dir.in @@ -0,0 +1,55 @@ +#!/bin/sh + +# PROVIDE: bareos_dir +# REQUIRE: DAEMON %%REQ_PGSQL%% +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# bareos_dir_enable (bool): Set to NO by default. +# Set it to YES to enable bareos_dir. +# bareos_dir_flags (params): Set params used to start bareos_dir. +# bareos_dir_config (params): Path to the config file/directory +# + +. /etc/rc.subr + +name="bareos_dir" +rcvar=${name}_enable + +load_rc_config $name + +: ${bareos_dir_enable="NO"} +: ${bareos_dir_flags="-u bareos -g bareos -v"} +: ${bareos_dir_config="%%PREFIX%%/etc/bareos/"} +: ${bareos_dir_pidfile="/var/run/bareos/bareos-dir.9101.pid"} + +command=%%PREFIX%%/sbin/bareos-dir +command_args="-c ${bareos_dir_config} -p ${bareos_dir_pidfile}" +pidfile="${bareos_dir_pidfile}" +bconsole_command=/usr/local/bin/bconsole +start_precmd="bareos_start_precmd" +restart_precmd="bareos_dir_configtest" +reload_precmd="bareos_dir_configtest" +reload_cmd="bareos_dir_reload" +configtest_cmd="bareos_dir_configtest" + +bareos_start_precmd() { + [ -d "${pidfile%/*}" ] || install -d -o bareos -g bareos ${pidfile%/*} + bareos_dir_configtest +} + +bareos_dir_configtest() { + echo "Performing sanity check on ${bareos_dir_config} configuration:" + eval ${command} -t +} + +bareos_dir_reload() { + echo "Performing a graceful reload" + # bconsole always exits with 0, so we can't check the return status for success. + echo "reload" | ${bconsole_command} +} + +extra_commands="reload configtest" +run_rc_command "$1" diff --git a/sysutils/bareos23-server/files/bareos-fd.in b/sysutils/bareos23-server/files/bareos-fd.in new file mode 100644 index 000000000000..8d57c3c858bc --- /dev/null +++ b/sysutils/bareos23-server/files/bareos-fd.in @@ -0,0 +1,46 @@ +#!/bin/sh + +# PROVIDE: bareos_fd +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# bareos_fd_enable (bool): Set to NO by default. +# Set it to YES to enable bareos_fd. +# bareos_fd_flags (params): Set params used to start bareos_fd. +# bareos_fd_config (params): Path to the config file/directory +# + +. /etc/rc.subr + +name="bareos_fd" +rcvar=${name}_enable + +load_rc_config $name + +: ${bareos_fd_enable="NO"} +: ${bareos_fd_flags="-u root -g wheel -v"} +: ${bareos_fd_config="%%PREFIX%%/etc/bareos/"} +: ${bareos_fd_pidfile="/var/run/bareos/bareos-fd.9102.pid"} + +command=%%PREFIX%%/sbin/bareos-fd +command_args="-c ${bareos_fd_config} -p ${bareos_fd_pidfile}" +pidfile="${bareos_fd_pidfile}" +start_precmd="bareos_start_precmd" + +bareos_start_precmd() { + [ -d "${pidfile%/*}" ] || { + getent passwd bareos > /dev/null 2&>1 + if [ $? -eq 0] ; then + # user bareos exists + install -d -o bareos -g bareos ${pidfile%/*} + else + # bareos_fd as solitair service + install -d -o root -g wheel ${pidfile%/*} + fi + } +} + +run_rc_command "$1" diff --git a/sysutils/bareos23-server/files/bareos-sd.in b/sysutils/bareos23-server/files/bareos-sd.in new file mode 100644 index 000000000000..529cf55140c0 --- /dev/null +++ b/sysutils/bareos23-server/files/bareos-sd.in @@ -0,0 +1,37 @@ +#!/bin/sh + +# PROVIDE: bareos_sd +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# bareos_sd_enable (bool): Set to NO by default. +# Set it to YES to enable bareos_sd. +# bareos_sd_flags (params): Set params used to start bareos_sd. +# bareos_sd_config (params): Path to the config file/directory +# + +. /etc/rc.subr + +name="bareos_sd" +rcvar=${name}_enable + +load_rc_config $name + +: ${bareos_sd_enable="NO"} +: ${bareos_sd_flags="-u bareos -g bareos -v"} +: ${bareos_sd_config="%%PREFIX%%/etc/bareos/"} +: ${bareos_sd_pidfile="/var/run/bareos/bareos-sd.9103.pid"} + +command=%%PREFIX%%/sbin/bareos-sd +command_args="-c ${bareos_sd_config} -p ${bareos_sd_pidfile}" +pidfile="${bareos_sd_pidfile}" +start_precmd="bareos_start_precmd" + +bareos_start_precmd() { + [ -d "${pidfile%/*}" ] || install -d -o bareos -g bareos ${pidfile%/*} +} + +run_rc_command "$1" diff --git a/sysutils/bareos23-server/files/chio-bareos b/sysutils/bareos23-server/files/chio-bareos new file mode 100644 index 000000000000..f006ef78e6ce --- /dev/null +++ b/sysutils/bareos23-server/files/chio-bareos @@ -0,0 +1,190 @@ +#!/bin/sh +# +# BAREOS interface to tape libraries and autoloaders for FreeBSD +# (by Rudolf Cejka , v1.2, 2012/11/14) +# +# If you set in your Device resource +# Changer Command = "path-to-this-script/chio-changer %c %o %S %a %d" +# you will have the following input to this script: +# chio-changer "changer-device" "command" "slot" "tape-device" "drive-index" +# $1 $2 $3 $4 $5 +# for example (on a FreeBSD system): +# chio-changer /dev/ch0 load 1 /dev/nsa0 0 +# +# If you change the script, take care to return either the chio exit +# code or a 0. If the script exits with a non-zero exit code, BAREOS +# will assume the request failed. +# + +PROGNAME=`basename $0` + +# Uncomment the following line, if you want to log debug output. +#DEBUG=/var/run/bareos/${PROGNAME}.log + +# Uncomment the following line, if you need to eject a tape before moving +# it from the drive. +#OFFLINE=yes + +# Uncomment one or more of the following lines, if you need to wait for +# some time (in seconds) after unloading, loading or transferring a tape. +#OFFLINE_SLEEP=10 +#LOAD_SLEEP=10 +#MOVE_SLEEP=10 + +# Uncomment the following line, if you do not have a changer with volume +# reader. +#FAKE_BARCODES=/usr/local/etc/bareos-barcodes + +usage() +{ + cat < [slot] [tape-device] [drive-index] + +Commands (): + unload Unload a tape into the slot from where it was loaded + load Load a tape from the slot (1-based) + transfer Transfer a tape from the slot to + the slot (1-based) + list List full storage slots + listall List all storage slots and drives with source information + loaded Give slot from where the tape was loaded (0 = empty drive) + slots Give number of available slots + +Example: + ${PROGNAME} /dev/ch0 load 1 Load a tape from the slot 1 + +EOF + exit 1 +} + +# Default settings +CHANGER=/dev/ch0 +TAPE=/dev/nsa0 +DRIVE=0 + +CHIO=/bin/chio +MT=/usr/bin/mt + +if [ -n "${DEBUG}" ]; then + MSG=$0 + for PAR; do MSG="${MSG} \"${PAR}\""; done + echo `date +"%Y/%m/%d %H:%M:%S"` ${MSG} >> ${DEBUG} +fi + +if [ -n "$1" ]; then + CHANGER=$1; +fi +COMMAND=$2 +SLOT=$3 +SLOTDST=$4 +if [ -n "$4" ]; then + TAPE=$4 +fi +if [ -n "$5" ]; then + DRIVE=$5 +fi + +case ${COMMAND} in +unload) + if [ "${OFFLINE}" = yes ]; then + ${MT} -f ${TAPE} offline + if [ $? = 0 -a -n "${OFFLINE_SLEEP}" ]; then + sleep ${OFFLINE_SLEEP} + fi + fi + if [ -z "${SLOT}" ]; then + ${CHIO} -f ${CHANGER} return drive ${DRIVE} + else + ${CHIO} -f ${CHANGER} move drive ${DRIVE} slot $((${SLOT} - 1)) + fi + if [ $? -ne 0 ]; then + # In case of an error, try to unload the cartridge to the first free slot + FREE=`${CHIO} -f ${CHANGER} status slot | \ + sed -ne '/FULL/d;s/^slot *\([0-9]*\):.*/\1/p' | \ + awk 'BEGIN { n = 0 } { n = $1 + 1; exit } END { print n }'` + if [ ${FREE} -gt 0 ]; then + ${CHIO} -f ${CHANGER} move drive ${DRIVE} slot $((${FREE} - 1)) + else + exit 1 + fi + fi + ;; +load) + if [ -z "${SLOT}" ]; then + usage + fi + ${CHIO} -f ${CHANGER} move slot $((${SLOT} - 1)) drive ${DRIVE} + if [ $? -ne 0 ]; then + exit 1 + fi + if [ -n "${LOAD_SLEEP}" ]; then + sleep ${LOAD_SLEEP} + fi + ;; +transfer) + if [ -z "${SLOT}" -o -z "${SLOTDST}" ]; then + usage + fi + ${CHIO} -f ${CHANGER} move slot $((${SLOT} - 1)) slot $((${SLOTDST} - 1)) + if [ $? -ne 0 ]; then + exit 1 + fi + if [ -n "${MOVE_SLEEP}" ]; then + sleep ${MOVE_SLEEP} + fi + ;; +list) + if [ -z "${FAKE_BARCODES}" ]; then + ${CHIO} -f ${CHANGER} status -v slot | \ + sed -ne 's/^slot *\([0-9]*\):.*FULL.*voltag.*<\([^:]*\):.*/\1:\2/p' | \ + awk -F: '{ print $1 + 1 ":" $2 }' + else + if [ -f "${FAKE_BARCODES}" ]; then + grep -v -e "^#" -e "^$" < ${FAKE_BARCODES} + else + echo "${PROGNAME}: Barcode file ${FAKE_BARCODES} is missing" + exit 1 + fi + fi + ;; +listall) + if [ -z "${FAKE_BARCODES}" ]; then + ${CHIO} -f ${CHANGER} status -vS | \ + sed -ne ' + s/^slot *\([0-9]*\):.*ENAB.*FULL.*voltag.*<\([^:]*\):.*/I:\1:F:\2/p;t + s/^slot *\([0-9]*\):.*FULL.*voltag.*<\([^:]*\):.*/S:\1:F:\2/p;t + s/^drive *\([0-9]*\):.*FULL.*voltag.*<\([^:]*\):.*source.*<[^0-9]*\([0-9]*\)>.*/D:\1:F:\3:\2/p;t + s/^slot *\([0-9]*\):.*ENAB.*voltag.*<\([^:]*\):.*/I:\1:E/p;t + s/^slot *\([0-9]*\):.*voltag.*<\([^:]*\):.*/S:\1:E/p;t + s/^drive *\([0-9]*\):.*voltag.*<\([^:]*\):.*/D:\1:E/p' | \ + awk -F: '{ for (n = 1; n <= NF; n++) printf "%s%s", + (n == ($1 == "D" ? 4 : 2)) ? ($n == "" ? 0 : $n + 1) : $n, + (n == NF) ? "\n" : ":" }' + else + if [ -f "${FAKE_BARCODES}" ]; then + grep -v -e "^#" -e "^$" < ${FAKE_BARCODES} | \ + awk -F: '{ print "S:" $1 (match($2, "^ *$") ? ":E" : ":F:" $2) }' + else + echo "${PROGNAME}: Barcode file ${FAKE_BARCODES} is missing" + exit 1 + fi + fi + ;; +loaded) + # If a tape is loaded, but the source slot is unknown (for example, + # after library reboot), try to report the first free slot + FREE=`${CHIO} -f ${CHANGER} status slot | \ + sed -ne '/FULL/d;s/^slot *\([0-9]*\):.*/\1/p' | \ + awk 'BEGIN { n = 0 } { n = $1 + 1; exit } END { print n }'` + ${CHIO} -f ${CHANGER} status -S drive | \ + sed -ne 's/^drive *'${DRIVE}':.*FULL.*source.*<[^0-9]*\([0-9]*\)>.*/\1/p' \ + | awk 'BEGIN { n = 0 } { n = ($1 == "") ? '${FREE}' : $1 + 1 } \ + END { print n }' + ;; +slots) + ${CHIO} -f ${CHANGER} status | grep -c "^slot " + ;; +*) + usage + ;; +esac diff --git a/sysutils/bareos23-server/files/patch-contrib-misc-bsmc_CMakeLists.txt b/sysutils/bareos23-server/files/patch-contrib-misc-bsmc_CMakeLists.txt new file mode 100644 index 000000000000..2074cf886be9 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-contrib-misc-bsmc_CMakeLists.txt @@ -0,0 +1,11 @@ +--- contrib/misc/bsmc/CMakeLists.txt 2023-04-07 17:32:44.243346000 -0500 ++++ contrib/misc/bsmc/CMakeLists.txt 2023-04-07 17:33:04.594841000 -0500 +@@ -27,7 +27,7 @@ + ) + + install( +- FILES etc/bareos/bsmc.conf ++ FILES etc/bareos/bsmc.conf.sample + PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ + DESTINATION "${confdir}" + ) diff --git a/sysutils/bareos23-server/files/patch-contrib_CMakeLists.txt b/sysutils/bareos23-server/files/patch-contrib_CMakeLists.txt new file mode 100644 index 000000000000..6c923920a7a5 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-contrib_CMakeLists.txt @@ -0,0 +1,27 @@ +--- contrib/CMakeLists.txt 2023-03-24 08:05:20.000000000 -0500 ++++ contrib/CMakeLists.txt 2023-04-07 17:52:51.095371000 -0500 +@@ -24,10 +24,18 @@ + include(GNUInstallDirs) + include(BareosSetVariableDefaults) + +-add_subdirectory(fd-plugins) +-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS") +- add_subdirectory(misc) +-endif() +-if(NOT client-only) +- add_subdirectory(dir-plugins) ++if(python) ++ if(client-only) ++ add_subdirectory(fd-plugins) ++ endif() ++ ++ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS") ++ if(client-only) ++ add_subdirectory(misc) ++ endif() ++ endif() ++ ++ if(NOT client-only) ++ add_subdirectory(dir-plugins) ++ endif() + endif() diff --git a/sysutils/bareos23-server/files/patch-core-CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-CMakeLists.txt new file mode 100644 index 000000000000..136514c20b69 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-CMakeLists.txt @@ -0,0 +1,41 @@ +--- core/CMakeLists.txt 2023-12-13 17:44:47.000000000 -0500 ++++ core/CMakeLists.txt 2024-01-10 01:25:40.807505000 -0500 +@@ -333,7 +333,9 @@ + set(HAVE_FREEBSD_OS 1) + include_directories(/usr/local/include) + link_directories(/usr/local/lib) +- link_libraries(intl) ++ if(nls) ++ link_libraries(intl) ++ endif() + check_cxx_compiler_flag( + -Wunused-but-set-variable compiler_will_warn_of_unused_but_set_variable + ) +@@ -386,7 +388,9 @@ + add_definitions("-D_FILE_OFFSET_BITS=64") + endif() + +-include(FindIntl) ++if(nls) ++ include(FindIntl) ++endif() + + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall -Wextra") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra") +@@ -400,7 +404,7 @@ + include(BareosFindStaticCodeAnalysisTools) + + if(NOT client-only +- AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" ++ AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS|FreeBSD" + AND CMAKE_SIZEOF_VOID_P EQUAL 8 + ) + # droplet does not build on solaris because of sys/cdefs.h: No such file or +@@ -777,7 +781,6 @@ + + include(BareosConfigureFile) + +-add_subdirectory(platforms) + add_subdirectory(src) + add_subdirectory(scripts) + add_subdirectory(manpages) diff --git a/sysutils/bareos23-server/files/patch-core-cmake_BareosCheckIncludes.cmake b/sysutils/bareos23-server/files/patch-core-cmake_BareosCheckIncludes.cmake new file mode 100644 index 000000000000..fbf8074b380e --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-cmake_BareosCheckIncludes.cmake @@ -0,0 +1,12 @@ +--- core/cmake/BareosCheckIncludes.cmake 2023-03-24 08:05:20.000000000 -0500 ++++ core/cmake/BareosCheckIncludes.cmake 2023-04-05 16:17:56.933566000 -0500 +@@ -62,7 +62,9 @@ + + include(CheckSymbolExists) + ++if(gfapi) + check_include_files(glusterfs/api/glfs.h HAVE_GLUSTERFS_API_GLFS_H) ++endif() + + check_include_files(sys/prctl.h HAVE_SYS_PRCTL_H) + diff --git a/sysutils/bareos23-server/files/patch-core-cmake_BareosFindAllLibraries.cmake b/sysutils/bareos23-server/files/patch-core-cmake_BareosFindAllLibraries.cmake new file mode 100644 index 000000000000..40bcee0e6b50 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-cmake_BareosFindAllLibraries.cmake @@ -0,0 +1,12 @@ +--- core/cmake/BareosFindAllLibraries.cmake 2023-03-24 08:05:20.000000000 -0500 ++++ core/cmake/BareosFindAllLibraries.cmake 2023-04-05 16:21:00.503424000 -0500 +@@ -177,7 +177,9 @@ + + bareosfindlibraryandheaders("pthread" "pthread.h" "") + bareosfindlibraryandheaders("cap" "sys/capability.h" "") ++if(gfapi) + bareosfindlibraryandheaders("gfapi" "glusterfs/api/glfs.h" "") ++endif() + + bareosfindlibraryandheaders("pam" "security/pam_appl.h" "") + diff --git a/sysutils/bareos23-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake b/sysutils/bareos23-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake new file mode 100644 index 000000000000..85e738c8e9f4 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake @@ -0,0 +1,118 @@ +--- core/cmake/BareosInstallConfigFiles.cmake 2023-12-13 07:48:37.000000000 -0500 ++++ core/cmake/BareosInstallConfigFiles.cmake 2024-01-05 01:02:51.562611000 -0500 +@@ -27,27 +27,13 @@ + endif() + + get_filename_component(fname ${configfile} NAME) +- if(EXISTS ${DESTCONFDIR}${additionalconfigdir}/${fname}) +- message( +- STATUS "${DESTCONFDIR}${additionalconfigdir}/${fname} already exists" +- ) +- message( +- STATUS +- "Installing config: ${DESTCONFDIR}${additionalconfigdir}/${fname}.new" +- ) +- file(RENAME "${configfile}" "${configfile}.new") +- file(COPY "${configfile}.new" +- DESTINATION "${DESTCONFDIR}${additionalconfigdir}" +- ) +- file(RENAME "${configfile}.new" "${configfile}") +- else() +- message( +- STATUS "Installing config: ${DESTCONFDIR}${additionalconfigdir}/${fname}" +- ) +- file(COPY "${configfile}" +- DESTINATION "${DESTCONFDIR}${additionalconfigdir}" +- ) +- endif() ++ ++ message(STATUS "${DESTCONFDIR}${additionalconfigdir}/${fname} as ${DESTCONFDIR}${additionalconfigdir}/${fname}.sample (new installation)") ++ file(RENAME "${configfile}" "${configfile}.sample") ++ file( ++ COPY "${configfile}.sample" ++ DESTINATION "${DESTCONFDIR}${additionalconfigdir}" ++ ) + endfunction() + + macro(BareosInstallConfigFiles CONFDIR CONFIGBASEDIRECTORY PLUGINS BACKENDS +@@ -125,23 +111,12 @@ + get_filename_component(dir ${configfile} DIRECTORY) + get_filename_component(fname ${configfile} NAME) + +- if(EXISTS ${DESTCONFDIR}/${configfile}) +- message(STATUS "${configfile} as ${configfile}.new (keep existing)") +- file(RENAME "${BackendConfigSrcDir}/${configfile}" +- "${BackendConfigSrcDir}/${configfile}.new" +- ) +- file(COPY "${BackendConfigSrcDir}/${configfile}.new" +- DESTINATION "${DESTCONFDIR}/${dir}" +- ) +- file(RENAME "${BackendConfigSrcDir}/${configfile}.new" +- "${BackendConfigSrcDir}/${configfile}" +- ) +- else() +- message(STATUS "${configfile} as ${configfile}") +- file(COPY "${BackendConfigSrcDir}/${configfile}" +- DESTINATION "${DESTCONFDIR}/${dir}" +- ) +- endif() ++ message(STATUS "${configfile} as ${configfile}.sample") ++ file(RENAME "${BackendConfigSrcDir}/${configfile}" "${BackendConfigSrcDir}/${configfile}.sample") ++ file( ++ COPY "${BackendConfigSrcDir}/${configfile}.sample" ++ DESTINATION "${DESTCONFDIR}/${dir}" ++ ) + endforeach() + + file( +@@ -151,7 +126,8 @@ + ) + foreach(configfile ${configfiles}) + get_filename_component(dir ${configfile} DIRECTORY) +- # get_filename_component(fname ${configfile} NAME) ++ get_filename_component(fname ${configfile} NAME) ++ get_filename_component(fsname ${configfile} NAME_WE) + + if(EXISTS ${DESTCONFDIR}/${configfile}) + message(STATUS "overwriting ${configfile}") +@@ -159,8 +135,10 @@ + message(STATUS "${configfile} as ${configfile}") + endif() + +- file(COPY "${BackendConfigSrcDir}/${configfile}" +- DESTINATION "${DESTCONFDIR}/${dir}" ++ file(RENAME "${BackendConfigSrcDir}/${configfile}" "${BackendConfigSrcDir}/${fsname}.conf.sample") ++ file( ++ COPY "${BackendConfigSrcDir}/${fsname}.conf.sample" ++ DESTINATION "${DESTCONFDIR}/${dir}" + ) + endforeach() + +@@ -188,20 +166,13 @@ + string(REGEX MATCH "\\.in\$" IS_INFILE ${configfile}) + if(NOT "${IS_INFILE}" STREQUAL ".in") + get_filename_component(fname ${configfile} NAME) +- if(EXISTS ${DESTCONFDIR}/${resname}/${fname}) +- message( +- STATUS +- "${resname}/${fname} as ${resname}/${fname}.new (keep existing)" +- ) +- file(RENAME "${configfile}" "${configfile}.new") +- file(COPY "${configfile}.new" +- DESTINATION "${DESTCONFDIR}/${resname}" +- ) +- file(RENAME "${configfile}.new" "${configfile}") +- else() +- message(STATUS "${resname}/${fname} as ${resname}/${fname}") +- file(COPY "${configfile}" DESTINATION "${DESTCONFDIR}/${resname}") +- endif() ++ get_filename_component(fsname ${configfile} NAME_WE) ++ message(STATUS "${resname}/${fname} as ${resname}/${fname}") ++ file(RENAME "${configfile}" "${resdir}/${fsname}.conf.sample") ++ file( ++ COPY "${resdir}/${fsname}.conf.sample" ++ DESTINATION "${DESTCONFDIR}/${resname}" ++ ) + else() + message(STATUS "skipping .in file ${configfile}:${IS_INFILE}") + endif() diff --git a/sysutils/bareos23-server/files/patch-core-manpages_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-manpages_CMakeLists.txt new file mode 100644 index 000000000000..5774b72f2740 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-manpages_CMakeLists.txt @@ -0,0 +1,16 @@ +--- core/manpages/CMakeLists.txt 2021-12-21 06:00:49.000000000 -0500 ++++ core/manpages/CMakeLists.txt 2021-12-22 00:19:52.189513000 -0500 +@@ -18,9 +18,11 @@ + # 02110-1301, USA. + message("Entering ${CMAKE_CURRENT_SOURCE_DIR}") + +-set(MAN1 bconsole.1 bsmtp.1) ++if(client-only) ++ set(MAN1 bconsole.1 bsmtp.1) + +-set(MAN8 bareos-fd.8 bareos.8 btraceback.8) ++ set(MAN8 bareos-fd.8 bareos.8 btraceback.8) ++endif() + + if(NOT client-only) + set(MAN1-server bareos-tray-monitor.1 bwild.1 bregex.1) diff --git a/sysutils/bareos23-server/files/patch-core-scripts_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-scripts_CMakeLists.txt new file mode 100644 index 000000000000..99c9c79bacc0 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-scripts_CMakeLists.txt @@ -0,0 +1,75 @@ +--- core/scripts/CMakeLists.txt 2023-12-13 17:44:47.000000000 -0500 ++++ core/scripts/CMakeLists.txt 2024-01-10 01:38:45.931532000 -0500 +@@ -18,41 +18,44 @@ + # 02110-1301, USA. + message("Entering ${CMAKE_CURRENT_SOURCE_DIR}") + +-install( +- FILES bareos btraceback +- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE +- WORLD_READ WORLD_EXECUTE +- DESTINATION "${sbindir}" +-) ++if(client-only) ++ install( ++ FILES bareos btraceback ++ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE ++ WORLD_READ WORLD_EXECUTE ++ DESTINATION "${sbindir}" ++ ) + +-install( +- FILES bareos-ctl-fd +- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE +- WORLD_READ WORLD_EXECUTE +- DESTINATION "${scriptdir}" +- COMPONENT filedaemon +-) ++ install( ++ FILES bareos-ctl-fd ++ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE ++ WORLD_READ WORLD_EXECUTE ++ DESTINATION "${scriptdir}" ++ COMPONENT filedaemon ++ ) + +-install( +- FILES bareos bareos-config +- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE +- WORLD_READ WORLD_EXECUTE +- DESTINATION "${scriptdir}" +-) +- +-install( +- FILES bareos-config-lib.sh bareos-ctl-funcs btraceback.gdb btraceback.dbx +- btraceback.mdb +- PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ +- DESTINATION "${scriptdir}" +-) +-if(TARGET python3-fd) + install( +- FILES bareos_encode_string.py ++ FILES bareos bareos-config + PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE + WORLD_READ WORLD_EXECUTE + DESTINATION "${scriptdir}" + ) ++ ++ install( ++ FILES bareos-config-lib.sh bareos-ctl-funcs btraceback.gdb btraceback.dbx ++ btraceback.mdb ++ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ ++ DESTINATION "${scriptdir}" ++ ) ++ ++ if(TARGET python3-fd) ++ install( ++ FILES bareos_encode_string.py ++ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE ++ WORLD_READ WORLD_EXECUTE ++ DESTINATION "${scriptdir}" ++ ) ++ endif() + endif() + + if(NOT client-only) diff --git a/sysutils/bareos23-server/files/patch-core-src-dird_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-src-dird_CMakeLists.txt new file mode 100644 index 000000000000..92b3686b93db --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src-dird_CMakeLists.txt @@ -0,0 +1,20 @@ +--- core/src/dird/CMakeLists.txt 2023-12-13 17:44:47.000000000 -0500 ++++ core/src/dird/CMakeLists.txt 2024-01-10 01:43:08.391137000 -0500 +@@ -160,7 +160,7 @@ + target_sources(bareos-dir PRIVATE dird.cc) + + target_link_libraries( +- bareos-dir PRIVATE dird_objects bareossql bareosfind CLI11::CLI11 ++ bareos-dir PRIVATE ${JANSSON_LIBRARIES} dird_objects bareossql bareosfind CLI11::CLI11 + ) + + if(HAVE_WIN32) +@@ -185,7 +185,7 @@ + add_executable(bareos-dbcheck ${DBCHKSRCS}) + + target_link_libraries( +- bareos-dbcheck PRIVATE bareossql bareos bareosfind ${OPENSSL_LIBRARIES} ++ bareos-dbcheck PRIVATE ${JANSSON_LIBRARIES} bareossql bareos bareosfind ${OPENSSL_LIBRARIES} + CLI11::CLI11 + ) + diff --git a/sysutils/bareos23-server/files/patch-core-src-dird_vbackup.cc b/sysutils/bareos23-server/files/patch-core-src-dird_vbackup.cc new file mode 100644 index 000000000000..3711634ba505 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src-dird_vbackup.cc @@ -0,0 +1,11 @@ +--- core/src/dird/vbackup.cc 2023-04-07 16:02:23.780510000 -0500 ++++ core/src/dird/vbackup.cc 2023-04-07 16:10:20.351116000 -0500 +@@ -77,7 +77,7 @@ + std::vector JobList; + std::vector JobsWithPurgedFiles; + +- bool operator()(int num_fields, char** row) ++ bool operator()([[maybe_unused]] int num_fields, char** row) + { + assert(num_fields == 5); + JobList.push_back(row[col_JobId]); diff --git a/sysutils/bareos23-server/files/patch-core-src-plugins-filed_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-src-plugins-filed_CMakeLists.txt new file mode 100644 index 000000000000..ccb41fb15e8c --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src-plugins-filed_CMakeLists.txt @@ -0,0 +1,13 @@ +--- core/src/plugins/filed/CMakeLists.txt 2020-12-16 02:46:16.000000000 -0500 ++++ core/src/plugins/filed/CMakeLists.txt 2020-12-23 22:56:13.843714000 -0500 +@@ -41,7 +41,9 @@ + + include_directories(${OPENSSL_INCLUDE_DIR}) + +-add_subdirectory(python) ++if(python) ++ add_subdirectory(python) ++endif() + + add_library(bpipe-fd MODULE bpipe/bpipe-fd.cc) + set_target_properties(bpipe-fd PROPERTIES PREFIX "") diff --git a/sysutils/bareos23-server/files/patch-core-src-plugins-stored_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-src-plugins-stored_CMakeLists.txt new file mode 100644 index 000000000000..a693d11d6b6a --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src-plugins-stored_CMakeLists.txt @@ -0,0 +1,15 @@ +--- core/src/plugins/stored/CMakeLists.txt 2021-12-21 06:00:49.000000000 -0500 ++++ core/src/plugins/stored/CMakeLists.txt 2022-01-15 09:28:41.225020000 -0500 +@@ -33,6 +33,12 @@ + endif() + endif() + ++if(HAVE_FREEBSD_OS) ++ include_directories( ++ ${PROJECT_SOURCE_DIR}/src/fastlz/include ++ ) ++endif() ++ + add_subdirectory(python) + + add_library(autoxflate-sd MODULE autoxflate/autoxflate-sd.cc) diff --git a/sysutils/bareos23-server/files/patch-core-src-qt-tray-monitor_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-src-qt-tray-monitor_CMakeLists.txt new file mode 100644 index 000000000000..45be09684e1d --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src-qt-tray-monitor_CMakeLists.txt @@ -0,0 +1,32 @@ +--- core/src/qt-tray-monitor/CMakeLists.txt 2024-01-19 16:46:50.252975000 -0500 ++++ core/src/qt-tray-monitor/CMakeLists.txt 2024-01-19 16:52:05.137955000 -0500 +@@ -27,20 +27,19 @@ + set(CMAKE_AUTOUIC ON) + set(CMAKE_AUTORCC ON) + +-find_package(Qt6 COMPONENTS Core Widgets) +-if(Qt6Widgets_FOUND) +- message(STATUS "Found QT6Widgets") +-else() +- message(STATUS "QT6Widgets NOT found, checking for Qt5 ...") ++if(bat-qt6) ++ find_package(Qt6 COMPONENTS Core Widgets) ++ if(Qt6Widgets_FOUND) ++ message(STATUS "Found QT6Widgets") ++ else() ++ message(FATAL_ERROR "QT6Widgets NOT found, cannot build tray-monitor") ++ endif() ++else() + find_package(Qt5 COMPONENTS Core Widgets) + if(Qt5Widgets_FOUND) + message(STATUS "Found QT5Widgets") + else() +- message(STATUS "QT5Widgets NOT found, checking for Qt4 ...") +- find_package(Qt4) +- if(NOT Qt4_FOUND) +- message(FATAL_ERROR "Both Qt5 and Qt4 not found, cannot build tray-monitor") +- endif() ++ message(STATUS "QT5Widgets NOT found, cannot build tray-monitor") + endif() + endif() + diff --git a/sysutils/bareos23-server/files/patch-core-src-stored_CMakelists.txt b/sysutils/bareos23-server/files/patch-core-src-stored_CMakelists.txt new file mode 100644 index 000000000000..1c64699cf173 --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src-stored_CMakelists.txt @@ -0,0 +1,20 @@ +--- core/src/stored/CMakeLists.txt 2023-03-24 08:05:20.000000000 -0500 ++++ core/src/stored/CMakeLists.txt 2023-04-05 16:36:35.928423000 -0500 +@@ -168,7 +168,7 @@ + + target_link_libraries(stored_objects PRIVATE Threads::Threads) + target_link_libraries( +- bareos-sd PRIVATE stored_objects bareos bareossd bareosfind CLI11::CLI11 ++ bareos-sd PRIVATE ${JANSSON_LIBRARIES} stored_objects bareos bareossd bareosfind CLI11::CLI11 + ) + + if(HAVE_WIN32) +@@ -177,7 +177,7 @@ + endif() + if(HAVE_NDMP) + target_link_libraries(stored_objects PRIVATE bareosndmp) +- target_link_libraries(bareos-sd PRIVATE bareosndmp) ++ target_link_libraries(bareos-sd PRIVATE ${JANSSON_LIBRARIES} bareosndmp) + endif() + + add_executable(bls ${BLSSRCS}) diff --git a/sysutils/bareos23-server/files/patch-core-src-tools_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-src-tools_CMakeLists.txt new file mode 100644 index 000000000000..d1646a91b45f --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src-tools_CMakeLists.txt @@ -0,0 +1,43 @@ +--- core/src/tools/CMakeLists.txt 2023-12-13 17:44:47.000000000 -0500 ++++ core/src/tools/CMakeLists.txt 2024-01-18 23:59:23.120490000 -0500 +@@ -69,10 +69,39 @@ + endif() + + if(NOT client-only) ++ set(FDSRCS ++ ../filed/accurate.cc ++ ../filed/authenticate.cc ++ ../filed/crypto.cc ++ ../filed/evaluate_job_command.cc ++ ../filed/fd_plugins.cc ++ ../filed/fileset.cc ++ ../filed/sd_cmds.cc ++ ../filed/verify.cc ++ ../filed/accurate_htable.cc ++ ../filed/backup.cc ++ ../filed/dir_cmd.cc ++ ../filed/filed_globals.cc ++ ../filed/heartbeat.cc ++ ../filed/socket_server.cc ++ ../filed/verify_vol.cc ++ ../filed/accurate_lmdb.cc ++ ../filed/compression.cc ++ ../filed/estimate.cc ++ ../filed/filed_conf.cc ++ ../filed/restore.cc ++ ../filed/status.cc ++ ../filed/filed_utils.cc ++ ) ++ ++ include_directories(../fastlz/include) ++ add_library(fd_objects STATIC ${FDSRCS}) ++ target_link_libraries(fd_objects PRIVATE bareos bareosfastlz ${ZLIB_LIBRARIES}) ++ + set(TSTFNDSRCS testfind.cc testfind_fd.cc dummysockets.cc) + add_executable(testfind ${TSTFNDSRCS}) + target_link_libraries( +- testfind dird_objects fd_objects bareosfind CLI11::CLI11 ++ testfind dird_objects fd_objects bareosfind CLI11::CLI11 ${JANSSON_LIBRARIES} + ) + list(APPEND TOOLS_SBIN testfind) + endif() diff --git a/sysutils/bareos23-server/files/patch-core-src_CMakeLists.txt b/sysutils/bareos23-server/files/patch-core-src_CMakeLists.txt new file mode 100644 index 000000000000..014d82c162fb --- /dev/null +++ b/sysutils/bareos23-server/files/patch-core-src_CMakeLists.txt @@ -0,0 +1,51 @@ +--- core/src/CMakeLists.txt 2023-03-24 08:05:20.000000000 -0500 ++++ core/src/CMakeLists.txt 2023-04-07 16:15:16.297335000 -0500 +@@ -18,7 +18,9 @@ + # 02110-1301, USA. + message("Entering ${CMAKE_CURRENT_SOURCE_DIR}") + +-add_subdirectory(filed) ++if(client-only) ++ add_subdirectory(filed) ++endif() + + if(NOT client-only) + add_subdirectory(tools) +@@ -40,24 +42,28 @@ + elseif(NOT GTest_FOUND) + message(STATUS "Skipping unit tests as gtest was not found") + else() +- add_subdirectory(tests) ++# add_subdirectory(tests) + endif() + + if(BUILD_BENCHMARKS) + add_subdirectory(benchmarks) + endif() + +-if(ENABLE_BCONSOLE) +- add_subdirectory(console) +-endif() ++if(client-only) ++ if(ENABLE_BCONSOLE) ++ add_subdirectory(console) ++ endif() + +-if(${HAVE_LMDB}) +- add_subdirectory(lmdb) ++ if(${HAVE_LMDB}) ++ add_subdirectory(lmdb) ++ endif() ++ add_subdirectory(lib) ++ add_subdirectory(findlib) ++ add_subdirectory(fastlz) + endif() +-add_subdirectory(lib) +-add_subdirectory(findlib) ++ + add_subdirectory(plugins) +-add_subdirectory(fastlz) ++ + if(${traymonitor}) + add_subdirectory(qt-tray-monitor) + endif() diff --git a/sysutils/bareos23-server/files/pkg-deinstall.client.in b/sysutils/bareos23-server/files/pkg-deinstall.client.in new file mode 100644 index 000000000000..a6b96a17667d --- /dev/null +++ b/sysutils/bareos23-server/files/pkg-deinstall.client.in @@ -0,0 +1,30 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/usr/sbin + +# Note how to delete UID/GID +USER=%%BAREOS_USER%% +GROUP=%%BAREOS_GROUP%% +UID=%%BAREOS_UID%% +GID=%%BAREOS_UID%% +BAREOS_DIR=%%BAREOS_DIR%% + +TMPFILE=/tmp/services-$RANDOM-$$ + +case "$2" in +"DEINSTALL") + # Delete entries in /etc/services + sed -e '/# Bareos port start/,/# Bareos port end/{' \ + -e 'd' \ + -e '}' /etc/services > $TMPFILE + mv -f $TMPFILE /etc/services + + if [ -d ${BAREOS_DIR} ]; then + echo "Check if ${BAREOS_DIR} is empty and delete it to permanently remove the bareos port." + fi + + if pw groupshow "${USER}" 2>/dev/null 1>&2; then + echo "To delete Bareos group permanently, use 'pw groupdel ${GROUP}'" + fi + ;; +esac diff --git a/sysutils/bareos23-server/files/pkg-install.client.in b/sysutils/bareos23-server/files/pkg-install.client.in new file mode 100644 index 000000000000..70ca57028237 --- /dev/null +++ b/sysutils/bareos23-server/files/pkg-install.client.in @@ -0,0 +1,13 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/usr/sbin + +# Always add lines in /etc/services +grep -q "bareos-dir" /etc/services +if [ "$?" != "0" ]; then + echo "# Bareos port start +bareos-dir 9101/tcp #Bareos director daemon +bareos-fd 9102/tcp #Bareos file daemon +bareos-sd 9103/tcp #Bareos storage daemon +# Bareos port end" >> /etc/services +fi diff --git a/sysutils/bareos23-server/files/pkg-message.client.in b/sysutils/bareos23-server/files/pkg-message.client.in new file mode 100644 index 000000000000..b3e2d5825e13 --- /dev/null +++ b/sysutils/bareos23-server/files/pkg-message.client.in @@ -0,0 +1,17 @@ +[ +{ type: install + message: < diff --git a/www/bareos23-webui/Makefile b/www/bareos23-webui/Makefile new file mode 100644 index 000000000000..e96be89536e1 --- /dev/null +++ b/www/bareos23-webui/Makefile @@ -0,0 +1,66 @@ +PORTNAME= bareos +DISTVERSIONPREFIX= Release/ +DISTVERSION= 23.1.1 +CATEGORIES?= www sysutils +PKGNAMESUFFIX= 23-webui + +MAINTAINER= acm@FreeBSD.org +COMMENT= PHP-Frontend to manage Bareos over the web +WWW= https://www.bareos.org/ + +LICENSE= AGPLv3+ +LICENSE_FILE= ${WRKSRC}/webui/LICENSE + +USE_GITHUB= yes + +USES= cpe php:build cmake gettext +USE_PHP= gettext ctype session iconv +NO_BUILD= yes +NO_ARCH= yes + +CMAKE_SOURCE_PATH= ${WRKSRC}/webui +CMAKE_INSTALL_PREFIX= ${STAGEDIR} +CMAKE_ARGS+= -DSHARE_INSTALL_PREFIX:PATH=${PREFIX}/www \ + -DCMAKE_INSTALL_FULL_SYSCONFDIR:PATH=${PREFIX}/etc \ + -Dsysconfdir=${PREFIX}/etc \ + -Dwebuiconfdir=${PREFIX}/${ETCDIRWEBUI} \ + -DVERSION_STRING=${DISTVERSION} \ + -DBAREOS_FULL_VERSION:STRING=${DISTVERSION} + +SUB_FILES= pkg-message +SUB_LIST+= ETCDIRWEBUI=${PREFIX}/${ETCDIRWEBUI} +PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} ETCDIRWEBUI=${ETCDIRWEBUI} + +OPTIONS_DEFINE= PGSQL +OPTIONS_DEFAULT= PGSQL + +PGSQL_USE= PHP=pdo_pgsql + +ETCDIRWEBUI= etc/${PORTNAME}${PKGNAMESUFFIX} + +post-extract: + ${FIND} ${WRKSRC}/webui -name .gitignore -delete + +pre-install: + ${FIND} ${WRKSRC}/webui -name *.in -delete + +do-install: + @${ECHO} "Installing in ${WWWDIR}" + @${MKDIR} ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI} + @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console + @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile + @${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} + cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config module public vendor" \ + ${STAGEDIR}${WWWDIR} + ${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR} + ${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR} + ${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/directors.ini + ${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/configuration.ini + ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample + ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample + ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-limited.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-limited.conf.sample + ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-readonly.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-readonly.conf.sample + ${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/apache-bareos-webui.conf + ${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/nginx-bareos-webui.conf + +.include diff --git a/www/bareos23-webui/distinfo b/www/bareos23-webui/distinfo new file mode 100644 index 000000000000..8ae86b6dfec4 --- /dev/null +++ b/www/bareos23-webui/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1734847145 +SHA256 (bareos-bareos-Release-23.1.1_GH0.tar.gz) = 468fbe12a509b65ca3de5041a901eb0cf1da5c9a4f1729ca57ed39f45fd428e7 +SIZE (bareos-bareos-Release-23.1.1_GH0.tar.gz) = 14010988 diff --git a/www/bareos23-webui/files/pkg-message.in b/www/bareos23-webui/files/pkg-message.in new file mode 100644 index 000000000000..ec5adb592717 --- /dev/null +++ b/www/bareos23-webui/files/pkg-message.in @@ -0,0 +1,19 @@ +[ +{ type: install + message: <