From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-backup/tob/Manifest | 1 + app-backup/tob/files/tob-0.26-nice.patch | 11 ++++++ .../tob/files/tob-0.26-no-maketemp-warn.diff | 12 +++++++ app-backup/tob/files/tob-0.26-scsi-tape.diff | 12 +++++++ app-backup/tob/metadata.xml | 8 +++++ app-backup/tob/tob-0.26-r2.ebuild | 39 ++++++++++++++++++++++ 6 files changed, 83 insertions(+) create mode 100644 app-backup/tob/Manifest create mode 100644 app-backup/tob/files/tob-0.26-nice.patch create mode 100644 app-backup/tob/files/tob-0.26-no-maketemp-warn.diff create mode 100644 app-backup/tob/files/tob-0.26-scsi-tape.diff create mode 100644 app-backup/tob/metadata.xml create mode 100644 app-backup/tob/tob-0.26-r2.ebuild (limited to 'app-backup/tob') diff --git a/app-backup/tob/Manifest b/app-backup/tob/Manifest new file mode 100644 index 000000000000..976bde8f9886 --- /dev/null +++ b/app-backup/tob/Manifest @@ -0,0 +1 @@ +DIST tob-0.26.tgz 107711 SHA256 d05af81cc4316b7e34660d78c0dad7f7a917434e7822b6ce6c156d8c11cd25e7 SHA512 4c570388d3dff6c240a36492c05f7248a5efd527235b45238731db4972ed3fd10b8e3e5632768f16214bafef5e27d7796ada253ce9e3cfb71d182d1c9516b9cd WHIRLPOOL 35799605ed95ca50847a9d6009253574315f69a28f82095032bcbfe1e7bcaa7583e5de50c7216143fa1ed470a4f4a912c80b45e0c249920ab475e399b8a07713 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 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..9df351b326cc --- /dev/null +++ b/app-backup/tob/metadata.xml @@ -0,0 +1,8 @@ + + + + + maintainer-needed@gentoo.org + Default assignee for orphaned packages + + 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..f124a80af832 --- /dev/null +++ b/app-backup/tob/tob-0.26-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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="~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 +} -- cgit v1.2.3-65-gdbad