summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiy Borodych <Sergiy.Borodych@gmail.com>2020-05-22 11:50:54 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-06-22 15:39:18 +0300
commit517b20fb401a897434578f8229d3c41ed3a198de (patch)
tree1f044f81c8922794739759e74b252f37a0eebc70 /app-backup/rsnapshot/rsnapshot-1.4.3.ebuild
parentwww-client/opera-developer: Version 70.0.3728.0 (diff)
downloadgentoo-517b20fb401a897434578f8229d3c41ed3a198de.tar.gz
gentoo-517b20fb401a897434578f8229d3c41ed3a198de.tar.bz2
gentoo-517b20fb401a897434578f8229d3c41ed3a198de.zip
app-backup/rsnapshot: version bump to 1.4.3
also: bump to EAPI version 7, use https instead of http plus add myself back as maintainer Closes: https://bugs.gentoo.org/711108 Signed-off-by: Sergiy Borodych <Sergiy.Borodych@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-backup/rsnapshot/rsnapshot-1.4.3.ebuild')
-rw-r--r--app-backup/rsnapshot/rsnapshot-1.4.3.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/app-backup/rsnapshot/rsnapshot-1.4.3.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.3.ebuild
new file mode 100644
index 000000000000..0342270d6a0b
--- /dev/null
+++ b/app-backup/rsnapshot/rsnapshot-1.4.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A filesystem backup utility based on rsync"
+HOMEPAGE="https://www.rsnapshot.org"
+SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=dev-lang/perl-5.8.2
+ dev-perl/Lchown
+ >=sys-apps/util-linux-2.12-r4
+ >=sys-apps/coreutils-5.0.91-r4
+ >=net-misc/openssh-3.7.1_p2-r1
+ >=net-misc/rsync-2.6.0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ # remove '/etc/' since we don't place it here, bug #461554
+ sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die
+}
+
+src_install() {
+ docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default"
+
+ # Change sysconfdir to install the template file as documentation
+ # rather than in /etc.
+ emake install DESTDIR="${D}" \
+ sysconfdir="${EPREFIX}/usr/share/doc/${PF}"
+
+ dodoc README.md AUTHORS ChangeLog \
+ docs/Upgrading_from_1.1
+
+ docinto utils
+ dodoc utils/{README,rsnaptar,*.sh,*.pl}
+
+ docinto utils/rsnapshotdb
+ dodoc utils/rsnapshotdb/*
+}
+
+pkg_postinst() {
+ elog "The template configuration file has been installed as"
+ elog " /usr/share/doc/${PF}/rsnapshot.conf.default"
+ elog "Copy and edit the the above file as /etc/rsnapshot.conf"
+}