summaryrefslogtreecommitdiff
path: root/app-backup/tob
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
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/tob')
-rw-r--r--app-backup/tob/Manifest8
-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
-rw-r--r--app-backup/tob/metadata.xml5
-rw-r--r--app-backup/tob/tob-0.26-r2.ebuild38
6 files changed, 86 insertions, 0 deletions
diff --git a/app-backup/tob/Manifest b/app-backup/tob/Manifest
new file mode 100644
index 000000000000..6b191dfd00ee
--- /dev/null
+++ b/app-backup/tob/Manifest
@@ -0,0 +1,8 @@
+AUX tob-0.26-nice.patch 248 SHA256 953a0fc022715523ba4e95be99bb21f0b4037793d1ea104e6b4eb668084428cf SHA512 5d6cf1434a0ab3f3818748a302d4be78f9a8b71b68a8f641484fb5181c69c561d2fae84a0507b6bd5e124c2df8974985dd1fe9e439b6d4fc622bfff3f4a34868 WHIRLPOOL 4b1b60a91e01c3589dc9788774897c80e48de3ff6c9f4f4e18745c00daaa45f6e5dd232ce5c94657be81280479f92c70c314baa1b0bc6ba6a2ac2a183e672e5d
+AUX tob-0.26-no-maketemp-warn.diff 386 SHA256 3173b761fb3ee878c1954662c406207f42245f32fbd0e5faa02a6fe57ba41405 SHA512 4c91ee5bf9b6dcbc9076481e527da2660a15c7bc20d4105fa3d89aafae3062fa73b4f0041f71a74ff15fe727ccdab36b324fe99974cf3d0dff424c9928b72b30 WHIRLPOOL 729100c363b0014028d6009ed7d08606bf95103ce6c13f0b1c0b47bfe5025519b236ec9fd61559b92e8d3759a68856b4d86282805b901ae88d0291370fffaf1c
+AUX tob-0.26-scsi-tape.diff 406 SHA256 03804f0ca014d7820433bbf7d93b4941ee7073b6611bed871014568a1fbde4f1 SHA512 fa0f6852ebbd1c293dbfea32be81fae370d55fa5bb42596f7cff6f970d12e55667f15a56f5e40db581a64d24704fa47ad5e66e18a402a0cfdeeaa89e5a7ce0a8 WHIRLPOOL 82469ca1d07e25914e07271883e62107eaabbb5c3578bd123218bc02110e1881dd03745a8416f8ae9f3dc9f654aec6376dd165c864b830f6be62ca133569c5e3
+DIST tob-0.26.tgz 107711 SHA256 d05af81cc4316b7e34660d78c0dad7f7a917434e7822b6ce6c156d8c11cd25e7 SHA512 4c570388d3dff6c240a36492c05f7248a5efd527235b45238731db4972ed3fd10b8e3e5632768f16214bafef5e27d7796ada253ce9e3cfb71d182d1c9516b9cd WHIRLPOOL 35799605ed95ca50847a9d6009253574315f69a28f82095032bcbfe1e7bcaa7583e5de50c7216143fa1ed470a4f4a912c80b45e0c249920ab475e399b8a07713
+EBUILD tob-0.26-r2.ebuild 724 SHA256 d77682f6dfea72d6f98cdb5fe734e74849637f49b80856a722aa050f82cf809e SHA512 cf3ab21956e857b7d4343161883920a3590dac98440de913b24f3de256cf80ac77ade001bf557b17296d632e81b31852183774d99aaf153959c105a77736e4b5 WHIRLPOOL f3b33f9cf152be16f9345a4cc9dbb16bf919e7ddc339ef294631ea60ad221b3c0746263d3d493039fa545775887ff3b7f7f61fbe63464c6a3262150e7b585eed
+MISC ChangeLog 2717 SHA256 67fecf477be9b21e27d1463b9d234a61bc3aecb2f46ef6e2af1413e959c0ee0f SHA512 c4848724ce2bec325e2018981737b15d7b9e737f44c151cc0f043359522c8bcdc764435b0f0052b05678b061896775c69ff7212d49d3c23f40db23e973188cf4 WHIRLPOOL ca212dbf5a82c932df657de3d17e9c4971246d4eb3828989d3b5271373d6d831b1fdb7689037177eeecc4be38e71b8eb500ec08f30358621ef9f2fd0d401415e
+MISC ChangeLog-2015 2175 SHA256 a174fb5607e32226ca6be90e30fd40704a41fdc7516211fa29361e708a352dfe SHA512 b2a5a3308d3ff854114fb3a1fdd1cc80e0046d1c39f61c0c1c2f8ccf3a06e727c6abfb20ee2eb16487164146fa554031229d935b61dbb5c54bdbac14048e3a85 WHIRLPOOL e2f11aa79d1f61c7f2c255e75d3057ffe8280825c81941679d96bdf81bea55ffe6a98cf5827bc606e05281f3dcd0f70438992dd3b8755f93af333e4b28c78a39
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
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
diff --git a/app-backup/tob/metadata.xml b/app-backup/tob/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-backup/tob/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-backup/tob/tob-0.26-r2.ebuild b/app-backup/tob/tob-0.26-r2.ebuild
new file mode 100644
index 000000000000..ca568a113f3a
--- /dev/null
+++ b/app-backup/tob/tob-0.26-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A general driver for making and maintaining backups"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="app-arch/afio"
+DEPEND=""
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-no-maketemp-warn.diff \
+ "${FILESDIR}"/${P}-nice.patch \
+ "${FILESDIR}"/${P}-scsi-tape.diff
+ ecvs_clean
+}
+
+src_install() {
+ dosbin tob
+ dodir /var/lib/tob
+ insinto /etc/tob
+ doins tob.rc
+ insinto /etc/tob/volumes
+ doins example.*
+
+ dodoc -r README contrib/tobconv doc sample-rc
+ doman tob.8
+}