summaryrefslogtreecommitdiff
path: root/app-backup/tob/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/tob/files
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/tob/files')
-rw-r--r--app-backup/tob/files/tob-0.26-nice.patch11
-rw-r--r--app-backup/tob/files/tob-0.26-no-maketemp-warn.diff12
-rw-r--r--app-backup/tob/files/tob-0.26-scsi-tape.diff12
3 files changed, 35 insertions, 0 deletions
diff --git a/app-backup/tob/files/tob-0.26-nice.patch b/app-backup/tob/files/tob-0.26-nice.patch
new file mode 100644
index 000000000000..d488a27a19cd
--- /dev/null
+++ b/app-backup/tob/files/tob-0.26-nice.patch
@@ -0,0 +1,11 @@
+--- tob.old 2005-02-13 17:46:00.000000000 -0500
++++ tob 2005-02-13 17:35:43.000000000 -0500
+@@ -314,7 +314,7 @@
+ fi
+
+ if [ "$NICEFIND" = "yes" ] ; then
+- nicefindcmd="nice -19"
++ nicefindcmd="nice -n 19"
+ else
+ nicefindcmd=""
+ fi
diff --git a/app-backup/tob/files/tob-0.26-no-maketemp-warn.diff b/app-backup/tob/files/tob-0.26-no-maketemp-warn.diff
new file mode 100644
index 000000000000..af346d111353
--- /dev/null
+++ b/app-backup/tob/files/tob-0.26-no-maketemp-warn.diff
@@ -0,0 +1,12 @@
+diff -u tob-0.26/tob tob-0.26.new/tob
+--- tob-0.26/tob 2003-12-22 01:25:17.000000000 +0100
++++ tob-0.26.new/tob 2004-03-20 10:30:09.916597016 +0100
+@@ -61,7 +61,7 @@
+ ## 16 May 1998
+ ##
+ ## Smartened up by Stephen van Egmond <svanegmond@tinyplanet.ca> 2003/10/30
+-MKTEMP=`which maketemp`;
++MKTEMP=`which maketemp 2> /dev/null`;
+ if [ ! -x "$MKTEMP" ]; then
+ MKTEMP=`which mktemp`;
+ fi
diff --git a/app-backup/tob/files/tob-0.26-scsi-tape.diff b/app-backup/tob/files/tob-0.26-scsi-tape.diff
new file mode 100644
index 000000000000..4628d8a8f417
--- /dev/null
+++ b/app-backup/tob/files/tob-0.26-scsi-tape.diff
@@ -0,0 +1,12 @@
+diff -Nur tob-0.26/tob /tmp/tob-0.26/tob
+--- a/tob-0.26/tob 2005-02-27 22:46:15.701964928 +0100
++++ b/tob-0.26/tob 2005-02-27 22:45:41.091226560 +0100
+@@ -219,8 +219,6 @@
+ if [ -d "$BACKUPDEV" ]; then
+ BACKUPDIR=$BACKUPDEV
+ BACKUPDEV="${BACKUPDIR}/${VOLUMENAME}_${DATE}_${TYPE}.${EXT}"
+- else
+- BACKUPDIR="/var/lib/tob"
+ fi
+
+ # check that relevant environment vars are set