summaryrefslogtreecommitdiff
path: root/sysutils/boxbackup/files/999.boxbackup.in
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-05-09 15:03:38 +0000
committerRene Ladan <rene@FreeBSD.org>2019-05-09 15:03:38 +0000
commitb8b8fa5aeb1df824ed5374149d0a7377dd0c1cd9 (patch)
tree67d5f350f6c92b847a528d27db9960acb190f10e /sysutils/boxbackup/files/999.boxbackup.in
parentRestore "hs-" package name prefix for Haskell packages. (diff)
Remove expired ports:
2019-05-08 databases/ruby-odbc: Broken for more than 6 months 2019-05-08 databases/rubygem-dbd-odbc: Broken for more than 6 months 2019-05-08 devel/dlangui: Broken for more than 6 months 2019-05-08 editors/dlangide: Broken for more than 6 months 2019-05-08 emulators/desmume: Broken for more than 6 months 2019-05-08 emulators/yabause: Broken for more than 6 months 2019-05-08 emulators/yape: Broken for more than 6 months 2019-05-08 games/armagetron: Broken for more than 6 months 2019-05-08 games/boswars: Broken for more than 6 months 2019-05-08 games/ceferino: Broken for more than 6 months 2019-05-08 games/chanta: Broken for more than 6 months 2019-05-08 games/d2x-xl: Broken for more than 6 months 2019-05-08 games/drcreep: Broken for more than 6 months 2019-05-08 games/frobtads: Broken for more than 6 months 2019-05-08 games/paintown: Broken for more than 6 months 2019-05-08 games/pykawari: Broken for more than 6 months 2019-05-08 games/stepmania-devel: Broken for more than 6 months 2019-05-08 games/tinymux: Broken for more than 6 months 2019-05-08 games/voxelands: Broken for more than 6 months 2019-05-08 games/voxelands-server: Broken for more than 6 months 2019-05-08 games/warsow: Broken for more than 6 months 2019-05-08 graphics/appleseed: Broken for more than 6 months 2019-05-08 graphics/apvlv: Broken for more than 6 months 2019-05-08 graphics/qslim: Broken for more than 6 months 2019-05-08 graphics/rawstudio: Broken for more than 6 months 2019-05-08 graphics/tulip: Broken for more than 6 months 2019-05-08 lang/qore: Broken for more than 6 months 2019-05-08 mail/milter-manager: Broken for more than 6 months 2019-05-08 math/goblin: Broken for more than 6 months 2019-05-08 math/mosesdecoder: Broken for more than 6 months 2019-05-08 multimedia/asdcplib: Broken for more than 6 months 2019-05-08 net/crtmpserver: Broken for more than 6 months 2019-05-08 net/linuxigd: Abandonware; use net/miniupnpd instead 2019-05-08 net/openafs: Broken for more than 6 months 2019-05-08 security/quantis: Broken for more than 6 months 2019-05-08 sysutils/boxbackup: Broken for more than 6 months 2019-05-08 sysutils/grub2-efi: Broken for more than 6 months 2019-05-08 sysutils/grub2-pcbsd: Broken for more than 6 months 2019-05-08 sysutils/mdcp: Broken for more than 6 months 2019-05-08 sysutils/sbsigntool: Broken for more than 6 months 2019-05-08 www/py-cherrypy-old: Lates version is in tree and no dependent ports
Notes
Notes: svn path=/head/; revision=501106
Diffstat (limited to 'sysutils/boxbackup/files/999.boxbackup.in')
-rw-r--r--sysutils/boxbackup/files/999.boxbackup.in84
1 files changed, 0 insertions, 84 deletions
diff --git a/sysutils/boxbackup/files/999.boxbackup.in b/sysutils/boxbackup/files/999.boxbackup.in
deleted file mode 100644
index 9422cbfc1744..000000000000
--- a/sysutils/boxbackup/files/999.boxbackup.in
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Box Backup monthly store compare
-#
-# Add the following to /etc/periodic.conf to enable the monthly compare:
-# monthly_boxbackup_compare_enable="YES"
-#
-# By default the script will run "compare -aq". If you want to change this to
-# run a full compare, add the following to periodic.conf:
-# monthly_boxbackup_compare_args="-a"
-#
-# NOTE: This script will cause the monthly periodic(8) run to take much longer
-# than usual, depending on the size of your backup store.
-#
-# If you wish to run this independently of the monthly job, you can create a
-# new periodic entry as follows:
-#
-# # mkdir /usr/local/etc/periodic/boxbackup
-# # mv /usr/local/etc/periodic/monthly/999.boxbackup \
-# /usr/local/etc/periodic/boxbackup/100.compare
-#
-# Then add the following to /etc/crontab:
-# 30 5 1 * * root periodic boxbackup
-#
-# (adjust the timings as necessary)
-#
-# You may also wish to add boxbackup_output="root" to periodic.conf so that
-# mail comes from periodic rather than cron.
-
-monthly_boxbackup_compare_enable="NO"
-monthly_boxbackup_compare_args="-aq"
-
-if [ -r /etc/defaults/periodic.conf ]
-then
- . /etc/defaults/periodic.conf
- source_periodic_confs
-fi
-
-SLEEP=/bin/sleep
-JOT=/usr/bin/jot
-
-random() {
- ${JOT} -r 1 0 900
-}
-
-rc=0
-
-case "$monthly_boxbackup_compare_enable" in
- [Yy][Ee][Ss])
- echo
- echo "Running Box Backup store compare:"
- # When non-interactive, sleep to reduce congestion on rkhunter
- # site
- if [ "$1" != -nodelay ]; then
- # In FreeBSD 12.0 the anticongestion function should
- # be used instead of a hard-coded sleep
- if [ -n "$anticongestion_sleeptime" ]; then
- anticongestion
- else
- ${SLEEP} $(random)
- fi
- fi
- %%PREFIX%%/sbin/bbackupquery -q "compare -c $monthly_boxbackup_compare_args" quit
-
- # Return codes:
- # 1 Comparison was exact
- # 2 Differences were found
- # 3 An error occurred
- if [ $? -eq 2 ]; then
- echo
- echo "Differences were found. Please check the output."
- rc=3
- elif [ $? -eq 3 ]; then
- echo
- echo "An error occurred. Please check the output."
- rc=3
- fi
-
- ;;
-esac
-
-exit $rc