diff options
author | Hans de Graaff <hans@degraaff.org> | 2017-08-20 09:52:42 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2017-08-20 09:52:42 +0200 |
commit | 3b7d58990b1f39ea6ecfd50d99e96a413371ad35 (patch) | |
tree | dbd29ca363b1789a1bf4692e3b4909751fef0dfc /sys-fs | |
parent | dev-ruby/gli: add 2.16.1 (diff) | |
download | graaff-3b7d58990b1f39ea6ecfd50d99e96a413371ad35.tar.gz graaff-3b7d58990b1f39ea6ecfd50d99e96a413371ad35.tar.bz2 graaff-3b7d58990b1f39ea6ecfd50d99e96a413371ad35.zip |
sys-fs/zfs-backup: initial import
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/zfs-backup/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/zfs-backup/metadata.xml | 5 | ||||
-rw-r--r-- | sys-fs/zfs-backup/zfs-backup-20150318.ebuild | 33 |
3 files changed, 39 insertions, 0 deletions
diff --git a/sys-fs/zfs-backup/Manifest b/sys-fs/zfs-backup/Manifest new file mode 100644 index 00000000..0a02e61d --- /dev/null +++ b/sys-fs/zfs-backup/Manifest @@ -0,0 +1 @@ +DIST zfs-backup-20150318.tar.gz 7189 SHA256 35fb2dadc3f295d956070b0cf12fb992a65055db47146ac8130b0ce6aeae2bb4 SHA512 2391505409fa0ba6dfaa5f27bb8595bc5999ba5c995eb53b646ff023d4e607387fcce4998cda7bccc477f31564bba30494a51519d94bcbb61048b448cf3e1ab5 WHIRLPOOL 615d40ea4371abd261858cd6d56a9be3aa25949e0b2fcb9a67639f3ec89228be06b8ee7d51c80e25d12b1059c8167698b70c93b878d10a2ee78bb2b9448dca8f diff --git a/sys-fs/zfs-backup/metadata.xml b/sys-fs/zfs-backup/metadata.xml new file mode 100644 index 00000000..bd70e455 --- /dev/null +++ b/sys-fs/zfs-backup/metadata.xml @@ -0,0 +1,5 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"><email>graaff@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/sys-fs/zfs-backup/zfs-backup-20150318.ebuild b/sys-fs/zfs-backup/zfs-backup-20150318.ebuild new file mode 100644 index 00000000..8381d3f9 --- /dev/null +++ b/sys-fs/zfs-backup/zfs-backup-20150318.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +COMMIT=68dd3fb3546eafcbd59c72847cd3b820e2c80c73 + +DESCRIPTION="ZFS backup via zfs send/recv over ssh" +HOMEPAGE="https://github.com/adaugherity/zfs-backup" +SRC_URI="https://github.com/adaugherity/zfs-backup/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/zfs-backup-${COMMIT}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND} + app-admin/sudo + sys-fs/zfs +" + +src_prepare() { + # Use sudo instead of pfexec + sed -i -e '/^PFEXEC/ s/which pfexec/which sudo/' zfs-backup.sh || die + + eapply_user +} + +src_install() { + newbin zfs-backup.sh zfs-backup + dodoc README example-catchup.cfg example.cfg +} |