summaryrefslogtreecommitdiff
path: root/app-backup/rear
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/rear
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/rear')
-rw-r--r--app-backup/rear/Manifest10
-rw-r--r--app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch19
-rw-r--r--app-backup/rear/metadata.xml22
-rw-r--r--app-backup/rear/rear-1.15-r1.ebuild58
-rw-r--r--app-backup/rear/rear-1.17.0.ebuild56
-rw-r--r--app-backup/rear/rear-1.17.1.ebuild56
6 files changed, 221 insertions, 0 deletions
diff --git a/app-backup/rear/Manifest b/app-backup/rear/Manifest
new file mode 100644
index 000000000000..a49c5f3f32b3
--- /dev/null
+++ b/app-backup/rear/Manifest
@@ -0,0 +1,10 @@
+AUX rear-1.15-add-support-for-gentoo-kernels.patch 817 SHA256 526eeb218408d008fc05a05319c7a4b283dca05f686390bacda3a1bc5f4b8e56 SHA512 b60b77276c6be79324c8df30365950cc864751c96e6373c8231a60a6293046571cb2dad75423f3e1beaea28597c52a431e7d16b01d8c8cb6f279cd1428670659 WHIRLPOOL fd69a30db414a0db1b1f92584c62363eb4be620c293c74931e0dc5a3ef8cb6b5c154dd7deacab33e6f91bfb2df0639bbf481f5c4c242b3ab70fb47c28b43c562
+DIST rear-1.15.tar.gz 258153 SHA256 77c257a692c5e8c9e6deadf194d092718fd90e727ad3df9ed525b3a2e42f0cef SHA512 dc953c33b82f221de6c2acd7ffbb26c34b86aebcd7f8a4d7d520a1d08c15c723fed75326b8e19614f5e09f6436d392091b362b350ffad06caf10c711eb97fcb2 WHIRLPOOL e9811925d0e4a4e5d155be09f1ab212b5d70b687031c53d7c599dbbdd89d2d8aa0edb96550b9999dc7ed0ae1975b586a13eb3c666752e82bfa678fc02f84bee4
+DIST rear-1.17.0.tar.gz 299444 SHA256 c3fe36878aca14558d5cd18b0190699093031449f49db97a63eaf6f2fc3a9f6e SHA512 4b9991dc14138e6a2cd28c9fb9f1dcf46ea1a580454bb2c966024481657a102cc849baf6af5ebfa0793ac3f5ebff5b07abc87d1e4b02e1496a0f87b8cf79284e WHIRLPOOL bb83180daeeabed9464aaf55ba5a6880d1415c122f5663aecbd5e48db7137c367e02384fa176cd45d535cf867e44b4824d27633db28c59eba38f25ee7aed735c
+DIST rear-1.17.1.tar.gz 303253 SHA256 79559f44082cce3e975b6cf73ff0f50a27d59742c60971cb7db9630e7557dde8 SHA512 66595e962345c0e61c5152f11aee6745ec348acc02d0cbc717faaca8618c83211d8c45ec5e80a17ba9d8c8ad9c6d2ecb109f827d976eb0d126bfc44cf4b49afc WHIRLPOOL 8009890e690a4c692e3dec5b85cc0c7aead04fa8f752b657efc6c19086795bc0250ed5f4f70d30a46a81a69a31bc2134b510ac5a5904f5dd89827841b884a786
+EBUILD rear-1.15-r1.ebuild 1275 SHA256 d52a1d9728172d1b4e41cd066c26badaeec46b52744ffc5f010ff6fb9dacd263 SHA512 ed2893187e3388d1f2a3dc6dcb7220f6e4a77cfb720b86c67b464526c6a54469023f05a6481e44f939420b80651bb4e4e85dcaa06c022abd101b674dfbdd6653 WHIRLPOOL 0df0228689983987dcc4837285e4880cd5bcaf7378e1de6e01f9417a60553a4565fc72dd74c6bbad1091fd98c3372f42ff5f2f19b752a434ce6787850b3c8cdf
+EBUILD rear-1.17.0.ebuild 1255 SHA256 f793ec71954db41e40cfa6ff697de4f106f167dccec5e99cc9cb9bf1ee67e4b3 SHA512 fe04b73d4105763c99eb267d5fe7bbba9334b629de6423c47b1e6d8ef1461821ce809ff31cb5f2afc966f48f6d759e4c8e9abc6d40f0004ea6c38fcb9e854f36 WHIRLPOOL ee1d29c1ca6e327a296f99a42932a9ca9f65bccdaaf1eae2d7d2358cee2803c9c1e96a9894193991a27e436beb9f64a55fa934583ab74f145fa0ce2a8bf5b1f2
+EBUILD rear-1.17.1.ebuild 1255 SHA256 f793ec71954db41e40cfa6ff697de4f106f167dccec5e99cc9cb9bf1ee67e4b3 SHA512 fe04b73d4105763c99eb267d5fe7bbba9334b629de6423c47b1e6d8ef1461821ce809ff31cb5f2afc966f48f6d759e4c8e9abc6d40f0004ea6c38fcb9e854f36 WHIRLPOOL ee1d29c1ca6e327a296f99a42932a9ca9f65bccdaaf1eae2d7d2358cee2803c9c1e96a9894193991a27e436beb9f64a55fa934583ab74f145fa0ce2a8bf5b1f2
+MISC ChangeLog 2940 SHA256 86e155955428e66449a2ef9fbbbb0076968e84934ef45d7ba1c590c718cfcb25 SHA512 32b3f203288376e16e963681a4c9713a09f198fc5463f9a4cb03de7637d604b2b37516a27b9d0f27d35f12ad0216f0f544e2bc85e7b8484952bcfc4cd1aa95b0 WHIRLPOOL b1cb26d0f3b0440007b8f4ac0d037a6586f0b703c734308a3f8e225b06a9e70f7e196ec4295a90d4d5e8f8e3e6ab1590aa3f9d7f03b21f723533ab31d2c929e0
+MISC ChangeLog-2015 1413 SHA256 dd2930e11342378d5f5967e9cdab1895fcd26ca952a68cfa7c7a93355187e0e0 SHA512 1d4a50d73d743e1a5447f75b4eb9483c72ca0133c144f6787439ed02352bceb29caa6f55c026276a31be160cbf9adf7e25fe7f54014320c13230ce3efda2b198 WHIRLPOOL 293b768a312aedf9aa372d27bef4e9ba8a436010a371f78cbaa48af6eab472c9dec611f962a7a28fbfc62d0d007b9f5a840c10a921ee29df0c5f1bbbd5ab8d95
+MISC metadata.xml 1036 SHA256 a3513ba5f16971f0bdff5f6a3fcbf435d3522b8ed56d37ba33f89ff7234d0a14 SHA512 6fb80339aedf037f2d76b9c686e8f997b3e4289e199bb130e48f12e6fa19dfc4404fa4468e75a8fa19e2ccec21e9a2623079ec5ee78e9acd18ee52112b0c1cf0 WHIRLPOOL 41210b70644479490ef6d96f945ee642d13a6c22a68c174251db81fa2b68677991c5092f7150d2c17c2e0ba062ac1841d81d77ead112dfeb6df80ebaa619bcd3
diff --git a/app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch b/app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch
new file mode 100644
index 000000000000..608685418676
--- /dev/null
+++ b/app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch
@@ -0,0 +1,19 @@
+diff --git a/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh b/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh
+index 6816f37..ec437e4 100644
+--- a/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh
++++ b/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh
+@@ -50,6 +50,14 @@ if [ ! -s "$KERNEL_FILE" ]; then
+ else
+ Error "Could not find Arch kernel /boot/vmlinuz[-linux|26]"
+ fi
++ elif [ -f /etc/gentoo-release ]; then
++ if [ -f "/boot/kernel-genkernel-${REAL_MACHINE}-${KERNEL_VERSION}" ]; then
++ KERNEL_FILE="/boot/kernel-genkernel-${REAL_MACHINE}-${KERNEL_VERSION}"
++ elif [ -f "/boot/kernel-${KERNEL_VERSION}" ]; then
++ KERNEL_FILE="/boot/kernel-${KERNEL_VERSION}"
++ else
++ Error "Could not find Gentoo kernel"
++ fi
+ else
+ Error "Could not find a matching kernel in /boot !"
+ fi
diff --git a/app-backup/rear/metadata.xml b/app-backup/rear/metadata.xml
new file mode 100644
index 000000000000..2f710d6a4ccd
--- /dev/null
+++ b/app-backup/rear/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>morlix@morlix.de</email>
+ <name>Timo Eissler</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</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>
+ <upstream>
+ <remote-id type="sourceforge">rear</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-backup/rear/rear-1.15-r1.ebuild b/app-backup/rear/rear-1.15-r1.ebuild
new file mode 100644
index 000000000000..b7e163f56dd2
--- /dev/null
+++ b/app-backup/rear/rear-1.15-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="A setup-and-forget Linux bare metal disaster recovery solution"
+HOMEPAGE="http://relax-and-recover.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="libressl udev"
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ 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_prepare () {
+ epatch "${FILESDIR}/${P}-add-support-for-gentoo-kernels.patch"
+}
+
+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}/
+}
diff --git a/app-backup/rear/rear-1.17.0.ebuild b/app-backup/rear/rear-1.17.0.ebuild
new file mode 100644
index 000000000000..2aa812a47a1a
--- /dev/null
+++ b/app-backup/rear/rear-1.17.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="A setup-and-forget Linux bare metal disaster recovery solution"
+HOMEPAGE="http://relax-and-recover.org/"
+MY_PV=${PV%.*}
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${MY_PV}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="libressl udev"
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ net-dialup/mingetty
+ net-fs/nfs-utils
+ sys-apps/gawk
+ 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}/
+}
diff --git a/app-backup/rear/rear-1.17.1.ebuild b/app-backup/rear/rear-1.17.1.ebuild
new file mode 100644
index 000000000000..2aa812a47a1a
--- /dev/null
+++ b/app-backup/rear/rear-1.17.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="A setup-and-forget Linux bare metal disaster recovery solution"
+HOMEPAGE="http://relax-and-recover.org/"
+MY_PV=${PV%.*}
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${MY_PV}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="libressl udev"
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ net-dialup/mingetty
+ net-fs/nfs-utils
+ sys-apps/gawk
+ 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}/
+}