Skip to content

Commit

Permalink
app-backup/btrbk: add version 0.23.2 and 9999
Browse files Browse the repository at this point in the history
btrbk is a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to backup locations via ssh.

Gentoo-bug; 564780
  • Loading branch information
candrews committed Jul 12, 2016
1 parent 9a4b961 commit 453cc91
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-backup/btrbk/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST btrbk-0.23.2.tar.xz 69172 SHA256 98b0eed2d82ea73d522f8da08584420472a52d1ef7be2ee03cc4ffe51c0db82b SHA512 f24b47d23beeb60db69006b057cc3ebf17abe443af7b1c69015da26efc84f26f438679713ec2ee319078a22ebf4a9b29461a60a00b603866240b1679f32c85a3 WHIRLPOOL 770fe25bf88b14837a89e8fde96faff7e049654ad1443a5e4724bf424d152f5108ad9621bc889bbe82d71d02f1f01e2dbb559ef1c820e8c3a54424fa80af04c7
44 changes: 44 additions & 0 deletions app-backup/btrbk/btrbk-0.23.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit systemd

if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://dev.tty0.ch/btrbk.git"
inherit git-r3
SRC_URI=""
KEYWORDS=""
else
SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
HOMEPAGE="https://digint.ch/btrbk/"
LICENSE="GPL-3"
SLOT="0"

DEPEND=""
RDEPEND="dev-lang/perl
>=sys-fs/btrfs-progs-3.18.2
net-misc/openssh"

src_install() {
dosbin btrbk
dodoc README.md
dodoc doc/FAQ.md
dodoc doc/upgrade_to_v0.23.0.md
dodoc ChangeLog
doman doc/btrbk.1
doman doc/btrbk.conf.5
doman doc/ssh_filter_btrbk.1
insinto /etc/${PN}
doins btrbk.conf.example
insinto /usr/share/${PN}/
doins ssh_filter_btrbk.sh
doins contrib/cron/btrbk-mail
systemd_dounit contrib/systemd/btrbk.{service,timer}
}
44 changes: 44 additions & 0 deletions app-backup/btrbk/btrbk-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit systemd

if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://dev.tty0.ch/btrbk.git"
inherit git-r3
SRC_URI=""
KEYWORDS=""
else
SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
HOMEPAGE="https://digint.ch/btrbk/"
LICENSE="GPL-3"
SLOT="0"

DEPEND=""
RDEPEND="dev-lang/perl
>=sys-fs/btrfs-progs-3.18.2
net-misc/openssh"

src_install() {
dosbin btrbk
dodoc README.md
dodoc doc/FAQ.md
dodoc doc/upgrade_to_v0.23.0.md
dodoc ChangeLog
doman doc/btrbk.1
doman doc/btrbk.conf.5
doman doc/ssh_filter_btrbk.1
insinto /etc/${PN}
doins btrbk.conf.example
insinto /usr/share/${PN}/
doins ssh_filter_btrbk.sh
doins contrib/cron/btrbk-mail
systemd_dounit contrib/systemd/btrbk.{service,timer}
}
19 changes: 19 additions & 0 deletions app-backup/btrbk/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>candrews@integralblue.com</email>
<name>Craig Andrews</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
</use>
<longdescription lang="en">
Tool for creating snapshots and remote backups of btrfs subvolumes
</longdescription>
</pkgmetadata>

0 comments on commit 453cc91

Please sign in to comment.