diff options
Diffstat (limited to 'app-backup/rear')
-rw-r--r-- | app-backup/rear/Manifest | 8 | ||||
-rw-r--r-- | app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch | 19 | ||||
-rw-r--r-- | app-backup/rear/metadata.xml | 21 | ||||
-rw-r--r-- | app-backup/rear/rear-1.15-r1.ebuild | 58 | ||||
-rw-r--r-- | app-backup/rear/rear-1.17.0.ebuild | 56 | ||||
-rw-r--r-- | app-backup/rear/rear-1.17.1.ebuild | 56 |
6 files changed, 218 insertions, 0 deletions
diff --git a/app-backup/rear/Manifest b/app-backup/rear/Manifest new file mode 100644 index 000000000000..b998a27515fa --- /dev/null +++ b/app-backup/rear/Manifest @@ -0,0 +1,8 @@ +AUX rear-1.15-add-support-for-gentoo-kernels.patch 817 BLAKE2B 1bd821856ec3b52f7addd7d438d8a2bb412587fd29b3acfcdba99dd769fd217a7dbe1a264431382981cd79e4802819b80d53340841be2d8104beae8be1c48de2 SHA512 b60b77276c6be79324c8df30365950cc864751c96e6373c8231a60a6293046571cb2dad75423f3e1beaea28597c52a431e7d16b01d8c8cb6f279cd1428670659 +DIST rear-1.15.tar.gz 258153 BLAKE2B 1172806962df7d1a5f278d1aeb696e38d482f1710c6b13dba6b00f60f51fd3c02ba6d28c9c5e4b1a648468f9a6f5987b47ca1f819c8e66c9b6f209c75b0ba0b6 SHA512 dc953c33b82f221de6c2acd7ffbb26c34b86aebcd7f8a4d7d520a1d08c15c723fed75326b8e19614f5e09f6436d392091b362b350ffad06caf10c711eb97fcb2 +DIST rear-1.17.0.tar.gz 299444 BLAKE2B bbada2b5705a5ff0f82b97974f14de728a779847a6b410e0be71033404ae08f0ba6c4bd76c07aba0195aa677c174ebf016bbb6a17f3aa2698bed24bcb50618f3 SHA512 4b9991dc14138e6a2cd28c9fb9f1dcf46ea1a580454bb2c966024481657a102cc849baf6af5ebfa0793ac3f5ebff5b07abc87d1e4b02e1496a0f87b8cf79284e +DIST rear-1.17.1.tar.gz 303253 BLAKE2B 3c84a76b0aaf1ef72191a49976aa86ce4fcf7c9aee1c6c85af3d68d80e0c6a7ba0d16e109847c7753a626ef34df9ee05f2912b30df5e205303c194831bd5af77 SHA512 66595e962345c0e61c5152f11aee6745ec348acc02d0cbc717faaca8618c83211d8c45ec5e80a17ba9d8c8ad9c6d2ecb109f827d976eb0d126bfc44cf4b49afc +EBUILD rear-1.15-r1.ebuild 1275 BLAKE2B 36665c42c5ddaf6cef28c1f6e574e8e4aa64ca10e303022538e44d41b4af183572e81738fb24a3f2972c55f5de8b86b7c38b1d5f9ec3b27e1bd76c74fa6650ac SHA512 ed2893187e3388d1f2a3dc6dcb7220f6e4a77cfb720b86c67b464526c6a54469023f05a6481e44f939420b80651bb4e4e85dcaa06c022abd101b674dfbdd6653 +EBUILD rear-1.17.0.ebuild 1255 BLAKE2B afcd0f322104c658b9bfbada162bf498b1fb4689314826a3cef11bab11726d0f50bdac4826d43a0798b2e9a0e58f68875e513f8c035e7911f9fdd7479620b516 SHA512 fe04b73d4105763c99eb267d5fe7bbba9334b629de6423c47b1e6d8ef1461821ce809ff31cb5f2afc966f48f6d759e4c8e9abc6d40f0004ea6c38fcb9e854f36 +EBUILD rear-1.17.1.ebuild 1255 BLAKE2B afcd0f322104c658b9bfbada162bf498b1fb4689314826a3cef11bab11726d0f50bdac4826d43a0798b2e9a0e58f68875e513f8c035e7911f9fdd7479620b516 SHA512 fe04b73d4105763c99eb267d5fe7bbba9334b629de6423c47b1e6d8ef1461821ce809ff31cb5f2afc966f48f6d759e4c8e9abc6d40f0004ea6c38fcb9e854f36 +MISC metadata.xml 959 BLAKE2B 7e442e9959630922fdac4720c014d7e989c59739486180c5435375c5e88611a439ca4520f2cbc929e1c190b2624ae9b4eed1955d49b6a52c8c2594983389ffaa SHA512 eace4c6f5b1a3afdfa0beaa989daeaafe21ddb48a3539cfe9eb5575827a32e9a391289703fc4ed395ff2439d450af58fde6b302b4e0a62821b4cc4e1b401c69a 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..a120589d37c4 --- /dev/null +++ b/app-backup/rear/metadata.xml @@ -0,0 +1,21 @@ +<?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> + </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}/ +} |