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 1F07E138331 for ; Tue, 13 Mar 2018 22:36:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F88FE0928; Tue, 13 Mar 2018 22:36:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1FFEEE0928 for ; Tue, 13 Mar 2018 22:36:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BD8A3335C7B for ; Tue, 13 Mar 2018 22:36:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C4E5258 for ; Tue, 13 Mar 2018 22:36:47 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1520980560.643873a7078f0223537e940a0cd1e1f3d63c117f.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/snapper/snapper-0.5.4.ebuild X-VCS-Directories: app-backup/snapper/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 643873a7078f0223537e940a0cd1e1f3d63c117f X-VCS-Branch: master Date: Tue, 13 Mar 2018 22:36:47 +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: f817236c-7ed0-446d-af2a-eccbaa8c27b1 X-Archives-Hash: 7e8dfaec785afdd07cfbdba2cafa9c1a commit: 643873a7078f0223537e940a0cd1e1f3d63c117f Author: Luigi 'Comio' Mantellini gmail com> AuthorDate: Mon Mar 5 11:03:21 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Mar 13 22:36:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643873a7 app-backup/snapper: Fix systemd systemunitdir Closes: https://bugs.gentoo.org/649630 Closes: https://github.com/gentoo/gentoo/pull/7363 app-backup/snapper/snapper-0.5.4.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app-backup/snapper/snapper-0.5.4.ebuild b/app-backup/snapper/snapper-0.5.4.ebuild index dfc07db3105..08667a65c08 100644 --- a/app-backup/snapper/snapper-0.5.4.ebuild +++ b/app-backup/snapper/snapper-0.5.4.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 +inherit systemd + DESCRIPTION="Command-line program for btrfs and ext4 snapshot management" HOMEPAGE="http://snapper.io/" SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2" @@ -36,6 +38,14 @@ PATCHES=( "${FILESDIR}"/cron-confd.patch ) +src_prepare() { + default + + sed -e "s,/usr/lib/systemd/system,$(systemd_get_systemunitdir),g" \ + -i data/Makefile.* \ + || die "Failed to fix systemd services and timers installation path" +} + src_configure() { local myeconfargs=( --with-conf="/etc/conf.d"