diff options
-rw-r--r-- | app-backup/rear/ChangeLog | 12 | ||||
-rw-r--r-- | app-backup/rear/metadata.xml | 15 | ||||
-rw-r--r-- | app-backup/rear/rear-1.15.ebuild | 51 |
3 files changed, 78 insertions, 0 deletions
diff --git a/app-backup/rear/ChangeLog b/app-backup/rear/ChangeLog new file mode 100644 index 000000000000..732610b33a0f --- /dev/null +++ b/app-backup/rear/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-backup/rear +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/rear/ChangeLog,v 1.1 2013/10/17 18:48:39 tomwij Exp $ + +*rear-1.15 (17 Oct 2013) + + 17 Oct 2013; Tom Wijsman <TomWij@gentoo.org> +metadata.xml, +rear-1.15.ebuild: + New ebuild for app-backup/rear, fully automated disaster recovery supporting a + broad variety of backup strategies and scenarios. Proxied commit for Timo + Eissler, who will be proxy maintaining this package. Thanks to bacce for + reporting the package and providing an initial version, also thanks to n4cer + for minor improvements. diff --git a/app-backup/rear/metadata.xml b/app-backup/rear/metadata.xml new file mode 100644 index 000000000000..3ce789f10200 --- /dev/null +++ b/app-backup/rear/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>morlix@morlix.de</email> + <name>Timo Eissler</name> + </maintainer> + <longdescription lang="en"> + Relax and Recover (Rear) is the leading Open Source disaster recovery solution, and successor to mkcdrec. It comprises of a modular framework and ready-to-go workflows for many common situations to produce a bootable image and restore from backup using this image. As a benefit, it allows to restore to different hardware and can therefore be used as a migration tool as well. + </longdescription> + <use> + <flag name='udev'>Have ReaR start backup when attaching your USB drive.</flag> + </use> +</pkgmetadata> diff --git a/app-backup/rear/rear-1.15.ebuild b/app-backup/rear/rear-1.15.ebuild new file mode 100644 index 000000000000..984800028d12 --- /dev/null +++ b/app-backup/rear/rear-1.15.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/rear/rear-1.15.ebuild,v 1.1 2013/10/17 18:48:39 tomwij Exp $ + +EAPI="5" + +DESCRIPTION="Fully automated disaster recovery supporting a broad variety of backup strategies and scenarios." +HOMEPAGE="http://relax-and-recover.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="udev" + +RDEPEND="dev-libs/openssl + net-dialup/mingetty + net-fs/nfs-utils + sys-apps/iproute2 + sys-apps/lsb-release + sys-apps/util-linux + sys-block/parted + sys-boot/syslinux + virtual/cdrtools + udev? ( virtual/udev ) +" + +src_compile () { :; } + +src_install () { + # Deploy udev USB rule and udev will autostart ReaR workflows in case a USB + # drive with the label 'REAR_000' is connected, which in turn is the + # default label when running the `rear format` command. + if use udev ; then + insinto /lib/udev/rules.d + doins etc/udev/rules.d/62-${PN}-usb.rules + fi + + # Copy main script-file and documentation. + dosbin usr/sbin/${PN} + doman doc/${PN}.8 + dodoc README + + # Copy configurations files. + insinto /etc + doins -r etc/${PN}/ + + insinto /usr/share/ + doins -r usr/share/${PN}/ +} |