summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2023-07-16 08:20:00 +0200
committerHans de Graaff <hans@degraaff.org>2023-07-16 08:20:00 +0200
commit11d8b27a108ebec48e364e32a7759240bf05a0a5 (patch)
tree14bc484a60ed91151f7f8cdc6fc3bcc84158bb12 /sys-fs
parentnet-analyzer/munin-elasticsearch: fix compatibility with ruby30 (diff)
downloadgraaff-11d8b27a108ebec48e364e32a7759240bf05a0a5.tar.gz
graaff-11d8b27a108ebec48e364e32a7759240bf05a0a5.tar.bz2
graaff-11d8b27a108ebec48e364e32a7759240bf05a0a5.zip
sys-fs/zfs-backup: update EAPI 6 -> 8
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs-backup/zfs-backup-20150318-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-fs/zfs-backup/zfs-backup-20150318-r1.ebuild b/sys-fs/zfs-backup/zfs-backup-20150318-r1.ebuild
new file mode 100644
index 00000000..42b43f2b
--- /dev/null
+++ b/sys-fs/zfs-backup/zfs-backup-20150318-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}