diff --git a/sysutils/Makefile b/sysutils/Makefile index 469ded0ad633..34461c48677d 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,1667 +1,1670 @@ 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 += amazon-ssm-plugin 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 += anvil SUBDIR += apache-mesos SUBDIR += apachetop SUBDIR += apcctrl SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += appjail SUBDIR += apt-mirror-devel SUBDIR += aptly SUBDIR += arc_summary SUBDIR += arcconf SUBDIR += archey4 SUBDIR += archivemount 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 += 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-client-static 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 += bareos21-client + SUBDIR += bareos21-server + SUBDIR += bareos21-traymonitor SUBDIR += barrier SUBDIR += bashtop SUBDIR += bastille SUBDIR += batmon SUBDIR += batterycat SUBDIR += battmond SUBDIR += battray SUBDIR += bchunk SUBDIR += beadm SUBDIR += beadm-devel SUBDIR += beats7 SUBDIR += beats8 SUBDIR += bfs SUBDIR += bhyve+ SUBDIR += bhyve-firmware SUBDIR += bhyve-rc SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += bkt SUBDIR += blisp 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 += budgie-control-center 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-masterfiles318 SUBDIR += cfengine-masterfiles319 SUBDIR += cfengine-masterfiles320 SUBDIR += cfengine-masterfiles321 SUBDIR += cfengine318 SUBDIR += cfengine319 SUBDIR += cfengine320 SUBDIR += cfengine321 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 += ddh 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 += 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 += 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 += faketty 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 += 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 += 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 += hammer2 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 += httm 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 += 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 += 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 += 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 += libdisplay-info 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 += 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 += lua-puremagic 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 += nut_exporter 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 += 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-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 += 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 += poweralertd SUBDIR += powerdxx SUBDIR += powerman SUBDIR += powermon SUBDIR += pp SUBDIR += pprotectd SUBDIR += prips SUBDIR += procenv SUBDIR += process-viewer 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-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-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-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 += qflipper SUBDIR += qjail SUBDIR += qjail54 SUBDIR += qlogtools 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 += 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 += rtx 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 += runiq SUBDIR += runit SUBDIR += runit-faster SUBDIR += runj SUBDIR += runwhen SUBDIR += rush SUBDIR += rust-coreutils 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 += 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 += sndy 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 += szyszka 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 += 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 += 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 += torque 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 += 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 += xxd 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/bareos21-client/Makefile b/sysutils/bareos21-client/Makefile new file mode 100644 index 000000000000..0b96d1f4709c --- /dev/null +++ b/sysutils/bareos21-client/Makefile @@ -0,0 +1,22 @@ +PORTNAME= bareos +PKGNAMESUFFIX= 21-client + +COMMENT= Backup archiving recovery open sourced (client) + +CONFLICTS= bareos20-client bareos19-client bareos18-client + +WITH_CLIENT_ONLY=yes +USE_RC_SUBR= bareos-fd + +PLIST= ${PKGDIR}/pkg-plist.client +MASTERDIR= ${.CURDIR}/../../sysutils/bareos21-server + +OPTIONS_GROUP= PLUGINS +OPTIONS_GROUP_PLUGINS= CEPHFS GFAPI RADOS +OPTIONS_DEFINE= NLS PYTHON SCSICRYPTO + +CEPHFS_DESC= CEPHFS fd plugin support +GFAPI_DESC= GFAPI fd plugin support +RADOS_DESC= RADOS fd plugin support + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/bareos21-server/Makefile b/sysutils/bareos21-server/Makefile new file mode 100644 index 000000000000..29feacab8afa --- /dev/null +++ b/sysutils/bareos21-server/Makefile @@ -0,0 +1,241 @@ +PORTNAME= bareos +DISTVERSIONPREFIX= Release/ +DISTVERSION= 21.1.7 +PORTREVISION?= 0 +CATEGORIES?= sysutils +PKGNAMEPREFIX?= # +PKGNAMESUFFIX?= 21-server + +MAINTAINER= acm@FreeBSD.org +COMMENT?= Backup archiving recovery open sourced (server) +WWW= https://www.bareos.org/ + +LICENSE= AGPLv3 LGPL3 +LICENSE_COMB= multi + +CONFLICTS?= bareos-server bareos20-server bareos19-server bareos18-server + +LIB_DEPENDS+= liblzo2.so:archivers/lzo2 \ + libjansson.so:devel/jansson + +USES+= cmake compiler:c++11-lang cpe localbase 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 +SHEBANG_FILES= ${WRKSRC}/core/src/cats/make_catalog_backup.pl.in + +CFLAGS+= -Wno-error +CPPFLAGS+= -I${LOCALBASE}/readline -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +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} == "21-server" +OPTIONS_GROUP= BACKENDS +OPTIONS_GROUP_BACKENDS= CEPHFS GFAPI RADOS +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 +CEPHFS_DESC= CEPHFS backend support +GFAPI_DESC= GFAPI backend support +LMDB_DESC= Enable faster accurate backup support +RADOS_DESC= RADOS backend 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} == "21-client" || ${PKGNAMESUFFIX} == "21-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/bareos21-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 +CEPHFS_CMAKE_ON= -Dcephfs=ON +CEPHFS_LIB_DEPENDS= libcephfs.so:net/ceph14 +GFAPI_CMAKE_ON= -Dgfapi=ON +GFAPI_LIB_DEPENDS= libglusterfs.so:net/glusterfs +RADOS_CMAKE_ON= -Drados=ON -Dcephfs=ON +RADOS_LIB_DEPENDS= librados.so:net/ceph14 + +# Client only or full server version +.if defined(WITH_CLIENT_ONLY) +CONFFILES= fd +CMAKE_ARGS+= -Dclient-only=ON + +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 + +PGSQL_CMAKE_ON= -Dpostgresql=ON +PGSQL_USES= pgsql + +MTX_RUN_DEPENDS= ${LOCALBASE}/sbin/mtx:misc/mtx + +.include + +.if ${PORT_OPTIONS:MMYSQL} +DBTYPE= mysql +SUB_LIST+= REQ_MYSQL=mysql REQ_PGSQL="" +.elif ${PORT_OPTIONS:MSQLITE3} +DBTYPE= sqlite3 +.else +DBTYPE= postgresql +SUB_LIST+= REQ_MYSQL="" REQ_PGSQL=postgresql +.endif +PLIST_SUB+= DBTYPE=${DBTYPE} + +.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} '120,123d' ${WRKSRC}/CMakeLists.txt +.if ${PKGNAMESUFFIX} == "21-server" + @${REINPLACE_CMD} '51d' ${WRKSRC}/core/src/plugins/CMakeLists.txt +.endif +.if ${PKGNAMESUFFIX} == "21-client" + @${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt +.endif + +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' + +.if !target(post-install) +post-install: +.if defined(WITH_CLIENT_ONLY) + ${MKDIR} ${STAGEDIR}${ETCDIR}/bconsole.d/ + ${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf ${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 # -client and -server are defined +.include diff --git a/sysutils/bareos21-server/Makefile.common b/sysutils/bareos21-server/Makefile.common new file mode 100644 index 000000000000..efd76eea1dfe --- /dev/null +++ b/sysutils/bareos21-server/Makefile.common @@ -0,0 +1,38 @@ +post-patch: + @${REINPLACE_CMD} '76,79d' ${WRKSRC}/CMakeLists.txt +.if ${PKGNAMESUFFIX} == "-traymonitor" + @${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} == "-traymonitor" +. 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} == "-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} == "-traymonitor" +# 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/bareos21-server/distinfo b/sysutils/bareos21-server/distinfo new file mode 100644 index 000000000000..f806765b8d23 --- /dev/null +++ b/sysutils/bareos21-server/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680711853 +SHA256 (bareos-bareos-Release-21.1.7_GH0.tar.gz) = b87a8bba775adb8bbe15af0962b588cecc2179726dcf1e9e14cfeb89eccb2de6 +SIZE (bareos-bareos-Release-21.1.7_GH0.tar.gz) = 11666508 diff --git a/sysutils/bareos21-server/files/bareos-barcodes b/sysutils/bareos21-server/files/bareos-barcodes new file mode 100644 index 000000000000..f42cb7f7aeea --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/bareos-dir.in b/sysutils/bareos21-server/files/bareos-dir.in new file mode 100644 index 000000000000..22272cf86231 --- /dev/null +++ b/sysutils/bareos21-server/files/bareos-dir.in @@ -0,0 +1,55 @@ +#!/bin/sh + +# PROVIDE: bareos_dir +# REQUIRE: DAEMON %%REQ_MYSQL%% %%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/bareos21-server/files/bareos-fd.in b/sysutils/bareos21-server/files/bareos-fd.in new file mode 100644 index 000000000000..8d57c3c858bc --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/bareos-sd.in b/sysutils/bareos21-server/files/bareos-sd.in new file mode 100644 index 000000000000..529cf55140c0 --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/chio-bareos b/sysutils/bareos21-server/files/chio-bareos new file mode 100644 index 000000000000..f006ef78e6ce --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/patch-core-CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-CMakeLists.txt new file mode 100644 index 000000000000..b7e291bf0d60 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-CMakeLists.txt @@ -0,0 +1,41 @@ +--- core/CMakeLists.txt 2022-11-09 08:14:10.000000000 -0500 ++++ core/CMakeLists.txt 2022-11-18 00:11:43.670601000 -0500 +@@ -283,7 +283,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 + ) +@@ -350,7 +352,9 @@ + add_definitions("-D_FILE_OFFSET_BITS=64") + endif() + +-include(FindIntl) ++if(nls) ++ include(FindIntl) ++endif() + + if(developer) + add_definitions("-DDEVELOPER=1") +@@ -368,7 +372,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 +@@ -782,7 +786,6 @@ + + add_subdirectory(scripts) + add_subdirectory(manpages) +-add_subdirectory(platforms) + add_subdirectory(src) + + include(BareosLocalBuildDefinitions OPTIONAL diff --git a/sysutils/bareos21-server/files/patch-core-cmake_BareosCheckIncludes.cmake b/sysutils/bareos21-server/files/patch-core-cmake_BareosCheckIncludes.cmake new file mode 100644 index 000000000000..e439a0254191 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-cmake_BareosCheckIncludes.cmake @@ -0,0 +1,39 @@ +--- core/cmake/BareosCheckIncludes.cmake 2020-12-16 02:46:16.000000000 -0500 ++++ core/cmake/BareosCheckIncludes.cmake 2020-12-23 22:25:00.323963000 -0500 +@@ -60,19 +60,25 @@ + check_include_files(sys/proplist.h HAVE_SYS_PROPLIST_H) + check_include_files(sys/xattr.h HAVE_SYS_XATTR_H) + +-include(CheckSymbolExists) +-include(CMakePushCheckState) +-cmake_push_check_state() +-set(CMAKE_REQUIRED_LIBRARIES cephfs) +-check_symbol_exists(ceph_statx "sys/stat.h;cephfs/libcephfs.h" HAVE_CEPH_STATX) +-cmake_pop_check_state() ++if(cephfs) ++ include(CheckSymbolExists) ++ include(CMakePushCheckState) ++ cmake_push_check_state() ++ set(CMAKE_REQUIRED_LIBRARIES cephfs) ++ check_include_files("sys/stat.h;cephfs/ceph_ll_client.h" HAVE_CEPH_STATX) ++ cmake_pop_check_state() ++endif() + +-check_include_files(rados/librados.h HAVE_RADOS_LIBRADOS_H) +-check_include_files( +- radosstriper/libradosstriper.h HAVE_RADOSSTRIPER_LIBRADOSSTRIPER_H +-) ++if(rados) ++ check_include_files(rados/librados.h HAVE_RADOS_LIBRADOS_H) ++ check_include_files( ++ radosstriper/libradosstriper.h HAVE_RADOSSTRIPER_LIBRADOSSTRIPER_H ++ ) ++endif() + +-check_include_files(glusterfs/api/glfs.h HAVE_GLUSTERFS_API_GLFS_H) ++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/bareos21-server/files/patch-core-cmake_BareosFindAllLibraries.cmake b/sysutils/bareos21-server/files/patch-core-cmake_BareosFindAllLibraries.cmake new file mode 100644 index 000000000000..e3ff7074a02f --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-cmake_BareosFindAllLibraries.cmake @@ -0,0 +1,25 @@ +--- core/cmake/BareosFindAllLibraries.cmake 2022-08-05 04:40:11.000000000 -0500 ++++ core/cmake/BareosFindAllLibraries.cmake 2022-10-31 16:28:14.422391000 -0500 +@@ -175,12 +175,18 @@ + ) + endif() + +-bareosfindlibraryandheaders("rados" "rados/librados.h" "") +-bareosfindlibraryandheaders("radosstriper" "radosstriper/libradosstriper.h" "") +-bareosfindlibraryandheaders("cephfs" "cephfs/libcephfs.h" "") ++if(rados) ++ bareosfindlibraryandheaders("rados" "rados/librados.h" "") ++ bareosfindlibraryandheaders("radosstriper" "radosstriper/libradosstriper.h" "") ++endif() ++if(cephfs) ++ bareosfindlibraryandheaders("cephfs" "cephfs/libcephfs.h" "") ++endif() + bareosfindlibraryandheaders("pthread" "pthread.h" "") + bareosfindlibraryandheaders("cap" "sys/capability.h" "") +-bareosfindlibraryandheaders("gfapi" "glusterfs/api/glfs.h" "") ++if(gfapi) ++ bareosfindlibraryandheaders("gfapi" "glusterfs/api/glfs.h" "") ++endif() + + bareosfindlibraryandheaders("pam" "security/pam_appl.h" "") + diff --git a/sysutils/bareos21-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake b/sysutils/bareos21-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake new file mode 100644 index 000000000000..63a6f9eec824 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake @@ -0,0 +1,112 @@ +--- core/cmake/BareosInstallConfigFiles.cmake 2020-12-16 02:46:16.000000000 -0500 ++++ core/cmake/BareosInstallConfigFiles.cmake 2020-12-23 22:41:21.832081000 -0500 +@@ -55,20 +55,12 @@ + get_filename_component(resname ${resdir} NAME) + foreach(configfile ${configfiles}) + get_filename_component(fname ${configfile} NAME) +- if(EXISTS ${DESTCONFDIR}/${resname}/${fname}) +- message(STATUS "${DESTCONFDIR}/${resname}/${fname} exists") +- message(STATUS "rename ${configfile} to ${configfile}.new") +- file(RENAME "${configfile}" "${configfile}.new") +- +- message(STATUS "copy ${configfile}.new to ${DESTCONFDIR}/${resname}") +- file(COPY "${configfile}.new" DESTINATION "${DESTCONFDIR}/${resname}") +- file(RENAME "${configfile}.new" "${configfile}") +- else() +- message( +- STATUS "${resname}/${fname} as ${resname}/${fname} (new installation)" +- ) +- file(COPY "${configfile}" DESTINATION "${DESTCONFDIR}/${resname}") +- endif() ++ message(STATUS "${resname}/${fname} as ${resname}/${fname}.sample (new installation)") ++ file(RENAME "${configfile}" "${configfile}.sample") ++ file( ++ COPY "${configfile}.sample" ++ DESTINATION "${DESTCONFDIR}/${resname}" ++ ) + endforeach() + endforeach() + +@@ -104,23 +96,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}") ++ file(RENAME "${BackendConfigSrcDir}/${configfile}" "${BackendConfigSrcDir}/${configfile}.sample") ++ file( ++ COPY "${BackendConfigSrcDir}/${configfile}.sample" ++ DESTINATION "${DESTCONFDIR}/${dir}" ++ ) + endforeach() + + file( +@@ -130,7 +111,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}") +@@ -138,9 +120,11 @@ + 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() + + endforeach() +@@ -167,20 +151,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/bareos21-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake b/sysutils/bareos21-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake new file mode 100644 index 000000000000..935c5a5b3177 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake @@ -0,0 +1,15 @@ +--- core/cmake/BareosSetVariableDefaults.cmake 2020-01-31 16:21:15.864122000 -0500 ++++ core/cmake/BareosSetVariableDefaults.cmake 2020-01-31 16:23:58.960984000 -0500 +@@ -641,7 +641,11 @@ + set(PACKAGE_URL "\"\"") + set(PACKAGE_VERSION "\"${BAREOS_NUMERIC_VERSION}\"") + +-set(ENABLE_NLS 1) ++if(nls) ++ SET(ENABLE_NLS 1) ++else() ++ SET(ENABLE_NLS 0) ++endif() + + if(HAVE_WIN32) + diff --git a/sysutils/bareos21-server/files/patch-core-manpages_CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-manpages_CMakeLists.txt new file mode 100644 index 000000000000..5774b72f2740 --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/patch-core-scripts_CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-scripts_CMakeLists.txt new file mode 100644 index 000000000000..9d10e0a79552 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-scripts_CMakeLists.txt @@ -0,0 +1,64 @@ +--- core/scripts/CMakeLists.txt 2021-12-21 06:00:49.000000000 -0500 ++++ core/scripts/CMakeLists.txt 2021-12-22 00:23:34.270541000 -0500 +@@ -18,34 +18,36 @@ + # 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 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}" +-) ++ 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}" ++ ) ++endif() + + if(NOT client-only) + install( diff --git a/sysutils/bareos21-server/files/patch-core-src-dird_CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-src-dird_CMakeLists.txt new file mode 100644 index 000000000000..688519f35afe --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-src-dird_CMakeLists.txt @@ -0,0 +1,20 @@ +--- core/src/dird/CMakeLists.txt 2022-01-16 10:44:41.285876000 -0500 ++++ core/src/dird/CMakeLists.txt 2022-01-16 10:46:30.370557000 -0500 +@@ -158,7 +158,7 @@ + add_executable(bareos-dir) + target_sources(bareos-dir PRIVATE dird.cc) + +-target_link_libraries(bareos-dir PRIVATE dird_objects bareossql bareosfind) ++target_link_libraries(bareos-dir PRIVATE dird_objects bareossql bareosfind ${JANSSON_LIBRARIES}) + + if(HAVE_WIN32) + target_sources( +@@ -184,7 +184,7 @@ + add_executable(bareos-dbcheck ${DBCHKSRCS}) + + target_link_libraries( +- bareos-dbcheck PRIVATE bareossql bareos bareosfind ${OPENSSL_LIBRARIES} ++ bareos-dbcheck PRIVATE bareossql bareos bareosfind ${OPENSSL_LIBRARIES} ${JANSSON_LIBRARIES} + ) + + # is not built by default diff --git a/sysutils/bareos21-server/files/patch-core-src-dird_catreq.cc b/sysutils/bareos21-server/files/patch-core-src-dird_catreq.cc new file mode 100644 index 000000000000..e16e259a9ffa --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-src-dird_catreq.cc @@ -0,0 +1,29 @@ +--- core/src/dird/catreq.cc 2022-01-21 09:00:16.883799000 -0500 ++++ core/src/dird/catreq.cc 2022-01-21 09:02:08.619060000 -0500 +@@ -656,7 +656,7 @@ + bool retval = false; + int32_t pktsiz; + size_t nbytes; +- ssize_t size = 0; ++// ssize_t size = 0; + int32_t message_length; /* message length */ + int spool_fd = -1; + POOLMEM* msg = GetPoolMemory(PM_MESSAGE); +@@ -680,7 +680,7 @@ + + while ((nbytes = read(spool_fd, (char*)&pktsiz, sizeof(int32_t))) + == sizeof(int32_t)) { +- size += sizeof(int32_t); ++ //size += sizeof(int32_t); + message_length = ntohl(pktsiz); + + if (message_length > 0) { +@@ -697,7 +697,7 @@ + goto bail_out; + } + msg[nbytes] = '\0'; +- size += nbytes; ++ //size += nbytes; + } + + if (!jcr->IsJobCanceled()) { diff --git a/sysutils/bareos21-server/files/patch-core-src-include_baconfig.h b/sysutils/bareos21-server/files/patch-core-src-include_baconfig.h new file mode 100644 index 000000000000..21afd978730d --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-src-include_baconfig.h @@ -0,0 +1,25 @@ +--- core/src/include/baconfig.h 2020-12-16 02:46:16.000000000 -0500 ++++ core/src/include/baconfig.h 2020-12-23 22:47:40.992698000 -0500 +@@ -103,11 +103,11 @@ + # define N_(s) (s) + # endif /* N_ */ + #else /* !ENABLE_NLS */ ++# include + # undef _ + # undef N_ + # undef textdomain + # undef bindtextdomain +-# undef setlocale + + # ifndef _ + # define _(s) (s) +@@ -120,9 +120,6 @@ + # endif + # ifndef bindtextdomain + # define bindtextdomain(p, d) +-# endif +-# ifndef setlocale +-# define setlocale(p, d) + # endif + #endif /* ENABLE_NLS */ + diff --git a/sysutils/bareos21-server/files/patch-core-src-plugins-filed_CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-src-plugins-filed_CMakeLists.txt new file mode 100644 index 000000000000..ccb41fb15e8c --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/patch-core-src-plugins-stored_CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-src-plugins-stored_CMakeLists.txt new file mode 100644 index 000000000000..a693d11d6b6a --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/patch-core-src-stored_CMakelists.txt b/sysutils/bareos21-server/files/patch-core-src-stored_CMakelists.txt new file mode 100644 index 000000000000..64ee102c21f5 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-src-stored_CMakelists.txt @@ -0,0 +1,20 @@ +--- core/src/stored/CMakeLists.txt 2021-12-21 06:00:49.000000000 -0500 ++++ core/src/stored/CMakeLists.txt 2022-03-04 20:56:52.809609000 -0500 +@@ -219,7 +219,7 @@ + add_executable(bareos-sd stored.cc) + + target_link_libraries( +- bareos-sd PRIVATE stored_objects bareos bareossd bareosfind Threads::Threads ++ bareos-sd PRIVATE stored_objects bareos bareossd bareosfind Threads::Threads ${JANSSON_LIBRARIES} + ) + + if(HAVE_WIN32) +@@ -228,7 +228,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 bareosndmp ${JANSSON_LIBRARIES}) + endif() + + add_executable(bls ${BLSSRCS}) diff --git a/sysutils/bareos21-server/files/patch-core-src-tests_CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-src-tests_CMakeLists.txt new file mode 100644 index 000000000000..c61a3775fcb3 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-src-tests_CMakeLists.txt @@ -0,0 +1,63 @@ +--- core/src/tests/CMakeLists.txt 2023-04-05 11:45:57.490983000 -0500 ++++ core/src/tests/CMakeLists.txt 2023-04-05 11:53:08.135702000 -0500 +@@ -131,7 +131,7 @@ + if(NOT client-only) + bareos_add_test( + run_on_incoming_connect_interval +- LINK_LIBRARIES dird_objects bareos bareosfind bareossql ++ LINK_LIBRARIES ${JANSSON_LIBRARIES} dird_objects bareos bareosfind bareossql + $<$:${PAM_LIBRARIES}> GTest::gtest_main + ) + endif() # NOT client-only +@@ -139,14 +139,14 @@ + if(NOT client-only) + bareos_add_test( + scheduler +- LINK_LIBRARIES dird_objects bareos bareosfind bareossql ++ LINK_LIBRARIES ${JANSSON_LIBRARIES} dird_objects bareos bareosfind bareossql + $<$:${PAM_LIBRARIES}> GTest::gtest_main + ) + endif() # NOT client-only + + if(NOT client-only) + bareos_add_test( +- scheduler_job_item_queue LINK_LIBRARIES dird_objects bareos bareosfind ++ scheduler_job_item_queue LINK_LIBRARIES ${JANSSON_LIBRARIES} dird_objects bareos bareosfind + bareossql GTest::gtest_main + ) + endif() # NOT client-only +@@ -180,7 +180,7 @@ + + if(NOT client-only) + bareos_add_test( +- test_sd_plugins LINK_LIBRARIES bareos bareossd GTest::gtest_main ++ test_sd_plugins LINK_LIBRARIES ${JANSSON_LIBRARIES} bareos bareossd GTest::gtest_main + ) + endif() # NOT client-only + +@@ -195,14 +195,14 @@ + ) + + if(NOT client-only) +- bareos_add_test(multiplied_device_test LINK_LIBRARIES ${LINK_LIBRARIES}) ++ bareos_add_test(multiplied_device_test LINK_LIBRARIES ${LINK_LIBRARIES} ${JANSSON_LIBRARIES}) + endif() + + if(NOT client-only) + bareos_add_test( + ndmp_address_translate_test + ADDITIONAL_SOURCES ../dird/ndmp_slot2elemaddr.cc +- LINK_LIBRARIES ${LINK_LIBRARIES} ++ LINK_LIBRARIES ${LINK_LIBRARIES} ${JANSSON_LIBRARIES} + ) + endif() # NOT client-only + +@@ -230,7 +230,7 @@ + if(NOT client-only) + bareos_add_test( + show_cmd_available_resources_equals_config_resources +- LINK_LIBRARIES dird_objects bareos bareosfind bareossql GTest::gtest_main ++ LINK_LIBRARIES ${JANSSON_LIBRARIES} dird_objects bareos bareosfind bareossql GTest::gtest_main + ) + endif() # NOT client-only + diff --git a/sysutils/bareos21-server/files/patch-core-src_CMakeLists.txt b/sysutils/bareos21-server/files/patch-core-src_CMakeLists.txt new file mode 100644 index 000000000000..7174a3f71796 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core-src_CMakeLists.txt @@ -0,0 +1,51 @@ +--- core/src/CMakeLists.txt 2023-03-24 04:54:59.000000000 -0500 ++++ core/src/CMakeLists.txt 2023-04-05 13:08:47.420859000 -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/bareos21-server/files/patch-core_cmake_bareos-symlink-default-db-backend.cmake b/sysutils/bareos21-server/files/patch-core_cmake_bareos-symlink-default-db-backend.cmake new file mode 100644 index 000000000000..bf079968d9d4 --- /dev/null +++ b/sysutils/bareos21-server/files/patch-core_cmake_bareos-symlink-default-db-backend.cmake @@ -0,0 +1,36 @@ +--- core/cmake/bareos-symlink-default-db-backend.cmake.orig 2020-12-11 13:44:43 UTC ++++ core/cmake/bareos-symlink-default-db-backend.cmake +@@ -16,13 +16,31 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + # 02110-1301, USA. ++ ++# The ${libdir} and ${backenddir} are absolute, so figure out ++# a relative path (${backenddir} lives under ${libdir}) instead. ++# Make the link relative, placing the libbareoscats.so in ${libdir}. ++# Within this script, VERSION is set to BAREOS_NUMERIC_VERSION (see ++# core/src/cats/CMakeLists.txt). + message( + STATUS + "${CMAKE_COMMAND} -E create_symlink ${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX} ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX}" + ) ++file( ++ RELATIVE_PATH ++ _rel ++ ${libdir} ++ ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX} ++) ++message( ++ STATUS ++ ".. actually ${_rel} in $ENV{DESTDIR} v ${VERSION}" ++) ++ + execute_process( + COMMAND + ${CMAKE_COMMAND} -E create_symlink +- ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX} +- ${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX}.${BAREOS_NUMERIC_VERSION} ++ ${_rel} ++ libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX}.${VERSION} ++ WORKING_DIRECTORY $ENV{DESTDIR}${libdir} COMMAND_ECHO STDOUT + ) diff --git a/sysutils/bareos21-server/files/pkg-deinstall.client.in b/sysutils/bareos21-server/files/pkg-deinstall.client.in new file mode 100644 index 000000000000..3be8c2e4874c --- /dev/null +++ b/sysutils/bareos21-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%% +BACULA_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/bareos21-server/files/pkg-install.client.in b/sysutils/bareos21-server/files/pkg-install.client.in new file mode 100644 index 000000000000..70ca57028237 --- /dev/null +++ b/sysutils/bareos21-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/bareos21-server/files/pkg-message.client.in b/sysutils/bareos21-server/files/pkg-message.client.in new file mode 100644 index 000000000000..b3e2d5825e13 --- /dev/null +++ b/sysutils/bareos21-server/files/pkg-message.client.in @@ -0,0 +1,17 @@ +[ +{ type: install + message: <