diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/sarab |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/sarab')
-rw-r--r-- | app-backup/sarab/Manifest | 7 | ||||
-rw-r--r-- | app-backup/sarab/files/1.0.0-better-defaults-gentoo.patch | 21 | ||||
-rw-r--r-- | app-backup/sarab/files/README.Gentoo | 13 | ||||
-rw-r--r-- | app-backup/sarab/metadata.xml | 15 | ||||
-rw-r--r-- | app-backup/sarab/sarab-1.0.0.ebuild | 39 |
5 files changed, 95 insertions, 0 deletions
diff --git a/app-backup/sarab/Manifest b/app-backup/sarab/Manifest new file mode 100644 index 000000000000..45051a8b5bbc --- /dev/null +++ b/app-backup/sarab/Manifest @@ -0,0 +1,7 @@ +AUX 1.0.0-better-defaults-gentoo.patch 809 SHA256 731965d63bc53a8031a4ff73b056dc49cf87b9db27016891b8fc759bcdde0693 SHA512 733484580782296c344d9c2ec69d4948359fef9c7513d9d481756c9f80fb4a369919dbbae01489dfba4b560d6c8077c755a31fcc74ba01f99148f3f63824fcee WHIRLPOOL bc90af4b8fea4b7f013f3f65d3e00c847d263a5e1bd6b54e6dd3703a9671f612b242744080fe7f9dbaafc922b6aa2f127505b4f0bc7095421913e10fc9d65e31 +AUX README.Gentoo 443 SHA256 15329d6cc2d9d89c7e9f2939a20567fe31b24de998e231b81dbad471592aee0e SHA512 8eba4144634e324bf59adbcbf0dac44c7ed4ae5a89dde7f201da47dca55969d59040f0cf3ba9d632f22a92f7e3aa1d44c0d0be2061bd3facb9d3057267ebf7ae WHIRLPOOL 6375ea2184988551846c88d35a4827596a404f184dfe5c163f11d10fe1f448f386794166ed168c4d10d277b32af4cdc8bb68f0d429259de1a2269a1a336a0384 +DIST sarab-1.0.0.tar.gz 24738 SHA256 4296617123e0e53c829ad7cb0c9a04f3fabcb1cd65bfddaaa4db8953451824ea SHA512 246abd1893127a8aaf73537b9eb0d43921da37ddee97a02513916db2d6abdde6dd45715fbe56c53809c5442531e8172467de1b05af264a50054ecbecaa8d319f WHIRLPOOL 54f43c7d1be4f9f5cd4f8c60ff9a995ee9972e17f1a01b03d5290f0169a2f2c78f1bd9d76d3be1fb1814e12f1bc41ac2702a89d7544a42d3a18bb108958924a9 +EBUILD sarab-1.0.0.ebuild 975 SHA256 af64f1f445cb50048e7b9138e2d2fb8ef314f7f1cc7b67a3f2bae716dc350bd3 SHA512 26a62a60d3aa3be19fe79f5d84c115c5d4110536e3e57c61fa389f820743c75583d97e335a98f4c4f88dc0a2bfdd412d5489f40f5d12e195568ac4add5721bae WHIRLPOOL edd2b4287a37da310a87a1a875a123c94e334e8e23209b15747149fb634b0d9e5afd8ed187eaac0871318bafd0cde9159889d52de01693b8735e360a6353abfa +MISC ChangeLog 2239 SHA256 0109e8b92d49a26e7005cfeb103ed67e8053f64a18cb0f1feb119fd1f1a7c1a4 SHA512 5f2246e846c24f6139baf194a764b9ff680b5131be447dff4f98b97fff42b7f3dda362d0cec840ac27e44a24818530eaf0d780371bf9d0b30ea569c62984f228 WHIRLPOOL df48396a9356b630e01e36a166b874dcff2ef9fac0ac9b193d59937c33d98bcb9566125e2259de0d12236a73a42589fe65996fe9e94487b58eb78ad9e3c488a3 +MISC ChangeLog-2015 3464 SHA256 9539afa3ad8b71b4779f8de1efe556ad60cca718434e6799c0a44e908bf48470 SHA512 41b4d2490ea79f8b36400b38810b4015dafe285b81e868ab5621a348414b628b260327da8ae82d8abc7ba44d1dea1e03129dcbd9519f19569e39e99cf7155f9a WHIRLPOOL 2eb4381d49b52ee14dc6582fc064254c5b5e10019db0b5f94edcadde381405853d3c67e865b2a4bc125873d17cb77af2c0ed38a4861a6e8c5054c3e90c7a5818 +MISC metadata.xml 545 SHA256 cd52569314039e4950b1de5ad1fc33a802146e300f5ed6371a23acff03d8a141 SHA512 fc6b600c6047c1f2216964ae23abbe5de1516fa7b72d531eb9ddddd1d3feac2dcb30c3c769032046f225e8770483a76e01464ead26082369fba0d53f330da30f WHIRLPOOL 8924c17a4bb5c87e4823932b932cba26370ca3d8f011b178580fa7b4da3fb3cb2c05ae6ce7d0f9ec98df1bb93884b232acb0736d8f7b58fe5f5aad6994540794 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>rich0@gentoo.org</email> + </maintainer> + <longdescription> +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. +</longdescription> + <upstream> + <remote-id type="sourceforge">sarab</remote-id> + </upstream> +</pkgmetadata> 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..6c426c2c9cbd --- /dev/null +++ b/app-backup/sarab/sarab-1.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +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" + +src_unpack() { + cd "${S}" + unpack ${A} + + epatch "${FILESDIR}"/${PV}-better-defaults-gentoo.patch +} + +src_install() { + dobin sarab.sh + insinto /etc/sarab + doins -r etc/* + # sarab.conf could contain passphrase information + fperms 600 /etc/sarab/sarab.conf + dodoc CHANGELOG FAQ INSTALL README + dodoc "${FILESDIR}"/README.Gentoo +} + +pkg_postinstl() { + 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" +} |