summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-10-01 16:20:50 -0600
committerSam James <sam@gentoo.org>2023-10-10 04:03:07 +0100
commitd507fc92d38e9ddd3d7b81d53d8c040cfed5811c (patch)
tree12c5cdc927a67e5e4db88aea2f6c3a900913a63e /app-backup/sarab
parentapp-backup/simplebackup: update EAPI 6 -> 8 (diff)
downloadgentoo-d507fc92d38e9ddd3d7b81d53d8c040cfed5811c.tar.gz
gentoo-d507fc92d38e9ddd3d7b81d53d8c040cfed5811c.tar.bz2
gentoo-d507fc92d38e9ddd3d7b81d53d8c040cfed5811c.zip
app-backup/sarab: update EAPI 6 -> 8
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-backup/sarab')
-rw-r--r--app-backup/sarab/sarab-1.0.0-r1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-backup/sarab/sarab-1.0.0-r1.ebuild b/app-backup/sarab/sarab-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..2d5d59b51048
--- /dev/null
+++ b/app-backup/sarab/sarab-1.0.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit prefix readme.gentoo-r1
+
+DESCRIPTION="SaraB is a powerful and automated backup scheduling system based on DAR"
+HOMEPAGE="https://sarab.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sarab/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ app-backup/dar
+ virtual/mailx
+"
+
+PATCHES=( "${FILESDIR}"/${PV}-better-defaults-gentoo.patch )
+
+src_install() {
+ hprefixify sarab.sh
+ dobin sarab.sh
+ einstalldocs
+
+ insinto /etc/sarab
+ doins -r etc/.
+ # sarab.conf could contain passphrase information
+ fperms 600 /etc/sarab/sarab.conf
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+
+ ewarn "The configuration format for DAR encryption has changed in Sarab 0.2.4."
+ ewarn "Replace DAR_ENCRYPTION_OPTIONS=\"--key blowfish:PASSPHRASE\""
+ ewarn "by SARAB_KEY=\"blowfish:PASSPHRASE\" in /etc/sarab/sarab.conf"
+}