summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-backup/dirvish
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
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 <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-backup/dirvish')
-rw-r--r--app-backup/dirvish/Manifest1
-rw-r--r--app-backup/dirvish/dirvish-1.2.1.ebuild39
-rw-r--r--app-backup/dirvish/files/master.conf.example33
-rw-r--r--app-backup/dirvish/metadata.xml10
4 files changed, 83 insertions, 0 deletions
diff --git a/app-backup/dirvish/Manifest b/app-backup/dirvish/Manifest
new file mode 100644
index 00000000000..6ac59c2b637
--- /dev/null
+++ b/app-backup/dirvish/Manifest
@@ -0,0 +1 @@
+DIST dirvish-1.2.1.tgz 49132 SHA256 d6068b0644f9302fb1ec676928f60145877ac316b5aa29d5a5a0204c59935527 SHA512 3618d4e73a19ed9bffa1d68561292f8d61948ab914cf0503771fe6f058af52d02707caaf73ef8b06ddbbeef72817712ab0312c3ab086f8da036c02c1fa22d0a4 WHIRLPOOL 0b82535d5aaf7893308e25af1be07c55c8b2edabe8828d4c2396ef9ca0e7e9b6a568cee6eec31dcc18703a2db7eac22cdf8bbd177605b0e410adf51d1a9bf315
diff --git a/app-backup/dirvish/dirvish-1.2.1.ebuild b/app-backup/dirvish/dirvish-1.2.1.ebuild
new file mode 100644
index 00000000000..b9b053177ff
--- /dev/null
+++ b/app-backup/dirvish/dirvish-1.2.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Dirvish is a fast, disk based, rotating network backup system"
+HOMEPAGE="http://www.dirvish.org/"
+SRC_URI="http://dirvish.org/${P}.tgz"
+
+LICENSE="OSL-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="app-arch/tar"
+RDEPEND="dev-perl/Time-modules
+ dev-perl/Period
+ >=net-misc/rsync-2.5.7"
+
+src_compile() {
+ for f in dirvish dirvish-runall dirvish-expire dirvish-locate ; do
+ cat > $f <<-EOF
+ #!/usr/bin/perl
+
+ \$CONFDIR = "/etc/dirvish";
+
+ EOF
+ cat $f.pl >> $f
+ cat loadconfig.pl >> $f
+ done
+}
+
+src_install() {
+ dosbin dirvish dirvish-runall dirvish-expire dirvish-locate
+ doman dirvish.8 dirvish-runall.8 dirvish-expire.8 dirvish-locate.8 dirvish.conf.5
+ dohtml FAQ.html INSTALL RELEASE.html TODO.html
+ dodoc CHANGELOG
+
+ insinto /etc/dirvish; doins "${FILESDIR}"/master.conf.example
+}
diff --git a/app-backup/dirvish/files/master.conf.example b/app-backup/dirvish/files/master.conf.example
new file mode 100644
index 00000000000..8264b88b832
--- /dev/null
+++ b/app-backup/dirvish/files/master.conf.example
@@ -0,0 +1,33 @@
+bank:
+ /backup/dirvish/server
+ /backup/dirvish/laptop
+ /backup/dirvish/firewall
+exclude:
+ lost+found/
+ proc/
+ core
+Runall:
+ serverroot 03:00
+ serverboot 03:00
+ serverhome 03:00
+ serveropt 03:00
+ serverspare 03:00
+ laptoproot 03:00
+ laptopboot 03:00
+ laptopopt 03:00
+ laptopspare 03:00
+ firewallroot 03:00
+ firewallboot 03:00
+
+expire-default: never
+
+# keep the sunday backups forever, the dailies for 3 months
+expire-rule:
+# MIN HR DOM MON DOW STRFTIME_FMT
+ * * * * * +3 months
+ * * * * 1 never
+
+pre-server: /usr/local/sbin/dirvish-pre
+
+post-server: /usr/local/sbin/dirvish-post
+
diff --git a/app-backup/dirvish/metadata.xml b/app-backup/dirvish/metadata.xml
new file mode 100644
index 00000000000..aa871bad3b0
--- /dev/null
+++ b/app-backup/dirvish/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>app-backup</herd>
+ <longdescription lang="en">Dirvish is a fast, disk based, rotating network
+ backup system. With dirvish you can maintain a set of complete images
+ of your filesystems with unattended creation and expiration. A dirvish
+ backup vault is like a time machine for your data.
+ </longdescription>
+</pkgmetadata>