summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Wiborg (baccenfutter) <baccenfutter@c-base.org>2012-05-06 18:47:38 +0200
committerBrian Wiborg (baccenfutter) <baccenfutter@c-base.org>2012-05-06 18:47:38 +0200
commitbbd989928bc69dbd86785c5c7c0a8225e949edfe (patch)
treea6b1d7ad1c06e8f988319ca6575d2e2bd4e925ab /app-backup
parentAutomatic update to use.local.desc (diff)
downloadsunrise-bbd989928bc69dbd86785c5c7c0a8225e949edfe.tar.gz
sunrise-bbd989928bc69dbd86785c5c7c0a8225e949edfe.tar.bz2
sunrise-bbd989928bc69dbd86785c5c7c0a8225e949edfe.zip
app-backup/rear: New Ebuild for bug #404439, thanks to hasufell, floppym and Tommy[D]
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/rear/ChangeLog6
-rw-r--r--app-backup/rear/Manifest6
-rw-r--r--app-backup/rear/metadata.xml12
-rw-r--r--app-backup/rear/rear-1.13.0.ebuild67
4 files changed, 85 insertions, 6 deletions
diff --git a/app-backup/rear/ChangeLog b/app-backup/rear/ChangeLog
index 0080ca781..25341b103 100644
--- a/app-backup/rear/ChangeLog
+++ b/app-backup/rear/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*rear-1.13.0 (06 May 2012)
+
+ 06 May 2012; Brian Wiborg (baccenfutter) baccenfutter@c-base.org
+ +rear-1.13.0.ebuild, metadata.xml:
+ New Ebuild for bug #404439, thanks to hasufell, floppym and Tommy[D]
+
*rear-1.12.0-r1 (19 Feb 2012)
19 Feb 2012; Brian Wiborg (baccenfutter) <baccenfutter@c-base.org>
diff --git a/app-backup/rear/Manifest b/app-backup/rear/Manifest
index f9c3058a8..fbaacaecb 100644
--- a/app-backup/rear/Manifest
+++ b/app-backup/rear/Manifest
@@ -1,5 +1,7 @@
AUX rear-1.12.0-broken_lib_dir_workaround.patch 1034 RMD160 189651fc3b7b86217c1d394b62abab2074aa5e50 SHA1 67f8abcb3b6f18e5d649b8735e714d803a7f1ba9 SHA256 5df725e02dd71bbdcd7c4ebe75ac2735bd28fd389e0f3787cdd32b412f779618
DIST rear-1.12.0.tar.gz 324641 RMD160 358906bdbf681f953b090e5f7a4fff5038a73cfc SHA1 e672d35c9531f231a7ec1b10b3bd89057dae504c SHA256 1e9e8f1ce31f60251d3382c7f6ea0d2b262282e213aadd2a119aa4dac1509519
+DIST rear-1.13.0.tar.gz 322488 RMD160 6ee37313b152df0932fe137dfb729ac46a8e2d03 SHA1 dcc8d5e804fc88ef9b17b756c9c966887e75ad57 SHA256 fb034f53d406268f1ec3b4235a5cf7dc70705947ec0cc389d14e16155611bbb8
EBUILD rear-1.12.0-r1.ebuild 1412 RMD160 9c3c9ad9ae1415e88a06b63474409bd6f0ce807d SHA1 e451d977346f591c5dc7a40404c50cd8cecadcc4 SHA256 7bb7eff4f12c779a10b6c70e589062c0ad3858b563d9289c8dd07dc5f8edbbe7
-MISC ChangeLog 382 RMD160 75fdd1a3a86f3e6ba90d705a11a2c2e6a8d7a874 SHA1 ec5d270dcea4bfebec25cf5b0676c3a9a23310a0 SHA256 6ccd6f817b957ad24a208a5d0dacee97e8c35dc63a459bf941095649eff09593
-MISC metadata.xml 637 RMD160 2ed65967a52e2c1357c394f0298352a7e19a23da SHA1 e571361ea458486d9856a6355eb778eaa55da729 SHA256 23729ec1f677c0361fb6df428f3f0f78e4bd5ebcecfc41a02604ceb8b31b3155
+EBUILD rear-1.13.0.ebuild 1901 RMD160 6eea8b1e8fb52cdaad5f3170fb74c1fc6fc8d228 SHA1 8a8c1cc37364139c91751f3f779a5452d4084e82 SHA256 8bd418f21db7964a05c624c8fc3001798abb4c3f745a6abe213f7477b136ebf7
+MISC ChangeLog 586 RMD160 b17ce8aa0e1230ca9be27f374a58c379dc8ef08a SHA1 16d7d9ae7471044dc49f6532d6ec7752443fae0e SHA256 1fb0298797fc04834fc7993987e1e309b24dab13eb42d5e10d2a8af83d6d7f29
+MISC metadata.xml 806 RMD160 383b1a014fc32529faf3414d4d7161a4bceb2ef8 SHA1 cac469b3fa1bb6134ebbbc1573c3732c15b647a1 SHA256 53ef73ce6d9eacaab3dd8dba5984c2a9e9107baac7141c82a3210074407420e0
diff --git a/app-backup/rear/metadata.xml b/app-backup/rear/metadata.xml
index d3e4987a3..b68349dc4 100644
--- a/app-backup/rear/metadata.xml
+++ b/app-backup/rear/metadata.xml
@@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <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>
- <maintainer><email>maintainer-wanted@gentoo.org</email></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>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='udev'>Have ReaR start backup when attaching your USB backup drive</flag>
+ <flag name='examples'>Install example configuration files</flag>
+ </use>
</pkgmetadata>
diff --git a/app-backup/rear/rear-1.13.0.ebuild b/app-backup/rear/rear-1.13.0.ebuild
new file mode 100644
index 000000000..c55327e61
--- /dev/null
+++ b/app-backup/rear/rear-1.13.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit multilib
+
+DESCRIPTION="Fully automated disaster Recovery supporting a broad variety of backup strategies and scenarios"
+HOMEPAGE="http://rear.github.com/"
+SRC_URI="mirror://github/downloads/${PN}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="udev examples"
+
+RDEPEND="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? ( sys-fs/udev )
+ "
+
+src_install () {
+ # deploy udev USB rule and udev will autostart ReaR workflows incase 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 $(get_libdir)/udev/rules.d
+ doins etc/udev/rules.d/62-${PN}-usb.rules
+ fi
+
+ # copy configuration files and examples
+ if use examples; then
+ insinto /etc/
+ doins -r etc/${PN}
+ fi
+ insinto /etc/${PN}/
+ doins usr/share/${PN}/conf/default.conf
+
+ # copy main script-file and docs
+ dosbin usr/sbin/${PN}
+ doman usr/share/${PN}/doc/${PN}.8
+ dodoc README
+
+ # cleanup usr/share/rear/ and install remains recursively.
+ rm -r usr/share/${PN}/{AUTHORS,COPYING,README} || die
+ insinto /usr/share/
+ doins -r usr/share/${PN}
+}
+
+pkg_prerm () {
+ if [[ -z "${REPLACED_BY_VERSION}" ]]; then
+ # due to the nature of rear's image creation, there is a hard-coded
+ # relative symlinks that leads to a recursion error upon deletion.
+ rm "${EROOT}usr/share/${PN}/skel/default/lib/tls"
+ # for some odd reason portage tries to delete the parent directory
+ # befor the 'EXTERNAL' symlink is removed, leading to empty directory
+ # remaining behind. we want to avoid this until it has been fixed upstream.
+ rm "${EROOT}usr/share/${PN}/verify/EXTERNAL"
+ fi
+}