diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-backup/sarab | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-backup/sarab')
-rw-r--r-- | app-backup/sarab/Manifest | 1 | ||||
-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 | 40 |
5 files changed, 90 insertions, 0 deletions
diff --git a/app-backup/sarab/Manifest b/app-backup/sarab/Manifest new file mode 100644 index 000000000000..d747750e5b68 --- /dev/null +++ b/app-backup/sarab/Manifest @@ -0,0 +1 @@ +DIST sarab-1.0.0.tar.gz 24738 SHA256 4296617123e0e53c829ad7cb0c9a04f3fabcb1cd65bfddaaa4db8953451824ea SHA512 246abd1893127a8aaf73537b9eb0d43921da37ddee97a02513916db2d6abdde6dd45715fbe56c53809c5442531e8172467de1b05af264a50054ecbecaa8d319f WHIRLPOOL 54f43c7d1be4f9f5cd4f8c60ff9a995ee9972e17f1a01b03d5290f0169a2f2c78f1bd9d76d3be1fb1814e12f1bc41ac2702a89d7544a42d3a18bb108958924a9 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..680a395239df --- /dev/null +++ b/app-backup/sarab/files/README.Gentoo @@ -0,0 +1,13 @@ +-*- outline -*- $Id$ + +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..b7622b999785 --- /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> + <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..5e8a572c57e0 --- /dev/null +++ b/app-backup/sarab/sarab-1.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +} |