Permalink
Browse files

Add app-backup/tartarus

  • Loading branch information...
1 parent 406edd3 commit 44826a24235718668ee01834776aed63c7801d81 @a3li committed May 26, 2011
Showing with 88 additions and 0 deletions.
  1. +1 −0 README.md
  2. +3 −0 app-backup/tartarus/Manifest
  3. +29 −0 app-backup/tartarus/metadata.xml
  4. +55 −0 app-backup/tartarus/tartarus-0.9.8.ebuild
View
@@ -6,4 +6,5 @@ Random ebuilds I use... Handle with care. :)
About the ebuilds
-----------------
+* **app-backup/tartarus**: A flexible yet simple backup script using bash to wrap standard UNIX commands.
* **net-fs/afpfs-ng** ([bug 182046](https://bugs.gentoo.org/show_bug.cgi?id=182046)): An Apple Filing Protocol (AFP) client, also providing a FUSE filesystem.
@@ -0,0 +1,3 @@
+DIST tartarus-0.9.8.tar.bz2 28474 RMD160 8c0885333d8e8f694a9960cb2adbbdc66d8b1edc SHA1 a41ab593785a6ee1ef24ebd2d432f971e7dfe916 SHA256 cfd3158974e4c331bebf5b9fbf51eb3f884a71d60eaf2c82e8856a150691bcef
+EBUILD tartarus-0.9.8.ebuild 1062 RMD160 705c7b0f6bb0d9a5b37a960b63ab01580471afd2 SHA1 64dcdb6d4d52e5482812fc72def5f0e1a5e1074e SHA256 9e46a8183d821df2fc75ef0fdf0e81dea982b7d1555c341ca2a8995c80ed46cb
+MISC metadata.xml 916 RMD160 c4fa48b2b6a69452bbcea0c37d9ccbe5116042d8 SHA1 c5d23e20f550e007e688edb21d4c5297ed5713ba SHA256 6850ca05832c7e36a1d4b687aeeb8b7b292da336ac96a699c5e7eee6316cca5a
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>a3li@gentoo.org</email>
+ <name>Alex Legler</name>
+ </maintainer>
+ <use>
+ <flag name="afio">
+ Depend on <pkg>app-arch/afio</pkg> for AFIO archive support.
+ </flag>
+ <flag name="charon">
+ Install the charon(1) utilities for purging old backup archives.
+ </flag>
+ <flag name="crypt">
+ Depend on <pkg>app-crypt/gnupg</pkg> for backup encryption support.
+ </flag>
+ <flag name="lvm">
+ Depend on <pkg>sys-fs/lvm</pkg> for LVM snapshot backup support.
+ </flag>
+ <flag name="orpheus">
+ Install the EXPERIMENTAL orpheus(1) utility for requesting single files from backup archives.
+ </flag>
+ <flag name="pbzip2">
+ Depend on <pkg>app-arch/pbzip2</pkg> to allow usage of pbzip2 as a archive compressor.
+ </flag>
+ </use>
+</pkgmetadata>
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+GENTOO_DEPEND_ON_PERL=no
+
+inherit perl-module
+
+DESCRIPTION="A flexible yet simple backup solution using bash to wrap standard UNIX commands"
+HOMEPAGE="http://wertarbyte.de/tartarus.shtml"
+SRC_URI="http://wertarbyte.de/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="afio crypt +charon lvm orpheus pbzip2"
+
+DEPEND="
+ charon? ( dev-lang/perl )"
+RDEPEND="${DEPEND}
+ afio? ( app-arch/afio )
+ crypt? ( app-crypt/gnupg )
+ lvm? ( sys-fs/lvm2 )
+ pbzip2? ( app-arch/pbzip2 )
+"
+
+src_prepare() {
+ # We don't need a version check
+ sed -i -e 's/CHECK_FOR_UPDATE="yes"/CHECK_FOR_UPDATE="no"/' bin/tartarus || die
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dosbin bin/tartarus
+ doman man/tartarus.1
+
+ if use charon; then
+ dosbin bin/charon*
+ doman man/charon*
+
+ perlinfo
+ insinto ${VENDOR_LIB}
+ pushd lib &>/dev/null
+ doins -r Tartarus
+ popd &>/dev/null
+ fi
+
+ if use orpheus; then
+ dosbin bin/orpheus
+ fi
+}

0 comments on commit 44826a2

Please sign in to comment.