From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6255A138330 for ; Thu, 25 Aug 2016 08:12:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7F97E0B3D; Thu, 25 Aug 2016 08:12:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CAEDE0B3D for ; Thu, 25 Aug 2016 08:12:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 229E334095A for ; Thu, 25 Aug 2016 08:12:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 176702467 for ; Thu, 25 Aug 2016 08:12:52 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1472112765.76a525aa9005168e49605041c204e73069f651f5.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/rsnapshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/rsnapshot/rsnapshot-1.4.2.ebuild X-VCS-Directories: app-backup/rsnapshot/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 76a525aa9005168e49605041c204e73069f651f5 X-VCS-Branch: master Date: Thu, 25 Aug 2016 08:12:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 94490888-f1cc-4fa7-8788-ef7edd8a931a X-Archives-Hash: eab9a53a9b9b49abedbea749455c1af0 commit: 76a525aa9005168e49605041c204e73069f651f5 Author: Sergiy Borodych gmail com> AuthorDate: Mon Aug 22 13:32:52 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Aug 25 08:12:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a525aa app-backup/rsnapshot: strip rsnapshot.conf.default of a hardcoded path. remove '/etc/' since we don't place it here. Gentoo-Bug: https://bugs.gentoo.org/461554 Closes: https://github.com/gentoo/gentoo/pull/2120 Signed-off-by: Patrice Clement gentoo.org> app-backup/rsnapshot/rsnapshot-1.4.2.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild index 1836d88..cb4054f 100644 --- a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild +++ b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild @@ -20,6 +20,12 @@ RDEPEND=">=dev-lang/perl-5.8.2 >=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"