From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1484845-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 537A8158010
	for <garchives@archives.gentoo.org>; Wed,  8 Feb 2023 03:34:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 32122E07D3;
	Wed,  8 Feb 2023 03:34:53 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 16594E07D3
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 Feb 2023 03:34:52 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DD6E933D3C1
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 Feb 2023 03:34:51 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 36ADF896
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 Feb 2023 03:34:50 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1675826971.bad6b5a6a0e8219e7ab9c7d2830c464b1ea74426.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/rsnapshot/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-backup/rsnapshot/Manifest app-backup/rsnapshot/rsnapshot-1.4.5.ebuild
X-VCS-Directories: app-backup/rsnapshot/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: bad6b5a6a0e8219e7ab9c7d2830c464b1ea74426
X-VCS-Branch: master
Date: Wed,  8 Feb 2023 03:34:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1116de5c-2ebd-49d4-8c38-4c85b3c3d9fb
X-Archives-Hash: 7ae6f17faad50a25a38bc794c97954f8

commit:     bad6b5a6a0e8219e7ab9c7d2830c464b1ea74426
Author:     Jimi Ayodele <folajimi <AT> post <DOT> com>
AuthorDate: Wed Feb  8 02:49:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 03:29:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad6b5a6

app-backup/rsnapshot: add 1.4.5

Signed-off-by: Jimi Ayodele <folajimi <AT> post.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-backup/rsnapshot/Manifest               |  1 +
 app-backup/rsnapshot/rsnapshot-1.4.5.ebuild | 50 +++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-backup/rsnapshot/Manifest b/app-backup/rsnapshot/Manifest
index d13e263d3056..75493f31e8eb 100644
--- a/app-backup/rsnapshot/Manifest
+++ b/app-backup/rsnapshot/Manifest
@@ -1 +1,2 @@
 DIST rsnapshot-1.4.4.tar.gz 374269 BLAKE2B 1e4a0c99d12d48cf4dacd3817b621f7e6b0ba32e9d9de87b61252875ae0bf735e8ce2c7d8bb60edb2f7d6345a06b183a2616bf1ac3dd7d1b5d3a3ef22a0ede6f SHA512 da45039457b9f3feb53b823f6ee36e8f7447d0689281d1bc857c6fedd450db2fdf8a98e66ba6e135a86654666888f7744ad9ff0aabbd605e1fc09dd5f1f7b838
+DIST rsnapshot-1.4.5.tar.gz 287731 BLAKE2B 2a668aa16991b2b4e611c6204cdcd0e8c9593e5f0af5ea89e787a578e73b6f5987514cd7d0252bb78aea1b157ef85aea947686111ca9e3befdb2a8cef0aa9ecd SHA512 6caa2d7c425d084d0bb393421a0ed1ba78fdd27f7d8cec4810bc4a9f88b3232aeff7e4682282178f7702e2adc7abc8e9201249bf2bcaa28faa16e30aaa62e18a

diff --git a/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild
new file mode 100644
index 000000000000..52d1d54e786b
--- /dev/null
+++ b/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A filesystem backup utility based on rsync"
+HOMEPAGE="https://www.rsnapshot.org"
+SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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 "  ${EROOT}/usr/share/doc/${PF}/rsnapshot.conf.default"
+	elog "Copy and edit the the above file as ${EROOT}/etc/rsnapshot.conf"
+}