summaryrefslogtreecommitdiff
path: root/app-backup/dirvish
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/dirvish
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/dirvish')
-rw-r--r--app-backup/dirvish/Manifest6
-rw-r--r--app-backup/dirvish/dirvish-1.2.1.ebuild38
-rw-r--r--app-backup/dirvish/files/master.conf.example33
-rw-r--r--app-backup/dirvish/metadata.xml10
4 files changed, 87 insertions, 0 deletions
diff --git a/app-backup/dirvish/Manifest b/app-backup/dirvish/Manifest
new file mode 100644
index 000000000000..8fd9a0c448b1
--- /dev/null
+++ b/app-backup/dirvish/Manifest
@@ -0,0 +1,6 @@
+AUX master.conf.example 639 SHA256 152e482a3d02a3d33d062a926f3112cd5cd2115f7553096ea9d494c2538f9fd1 SHA512 37107271ce39de9aa744e31c1abff9871eb3e58ac48e9c6470abea2742783aeedcc4dd5a698b74f83cfa23a987a3d97dee260502d883367e707edef6b99f636a WHIRLPOOL 2d78a859d42cf116f0e9dffdd42d7443361e20db9764399e2a8c4bf732abae046dc3764ddac2ee0c4dfa62f931ab401759c804eb3e055b56f3c982fb783ec282
+DIST dirvish-1.2.1.tgz 49132 SHA256 d6068b0644f9302fb1ec676928f60145877ac316b5aa29d5a5a0204c59935527 SHA512 3618d4e73a19ed9bffa1d68561292f8d61948ab914cf0503771fe6f058af52d02707caaf73ef8b06ddbbeef72817712ab0312c3ab086f8da036c02c1fa22d0a4 WHIRLPOOL 0b82535d5aaf7893308e25af1be07c55c8b2edabe8828d4c2396ef9ca0e7e9b6a568cee6eec31dcc18703a2db7eac22cdf8bbd177605b0e410adf51d1a9bf315
+EBUILD dirvish-1.2.1.ebuild 925 SHA256 9cc17b7020504f9d4b34d7786e5305725629fe7f015eba6f00121ba7faa41bc5 SHA512 9b5c68b14258552adb70f9952733bd5226c58cf89a7007d6cd415f553318a88b3dd79b0d27033dc3910c9934c77f1f6f5eacdb3c141ba38ccff5b5ff3ada05c3 WHIRLPOOL 915564906a3917cf4eba9651c114e1a11193c7157f4239c024bf950d5f7fad5b3f74dfe6b991dd92dc97383af208c80345a547e7a281019e361e518904b5fb27
+MISC ChangeLog 2954 SHA256 5746d8412565c30e38ee161340a40b1ea5b5c6e80b932e095b11d24c0e9788d9 SHA512 6b59bd7f2602d5f98a822686c98107053628ae0a490cb899b7ec47490e7c578853280f7572e3d5bdec4d9644294e09453e7a7f872105b8ae7cd311cc54f1a7f4 WHIRLPOOL 817de3048e89a837a26dab2299d920666946c5714d5f336d04ce4b079a4db2c1c7b80811ecdedbc00099377df6bebbe15643f738f60f5c75084271a81e2dc42e
+MISC ChangeLog-2015 1698 SHA256 0d37aa53b9a5716826dce73b7c91b5b6a9578431cc1ec37aff65533c0d21ea13 SHA512 0ce97bb2deaa313b3b23d2f14b371c57e7987864029927313d89eb02a2a4d833bdafda82bc486460a31740d26f96a6a0e4f8224388cd6edcf6732fbf749bfcf2 WHIRLPOOL d48c970c22f9e72593d9476c0e6ad810dc82284c37ed203906c2ac84f8c21ddd98a6e66aa0ddacea437ffe54fb29c2582abe535a1180ddaf13bf5e6f47cd9b81
+MISC metadata.xml 463 SHA256 21035ed1068b5428c3b618762e3183a39a9ba5612a5f0cc3584fb74e3c7d3d16 SHA512 924bc0fcb516c7a91c81e36bb32423d82e08c255aa4a3f16a8df649720b9f14641877ad3cbd3dc1862b1c5f0df19d30b85c4aab4ff41d34dc4586137cd235475 WHIRLPOOL d019fc4486a244047d48af111c9a0e2704c260e5009a643671b5b114d8fd3fd498cadf4abcf8c3b98206d28bb1a8e764bdd1d29a6012f3d73db5cc7192313cc0
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 000000000000..57629ae47577
--- /dev/null
+++ b/app-backup/dirvish/dirvish-1.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-ParseDate
+ dev-perl/Time-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 000000000000..8264b88b8321
--- /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 000000000000..003cb2d2d730
--- /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>
+ <!-- maintainer-needed -->
+ <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>