diff --git a/sysutils/Makefile b/sysutils/Makefile index 3fe421565135..17dea5d3954a 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,1550 +1,1552 @@ # $FreeBSD$ # COMMENT = System utilities SUBDIR += 3dm SUBDIR += 44bsd-more SUBDIR += 915resolution SUBDIR += DTraceToolkit SUBDIR += LPRng SUBDIR += LPRngTool SUBDIR += UEFITool SUBDIR += abck SUBDIR += abduco SUBDIR += abgx360 SUBDIR += abgx360gui SUBDIR += accountsservice SUBDIR += acerhdf-kmod 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 += am-utils SUBDIR += amazon-ssm-agent SUBDIR += amdmsrtweaker SUBDIR += amrstat SUBDIR += amtc SUBDIR += anacron SUBDIR += and SUBDIR += android-file-transfer SUBDIR += android-file-transfer-qt5 SUBDIR += ansible SUBDIR += ansible1 SUBDIR += ansible23 SUBDIR += ansible24 SUBDIR += ansible25 SUBDIR += ansible26 SUBDIR += anvil SUBDIR += apachetop SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += aptly SUBDIR += arcconf SUBDIR += archivemount SUBDIR += ascpu SUBDIR += asfsm SUBDIR += asmctl SUBDIR += asmem SUBDIR += asmon SUBDIR += asusoled SUBDIR += atf-master SUBDIR += atf-rk3399 SUBDIR += atf-sun50i_a64 SUBDIR += atitvout SUBDIR += atop SUBDIR += auto-admin SUBDIR += autojump SUBDIR += automount SUBDIR += automounter SUBDIR += autopsy SUBDIR += avfs SUBDIR += azure-agent SUBDIR += b2sum SUBDIR += b43-fwcutter SUBDIR += backupchecker SUBDIR += backuppc SUBDIR += backuppc-devel SUBDIR += backuppc4 SUBDIR += backupuser SUBDIR += bacula9-client SUBDIR += bacula9-client-static SUBDIR += bacula9-docs SUBDIR += bacula9-server SUBDIR += baloo-widgets SUBDIR += bamf SUBDIR += bareos-client SUBDIR += bareos-client-static SUBDIR += bareos-docs SUBDIR += bareos-server SUBDIR += bareos16-client SUBDIR += bareos16-client-static SUBDIR += bareos16-server + SUBDIR += bareos17-client + SUBDIR += bareos17-server SUBDIR += bastille SUBDIR += batmon SUBDIR += battmond SUBDIR += battray SUBDIR += bbcp SUBDIR += bchunk SUBDIR += beadm SUBDIR += beadm-devel SUBDIR += beats SUBDIR += bfs SUBDIR += bhyve-firmware SUBDIR += bhyve-rc SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += boxbackup-devel SUBDIR += brasero SUBDIR += bsd-splash-changer SUBDIR += bsdconfig SUBDIR += bsdcrashtar SUBDIR += bsdhwmon SUBDIR += bsdinfo SUBDIR += bsdisks SUBDIR += bsdploy SUBDIR += bsdstats SUBDIR += bstack SUBDIR += btsixad SUBDIR += bulk_extractor SUBDIR += burp SUBDIR += burp-devel SUBDIR += busybox SUBDIR += bvm SUBDIR += byobu SUBDIR += catfish SUBDIR += cbsd SUBDIR += ccd2iso SUBDIR += cciss_vol_status SUBDIR += ccze SUBDIR += cdargs SUBDIR += cdbkup SUBDIR += cdeploy SUBDIR += cdf SUBDIR += cdircmp SUBDIR += cdls SUBDIR += cdrdao SUBDIR += cdrkit SUBDIR += cdroot SUBDIR += cdrtools SUBDIR += cdrtools-devel SUBDIR += cfengine SUBDIR += cfengine-devel SUBDIR += cfengine-masterfiles SUBDIR += cfengine-masterfiles-devel SUBDIR += cfengine-masterfiles310 SUBDIR += cfengine-masterfiles311 SUBDIR += cfengine-masterfiles312 SUBDIR += cfengine-masterfiles313 SUBDIR += cfengine-masterfiles36 SUBDIR += cfengine-masterfiles37 SUBDIR += cfengine-masterfiles38 SUBDIR += cfengine-masterfiles39 SUBDIR += cfengine310 SUBDIR += cfengine311 SUBDIR += cfengine312 SUBDIR += cfengine313 SUBDIR += cfengine32 SUBDIR += cfengine33 SUBDIR += cfengine34 SUBDIR += cfengine35 SUBDIR += cfengine36 SUBDIR += cfengine37 SUBDIR += cfengine38 SUBDIR += cfengine39 SUBDIR += chgrep SUBDIR += chyves SUBDIR += cinnamon-control-center SUBDIR += cinnamon-settings-daemon SUBDIR += circonus-agent SUBDIR += ciso SUBDIR += ciso-maker SUBDIR += ck4up SUBDIR += clean SUBDIR += clockspeed SUBDIR += clone SUBDIR += clonehdd SUBDIR += cloop-utils SUBDIR += cloudabi-utils SUBDIR += clsync SUBDIR += cluster-glue SUBDIR += cmdwatch SUBDIR += cmocka SUBDIR += cmockery2 SUBDIR += cmogstored SUBDIR += cmospwd SUBDIR += colorize SUBDIR += condor SUBDIR += confctl SUBDIR += confman SUBDIR += conky SUBDIR += conky-awesome SUBDIR += conman SUBDIR += consolehm SUBDIR += consolekit2 SUBDIR += consul SUBDIR += consul-alerts SUBDIR += consul-replicate SUBDIR += consul_exporter SUBDIR += container-diff SUBDIR += contractor SUBDIR += copytape SUBDIR += coreos-ct SUBDIR += coreutils SUBDIR += cotty SUBDIR += cpdup SUBDIR += cpu SUBDIR += cpu-x SUBDIR += cpuburn SUBDIR += cpuid SUBDIR += cpulimit SUBDIR += cpupdate SUBDIR += cramfs SUBDIR += crashme SUBDIR += cronic SUBDIR += cronolog SUBDIR += cronolog-devel SUBDIR += ctop SUBDIR += currtime SUBDIR += cw SUBDIR += daa2iso SUBDIR += dae SUBDIR += daemonize SUBDIR += daemontools SUBDIR += daemontools-encore SUBDIR += dar SUBDIR += dateutils SUBDIR += dc3dd SUBDIR += dcfldd SUBDIR += dd_rescue SUBDIR += ddpt SUBDIR += ddrescue SUBDIR += debhelper SUBDIR += debootstrap SUBDIR += deltarpm SUBDIR += deltup SUBDIR += desktop-installer SUBDIR += detach SUBDIR += detox SUBDIR += devcpu-data SUBDIR += devstat SUBDIR += dfc SUBDIR += di SUBDIR += digdag SUBDIR += dim SUBDIR += dirdiff SUBDIR += direnv SUBDIR += dirvish SUBDIR += diskcheckd SUBDIR += diskimage-tools SUBDIR += diskscrub SUBDIR += disktool SUBDIR += disktype SUBDIR += djmount SUBDIR += dmg2img SUBDIR += dmidecode SUBDIR += docker SUBDIR += docker-compose SUBDIR += docker-credential-pass SUBDIR += docker-freebsd SUBDIR += docker-machine SUBDIR += doctl SUBDIR += doinkd SUBDIR += dolly SUBDIR += downtime SUBDIR += downtimed SUBDIR += dsbbatmon SUBDIR += dsbdriverd SUBDIR += dsblogoutmgr SUBDIR += dsbmc SUBDIR += dsbmc-cli SUBDIR += dsbmd SUBDIR += dsbsu SUBDIR += dsbwrtsysctl SUBDIR += dt SUBDIR += dtc SUBDIR += dtpstree SUBDIR += du2ps SUBDIR += duff SUBDIR += dunst SUBDIR += dupd SUBDIR += duplicity SUBDIR += duply SUBDIR += dupmerge 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 += ec2-scripts SUBDIR += edid-decode SUBDIR += eject SUBDIR += eksctl SUBDIR += endian SUBDIR += enteruser SUBDIR += entr SUBDIR += env4801 SUBDIR += envconsul SUBDIR += epazote SUBDIR += etc_os-release SUBDIR += etcmerge SUBDIR += etcupdate SUBDIR += eventlog SUBDIR += evtviewer SUBDIR += exa SUBDIR += exfat-utils SUBDIR += extipl SUBDIR += ezjail SUBDIR += f3 SUBDIR += facter SUBDIR += fanout SUBDIR += farbot SUBDIR += fatback SUBDIR += fcode-utils SUBDIR += fconfig SUBDIR += fcron SUBDIR += fd SUBDIR += fdupes SUBDIR += feather SUBDIR += fetchlog SUBDIR += ffs2recov SUBDIR += file SUBDIR += filedupe SUBDIR += filelight SUBDIR += fileprune SUBDIR += fileschanged SUBDIR += filetype SUBDIR += filevercmp SUBDIR += filewatcherd SUBDIR += finfo SUBDIR += firstboot-freebsd-update SUBDIR += firstboot-growfs SUBDIR += firstboot-pkgs SUBDIR += flasher SUBDIR += flashrom SUBDIR += flexbackup SUBDIR += flock SUBDIR += flog SUBDIR += flowgger SUBDIR += fluent-bit SUBDIR += fonteditfs SUBDIR += foremost SUBDIR += fortunelock SUBDIR += fpart SUBDIR += fpc-syslog SUBDIR += fpc-users SUBDIR += fpc-utmp SUBDIR += fpc-uuid SUBDIR += freebsd-snapshot SUBDIR += freecolor SUBDIR += freedt SUBDIR += freefilesync SUBDIR += freeipmi SUBDIR += freesbie SUBDIR += froxlor SUBDIR += fsbackup SUBDIR += fsc SUBDIR += fsearch SUBDIR += fstyp SUBDIR += fswatch-mon SUBDIR += ftwin SUBDIR += fusefs-afuse SUBDIR += fusefs-chironfs SUBDIR += fusefs-cryptofs SUBDIR += fusefs-curlftpfs SUBDIR += fusefs-encfs SUBDIR += fusefs-exfat SUBDIR += fusefs-ext2 SUBDIR += fusefs-ext4fuse SUBDIR += fusefs-funionfs SUBDIR += fusefs-fusepak SUBDIR += fusefs-fusexmp_fh SUBDIR += fusefs-gitfs SUBDIR += fusefs-gstfs SUBDIR += fusefs-gunzip SUBDIR += fusefs-hfsfuse SUBDIR += fusefs-httpfs SUBDIR += fusefs-ifuse SUBDIR += fusefs-libs SUBDIR += fusefs-libs3 SUBDIR += fusefs-lkl SUBDIR += fusefs-mhddfs SUBDIR += fusefs-mp3fs SUBDIR += fusefs-ntfs SUBDIR += fusefs-ntfs-compression SUBDIR += fusefs-pod SUBDIR += fusefs-rar2fs SUBDIR += fusefs-s3backer SUBDIR += fusefs-s3fs SUBDIR += fusefs-sandboxfs SUBDIR += fusefs-simple-mtpfs SUBDIR += fusefs-smbnetfs SUBDIR += fusefs-sqlfs SUBDIR += fusefs-squashfuse SUBDIR += fusefs-sshfs SUBDIR += fusefs-unionfs SUBDIR += fusefs-webdavfs SUBDIR += fusefs-wikipediafs SUBDIR += fusefs-zip SUBDIR += fvcool SUBDIR += fwup SUBDIR += gaffitter SUBDIR += ganglia-monitor-core SUBDIR += ganglia-webfrontend SUBDIR += gapcmon SUBDIR += garcon SUBDIR += gather SUBDIR += gconf-editor SUBDIR += gdisk SUBDIR += gdmap SUBDIR += genisoimage SUBDIR += geomWatch SUBDIR += getdelta SUBDIR += geteltorito SUBDIR += getssl SUBDIR += gigolo SUBDIR += gkfreq SUBDIR += gkleds2 SUBDIR += gkrellfire SUBDIR += gkrellflynn SUBDIR += gkrellm-trayicons SUBDIR += gkrellm2 SUBDIR += gkrelltop SUBDIR += gksu SUBDIR += glogg SUBDIR += gnome-control-center SUBDIR += gnome-mount SUBDIR += gnome-power-manager SUBDIR += gnome-schedule SUBDIR += gnome-settings-daemon SUBDIR += gnome-system-monitor SUBDIR += gnome_subr SUBDIR += goaccess SUBDIR += goawk SUBDIR += gomplate SUBDIR += google-compute-engine-oslogin SUBDIR += goss SUBDIR += gotop SUBDIR += gpart SUBDIR += gpte SUBDIR += graffer SUBDIR += graid5 SUBDIR += graveman SUBDIR += graylog SUBDIR += grub2 SUBDIR += grub2-bhyve SUBDIR += gsh SUBDIR += gsmartcontrol SUBDIR += gstopd SUBDIR += gstreamer-plugins-cdio SUBDIR += gstreamer-plugins-hal SUBDIR += gstreamer1-plugins-cdio SUBDIR += gtk-imonc SUBDIR += hachoir-metadata SUBDIR += hachoir-subfile SUBDIR += hachoir-urwid SUBDIR += hachoir-wx SUBDIR += hal SUBDIR += hal-info SUBDIR += hardlink SUBDIR += hare SUBDIR += hared SUBDIR += hatop SUBDIR += hdrecover SUBDIR += healthd SUBDIR += heartbeat SUBDIR += heirloom SUBDIR += helm SUBDIR += hextools SUBDIR += hexyl SUBDIR += hfm SUBDIR += hfsexplorer SUBDIR += hfsutils SUBDIR += hidesvn SUBDIR += highlnk SUBDIR += hilite SUBDIR += host-setup SUBDIR += hourglass SUBDIR += hoz SUBDIR += hpacucli SUBDIR += hploscripts SUBDIR += hptcli SUBDIR += hstr SUBDIR += htop SUBDIR += httplog SUBDIR += hwstat SUBDIR += i2c-tools SUBDIR += i7z SUBDIR += iat SUBDIR += immortal SUBDIR += incron SUBDIR += inotify-tools SUBDIR += installwatch SUBDIR += intel-nvmupdate SUBDIR += intel-pcm SUBDIR += intel-pcm-devel SUBDIR += intel-qcu SUBDIR += intel-undervolt SUBDIR += iocage SUBDIR += iocage-devel SUBDIR += iocell SUBDIR += iogen SUBDIR += iograph SUBDIR += iohyve SUBDIR += ioping SUBDIR += ipa SUBDIR += ipad_charge SUBDIR += ipdbtools SUBDIR += ipfs-go SUBDIR += ipmitool SUBDIR += ipsc SUBDIR += isc-cron SUBDIR += isomaster SUBDIR += isomd5sum SUBDIR += istatserver SUBDIR += istio SUBDIR += jadm SUBDIR += jail-primer SUBDIR += jailadmin SUBDIR += jailctl SUBDIR += jaildaemon SUBDIR += jailme SUBDIR += jailrc SUBDIR += jailutils SUBDIR += javaservicewrapper SUBDIR += jdiskreport SUBDIR += jdupes SUBDIR += jkill SUBDIR += jobd SUBDIR += jps SUBDIR += jruls SUBDIR += jstest-gtk SUBDIR += jtop SUBDIR += jtopen SUBDIR += jvmtop SUBDIR += jx SUBDIR += k3b SUBDIR += k8temp SUBDIR += kbackup SUBDIR += kcron SUBDIR += kdeadmin SUBDIR += kdebugsettings SUBDIR += kdf SUBDIR += kdialog SUBDIR += kdirstat SUBDIR += keyboard-daemon SUBDIR += kf5-baloo SUBDIR += kf5-kwallet SUBDIR += kfloppy SUBDIR += khelpcenter SUBDIR += kiconvtool SUBDIR += kldfind SUBDIR += kldpatch SUBDIR += kops SUBDIR += krename SUBDIR += kshutdown SUBDIR += ksystemlog SUBDIR += kubectl 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 += libfvde SUBDIR += libgksu SUBDIR += libieee1284 SUBDIR += libretto-config SUBDIR += libsunacl SUBDIR += libsysstat SUBDIR += liburcu SUBDIR += libutempter SUBDIR += life-preserver SUBDIR += lineak-defaultplugin SUBDIR += lineak-xosdplugin SUBDIR += lineakd SUBDIR += linrename SUBDIR += linux-c6-lttng-ust SUBDIR += linux-c6-userspace-rcu SUBDIR += linux-c7-lttng-ust SUBDIR += linux-c7-userspace-rcu SUBDIR += linux-crashplan SUBDIR += linuxfdisk SUBDIR += livecd SUBDIR += lizardfs SUBDIR += lmmon SUBDIR += lmon SUBDIR += lnav SUBDIR += lockfile-progs SUBDIR += log-courier SUBDIR += log_analysis SUBDIR += logrotate SUBDIR += logstalgia SUBDIR += logstash-forwarder SUBDIR += logstash5 SUBDIR += logstash6 SUBDIR += logtool SUBDIR += logwatch SUBDIR += lookat SUBDIR += lr SUBDIR += lscpu SUBDIR += lsof SUBDIR += lsop SUBDIR += lsyncd SUBDIR += ltfs SUBDIR += ltrace SUBDIR += lttng-tools SUBDIR += lttng-ust SUBDIR += luckybackup SUBDIR += lxinput SUBDIR += lxqt-admin SUBDIR += lxqt-config SUBDIR += lxqt-policykit SUBDIR += lxqt-qtplugin SUBDIR += lxsplit SUBDIR += lxtask SUBDIR += lxterminal SUBDIR += mac_nonet SUBDIR += mac_rtprio 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 += 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 += mgeupsd SUBDIR += minikube SUBDIR += minimunin SUBDIR += minirsyslogd SUBDIR += mixer SUBDIR += mkdesktop SUBDIR += mkfile SUBDIR += mkfwimage SUBDIR += mkntpwd SUBDIR += mksunbootcd SUBDIR += mmc-utils SUBDIR += mmve SUBDIR += mnrpes SUBDIR += modman SUBDIR += modules SUBDIR += mog SUBDIR += monit SUBDIR += monitord SUBDIR += monitorix SUBDIR += mono-kmod 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 += mpiexec SUBDIR += mping SUBDIR += mptd SUBDIR += msiklm SUBDIR += msktutil 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 += mybashburn SUBDIR += myrescue SUBDIR += n98-magerun SUBDIR += nagios-statd SUBDIR += namefix SUBDIR += nbosd SUBDIR += ncdu SUBDIR += ndmpd SUBDIR += neofetch SUBDIR += nfcutils SUBDIR += nfsping SUBDIR += nitrogen SUBDIR += no-login SUBDIR += node_exporter SUBDIR += nomad SUBDIR += npadmin SUBDIR += nq SUBDIR += nrg2iso SUBDIR += nsysctl SUBDIR += ntfy SUBDIR += nut SUBDIR += nvclock SUBDIR += nvme-cli SUBDIR += nvramtool SUBDIR += oak SUBDIR += obliterate SUBDIR += odo SUBDIR += ods2 SUBDIR += ohmu SUBDIR += omnibackup SUBDIR += open SUBDIR += openhpi SUBDIR += openipmi SUBDIR += openupsd SUBDIR += ori SUBDIR += osinfo-db-tools SUBDIR += osquery SUBDIR += p5-App-RunCron SUBDIR += p5-BSD-Jail-Object SUBDIR += p5-BSD-Process SUBDIR += p5-BSD-Sysctl SUBDIR += p5-BackupPC-XS SUBDIR += p5-Brackup SUBDIR += p5-Dir-Purge SUBDIR += p5-File-DirCompare SUBDIR += p5-File-Listing SUBDIR += p5-File-Log SUBDIR += p5-File-Next 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-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-Plugtools SUBDIR += p5-Plugtools-Plugins-HomeOU SUBDIR += p5-Probe-Perl SUBDIR += p5-Proc-PidUtil SUBDIR += p5-Proc-ProcessTable-Colorizer SUBDIR += p5-Proclet SUBDIR += p5-Quota SUBDIR += p5-Rex 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 += pacman SUBDIR += paicc SUBDIR += paladin SUBDIR += pam_mount SUBDIR += panicmail SUBDIR += parafly SUBDIR += parallel SUBDIR += pass-otp SUBDIR += password-store SUBDIR += passwordsafe SUBDIR += patchelf SUBDIR += pax-utils SUBDIR += pbi-manager SUBDIR += pbimaker SUBDIR += pc-networkmanager SUBDIR += pcapfix SUBDIR += pcbsd-appweb SUBDIR += pcbsd-libsh SUBDIR += pcbsd-syscache SUBDIR += pcbsd-utils SUBDIR += pcbsd-utils-qt5 SUBDIR += pciutils SUBDIR += pcpustat SUBDIR += pdixtract 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 += personality SUBDIR += pesign SUBDIR += pflogx SUBDIR += pfstat SUBDIR += pftables SUBDIR += pftop SUBDIR += phantom SUBDIR += php71-fileinfo SUBDIR += php71-posix SUBDIR += php72-fileinfo SUBDIR += php72-posix SUBDIR += php73-fileinfo SUBDIR += php73-posix SUBDIR += phpfpm_exporter SUBDIR += phybs SUBDIR += pick SUBDIR += pidof 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-libksysguard SUBDIR += plasma5-polkit-kde-agent-1 SUBDIR += plasma5-powerdevil SUBDIR += plasma5-systemsettings SUBDIR += plasma5-user-manager SUBDIR += plconfig SUBDIR += pmt SUBDIR += policykit SUBDIR += policykit-gnome SUBDIR += polkit SUBDIR += polkit-gnome SUBDIR += polkit-qt SUBDIR += pot SUBDIR += potnet SUBDIR += powerdxx SUBDIR += powerman SUBDIR += powermon SUBDIR += pp SUBDIR += pprotectd SUBDIR += prelink SUBDIR += prips SUBDIR += procenv SUBDIR += procmap SUBDIR += progsreiserfs SUBDIR += pslist SUBDIR += psmisc SUBDIR += pstack SUBDIR += pstacku SUBDIR += pstree SUBDIR += ptools SUBDIR += puppet-lint SUBDIR += puppet-mode.el SUBDIR += puppet5 SUBDIR += puppet6 SUBDIR += puppetserver5 SUBDIR += puppetserver6 SUBDIR += pv SUBDIR += pwd_unmkdb SUBDIR += pwgen SUBDIR += pwsafe SUBDIR += pxattr SUBDIR += py-XenAPI SUBDIR += py-analyzemft SUBDIR += py-ansible-lint SUBDIR += py-ansible-runner SUBDIR += py-azure-cli SUBDIR += py-azure-cli-acr SUBDIR += py-azure-cli-acs SUBDIR += py-azure-cli-advisor SUBDIR += py-azure-cli-ams SUBDIR += py-azure-cli-appservice SUBDIR += py-azure-cli-backup SUBDIR += py-azure-cli-base SUBDIR += py-azure-cli-batch SUBDIR += py-azure-cli-batchai SUBDIR += py-azure-cli-billing SUBDIR += py-azure-cli-botservice SUBDIR += py-azure-cli-cdn SUBDIR += py-azure-cli-cloud SUBDIR += py-azure-cli-cognitiveservices SUBDIR += py-azure-cli-configure SUBDIR += py-azure-cli-consumption SUBDIR += py-azure-cli-container SUBDIR += py-azure-cli-core SUBDIR += py-azure-cli-cosmosdb SUBDIR += py-azure-cli-dla SUBDIR += py-azure-cli-dls SUBDIR += py-azure-cli-dms SUBDIR += py-azure-cli-eventgrid SUBDIR += py-azure-cli-eventhubs SUBDIR += py-azure-cli-extension SUBDIR += py-azure-cli-feedback SUBDIR += py-azure-cli-find SUBDIR += py-azure-cli-hdinsight SUBDIR += py-azure-cli-interactive SUBDIR += py-azure-cli-iot SUBDIR += py-azure-cli-iotcentral SUBDIR += py-azure-cli-keyvault SUBDIR += py-azure-cli-kusto SUBDIR += py-azure-cli-lab SUBDIR += py-azure-cli-maps SUBDIR += py-azure-cli-monitor SUBDIR += py-azure-cli-network SUBDIR += py-azure-cli-policyinsights SUBDIR += py-azure-cli-profile SUBDIR += py-azure-cli-rdbms SUBDIR += py-azure-cli-redis SUBDIR += py-azure-cli-relay SUBDIR += py-azure-cli-reservations SUBDIR += py-azure-cli-resource SUBDIR += py-azure-cli-role SUBDIR += py-azure-cli-search SUBDIR += py-azure-cli-security SUBDIR += py-azure-cli-servicebus SUBDIR += py-azure-cli-servicefabric SUBDIR += py-azure-cli-signalr SUBDIR += py-azure-cli-sql SUBDIR += py-azure-cli-sqlvm SUBDIR += py-azure-cli-storage SUBDIR += py-azure-cli-telemetry SUBDIR += py-azure-cli-vm SUBDIR += py-bcfg2 SUBDIR += py-bitrot SUBDIR += py-cdmi SUBDIR += py-cpuinfo SUBDIR += py-croniter SUBDIR += py-crontab SUBDIR += py-diffoscope SUBDIR += py-dirsync SUBDIR += py-distro SUBDIR += py-dlipower SUBDIR += py-docker SUBDIR += py-drmaa SUBDIR += py-execnet SUBDIR += py-ezjailremote SUBDIR += py-filelike SUBDIR += py-filelock SUBDIR += py-freenas.cli SUBDIR += py-glances SUBDIR += py-gmailfs-fuse SUBDIR += py-google-compute-engine SUBDIR += py-halite SUBDIR += py-hared SUBDIR += py-honcho SUBDIR += py-hpilo SUBDIR += py-iowait SUBDIR += py-mqttwarn SUBDIR += py-nagiosplugin SUBDIR += py-packet-python SUBDIR += py-pkginfo SUBDIR += py-ploy SUBDIR += py-ploy_ansible SUBDIR += py-ploy_ec2 SUBDIR += py-ploy_ezjail SUBDIR += py-ploy_fabric SUBDIR += py-plumbum SUBDIR += py-power SUBDIR += py-psutil SUBDIR += py-psutil121 SUBDIR += py-ptyprocess SUBDIR += py-python-consul SUBDIR += py-python-nomad SUBDIR += py-pytsk SUBDIR += py-pywatchman SUBDIR += py-pyznap SUBDIR += py-queuelib SUBDIR += py-ranger SUBDIR += py-salt SUBDIR += py-scandir SUBDIR += py-scarab SUBDIR += py-scriptine SUBDIR += py-shutilwhich SUBDIR += py-stdiff SUBDIR += py-superlance SUBDIR += py-supervisor SUBDIR += py-tarsnapper SUBDIR += py-tmuxp SUBDIR += py-uptime SUBDIR += py-zdaemon SUBDIR += pydf SUBDIR += qchroot SUBDIR += qdirstat SUBDIR += qjail SUBDIR += qlogtools SUBDIR += qsudo SUBDIR += qt5-qtdiag SUBDIR += qt5-qtpaths SUBDIR += qt5-qtplugininfo SUBDIR += qtpass SUBDIR += quicksynergy SUBDIR += racktables SUBDIR += radeontool SUBDIR += radeontop SUBDIR += radmind SUBDIR += rainbarf SUBDIR += raincoat SUBDIR += rcadm SUBDIR += rclean SUBDIR += rcm SUBDIR += rdate SUBDIR += rdiff-backup SUBDIR += rdiff-backup-devel SUBDIR += rdup SUBDIR += read-edid SUBDIR += realsync SUBDIR += recoverdm SUBDIR += reed SUBDIR += reggae SUBDIR += rej SUBDIR += relaxconf SUBDIR += rename SUBDIR += renameutils SUBDIR += reoback SUBDIR += reptyr SUBDIR += respond SUBDIR += restic SUBDIR += retail SUBDIR += rex SUBDIR += rfstool SUBDIR += rhc SUBDIR += riak-cs SUBDIR += rinse SUBDIR += rmonitor SUBDIR += rocr SUBDIR += roct SUBDIR += roottail SUBDIR += rovclock SUBDIR += rpi-firmware 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-bundler1 SUBDIR += rubygem-bundler_ext SUBDIR += rubygem-capistrano SUBDIR += rubygem-capistrano-ext SUBDIR += rubygem-capistrano-harrow SUBDIR += rubygem-chef SUBDIR += rubygem-chef-api SUBDIR += rubygem-chef-config SUBDIR += rubygem-chef-config12 SUBDIR += rubygem-chef-dk SUBDIR += rubygem-chef-zero SUBDIR += rubygem-chef-zero5 SUBDIR += rubygem-chef12 SUBDIR += rubygem-facter SUBDIR += rubygem-fluent-mixin-plaintextformatter SUBDIR += rubygem-fluent-plugin-config-expander SUBDIR += rubygem-fluent-plugin-file-alternative SUBDIR += rubygem-fluent-plugin-graylog 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-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-log4r SUBDIR += rubygem-logify SUBDIR += rubygem-mogilefs-client SUBDIR += rubygem-mothra SUBDIR += rubygem-murder SUBDIR += rubygem-ohai SUBDIR += rubygem-ohai8 SUBDIR += rubygem-parallel SUBDIR += rubygem-puppet_forge SUBDIR += rubygem-puppetserver-ca SUBDIR += rubygem-r10k SUBDIR += rubygem-rubyipmi SUBDIR += rubygem-serverspec SUBDIR += rubygem-shellany SUBDIR += rubygem-smart_proxy_chef 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 += rundeck SUBDIR += runit SUBDIR += runit-faster SUBDIR += runwhen SUBDIR += rw SUBDIR += s-tui SUBDIR += s6 SUBDIR += s6-rc SUBDIR += safe-rm SUBDIR += safecat SUBDIR += safecopy SUBDIR += samefile SUBDIR += samesame SUBDIR += sample SUBDIR += sas2ircu SUBDIR += sas3ircu SUBDIR += savelogs SUBDIR += sb16config SUBDIR += sbase SUBDIR += scalpel SUBDIR += scan_ffs SUBDIR += scanbuttond SUBDIR += scct SUBDIR += schedutils SUBDIR += screen SUBDIR += screenfetch SUBDIR += screenie SUBDIR += scterc SUBDIR += sd-agent SUBDIR += sdparm SUBDIR += seatools SUBDIR += sec SUBDIR += serf SUBDIR += setcdboot SUBDIR += setquota SUBDIR += sformat SUBDIR += sg3_utils SUBDIR += shim SUBDIR += shlock SUBDIR += shmcat SUBDIR += showbeastie SUBDIR += shuf SUBDIR += siegfried SUBDIR += signon-kwallet-extension SUBDIR += signon-plugin-oauth2 SUBDIR += signon-qt5 SUBDIR += signon-ui SUBDIR += skill SUBDIR += slack SUBDIR += sleuthkit SUBDIR += sloth SUBDIR += slst SUBDIR += slurm-wlm SUBDIR += smart SUBDIR += smartmontools SUBDIR += smenu SUBDIR += smp_utils SUBDIR += snap SUBDIR += snmp_exporter SUBDIR += snooze SUBDIR += snowlog SUBDIR += sockaddr SUBDIR += socket SUBDIR += socklog SUBDIR += solaar SUBDIR += sortu SUBDIR += spindown SUBDIR += spinner SUBDIR += spiped SUBDIR += squashfs-tools SUBDIR += ssd_report SUBDIR += sshsudo SUBDIR += ssid SUBDIR += ssync SUBDIR += stalepid SUBDIR += stanchion SUBDIR += stepsync SUBDIR += stmpclean SUBDIR += storcli SUBDIR += stow SUBDIR += stowES SUBDIR += stress SUBDIR += superiotool SUBDIR += swapd SUBDIR += swapexd SUBDIR += swapmon SUBDIR += sweeper SUBDIR += symlinks SUBDIR += symon SUBDIR += synergy SUBDIR += synergy-1 SUBDIR += sysadm SUBDIR += sysadm-client SUBDIR += sysgather SUBDIR += sysinfo SUBDIR += syslinux SUBDIR += syslog-ng SUBDIR += syslog-ng310 SUBDIR += syslog-ng311 SUBDIR += syslog-ng312 SUBDIR += syslog-ng313 SUBDIR += syslog-ng314 SUBDIR += syslog-ng315 SUBDIR += syslog-ng317 SUBDIR += syslog-ng318 SUBDIR += syslog-ng319 SUBDIR += syslog-ng320 SUBDIR += syslog-ng39 SUBDIR += syslogger SUBDIR += sysrc SUBDIR += system-tools-backends SUBDIR += sysvbanner SUBDIR += tai64nfrac SUBDIR += tarsnap SUBDIR += tarsnap-gui SUBDIR += tarsnap-periodic SUBDIR += tartarus SUBDIR += tbku SUBDIR += tclsyslog SUBDIR += tcplist SUBDIR += tdir SUBDIR += tenshi SUBDIR += tentakel SUBDIR += terraform SUBDIR += testdisk SUBDIR += thefish SUBDIR += timelimit SUBDIR += timemon SUBDIR += titlefix SUBDIR += tkdvd SUBDIR += tlsdate SUBDIR += tm SUBDIR += tmate SUBDIR += tmate-slave SUBDIR += tmpreaper SUBDIR += tmpwatch SUBDIR += tmux SUBDIR += tmux-mem-cpu-load SUBDIR += tmux23 SUBDIR += topless SUBDIR += torque SUBDIR += toshctl SUBDIR += tracker SUBDIR += tracker-miners SUBDIR += tree SUBDIR += tren SUBDIR += trueos-libqt5 SUBDIR += ts SUBDIR += tss SUBDIR += tty-clock SUBDIR += ttyd SUBDIR += ttyload SUBDIR += tuptime SUBDIR += turbostat SUBDIR += tw_cli SUBDIR += twmn SUBDIR += tzdialog SUBDIR += u-boot-a13-olinuxino SUBDIR += u-boot-a64-olinuxino SUBDIR += u-boot-bananapi SUBDIR += u-boot-bananapim2 SUBDIR += u-boot-beaglebone SUBDIR += u-boot-chip SUBDIR += u-boot-clearfog SUBDIR += u-boot-cubieboard SUBDIR += u-boot-cubieboard2 SUBDIR += u-boot-cubox-hummingboard SUBDIR += u-boot-duovero 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-neo2 SUBDIR += u-boot-nanopi-neo-air 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-pandaboard SUBDIR += u-boot-pcduino3 SUBDIR += u-boot-pine64 SUBDIR += u-boot-pine64-lts SUBDIR += u-boot-pinebook SUBDIR += u-boot-riotboard SUBDIR += u-boot-rpi SUBDIR += u-boot-rpi-0-w SUBDIR += u-boot-rpi2 SUBDIR += u-boot-rpi3 SUBDIR += u-boot-sinovoip-bpi-m3 SUBDIR += u-boot-sopine SUBDIR += u-boot-tools SUBDIR += u-boot-utilite SUBDIR += u-boot-wandboard SUBDIR += u-boot-zedboard SUBDIR += u-boot-zybo SUBDIR += ua SUBDIR += ucspi-ipc SUBDIR += ucspi-proxy SUBDIR += ucspi-ssl SUBDIR += ucspi-tcp SUBDIR += ucspi-unix SUBDIR += udfclient SUBDIR += uefi-edk2-bhyve SUBDIR += uefi-edk2-bhyve-csm SUBDIR += uefi-edk2-bhyve-devel SUBDIR += uefi-edk2-qemu 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 += usbhotkey 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 += videogen SUBDIR += vii SUBDIR += vils SUBDIR += vimpager SUBDIR += virtualmin SUBDIR += vm-bhyve SUBDIR += vmdktool SUBDIR += vmtouch SUBDIR += vobcopy SUBDIR += volman SUBDIR += vordog SUBDIR += vpnc-scripts SUBDIR += vstrip SUBDIR += vttest SUBDIR += vzvol SUBDIR += wait_on SUBDIR += warden SUBDIR += watchdog SUBDIR += watchfolder SUBDIR += watchman SUBDIR += watchmen SUBDIR += webjob 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 += wmfire SUBDIR += wmflame SUBDIR += wmmemfree SUBDIR += wmmemload SUBDIR += wmtop SUBDIR += wmupmon SUBDIR += worldtools SUBDIR += wtail 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 += xen-tools47 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-kbdleds-plugin SUBDIR += xfce4-mount-plugin SUBDIR += xfce4-netload-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 += xstow SUBDIR += xsysstats SUBDIR += xvidcap SUBDIR += yadm SUBDIR += yank SUBDIR += z SUBDIR += zap SUBDIR += zbackup SUBDIR += zeitgeist SUBDIR += zeroer SUBDIR += zetaback 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 += zol SUBDIR += zol-kmod SUBDIR += zrep SUBDIR += zrepl SUBDIR += zsd SUBDIR += zsm SUBDIR += zxfer .include diff --git a/sysutils/bareos17-client/Makefile b/sysutils/bareos17-client/Makefile new file mode 100644 index 000000000000..abd7a14cfc99 --- /dev/null +++ b/sysutils/bareos17-client/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= bareos +PKGNAMESUFFIX= -client + +COMMENT= Backup archiving recovery open sourced (client) + +BROKEN_aarch64= Fails to link: missing sbrk + +CONFLICTS= bareos16-client-* bareos-client-* + +WITH_CLIENT_ONLY=yes +USE_RC_SUBR= bareos-fd + +PLIST= ${PKGDIR}/pkg-plist.client +MASTERDIR= ${.CURDIR}/../../sysutils/bareos17-server + +OPTIONS_DEFINE= NLS PYTHON LMDB SCSICRYPTO +LMDB_DESC= Enable build of LMDB support + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/bareos17-server/Makefile b/sysutils/bareos17-server/Makefile new file mode 100644 index 000000000000..069d645ccfe3 --- /dev/null +++ b/sysutils/bareos17-server/Makefile @@ -0,0 +1,239 @@ +$FreeBSD$ + +PORTNAME= bareos17 +DISTVERSIONPREFIX= Release/ +DISTVERSION= 17.2.7 +PORTREVISION?= 3 +CATEGORIES?= sysutils +PKGNAMEPREFIX?= # +PKGNAMESUFFIX?= -server + +MAINTAINER= acm@FreeBSD.org +COMMENT?= Backup archiving recovery open sourced (server) + +LICENSE= AGPLv3 LGPL3 +LICENSE_COMB= multi + +CONFLICTS?= bacula*-server-* bareos16-server-* + +LIB_DEPENDS+= liblzo2.so:archivers/lzo2 \ + libjansson.so:devel/jansson + +USES+= libtool:keepla pkgconfig readline:port shebangfix +USE_GITHUB= yes +GH_ACCOUNT= ${PORTNAME:S/17//} +GH_PROJECT= ${PORTNAME:S/17//} + +USERS= bareos +GROUPS= ${USERS} + +PLIST_SUB+= LIB_VERSION=${PORTVERSION} + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +SHEBANG_LANG= perl +SHEBANG_FILES= ${WRKSRC}/src/cats/make_catalog_backup.pl.in + +CPPFLAGS+= -I${LOCALBASE}/readline -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +ETCDIR= ${PREFIX}/etc/${PORTNAME:S/17//} + +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} == "-server" +OPTIONS_DEFINE= MTX PYTHON NDMP NLS SCSICRYPTO +OPTIONS_DEFAULT+= PGSQL SCSICRYPTO +OPTIONS_SINGLE_DATABASE= SQLITE3 MYSQL PGSQL +OPTIONS_SINGLE+= DATABASE +DATABASE_DESC= Database support + +NDMP_CONFIGURE_ON= --enable-ndmp=yes +NDMP_CONFIGURE_OFF= --enable-ndmp=no +.endif + +GNUTLS_CONFIGURE_WITH= gnutls=${LOCALBASE} +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls + +OPENSSL_USES= ssl +OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} +OPENSSL_CONFIGURE_OFF= --with-openssl="no" + +SCSICRYPTO_CONFIGURE_ON= --enable-scsi-crypto=yes +SCSICRYPTO_CONFIGURE_OFF= --enable-scsi-crypto=no + +.if ${PKGNAMESUFFIX} == "-client" || ${PKGNAMESUFFIX} == "-server" #Till end of the file +PYTHON_USES= python +PYTHON_CONFIGURE_ON= --with-python=yes +PYTHON_CONFIGURE_OFF= --with-python=no +PYTHON_PLUGIN= yes + +.if !defined(WITH_CLIENT_ONLY) +LIB_DEPENDS+= libbareos.so:sysutils/bareos17-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 + +CONFIGURE_ARGS+=--with-tcp-wrappers=/usr/lib \ + --enable-libtool \ + --enable-smartalloc \ + --sysconfdir=${PREFIX}/etc \ + --with-working-dir=${BAREOS_DIR} \ + --with-scriptdir=${PREFIX}/share/${PORTNAME} \ + --with-logdir=/var/log/bareos \ + --with-readline=${LOCALBASE} \ + --disable-conio \ + --enable-batch-insert \ + --with-plugindir=${PREFIX}/lib/bareos/plugins \ + --with-scriptdir=${PREFIX}/lib/bareos/scripts \ + --with-dump-email=root@localhost \ + --with-job-email=root@localhost \ + --with-db-name=bareos \ + --with-sbin-perm=755 \ + --with-db-user=bareos \ + --with-baseport=9101 \ + --with-pid-dir=/var/run/bareos \ + --with-jansson=${LOCALBASE} + +.if defined(WITH_CLIENT_ONLY) +LMDB_CONFIGURE_ON= --enable-lmdb=yes +LMDB_CONFIGURE_OFF= --enable-lmdb=no +LMDB_CFLAGS= -DMDB_DSYNC=O_SYNC + +CONFIGURE_ARGS+=--with-fd-user=root \ + --with-fd-group=wheel +.else +CONFIGURE_ARGS+=--with-dir-user=${BAREOS_USER} \ + --with-dir-group=${BAREOS_GROUP} \ + --with-sd-user=${BAREOS_USER} \ + --with-sd-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_CONFIGURE_ENABLE= nls + +# Client only or full server version +.if defined(WITH_CLIENT_ONLY) +CONFFILES= fd +CONFIGURE_ARGS+= --enable-client-only + +PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client +PKGINSTALL= ${FILESDIR}/pkg-install.client +.else +# Server only Options +CONFFILES= sd dir +# Server default database + +MYSQL_CONFIGURE_ON= --with-mysql=yes +MYSQL_USE= MYSQL=yes +SQLITE3_CONFIGURE_ON= --with-sqlite3=yes +SQLITE3_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 +PGSQL_CONFIGURE_ON= --with-postgresql=yes +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: +# This port does not install docs. See bareos-docs for that + ${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in +# Default bconsole.conf is in ${ETCDIR} + @${REINPLACE_CMD} -e 's|^MAN8 =|MAN8 ?=|g' -e 's|^MAN1 =|MAN1 ?=|g' ${WRKSRC}/manpages/Makefile.in + @${REINPLACE_CMD} -e 's|_NONSHARED||g' ${WRKSRC}/src/filed/Makefile.in +.if defined(WITH_CLIENT_ONLY) + @${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in +.else +# In server port don't install filed + @${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ + -e 's|src/lib||' -e 's|src/findlib||' -e 's|@FD_PLUGIN_DIR@||' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|../lib/|$$(LOCALBASE)/lib/|g' -e 's|../findlib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/dird/Makefile.in \ + ${WRKSRC}/src/stored/Makefile.in ${WRKSRC}/src/tools/Makefile.in ${WRKSRC}/src/tests/Makefile.in + @${REINPLACE_CMD} -e 's|../../lib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/plugins/dird/Makefile.in ${WRKSRC}/src/plugins/stored/Makefile.in + @${REINPLACE_CMD} -e 's|fd_plugins.h|filed/fd_plugins.h|g' -e 's|dir_plugins.h|dird/dir_plugins.h|g' -e 's|stored.h|stored/stored.h|g' \ + ${WRKSRC}/src/tools/bpluginfo.c + @${REINPLACE_CMD} -e 's|perl|$(LOCALBASE)/bin/perl|g' ${WRKSRC}/scripts/mtx-changer.in +.endif + +post-extract: +.if defined(WITH_CLIENT_ONLY) +. if defined(PYTHON_PLUGIN) + @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/fileset + @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/job +. endif +.endif + @${MV} ${WRKSRC}/src/defaultconfigs/bareos-dir.d/fileset/'Windows All Drives.conf' \ + ${WRKSRC}/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 + ${MV} ${STAGEDIR}${ETCDIR}/bareos-regress.conf ${STAGEDIR}${ETCDIR}//bareos-regress.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/bareos17-server/Makefile.common b/sysutils/bareos17-server/Makefile.common new file mode 100644 index 000000000000..5ae778ccc4ae --- /dev/null +++ b/sysutils/bareos17-server/Makefile.common @@ -0,0 +1,39 @@ +# Created by: Alonso Cardenas +# $FreeBSD$ + +post-patch: + @${REINPLACE_CMD} -e 's|_NONSHARED||g' ${WRKSRC}/src/filed/Makefile.in + @${REINPLACE_CMD} -e 's|-lbareoscfg|@JANSSON_LIBS@ @LIBINTL@ -lbareoscfg|g' ${WRKSRC}/src/qt-tray-monitor/tray-monitor.pro.in + +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}/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}/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/ +.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-tray-monitor/bareos-tray-monitor ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/src/qt-tray-monitor/bareos-tray-monitor.xpm ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/src/qt-tray-monitor/bareos-tray-monitor.desktop ${STAGEDIR}${DESKTOPDIR} +.endif diff --git a/sysutils/bareos17-server/distinfo b/sysutils/bareos17-server/distinfo new file mode 100644 index 000000000000..8186063097ce --- /dev/null +++ b/sysutils/bareos17-server/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1535610174 +SHA256 (bareos-bareos-Release-17.2.7_GH0.tar.gz) = 99a5f907e3422532c783ee254dcf5c737d2b1b53522c00924d3e1009289d2fd2 +SIZE (bareos-bareos-Release-17.2.7_GH0.tar.gz) = 4184028 diff --git a/sysutils/bareos17-server/files/bareos-barcodes b/sysutils/bareos17-server/files/bareos-barcodes new file mode 100644 index 000000000000..f42cb7f7aeea --- /dev/null +++ b/sysutils/bareos17-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/bareos17-server/files/bareos-dir.in b/sysutils/bareos17-server/files/bareos-dir.in new file mode 100644 index 000000000000..1d92025ae9a1 --- /dev/null +++ b/sysutils/bareos17-server/files/bareos-dir.in @@ -0,0 +1,57 @@ +#!/bin/sh +# +# $FreeBSD: head/sysutils/bareos-server/files/bareos-dir.in 323275 2013-07-19 09:44:58Z rm $ +# +# 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}" +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/bareos17-server/files/bareos-fd.in b/sysutils/bareos17-server/files/bareos-fd.in new file mode 100644 index 000000000000..2a45ee7dfb47 --- /dev/null +++ b/sysutils/bareos17-server/files/bareos-fd.in @@ -0,0 +1,48 @@ +#!/bin/sh +# +# $FreeBSD: head/sysutils/bacula5-server/files/bacula-fd.in 323275 2013-07-19 09:44:58Z rm $ +# +# 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}" +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/bareos17-server/files/bareos-sd.in b/sysutils/bareos17-server/files/bareos-sd.in new file mode 100644 index 000000000000..9c9df6de204b --- /dev/null +++ b/sysutils/bareos17-server/files/bareos-sd.in @@ -0,0 +1,39 @@ +#!/bin/sh +# +# $FreeBSD: head/sysutils/bacula5-server/files/bacula-sd.in 323486 2013-07-22 17:51:39Z rm $ +# +# 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}" +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/bareos17-server/files/chio-bareos b/sysutils/bareos17-server/files/chio-bareos new file mode 100644 index 000000000000..f006ef78e6ce --- /dev/null +++ b/sysutils/bareos17-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/bareos17-server/files/patch-autoconf_Make.common.in b/sysutils/bareos17-server/files/patch-autoconf_Make.common.in new file mode 100644 index 000000000000..38093dc657b0 --- /dev/null +++ b/sysutils/bareos17-server/files/patch-autoconf_Make.common.in @@ -0,0 +1,13 @@ +--- autoconf/Make.common.in 2016-11-09 23:17:41.055746000 -0500 ++++ autoconf/Make.common.in 2016-11-09 23:17:59.647897000 -0500 +@@ -62,8 +62,8 @@ + MKDIR = @BUILD_DIR@/autoconf/mkinstalldirs + INSTALL = @INSTALL@ + # add the -s to the following in PRODUCTION mode +-INSTALL_PROGRAM = $(INSTALL) -m @SBINPERM@ +-INSTALL_LIB = $(INSTALL) -m 755 ++INSTALL_PROGRAM = $(INSTALL) -s -m @SBINPERM@ ++INSTALL_LIB = $(INSTALL) -s -m 755 + INSTALL_DATA = $(INSTALL) -m 644 + INSTALL_SCRIPT = $(INSTALL) -m @SBINPERM@ + INSTALL_CONFIG = $(INSTALL) -m 640 diff --git a/sysutils/bareos17-server/files/patch-configure b/sysutils/bareos17-server/files/patch-configure new file mode 100644 index 000000000000..2790798a4180 --- /dev/null +++ b/sysutils/bareos17-server/files/patch-configure @@ -0,0 +1,20 @@ +--- configure 2015-08-08 15:47:12.347184000 -0500 ++++ configure 2015-08-08 15:48:11.164437000 -0500 +@@ -18626,7 +18626,7 @@ + found_so= + found_a= + if test $use_additional = yes; then +- if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test "${enable_static_fd+set}" != set; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then +@@ -21466,7 +21466,7 @@ + found_so= + found_a= + if test $use_additional = yes; then +- if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ++ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test "${enable_static_fd+set}" != set; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then diff --git a/sysutils/bareos17-server/files/patch-src-console-Makefile.in b/sysutils/bareos17-server/files/patch-src-console-Makefile.in new file mode 100644 index 000000000000..b1526de9fb6f --- /dev/null +++ b/sysutils/bareos17-server/files/patch-src-console-Makefile.in @@ -0,0 +1,35 @@ +--- src/console/Makefile.in 2016-10-16 10:14:36.000000000 -0500 ++++ src/console/Makefile.in 2016-11-16 01:14:33.054997000 -0500 +@@ -28,6 +28,7 @@ + CONS_LIBS = @CONS_LIBS@ + + JANSSON_CPPFLAGS = @JANSSON_INC@ ++JANSSON_LDFLAGS = @JANSSON_LIBS@ + + INCLUDES += -I$(srcdir) -I$(basedir) -I$(basedir)/include + +@@ -51,12 +52,12 @@ + bconsole: Makefile $(CONSOBJS) ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) + $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \ + $(DLIB) -lbareoscfg -lbareos -lm $(CONS_LIBS) $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) $(JANSSON_LDFLAGS) + + static-bconsole: Makefile $(CONSOBJS) ../lib/libbareos.a ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) + $(LIBTOOL_LINK) $(CXX) -static $(LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \ +- $(DLIB) -lbareoscfg -lbareos -lm $(CONS_LIBS) $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS) $(GNUTLS_LIBS) ++ $(DLIB) -lbareoscfg -lbareos -lm $(CONS_LIBS) $(LIBS) $(GETTEXT_STATIC_LIBS) \ ++ $(OPENSSL_LIBS) $(GNUTLS_LIBS) $(JANSSON_LDFLAGS) + strip $@ + + +@@ -93,7 +94,7 @@ + $(MKDIR) $(DESTDIR)$(bindir) + $(MKDIR) $(DESTDIR)$(sbindir) + $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bconsole $(DESTDIR)$(bindir)/bconsole; +- @if ! [ -r $(DESTDIR)$(sbindir)/bconsole ]; then $(SYMLINK) $(bindir)/bconsole $(DESTDIR)$(sbindir)/bconsole; fi ++ @if ! [ -r $(DESTDIR)$(sbindir)/bconsole ]; then $(SYMLINK) ../bin/bconsole $(DESTDIR)$(sbindir)/bconsole; fi + @srcconf=bconsole.conf; \ + if test -f ${DESTDIR}${confdir}/$$srcconf; then \ + destconf=$$srcconf.new; \ diff --git a/sysutils/bareos17-server/files/patch-src-dird-Makefile.in b/sysutils/bareos17-server/files/patch-src-dird-Makefile.in new file mode 100644 index 000000000000..b106e98bb054 --- /dev/null +++ b/sysutils/bareos17-server/files/patch-src-dird-Makefile.in @@ -0,0 +1,100 @@ +--- src/dird/Makefile.in 2018-07-12 07:38:58.000000000 -0500 ++++ src/dird/Makefile.in 2019-05-09 09:40:05.828917000 -0500 +@@ -56,6 +56,7 @@ + INCLUDES += -I$(srcdir) -I$(basedir) -I$(basedir)/include -I$(basedir)/lmdb -I$(basedir)/ndmp + + JANSSON_CPPFLAGS = @JANSSON_INC@ ++JANSSON_LDFLAGS = @JANSSON_LIBS@ + + DIRD_RESTYPES = catalog client console counter director fileset job jobdefs messages pool profile schedule storage + +@@ -77,46 +78,46 @@ + $(NO_ECHO)$(CXX) $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) $(JANSSON_CPPFLAGS) $(INCLUDES) $(DINCLUDE) $(CXXFLAGS) $< + + bareos-dir: Makefile $(SVROBJS) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareossql$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareoscats$(DEFAULT_ARCHIVE_TYPE) \ +- ../findlib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ + @NDMP_DEPS@ + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o $@ $(SVROBJS) \ + $(NDMP_LIBS) -lbareosfind -lbareossql -lbareoscats -lbareoscfg -lbareos -lm $(DLIB) \ + $(DB_LIBS) $(LIBS) $(WRAPLIBS) $(GETTEXT_LIBS) $(CAP_LIBS) \ +- $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) $(LMDB_LIBS) ++ $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) $(LMDB_LIBS) $(JANSSON_LDFLAGS) + + bareos-dbcheck: Makefile $(DBCHKOBJS) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ +- ../findlib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareossql$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareoscats$(DEFAULT_ARCHIVE_TYPE) + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../findlib -L../cats -o $@ $(DBCHKOBJS) \ + -lbareoscats -lbareossql -lbareoscfg -lbareosfind -lbareos -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) $(JANSSON_LDFLAGS) + + testfind: Makefile $(TSTFNDOBJS) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ +- ../findlib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareossql$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareoscats$(DEFAULT_ARCHIVE_TYPE) + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../findlib -L../cats -o $@ $(TSTFNDOBJS) \ + -lbareoscats -lbareossql -lbareoscfg -lbareosfind -lbareos -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) + + static-bareos-dir: Makefile $(SVROBJS) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareossql$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareoscats$(DEFAULT_ARCHIVE_TYPE) \ +- ../findlib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ + @NDMP_DEPS@ + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../cats -L../findlib -o $@ $(SVROBJS) \ +@@ -160,13 +161,8 @@ + if test -f "$$f"; then \ + RESDIR="$$DESTCONFDIR/$$RESTYPE"; \ + RES=`basename "$$f"`; \ +- if test -f "$$RESDIR/$$RES"; then \ +- destconf="$$RESDIR/$$RES.new"; \ +- echo " $$RESTYPE/$$RES as \"$$destconf\" (keep existing)"; \ +- else \ +- destconf="$$RESDIR/$$RES"; \ +- echo " $$RESTYPE/$$RES as \"$$destconf\""; \ +- fi; \ ++ destconf="$$RESDIR/$$RES.sample"; \ ++ echo " $$RESTYPE/$$RES as \"$$destconf\".sample"; \ + ${INSTALL_CONFIG} "$$f" "$$destconf"; \ + if test "x${dir_group}" != "x"; then \ + chgrp -f ${dir_group} $$destconf || true; \ +@@ -174,11 +170,6 @@ + fi; \ + done; \ + done +- $(MKDIR) ${DESTDIR}${confdir}/bareos-dir-export/client/ +- @if test -f ${DESTDIR}${scriptdir}/query.sql; then \ +- echo " ==> Saving existing query.sql to query.sql.old"; \ +- $(MV) -f ${DESTDIR}${scriptdir}/query.sql ${DESTDIR}${scriptdir}/query.sql.old; \ +- fi + ${INSTALL_DATA} query.sql ${DESTDIR}${scriptdir}/query.sql + @if test -f static-bareos-dir; then \ + $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) static-bareos-dir $(DESTDIR)$(sbindir)/static-bareos-dir; \ diff --git a/sysutils/bareos17-server/files/patch-src-filed-Makefile.in b/sysutils/bareos17-server/files/patch-src-filed-Makefile.in new file mode 100644 index 000000000000..4f501c1abadf --- /dev/null +++ b/sysutils/bareos17-server/files/patch-src-filed-Makefile.in @@ -0,0 +1,69 @@ +--- src/filed/Makefile.in 2018-07-12 07:38:58.000000000 -0500 ++++ src/filed/Makefile.in 2019-05-09 09:43:00.397777000 -0500 +@@ -21,10 +21,11 @@ + DEBUG=@DEBUG@ + + GETTEXT_LIBS = @LIBINTL@ +-OPENSSL_LIBS_NONSHARED = @OPENSSL_LIBS_NONSHARED@ +-GNUTLS_LIBS_NONSHARED = @GNUTLS_LIBS_NONSHARED@ ++OPENSSL_LIBS = @OPENSSL_LIBS@ ++GNUTLS_LIBS = @GNUTLS_LIBS@ + + JANSSON_CPPFLAGS = @JANSSON_INC@ ++JANSSON_LDFLAGS = @JANSSON_LIBS@ + COMPRESS_CPPFLAGS += @ZLIB_INC@ @LZO_INC@ @FASTLZ_INC@ + + first_rule: all +@@ -39,12 +40,12 @@ + + FDLIBS += @LMDB_LIBS@ + FDLIBS += @CAP_LIBS@ +-FDLIBS += @ZLIB_LIBS_NONSHARED@ +-FDLIBS += @LZO_LIBS_NONSHARED@ +-FDLIBS += @FASTLZ_LIBS_NONSHARED@ +-FDLIBS += @AFS_LIBS_NONSHARED@ +-FDLIBS += @ACL_LIBS_NONSHARED@ +-FDLIBS += @XATTR_LIBS_NONSHARED@ ++FDLIBS += @ZLIB_LIBS@ ++FDLIBS += @LZO_LIBS@ ++FDLIBS += @FASTLZ_LIBS@ ++FDLIBS += @AFS_LIBS@ ++FDLIBS += @ACL_LIBS@ ++FDLIBS += @XATTR_LIBS@ + + INCLUDES += -I$(srcdir) -I$(basedir) -I$(basedir)/include -I$(basedir)/lmdb + +@@ -78,7 +79,7 @@ + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(SVROBJS) \ + -lbareosfind -lbareoscfg -lbareos -lm $(FDLIBS) $(LIBS) \ +- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS) $(JANSSON_LDFLAGS) + + static-bareos-fd: Makefile $(SVROBJS) \ + ../findlib/libbareosfind.a \ +@@ -87,7 +88,7 @@ + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../findlib -o $@ $(SVROBJS) \ + -lbareosfind -lbareoscfg -lbareos -lm $(FDLIBS) $(LIBS) \ +- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS) ++ $(DLIB) $(WRAPLIBS) $(GETTEXT_STATIC_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS) $(JANSSON_LDFLAGS) + strip $@ + + Makefile: $(srcdir)/Makefile.in $(topdir)/config.status +@@ -133,13 +134,8 @@ + if test -f "$$f"; then \ + RESDIR="$$DESTCONFDIR/$$RESTYPE"; \ + RES=`basename "$$f"`; \ +- if test -f "$$RESDIR/$$RES"; then \ +- destconf="$$RESDIR/$$RES.new"; \ +- echo " $$RESTYPE/$$RES as \"$$destconf\" (keep existing)"; \ +- else \ +- destconf="$$RESDIR/$$RES"; \ +- echo " $$RESTYPE/$$RES as \"$$destconf\""; \ +- fi; \ ++ destconf="$$RESDIR/$$RES.sample"; \ ++ echo " $$RESTYPE/$$RES as \"$$destconf\".sample"; \ + ${INSTALL_CONFIG} "$$f" "$$destconf"; \ + if test "x${fd_group}" != "x"; then \ + chgrp -f ${fd_group} $$destconf || true; \ diff --git a/sysutils/bareos17-server/files/patch-src-plugins-filed_Makefile.in b/sysutils/bareos17-server/files/patch-src-plugins-filed_Makefile.in new file mode 100644 index 000000000000..6318ac7a4268 --- /dev/null +++ b/sysutils/bareos17-server/files/patch-src-plugins-filed_Makefile.in @@ -0,0 +1,21 @@ +--- src/plugins/filed/Makefile.in 2018-05-17 15:34:21.796332000 -0500 ++++ src/plugins/filed/Makefile.in 2018-05-17 15:35:50.843157000 -0500 +@@ -93,7 +93,8 @@ + + install: all + $(MKDIR) $(DESTDIR)$(plugindir) +- $(MKDIR) ${DESTDIR}${configtemplatedir}/bareos-dir.d/ ++ $(MKDIR) ${DESTDIR}${configtemplatedir}/bareos-dir.d/fileset ++ $(MKDIR) ${DESTDIR}${configtemplatedir}/bareos-dir.d/job + $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bpipe-fd.la $(DESTDIR)$(plugindir) + $(RMF) $(DESTDIR)$(plugindir)/bpipe-fd.la + if test "x$(BUILD_PLUGINS)" != "x" ; then \ +@@ -111,7 +112,7 @@ + $(CP) *.py *.py.template $(DESTDIR)$(plugindir); \ + for i in `find python-ldap-conf.d/ \( -name "*.conf" -o -name "*.conf.example" \) -print | cut -d'/' -f2-`; do \ + $(MKDIR) `dirname ${DESTDIR}${configtemplatedir}/$$i`; \ +- $(INSTALL_CONFIG) python-ldap-conf.d/$$i ${DESTDIR}${configtemplatedir}/$$i; \ ++ $(INSTALL_CONFIG) python-ldap-conf.d/$$i ${DESTDIR}${confdir}/`echo $$i | sed -e 's|example|sample|g'`; \ + done; \ + fi; \ + done;\ diff --git a/sysutils/bareos17-server/files/patch-src-plugins-stored-Makefile.in b/sysutils/bareos17-server/files/patch-src-plugins-stored-Makefile.in new file mode 100644 index 000000000000..7d4f8fb3b871 --- /dev/null +++ b/sysutils/bareos17-server/files/patch-src-plugins-stored-Makefile.in @@ -0,0 +1,11 @@ +--- src/plugins/stored/Makefile.in 2015-07-23 18:04:28.275396000 -0500 ++++ src/plugins/stored/Makefile.in 2015-07-23 18:05:09.508399000 -0500 +@@ -39,7 +39,7 @@ + + autoxflate-sd.la: Makefile \ + autoxflate-sd$(DEFAULT_OBJECT_TYPE) \ +- ../../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) + $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared autoxflate-sd.lo -o $@ -rpath $(plugindir) -module -export-dynamic -avoid-version -L../../lib -lbareos + + example-plugin-sd.la: Makefile example-plugin-sd$(DEFAULT_OBJECT_TYPE) diff --git a/sysutils/bareos17-server/files/patch-src-stored-Makefile.in b/sysutils/bareos17-server/files/patch-src-stored-Makefile.in new file mode 100644 index 000000000000..342274c92317 --- /dev/null +++ b/sysutils/bareos17-server/files/patch-src-stored-Makefile.in @@ -0,0 +1,112 @@ +--- src/stored/Makefile.in 2018-07-12 07:38:58.000000000 -0500 ++++ src/stored/Makefile.in 2019-05-09 09:44:40.049928000 -0500 +@@ -94,6 +94,7 @@ + INCLUDES += -I$(srcdir) -I$(basedir) -I$(basedir)/include + + JANSSON_CPPFLAGS = @JANSSON_INC@ ++JANSSON_LDFLAGS = @JANSSON_LIBS@ + + DEBUG = @DEBUG@ + GETTEXT_LIBS = @LIBINTL@ +@@ -165,17 +166,17 @@ + $(NO_ECHO)$(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) $(JANSSON_CPPFLAGS) $(INCLUDES) $(DINCLUDE) $(CXXFLAGS) $< + + bareos-sd: Makefile libbareossd$(DEFAULT_ARCHIVE_TYPE) $(SDOBJS) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ + @NDMP_DEPS@ + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L. -L../lib -o $@ $(SDOBJS) \ + $(NDMP_LIBS) -lbareossd -lbareoscfg -lbareos -lm $(DLIB) $(LIBS) $(WRAPLIBS) \ +- $(SD_LIBS) $(GETTEXT_LIBS) $(COMPRESS_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(SD_LIBS) $(GETTEXT_LIBS) $(COMPRESS_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) $(JANSSON_LDFLAGS) + + static-bareos-sd: Makefile libbareossd$(DEFAULT_ARCHIVE_TYPE) $(SDOBJS) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ + @NDMP_DEPS@ + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L. -L../lib -o $@ $(SDOBJS) \ +@@ -188,46 +189,46 @@ + $(NO_ECHO)$(CXX) $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) -I../lib $(INCLUDES) $(DINCLUDE) $(CXXFLAGS) $< + + btape: Makefile libbareossd$(DEFAULT_ARCHIVE_TYPE) $(TAPEOBJS) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -o $@ $(TAPEOBJS) \ + -lbareossd -lbareoscfg -lbareos $(DLIB) -lm $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) + + bls: Makefile libbareossd$(DEFAULT_ARCHIVE_TYPE) $(BLSOBJS) \ +- ../findlib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) ++ $(LOCALBASE)/lib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(BLSOBJS) $(DLIB) \ + -lbareossd -lbareosfind -lbareoscfg -lbareos -lm $(LIBS) $(GETTEXT_LIBS) \ +- $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) + + bextract: Makefile libbareossd$(DEFAULT_ARCHIVE_TYPE) $(BEXTOBJS) \ +- ../findlib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) ++ $(LOCALBASE)/lib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../findlib -o $@ $(BEXTOBJS) $(DLIB) \ + -lbareossd -lbareosfind -lbareoscfg -lbareos -lm $(LIBS) $(SD_LIBS) $(BEXTRACT_LIBS) \ +- $(GETTEXT_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) + + bscan: Makefile libbareossd$(DEFAULT_ARCHIVE_TYPE) $(SCNOBJS) \ +- ../findlib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareosfind$(DEFAULT_ARCHIVE_TYPE) \ ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareossql$(DEFAULT_ARCHIVE_TYPE) \ + ../cats/libbareoscats$(DEFAULT_ARCHIVE_TYPE) + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -L../cats -L../findlib -o $@ $(SCNOBJS) \ + -lbareossql -lbareoscats $(DB_LIBS) -lbareossd -lbareosfind -lbareoscfg -lbareos -lm $(LIBS) $(SD_LIBS) \ +- $(GETTEXT_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) $(JANSSON_LDFLAGS) + + bcopy: Makefile libbareossd$(DEFAULT_ARCHIVE_TYPE) $(COPYOBJS) \ +- ../lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) ++ $(LOCALBASE)/lib/libbareoscfg$(DEFAULT_ARCHIVE_TYPE) $(LOCALBASE)/lib/libbareos$(DEFAULT_ARCHIVE_TYPE) + @echo "Linking $@ ..." + $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L. -L../lib -o $@ $(COPYOBJS) \ +- -lbareossd -lbareoscfg -lbareos -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS_NONSHARED) $(GNUTLS_LIBS_NONSHARED) ++ -lbareossd -lbareoscfg -lbareos -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(GNUTLS_LIBS_NONSHARED) + + Makefile: $(srcdir)/Makefile.in $(topdir)/config.status + cd $(topdir) \ +@@ -256,13 +257,8 @@ + if test -f "$$f"; then \ + RESDIR="$$DESTCONFDIR/$$RESTYPE"; \ + RES=`basename "$$f"`; \ +- if test -f "$$RESDIR/$$RES"; then \ +- destconf="$$RESDIR/$$RES.new"; \ +- echo " $$RESTYPE/$$RES as \"$$destconf\" (keep existing)"; \ +- else \ +- destconf="$$RESDIR/$$RES"; \ +- echo " $$RESTYPE/$$RES as \"$$destconf\""; \ +- fi; \ ++ destconf="$$RESDIR/$$RES.sample"; \ ++ echo " $$RESTYPE/$$RES as \"$$destconf\".sample"; \ + ${INSTALL_CONFIG} "$$f" "$$destconf"; \ + if test "x${sd_group}" != "x"; then \ + chgrp -f ${sd_group} $$destconf || true; \ diff --git a/sysutils/bareos17-server/files/patch-src-tools_Makefile.in b/sysutils/bareos17-server/files/patch-src-tools_Makefile.in new file mode 100644 index 000000000000..9b88111018d5 --- /dev/null +++ b/sysutils/bareos17-server/files/patch-src-tools_Makefile.in @@ -0,0 +1,11 @@ +--- src/tools/Makefile.in 2016-10-16 10:14:36.000000000 -0500 ++++ src/tools/Makefile.in 2016-11-09 22:56:53.069629000 -0500 +@@ -130,7 +130,7 @@ + $(MKDIR) $(DESTDIR)$(sbindir) + @for tool in ${TOOLS_BIN} ; do \ + $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) $$tool $(DESTDIR)$(bindir)/$$tool ; \ +- if ! [ -r $(DESTDIR)$(sbindir)/$$tool ]; then $(SYMLINK) $(bindir)/$$tool $(DESTDIR)$(sbindir)/$$tool; fi; \ ++ if ! [ -r $(DESTDIR)$(sbindir)/$$tool ]; then $(SYMLINK) ../bin/$$tool $(DESTDIR)$(sbindir)/$$tool; fi; \ + done + # Allow non-root execution of bsmtp for non-root Directors + chmod 755 $(DESTDIR)$(bindir)/bsmtp diff --git a/sysutils/bareos17-server/files/pkg-deinstall.client.in b/sysutils/bareos17-server/files/pkg-deinstall.client.in new file mode 100644 index 000000000000..3be8c2e4874c --- /dev/null +++ b/sysutils/bareos17-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/bareos17-server/files/pkg-install.client.in b/sysutils/bareos17-server/files/pkg-install.client.in new file mode 100644 index 000000000000..70ca57028237 --- /dev/null +++ b/sysutils/bareos17-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/bareos17-server/files/pkg-message.client.in b/sysutils/bareos17-server/files/pkg-message.client.in new file mode 100644 index 000000000000..c2d12358cf68 --- /dev/null +++ b/sysutils/bareos17-server/files/pkg-message.client.in @@ -0,0 +1,15 @@ +################################################################################ + +bareos client was installed + +1) Sample files are installed in %%PREFIX%%/etc/bareos/bareos-fd.d/ and + %%PREFIX%%/etc/bareos/bconsole.d/ + +2) Add bareos_fd_enable="YES" to /etc/rc.conf. + +3) If you want to retain old configuration scheme, you must add the following + to /etc/rc.conf + + bareos_fd_config="%%PREFIX%%/etc/bareos/bareos-fd.conf" + +################################################################################ diff --git a/sysutils/bareos17-server/files/pkg-message.server.in b/sysutils/bareos17-server/files/pkg-message.server.in new file mode 100644 index 000000000000..836127358d83 --- /dev/null +++ b/sysutils/bareos17-server/files/pkg-message.server.in @@ -0,0 +1,72 @@ +############################################################################### + +bareos server was installed + +1) Sample files are installed in %%PREFIX%%/etc/bareos/bareos-dir.d/ and + %%PREFIX%%/etc/bareos/bareos-sd.d/ directories + +2) Add bareos_dir_enable="YES" and bareos_sd_enable="YES" to /etc/rc.conf. + +3) If you want to retain old configuration scheme, you must add the following + to /etc/rc.conf + + bareos_dir_config="%%PREFIX%%/etc/bareos/bareos-dir.conf" + bareos_sd_config="%%PREFIX%%/etc/bareos/bareos-sd.conf" + +4) Important information about new version of bareos can be found in the + ReleaseNotes. + + https://github.com/bareos/bareos/blob/master/README.md + +NOTE: + +An auto-changer manipulation script based on FreeBSDs +chio command is included and installed at + + %%PREFIX%%/sbin/chio-bareos + +Please have a look at it if you want to use an +autochanger. You have to configure the usage in + + %%PREFIX%%/etc/bareos/bareos-dir.conf or + %%PREFIX%%/etc/bareos/bareos-dir.d/storage/ + +Take care of correct permissions for changer and +tape device (e.g. /dev/ch0 and /dev/n[r]sa0) i.e. +they must be accessible by user bareos. + +Due to lack of some features in the FreeBSD tape driver +implementation you MUST add some OS dependent options to +the bareos-sd.conf file: + + Hardware End of Medium = no; + Backward Space Record = no; + Backward Space File = no; + +With 2 filemarks at EOT (see man mt): + Fast Forward Space File = no; + BSF at EOM = yes; + TWO EOF = yes; + +With 1 filemarks at EOT (see man mt): + Fast Forward Space File = yes; + BSF at EOM = no; + TWO EOF = no; + +NOTE: YOU CAN SWITCH EOT model ONLY when starting + from scratch with EMPTY tapes. + +It is also important that all the scripts accessed +by RunBeforeJob and RunAfterJob will be executed by +the user bareos. Check your permissions. + +For USB support read the bareos manual. It could be necessary +to configure/compile a new kernel. + +Look at %%PREFIX%%/lib/bareos/scripts/update_bareos_tables for +database update procedure. + +If you are using sqlite you need to run the make_sqlite_tables script as +the bareos user. Do this using 'sudo su -m bareos'. + +################################################################################ diff --git a/sysutils/bareos17-server/pkg-descr b/sysutils/bareos17-server/pkg-descr new file mode 100644 index 000000000000..1332fabc0d37 --- /dev/null +++ b/sysutils/bareos17-server/pkg-descr @@ -0,0 +1,6 @@ +Bareos (BackupArchivingRecoveryOpenSourced) is a reliable network open source +software to backup, archive and restore files from all major operating systems. +The fork was founded 2010 out of the bacula.org project. The fork has been +actively developed and many new features have been added. + +WWW: http://www.bareos.org/ diff --git a/sysutils/bareos17-server/pkg-plist b/sysutils/bareos17-server/pkg-plist new file mode 100644 index 000000000000..4ecc4a4a3c69 --- /dev/null +++ b/sysutils/bareos17-server/pkg-plist @@ -0,0 +1,165 @@ +@sample(,bareos,640) %%ETCDIR%%/bareos-barcodes.sample +%%MTX%%@sample(,bareos,640) %%ETCDIR%%/mtx-changer.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-regress.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/catalog/MyCatalog.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/client/bareos-fd.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/console/bareos-mon.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/director/bareos-dir.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/fileset/Catalog.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/fileset/LinuxAll.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/fileset/SelfTest.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/fileset/WindowsAllDrives.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/job/BackupCatalog.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/job/RestoreFiles.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/job/backup-bareos-fd.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/jobdefs/DefaultJob.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/messages/Daemon.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/messages/Standard.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/pool/Differential.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/pool/Full.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/pool/Incremental.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/pool/Scratch.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/profile/operator.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/schedule/WeeklyCycle.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-dir.d/storage/File.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-sd.d/device/FileStorage.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-sd.d/director/bareos-dir.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-sd.d/director/bareos-mon.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-sd.d/messages/Standard.conf.sample +@sample(,bareos,640) %%ETCDIR%%/bareos-sd.d/storage/bareos-sd.conf.sample +bin/bregex +bin/bsmtp +bin/bwild +bin/timelimit +lib/bareos/plugins/BareosDirPluginBaseclass.py +lib/bareos/plugins/BareosDirWrapper.py +lib/bareos/plugins/BareosSdPluginBaseclass.py +lib/bareos/plugins/BareosSdWrapper.py +lib/bareos/plugins/autoxflate-sd.so +lib/bareos/plugins/bareos-dir-class-plugin.py +lib/bareos/plugins/bareos-dir.py.template +lib/bareos/plugins/bareos-sd-class-plugin.py +lib/bareos/plugins/bareos-sd.py.template +lib/bareos/plugins/bareos_dir_consts.py +lib/bareos/plugins/bareos_sd_consts.py +%%PYTHON%%lib/bareos/plugins/python-dir.so +%%PYTHON%%lib/bareos/plugins/python-sd.so +%%SCSICRYPTO%%lib/bareos/plugins/scsicrypto-sd.so +%%SCSICRYPTO%%lib/bareos/plugins/scsitapealert-sd.so +lib/bareos/scripts/bareos +lib/bareos/scripts/bareos-config +lib/bareos/scripts/bareos-config-lib.sh +lib/bareos/scripts/bareos-ctl-dir +lib/bareos/scripts/bareos-ctl-fd +lib/bareos/scripts/bareos-ctl-funcs +lib/bareos/scripts/bareos-ctl-sd +lib/bareos/scripts/bareos-explorer +lib/bareos/scripts/bareos-glusterfind-wrapper +lib/bareos/scripts/bareos_config +lib/bareos/scripts/btraceback.dbx +lib/bareos/scripts/btraceback.gdb +lib/bareos/scripts/btraceback.mdb +lib/bareos/scripts/create_bareos_database +lib/bareos/scripts/ddl/creates/%%DBTYPE%%.sql +%%MYSQL%%lib/bareos/scripts/ddl/drops/%%DBTYPE%%.sql +%%PGSQL%%lib/bareos/scripts/ddl/drops/%%DBTYPE%%.sql +%%MYSQL%%lib/bareos/scripts/ddl/grants/%%DBTYPE%%-readonly.sql +%%PGSQL%%lib/bareos/scripts/ddl/grants/%%DBTYPE%%-readonly.sql +%%MYSQL%%lib/bareos/scripts/ddl/grants/%%DBTYPE%%.sql +%%PGSQL%%lib/bareos/scripts/ddl/grants/%%DBTYPE%%.sql +%%PGSQL%%lib/bareos/scripts/ddl/grants/%%DBTYPE%%-change_owner.dbconfig-template.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.10_11.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.11_12.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.12_14.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.14_2001.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.2001_2002.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.2002_2003.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.2003_2004.sql +lib/bareos/scripts/ddl/updates/%%DBTYPE%%.2004_2171.sql +%%PGSQL%%lib/bareos/scripts/ddl/updates/%%DBTYPE%%.bee.1017_2004.sql +lib/bareos/scripts/ddl/versions.map +lib/bareos/scripts/delete_catalog_backup +lib/bareos/scripts/disk-changer +lib/bareos/scripts/drop_bareos_database +lib/bareos/scripts/drop_bareos_tables +lib/bareos/scripts/grant_bareos_privileges +lib/bareos/scripts/make_bareos_tables +lib/bareos/scripts/make_catalog_backup +lib/bareos/scripts/make_catalog_backup.pl +lib/bareos/scripts/mtx-changer +lib/bareos/scripts/query.sql +lib/bareos/scripts/update_bareos_tables +lib/libbareoscats-%%LIB_VERSION%%.so +lib/libbareoscats-%%DBTYPE%%-%%LIB_VERSION%%.so +lib/libbareoscats-%%DBTYPE%%.so +lib/libbareoscats.la +lib/libbareoscats.so +%%NDMP%%lib/libbareosndmp-%%LIB_VERSION%%.so +%%NDMP%%lib/libbareosndmp.la +%%NDMP%%lib/libbareosndmp.so +lib/libbareossd-%%LIB_VERSION%%.so +lib/libbareossd.la +lib/libbareossd.so +lib/libbareossql-%%LIB_VERSION%%.so +lib/libbareossql.la +lib/libbareossql.so +man/man1/bareos-tray-monitor.1.gz +man/man1/bregex.1.gz +man/man1/bsmtp.1.gz +man/man1/bwild.1.gz +man/man8/bareos-dbcheck.8.gz +man/man8/bareos-dir.8.gz +man/man8/bareos-sd.8.gz +man/man8/bareos.8.gz +man/man8/bcopy.8.gz +man/man8/bextract.8.gz +man/man8/bls.8.gz +man/man8/bscan.8.gz +man/man8/btape.8.gz +man/man8/btraceback.8.gz +sbin/bareos +sbin/bareos-dbcheck +sbin/bareos-dir +sbin/bareos-sd +sbin/bbatch +sbin/bcopy +sbin/bextract +sbin/bls +sbin/bpluginfo +sbin/bregex +sbin/bregtest +sbin/bscan +sbin/bscrypto +sbin/bsmtp +sbin/btape +sbin/btraceback +sbin/bwild +sbin/chio-bareos +sbin/grow +sbin/testls +sbin/timelimit +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/catalog +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/client +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/console +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/counter +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/director +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/fileset +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/job +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/jobdefs +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/messages +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/pool +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/profile +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/schedule +@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/storage +@dir(,bareos,750) %%ETCDIR%%/bareos-sd.d +@dir(,bareos,750) %%ETCDIR%%/bareos-sd.d/autochanger +@dir(,bareos,750) %%ETCDIR%%/bareos-sd.d/device +@dir(,bareos,750) %%ETCDIR%%/bareos-sd.d/director +@dir(,bareos,750) %%ETCDIR%%/bareos-sd.d/messages +@dir(,bareos,750) %%ETCDIR%%/bareos-sd.d/ndmp +@dir(,bareos,750) %%ETCDIR%%/bareos-sd.d/storage +@dir(bareos,bareos,) %%BAREOS_DIR%% +@dir(bareos,bareos,) /var/log/bareos +@dir(bareos,bareos,) /var/run/bareos diff --git a/sysutils/bareos17-server/pkg-plist.client b/sysutils/bareos17-server/pkg-plist.client new file mode 100644 index 000000000000..ea910a523b99 --- /dev/null +++ b/sysutils/bareos17-server/pkg-plist.client @@ -0,0 +1,54 @@ +@sample %%ETCDIR%%/bareos-fd.d/client/myself.conf.sample +@group bareos +@sample %%ETCDIR%%/bareos-fd.d/director/bareos-dir.conf.sample +@group bareos +@sample %%ETCDIR%%/bareos-fd.d/director/bareos-mon.conf.sample +@group bareos +@sample %%ETCDIR%%/bareos-fd.d/messages/Standard.conf.sample +@group bareos +%%PYTHON%%@sample %%ETCDIR%%/bareos-dir.d/fileset/plugin-ldap.conf.sample +%%PYTHON%%@group bareos +%%PYTHON%%@sample %%ETCDIR%%/bareos-dir.d/job/backup-ldap.conf.sample +%%PYTHON%%@group bareos +%%PYTHON%%@sample %%ETCDIR%%/bareos-dir.d/job/restore-ldap.conf.sample +%%PYTHON%%@group bareos +@sample %%ETCDIR%%/bconsole.d/bconsole.conf.sample +@group wheel +%%LMDB%%@sample %%ETCDIR%%/plugin-python-ldap.conf.sample +bin/bconsole +%%PYTHON%%lib/bareos/plugins/BareosFdPluginBaseclass.py +%%PYTHON%%lib/bareos/plugins/BareosFdPluginLDAP.py +%%PYTHON%%lib/bareos/plugins/BareosFdPluginLocalFileset.py +%%PYTHON%%lib/bareos/plugins/BareosFdWrapper.py +%%PYTHON%%lib/bareos/plugins/bareos-fd-ldap.py +%%PYTHON%%lib/bareos/plugins/bareos-fd-local-fileset.py +%%PYTHON%%lib/bareos/plugins/bareos-fd-mock-test.py +%%PYTHON%%lib/bareos/plugins/bareos-fd.py.template +%%PYTHON%%lib/bareos/plugins/bareos_fd_consts.py +lib/bareos/plugins/bpipe-fd.so +%%PYTHON%%lib/bareos/plugins/python-fd.so +lib/libbareos-%%LIB_VERSION%%.so +lib/libbareos.la +lib/libbareos.so +lib/libbareoscfg-%%LIB_VERSION%%.so +lib/libbareoscfg.la +lib/libbareoscfg.so +lib/libbareosfind-%%LIB_VERSION%%.so +lib/libbareosfind.la +lib/libbareosfind.so +%%LMDB%%lib/libbareoslmdb-%%LIB_VERSION%%.so +%%LMDB%%lib/libbareoslmdb.la +%%LMDB%%lib/libbareoslmdb.so +man/man1/bconsole.1.gz +man/man8/bareos-fd.8.gz +sbin/bareos-fd +@group bareos +sbin/bconsole +@group wheel +@dir(bareos,bareos,) %%BAREOS_DIR%% +%%PYTHON%%@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/fileset +%%PYTHON%%@dir(,bareos,750) %%ETCDIR%%/bareos-dir.d/job +@dir lib/bareos/plugins +@dir lib/bareos/scripts +@dir(bareos,bareos,) /var/log/bareos +@dir(bareos,bareos,) /var/run/bareos