summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Stadler <centic@gentoo.org>2005-03-01 19:34:39 +0000
committerDominik Stadler <centic@gentoo.org>2005-03-01 19:34:39 +0000
commitf171c131427647b79bb82eee8cc8bc9df394c7de (patch)
treeb2eafb01a6d498e0883c68b72c2b87d467ae6817 /app-arch
parentVersion bump. Marked 0.10.1 and 0.10.2 stable on x86. (diff)
downloadgentoo-2-f171c131427647b79bb82eee8cc8bc9df394c7de.tar.gz
gentoo-2-f171c131427647b79bb82eee8cc8bc9df394c7de.tar.bz2
gentoo-2-f171c131427647b79bb82eee8cc8bc9df394c7de.zip
Fix Bug 53064 and 81921.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/tob/ChangeLog9
-rw-r--r--app-arch/tob/Manifest8
-rw-r--r--app-arch/tob/files/digest-tob-0.26-r11
-rw-r--r--app-arch/tob/files/tob-0.26-nice.patch11
-rw-r--r--app-arch/tob/files/tob-0.26-scsi-tape.diff12
-rw-r--r--app-arch/tob/tob-0.26-r1.ebuild46
6 files changed, 84 insertions, 3 deletions
diff --git a/app-arch/tob/ChangeLog b/app-arch/tob/ChangeLog
index 19de9f40b1c5..f67fa187ee1b 100644
--- a/app-arch/tob/ChangeLog
+++ b/app-arch/tob/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-arch/tob
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tob/ChangeLog,v 1.3 2005/01/01 11:59:14 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tob/ChangeLog,v 1.4 2005/03/01 19:34:39 centic Exp $
+
+*tob-0.26-r1 (01 Mar 2005)
+
+ 01 Mar 2005; Dominik Stadler <centic@gentoo.org>
+ +files/tob-0.26-nice.patch, +files/tob-0.26-scsi-tape.diff,
+ +tob-0.26-r1.ebuild:
+ Fix Bug 53064 and Bug 81921
*tob-0.26 (20 Mar 2004)
diff --git a/app-arch/tob/Manifest b/app-arch/tob/Manifest
index 44c7e65197ae..6471b57e84ec 100644
--- a/app-arch/tob/Manifest
+++ b/app-arch/tob/Manifest
@@ -1,5 +1,9 @@
-MD5 7f518757506d580eed667df6f04f196b ChangeLog 348
-MD5 4086491e8b7c76b8138dc140f7742978 metadata.xml 232
MD5 30679dd6891762c972df44d738f5b22b tob-0.26.ebuild 937
+MD5 4086491e8b7c76b8138dc140f7742978 metadata.xml 232
+MD5 7f518757506d580eed667df6f04f196b ChangeLog 348
+MD5 0bd569485733e2601c196322ab34c16b tob-0.26-r1.ebuild 1006
MD5 16e9d7787c776a93e8aecfe45acf4e49 files/digest-tob-0.26 57
MD5 093a36053cf0fe7130b2b0cea3da165e files/tob-0.26-no-maketemp-warn.diff 386
+MD5 abd826949b5fe21fff3983786cca319c files/tob-0.26-nice.patch 248
+MD5 16e9d7787c776a93e8aecfe45acf4e49 files/digest-tob-0.26-r1 57
+MD5 90df090c3feb761d7fbceeede27f3671 files/tob-0.26-scsi-tape.diff 407
diff --git a/app-arch/tob/files/digest-tob-0.26-r1 b/app-arch/tob/files/digest-tob-0.26-r1
new file mode 100644
index 000000000000..51fb9e358fa6
--- /dev/null
+++ b/app-arch/tob/files/digest-tob-0.26-r1
@@ -0,0 +1 @@
+MD5 de964a6e1b2d886591c0f324f291ae83 tob-0.26.tgz 107711
diff --git a/app-arch/tob/files/tob-0.26-nice.patch b/app-arch/tob/files/tob-0.26-nice.patch
new file mode 100644
index 000000000000..d488a27a19cd
--- /dev/null
+++ b/app-arch/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-arch/tob/files/tob-0.26-scsi-tape.diff b/app-arch/tob/files/tob-0.26-scsi-tape.diff
new file mode 100644
index 000000000000..06b981190a57
--- /dev/null
+++ b/app-arch/tob/files/tob-0.26-scsi-tape.diff
@@ -0,0 +1,12 @@
+diff -Nur tob-0.26/tob /tmp/tob-0.26/tob
+--- tob-0.26/tob 2005-02-27 22:46:15.701964928 +0100
++++ /tmp/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
diff --git a/app-arch/tob/tob-0.26-r1.ebuild b/app-arch/tob/tob-0.26-r1.ebuild
new file mode 100644
index 000000000000..1881ba7ea6dc
--- /dev/null
+++ b/app-arch/tob/tob-0.26-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tob/tob-0.26-r1.ebuild,v 1.1 2005/03/01 19:34:39 centic Exp $
+
+inherit eutils
+
+DESCRIPTION="A general driver for making and maintaining backups."
+HOMEPAGE="http://tinyplanet.ca/projects/tob/"
+SRC_URI="http://tinyplanet.ca/projects/tob/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="app-arch/afio"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-no-maketemp-warn.diff || die
+ epatch ${FILESDIR}/${P}-nice.patch || die
+ epatch ${FILESDIR}/${P}-scsi-tape.diff || die
+}
+
+src_compile() {
+ # no compilation required, only a perl-script
+ einfo "No compilation necessary..."
+}
+
+src_install() {
+ # simply install all the parts into the correct places
+ dosbin tob || die
+ dodir /etc/tob/volumes
+ cp tob.rc ${D}/etc/tob/tob.rc
+ cp example.* ${D}/etc/tob/volumes
+ doman tob.8
+ dodoc README
+ docinto doc
+ dodoc doc/*
+ docinto sample-rc
+ dodoc sample-rc/*
+ einfo "creating the TOBLISTS directory ..."
+ dodir /var/lib/tob
+}
+