mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-06 21:25:02 +02:00
bump copyright of touched ebuilds to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
42 lines
978 B
Bash
42 lines
978 B
Bash
# Copyright 1999-2024 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="https://downloads.sourceforge.net/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"
|
|
}
|