From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-backup/sarab/Manifest | 5 +++ .../sarab/files/1.0.0-better-defaults-gentoo.patch | 21 +++++++++++ app-backup/sarab/files/README.gentoo | 13 +++++++ app-backup/sarab/metadata.xml | 15 ++++++++ app-backup/sarab/sarab-1.0.0.ebuild | 42 ++++++++++++++++++++++ 5 files changed, 96 insertions(+) create mode 100644 app-backup/sarab/Manifest create mode 100644 app-backup/sarab/files/1.0.0-better-defaults-gentoo.patch create mode 100644 app-backup/sarab/files/README.gentoo create mode 100644 app-backup/sarab/metadata.xml create mode 100644 app-backup/sarab/sarab-1.0.0.ebuild (limited to 'app-backup/sarab') diff --git a/app-backup/sarab/Manifest b/app-backup/sarab/Manifest new file mode 100644 index 000000000000..fdae0a5bfb16 --- /dev/null +++ b/app-backup/sarab/Manifest @@ -0,0 +1,5 @@ +AUX 1.0.0-better-defaults-gentoo.patch 809 BLAKE2B 4c06df38ee68c612ebf671334d99c30d21bcea5bc16ad1b1e9c38e2824e503a12aa189f2aae254c991bf71de96244374ee1ef7ed180454905bba316705ed7676 SHA512 733484580782296c344d9c2ec69d4948359fef9c7513d9d481756c9f80fb4a369919dbbae01489dfba4b560d6c8077c755a31fcc74ba01f99148f3f63824fcee +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 955 BLAKE2B dcf58aefc12cbbbbdcc76fcc1adbdff349d5282b348e54f477f22221b18ee207046b758c4219f26bf6d9c115e6e0c5902a6faf77b526afe70ad7c7c881a4aa6c SHA512 77e8deaac5fa43aead91a0a431ae9816e5e6b98db08815645ef4d901e74e7cd8fef7854daf6c6cba658e9a20f44b5695ae979644e1c3b7f6371045d8a35e7a9d +MISC metadata.xml 545 BLAKE2B 87704a0d959232fe1644ced86be57804036dee9f61af88d07ca4f356dfb023f862c4bf792bddfc6b9c67c02bdf57b7eaec7b4050a3b21472ac3a96a0de5cf89f SHA512 fc6b600c6047c1f2216964ae23abbe5de1516fa7b72d531eb9ddddd1d3feac2dcb30c3c769032046f225e8770483a76e01464ead26082369fba0d53f330da30f diff --git a/app-backup/sarab/files/1.0.0-better-defaults-gentoo.patch b/app-backup/sarab/files/1.0.0-better-defaults-gentoo.patch new file mode 100644 index 000000000000..ecb8b558e067 --- /dev/null +++ b/app-backup/sarab/files/1.0.0-better-defaults-gentoo.patch @@ -0,0 +1,21 @@ +--- sarab-1.0.0.orig/etc/sarab.conf 2010-02-21 06:13:22.000000000 -0500 ++++ sarab-1.0.0/etc/sarab.conf 2010-08-20 18:30:41.630323933 -0400 +@@ -76,10 +76,10 @@ + + # The location of the DAR executable file + # This line is only effective if not added by install.sh later in this file +-DAR_BINARY="/usr/local/bin/dar" ++DAR_BINARY="/usr/bin/dar" + + # The location of the statically-compiled DAR executable file +-DAR_STATIC="/usr/local/bin/dar_static" ++DAR_STATIC="/usr/bin/dar_static" + + # The temporary directory name that backups will be created in. This will be created underneath $DESTINATION. + WORK_DIR=".sarab_temp_workdir" +@@ -88,4 +88,4 @@ + DAR_CREATE="$DESTINATION/$WORK_DIR/$BASENAME" + + # Location and name of temporary log file +-TEMP_LOG="$SARAB_ETC/sarab_temp.log" ++TEMP_LOG="/var/log/sarab_temp.log" diff --git a/app-backup/sarab/files/README.gentoo b/app-backup/sarab/files/README.gentoo new file mode 100644 index 000000000000..46359913c729 --- /dev/null +++ b/app-backup/sarab/files/README.gentoo @@ -0,0 +1,13 @@ +-*- outline -*- + +Gentoo GNU/Linux specific notes for SaraB +----------------------------------------- + +This is the README.Gentoo file from /usr/share/doc/@PF@/ directory. + + * The Gentoo port includes more reasonable pathnames for the example + configuration. + +If you encounter any problems or have suggestions, use https://bugs.gentoo.org. +Please don't bother the upstream authors unless you are absolutely certain it is +not Gentoo-related. diff --git a/app-backup/sarab/metadata.xml b/app-backup/sarab/metadata.xml new file mode 100644 index 000000000000..71ee597ed5ae --- /dev/null +++ b/app-backup/sarab/metadata.xml @@ -0,0 +1,15 @@ + + + + + rich0@gentoo.org + + +SaraB works with DAR (Disk ARchive) to schedule backups. SaraB provides a +powerful, automated rotation schedule which allows administrators to create a +custom rotation that fits the needs of their network. + + + sarab + + diff --git a/app-backup/sarab/sarab-1.0.0.ebuild b/app-backup/sarab/sarab-1.0.0.ebuild new file mode 100644 index 000000000000..896edbcc95c8 --- /dev/null +++ b/app-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" +} -- cgit v1.2.3