diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:12:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:12:15 +0100 |
commit | 3f7826d8856457be233edea5999a25e374f54625 (patch) | |
tree | 7b49d251a79cf55d5e29ceb9af99308b5f037628 /backup/sarab/sarab-1.0.0.ebuild | |
parent | 6deea6f9112b20068bdb8e82f049e28508efac83 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'backup/sarab/sarab-1.0.0.ebuild')
-rw-r--r-- | backup/sarab/sarab-1.0.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/backup/sarab/sarab-1.0.0.ebuild b/backup/sarab/sarab-1.0.0.ebuild new file mode 100644 index 000000000000..896edbcc95c8 --- /dev/null +++ b/backup/sarab/sarab-1.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit readme.gentoo-r1 + +DESCRIPTION="SaraB is a powerful and automated backup scheduling system based on DAR" +HOMEPAGE="http://sarab.sourceforge.net/" +SRC_URI="mirror://sourceforge/sarab/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND=" + app-backup/dar + virtual/mailx" + +PATCHES=( "${FILESDIR}"/${PV}-better-defaults-gentoo.patch ) + +src_install() { + 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" +} |