From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/rear/files/, app-backup/rear/
Date: Mon, 5 Oct 2020 05:46:58 +0000 (UTC) [thread overview]
Message-ID: <1601876808.6eacc715e06b282225caf3d50e0f5269d8e425e3.juippis@gentoo> (raw)
commit: 6eacc715e06b282225caf3d50e0f5269d8e425e3
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sun Aug 2 21:14:26 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 5 05:46:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eacc715
app-backup/rear: version bump to 2.6
re-introduce udev rule for backup start on backup disc connect
add proxy-maintainership
Closes: https://bugs.gentoo.org/696678
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/17487
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-backup/rear/Manifest | 1 +
app-backup/rear/files/rear-2.6-Makefile.patch | 34 +++++++++++++++
app-backup/rear/metadata.xml | 10 ++++-
app-backup/rear/rear-2.6.ebuild | 60 +++++++++++++++++++++++++++
4 files changed, 104 insertions(+), 1 deletion(-)
diff --git a/app-backup/rear/Manifest b/app-backup/rear/Manifest
index 8ae2cae8ecf..07cafa56e62 100644
--- a/app-backup/rear/Manifest
+++ b/app-backup/rear/Manifest
@@ -1 +1,2 @@
DIST rear-2.4.tar.gz 611731 BLAKE2B f7cb6955302e0be6178393a678f050729b827f822df91d28245655d414892f225e25125f7e3bfad080e139ddc9c728121894b4ebde48c4dff2a8071fb4a5d46e SHA512 8a20c0ffd913b1b4c27f6125c1ca31404daaceccb2bfff7932f1ea402806657252afc3f6719c75dcab2de18b7975f83544dac92f43a742654f90494454d7c088
+DIST rear-2.6.tar.gz 750866 BLAKE2B de803951c040bb85d4659fc81ffb9264b2771a45675aca4eb0a6318201802475014c2b760415ac61ab734286f5e1e84b0c858df166b9be356384a243a7badb78 SHA512 0b6deac8f1b4adc3bcfcd19e82b5e5719df1c1c2347e3dde9bb47b6086856ebf5d08e485b876633190bb6f92a0e1c567bb65a30554205a32eec4b929e5815a6c
diff --git a/app-backup/rear/files/rear-2.6-Makefile.patch b/app-backup/rear/files/rear-2.6-Makefile.patch
new file mode 100644
index 00000000000..800dcf69cee
--- /dev/null
+++ b/app-backup/rear/files/rear-2.6-Makefile.patch
@@ -0,0 +1,34 @@
+--- rear-2.6/Makefile.orig 2020-09-09 20:04:39.357666685 +0200
++++ rear-2.6/Makefile 2020-09-09 20:06:12.537313922 +0200
+@@ -84,7 +84,7 @@
+ clean:
+ rm -Rf dist build
+ rm -f build-stamp
+- make -C doc clean
++ $(MAKE) -C doc clean
+
+ ### You can call 'make validate' directly from your .git/hooks/pre-commit script
+ validate:
+@@ -107,11 +107,11 @@
+
+ man:
+ @echo -e "\033[1m== Prepare manual ==\033[0;0m"
+- make -C doc man
++ $(MAKE) -C doc man
+
+ doc:
+ @echo -e "\033[1m== Prepare documentation ==\033[0;0m"
+- make -C doc docs
++ $(MAKE) -C doc docs
+
+ install-config:
+ @echo -e "\033[1m== Installing configuration ==\033[0;0m"
+@@ -144,7 +144,7 @@
+
+ install-doc:
+ @echo -e "\033[1m== Installing documentation ==\033[0;0m"
+- make -C doc install
++ $(MAKE) -C doc install
+ sed -i -e 's,/etc,$(sysconfdir),' \
+ -e 's,/usr/sbin,$(sbindir),' \
+ -e 's,/usr/share,$(datadir),' \
diff --git a/app-backup/rear/metadata.xml b/app-backup/rear/metadata.xml
index 5d24f38283d..ccfd9c81bce 100644
--- a/app-backup/rear/metadata.xml
+++ b/app-backup/rear/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>martin.dummer@gmx.net</email>
+ <name>Martin Dummer</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>
@@ -10,5 +17,6 @@
</use>
<upstream>
<remote-id type="sourceforge">rear</remote-id>
+ <remote-id type="github">rear/rear</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-backup/rear/rear-2.6.ebuild b/app-backup/rear/rear-2.6.ebuild
new file mode 100644
index 00000000000..5c7e1c9a80f
--- /dev/null
+++ b/app-backup/rear/rear-2.6.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit optfeature udev
+
+DESCRIPTION="Relax-and-Recover is a setup-and-forget bare metal disaster recovery solution"
+HOMEPAGE="http://relax-and-recover.org/ https://github.com/rear/rear/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl udev samba"
+
+RDEPEND="
+ app-shells/bash
+ net-dialup/mingetty
+ net-fs/nfs-utils
+ sys-apps/gawk
+ sys-apps/iproute2
+ sys-apps/lsb-release
+ sys-apps/sed
+ sys-apps/util-linux
+ sys-block/parted
+ sys-boot/syslinux
+ virtual/cdrtools
+ udev? ( virtual/udev )
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-Makefile.patch"
+)
+
+src_compile() { :; }
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ if use udev ; then
+ einfo "Deploy udev USB rule and udev will autostart ReaR workflows in case a USB"
+ einfo "drive with the label 'REAR_000' is connected, which in turn is the"
+ einfo "default label when running the \`rear format\` command."
+ udev_dorules etc/udev/rules.d/62-${PN}-usb.rules
+ fi
+
+ keepdir /etc/rear
+ keepdir /var/lib/rear
+ keepdir /var/log/rear
+}
+
+pkg_postinst() {
+ if use udev ; then
+ udev_reload
+ fi
+
+ optfeature "if you want to save backups on smb/cifs servers" net-fs/cifs-utils
+ optfeature "if you want to encrypt your backups" dev-libs/openssl dev-libs/libressl
+}
reply other threads:[~2020-10-05 5:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1601876808.6eacc715e06b282225caf3d50e0f5269d8e425e3.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox