Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/btrbk/
Date: Thu, 14 Jul 2016 01:35:13
Message-Id: 1468459786.932c16f63b5beb8f798ebf021a38fbbbee794072.gokturk@gentoo
1 commit: 932c16f63b5beb8f798ebf021a38fbbbee794072
2 Author: Craig Andrews <candrews <AT> integralblue <DOT> com>
3 AuthorDate: Tue Jul 12 18:03:10 2016 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 14 01:29:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932c16f6
7
8 app-backup/btrbk: initial commit for versions 0.23.3 and 9999
9
10 btrbk is a backup tool for btrfs subvolumes, taking advantage of btrfs
11 specific capabilities to create atomic snapshots and transfer them
12 incrementally to backup locations via ssh.
13
14 Gentoo-bug: 564780
15
16 app-backup/btrbk/Manifest | 1 +
17 app-backup/btrbk/btrbk-0.23.3.ebuild | 33 +++++++++++++++++++++++++++++++++
18 app-backup/btrbk/btrbk-9999.ebuild | 33 +++++++++++++++++++++++++++++++++
19 app-backup/btrbk/metadata.xml | 22 ++++++++++++++++++++++
20 4 files changed, 89 insertions(+)
21
22 diff --git a/app-backup/btrbk/Manifest b/app-backup/btrbk/Manifest
23 new file mode 100644
24 index 0000000..44082d2
25 --- /dev/null
26 +++ b/app-backup/btrbk/Manifest
27 @@ -0,0 +1 @@
28 +DIST btrbk-0.23.3.tar.xz 69388 SHA256 779636116261e3e0fe64ec986e39be594c04454d87be8005115c8577f62b1725 SHA512 d9fc29b8e2a6e191be93c7845c7f1f99ab60fb4ec910d8b60947ef902b7fdaf789bc73a4884bdd6060f1b180cafaacd5fa8f93dc29624dfea8a2890618ce4012 WHIRLPOOL 4cc9aa102c46feccfb0b90e65d03dd53bed07d78e5a9ddd2afeccfe21fb29f9a2aeba8389771ee7c203598858fb94d59c0d19b73ce1fa29b3772e916bbf4f23b
29
30 diff --git a/app-backup/btrbk/btrbk-0.23.3.ebuild b/app-backup/btrbk/btrbk-0.23.3.ebuild
31 new file mode 100644
32 index 0000000..45cbbca
33 --- /dev/null
34 +++ b/app-backup/btrbk/btrbk-0.23.3.ebuild
35 @@ -0,0 +1,33 @@
36 +# Copyright 1999-2016 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Id$
39 +
40 +EAPI=6
41 +
42 +inherit systemd
43 +
44 +if [[ ${PV} == "9999" ]] ; then
45 + EGIT_REPO_URI="git://dev.tty0.ch/btrbk.git"
46 + inherit git-r3
47 + SRC_URI=""
48 + KEYWORDS=""
49 +else
50 + SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
51 + KEYWORDS="~amd64 ~x86"
52 +fi
53 +
54 +DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
55 +HOMEPAGE="https://digint.ch/btrbk/"
56 +LICENSE="GPL-3+"
57 +SLOT="0"
58 +IUSE="+pv"
59 +
60 +DEPEND=""
61 +RDEPEND="dev-lang/perl
62 + net-misc/openssh
63 + pv? ( sys-apps/pv )
64 + >=sys-fs/btrfs-progs-3.18.2"
65 +
66 +src_install() {
67 + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" SYSTEMDDIR="$(systemd_get_systemunitdir)" install
68 +}
69
70 diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild
71 new file mode 100644
72 index 0000000..45cbbca
73 --- /dev/null
74 +++ b/app-backup/btrbk/btrbk-9999.ebuild
75 @@ -0,0 +1,33 @@
76 +# Copyright 1999-2016 Gentoo Foundation
77 +# Distributed under the terms of the GNU General Public License v2
78 +# $Id$
79 +
80 +EAPI=6
81 +
82 +inherit systemd
83 +
84 +if [[ ${PV} == "9999" ]] ; then
85 + EGIT_REPO_URI="git://dev.tty0.ch/btrbk.git"
86 + inherit git-r3
87 + SRC_URI=""
88 + KEYWORDS=""
89 +else
90 + SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
91 + KEYWORDS="~amd64 ~x86"
92 +fi
93 +
94 +DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
95 +HOMEPAGE="https://digint.ch/btrbk/"
96 +LICENSE="GPL-3+"
97 +SLOT="0"
98 +IUSE="+pv"
99 +
100 +DEPEND=""
101 +RDEPEND="dev-lang/perl
102 + net-misc/openssh
103 + pv? ( sys-apps/pv )
104 + >=sys-fs/btrfs-progs-3.18.2"
105 +
106 +src_install() {
107 + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" SYSTEMDDIR="$(systemd_get_systemunitdir)" install
108 +}
109
110 diff --git a/app-backup/btrbk/metadata.xml b/app-backup/btrbk/metadata.xml
111 new file mode 100644
112 index 0000000..6694799
113 --- /dev/null
114 +++ b/app-backup/btrbk/metadata.xml
115 @@ -0,0 +1,22 @@
116 +<?xml version="1.0" encoding="UTF-8"?>
117 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
118 +<pkgmetadata>
119 + <maintainer type="person">
120 + <email>candrews@××××××××××××.com</email>
121 + <name>Craig Andrews</name>
122 + </maintainer>
123 + <maintainer type="person">
124 + <email>axel@××××.ch</email>
125 + <name>Axel Burri</name>
126 + </maintainer>
127 + <maintainer type="project">
128 + <email>proxy-maint@g.o</email>
129 + <name>Proxy Maintainers</name>
130 + </maintainer>
131 + <longdescription lang="en">
132 + Tool for creating snapshots and remote backups of btrfs subvolumes
133 + </longdescription>
134 + <use>
135 + <flag name='pv'>Use sys-apps/pv to enable progress bar functionality</flag>
136 + </use>
137 +</pkgmetadata>