summaryrefslogtreecommitdiff
path: root/app-backup/sarab
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/sarab')
-rw-r--r--app-backup/sarab/Manifest4
-rw-r--r--app-backup/sarab/files/README.gentoo (renamed from app-backup/sarab/files/README.Gentoo)0
-rw-r--r--app-backup/sarab/sarab-1.0.0.ebuild29
3 files changed, 18 insertions, 15 deletions
diff --git a/app-backup/sarab/Manifest b/app-backup/sarab/Manifest
index be22863d958a..fdae0a5bfb16 100644
--- a/app-backup/sarab/Manifest
+++ b/app-backup/sarab/Manifest
@@ -1,5 +1,5 @@
AUX 1.0.0-better-defaults-gentoo.patch 809 BLAKE2B 4c06df38ee68c612ebf671334d99c30d21bcea5bc16ad1b1e9c38e2824e503a12aa189f2aae254c991bf71de96244374ee1ef7ed180454905bba316705ed7676 SHA512 733484580782296c344d9c2ec69d4948359fef9c7513d9d481756c9f80fb4a369919dbbae01489dfba4b560d6c8077c755a31fcc74ba01f99148f3f63824fcee
-AUX README.Gentoo 443 BLAKE2B 6a7eada85c0ae10ee4e186e3c8895e206dbccca941d5ae7b650907af450ba510adfabac76cc72b64d18fbaf3db5f9fa9f3c557f4890624f46fc6b5ab92699db2 SHA512 8eba4144634e324bf59adbcbf0dac44c7ed4ae5a89dde7f201da47dca55969d59040f0cf3ba9d632f22a92f7e3aa1d44c0d0be2061bd3facb9d3057267ebf7ae
+AUX README.gentoo 443 BLAKE2B 6a7eada85c0ae10ee4e186e3c8895e206dbccca941d5ae7b650907af450ba510adfabac76cc72b64d18fbaf3db5f9fa9f3c557f4890624f46fc6b5ab92699db2 SHA512 8eba4144634e324bf59adbcbf0dac44c7ed4ae5a89dde7f201da47dca55969d59040f0cf3ba9d632f22a92f7e3aa1d44c0d0be2061bd3facb9d3057267ebf7ae
DIST sarab-1.0.0.tar.gz 24738 BLAKE2B b89a19f3b68345a4c0b7c70fe41d6a50fe99358167da797faa223549b70d7433a4d478b11f1de794e778f8e0537bca335333789176e14d3273d69a4071aa2a5c SHA512 246abd1893127a8aaf73537b9eb0d43921da37ddee97a02513916db2d6abdde6dd45715fbe56c53809c5442531e8172467de1b05af264a50054ecbecaa8d319f
-EBUILD sarab-1.0.0.ebuild 975 BLAKE2B e7bbc1ea45d12d93150ee1e5275e3b3d4a613bbe23d8168b1ee3eb8ad17f24c29c4462f30c95e7664271c0c96ff5062d57763164f869ef2467fccfea87e74ad1 SHA512 26a62a60d3aa3be19fe79f5d84c115c5d4110536e3e57c61fa389f820743c75583d97e335a98f4c4f88dc0a2bfdd412d5489f40f5d12e195568ac4add5721bae
+EBUILD sarab-1.0.0.ebuild 955 BLAKE2B dcf58aefc12cbbbbdcc76fcc1adbdff349d5282b348e54f477f22221b18ee207046b758c4219f26bf6d9c115e6e0c5902a6faf77b526afe70ad7c7c881a4aa6c SHA512 77e8deaac5fa43aead91a0a431ae9816e5e6b98db08815645ef4d901e74e7cd8fef7854daf6c6cba658e9a20f44b5695ae979644e1c3b7f6371045d8a35e7a9d
MISC metadata.xml 545 BLAKE2B 87704a0d959232fe1644ced86be57804036dee9f61af88d07ca4f356dfb023f862c4bf792bddfc6b9c67c02bdf57b7eaec7b4050a3b21472ac3a96a0de5cf89f SHA512 fc6b600c6047c1f2216964ae23abbe5de1516fa7b72d531eb9ddddd1d3feac2dcb30c3c769032046f225e8770483a76e01464ead26082369fba0d53f330da30f
diff --git a/app-backup/sarab/files/README.Gentoo b/app-backup/sarab/files/README.gentoo
index 46359913c729..46359913c729 100644
--- a/app-backup/sarab/files/README.Gentoo
+++ b/app-backup/sarab/files/README.gentoo
diff --git a/app-backup/sarab/sarab-1.0.0.ebuild b/app-backup/sarab/sarab-1.0.0.ebuild
index 6c426c2c9cbd..896edbcc95c8 100644
--- a/app-backup/sarab/sarab-1.0.0.ebuild
+++ b/app-backup/sarab/sarab-1.0.0.ebuild
@@ -1,38 +1,41 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit eutils
+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
+RDEPEND="
+ app-backup/dar
virtual/mailx"
-src_unpack() {
- cd "${S}"
- unpack ${A}
-
- epatch "${FILESDIR}"/${PV}-better-defaults-gentoo.patch
-}
+PATCHES=( "${FILESDIR}"/${PV}-better-defaults-gentoo.patch )
src_install() {
dobin sarab.sh
+ einstalldocs
+
insinto /etc/sarab
- doins -r etc/*
+ doins -r etc/.
# sarab.conf could contain passphrase information
fperms 600 /etc/sarab/sarab.conf
- dodoc CHANGELOG FAQ INSTALL README
- dodoc "${FILESDIR}"/README.Gentoo
+
+ readme.gentoo_create_doc
}
-pkg_postinstl() {
+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"