From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-951624-garchives=archives.gentoo.org@lists.gentoo.org> 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 B468D139694 for <garchives@archives.gentoo.org>; Tue, 23 May 2017 09:06:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9E8B21C04E; Tue, 23 May 2017 09:06:48 +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 A7A0821C04E for <gentoo-commits@lists.gentoo.org>; Tue, 23 May 2017 09:06:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 840D5341739 for <gentoo-commits@lists.gentoo.org>; Tue, 23 May 2017 09:06:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8F437459 for <gentoo-commits@lists.gentoo.org>; Tue, 23 May 2017 09:06:45 +0000 (UTC) From: "Yixun Lan" <dlan@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, "Yixun Lan" <dlan@gentoo.org> Message-ID: <1495530403.e42644f237f6be7dbb7f6098f75ccec1a0e9db0d.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/snapper/Manifest app-backup/snapper/snapper-0.5.0.ebuild X-VCS-Directories: app-backup/snapper/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: e42644f237f6be7dbb7f6098f75ccec1a0e9db0d X-VCS-Branch: master Date: Tue, 23 May 2017 09:06:45 +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-Archives-Salt: 92f84299-668e-4589-9586-00c96ce1e081 X-Archives-Hash: 44553f85c100a8748e027a21990f8933 commit: e42644f237f6be7dbb7f6098f75ccec1a0e9db0d Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Tue May 23 09:01:29 2017 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Tue May 23 09:06:43 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42644f2 app-backup/snapper: version bump, 0.5.0 Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-backup/snapper/Manifest | 1 + app-backup/snapper/snapper-0.5.0.ebuild | 73 +++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest index 20b73d6008b..533ea919b1d 100644 --- a/app-backup/snapper/Manifest +++ b/app-backup/snapper/Manifest @@ -1,3 +1,4 @@ DIST snapper-0.2.8.tar.bz2 475053 SHA256 a44608648ed21a1346f8ae9345044901c39ad01abb501806a22c9d4a771eadc5 SHA512 ce1529062943c34b9de2eafb62c6e28b39bda6f4afc23ec5df5ddd42f213cbaf0d77d94d11d982285114ceecd27bd48206436119af84b2769ed4792aab01c75d WHIRLPOOL 3463cf8beb7adb1f3869645b20928dc21fc9cb72f8ed5275688e0b53c97b8103d0536e3246f12fcdc90c1889d221d13ce131b1920c7298232212c003ea9abb6d DIST snapper-0.3.3.tar.bz2 545800 SHA256 e64f42417fffed65524ce125eb31b5dbdd802a519ef04dd88c9251ef2784fe10 SHA512 f24f6d121f9a613549899b7bf3751f6d9c101db716d7bc3858a2add9f90e08861fc46927ce0130efc232240a91e24934820d0c2b1b65f206ac80d04cdaaec39d WHIRLPOOL 8a55ec12330d13bb1c4a630584418eb0e4f64580324ec8ff9fe444a1d52a4eafddac6c6c6cefc8aec760d84336f24c389e3f6d79ff07d9a40bb69cedbf35c8b7 DIST snapper-0.4.1.tar.bz2 570673 SHA256 db9cce7f61ed1197d2663dfca444d313b05d7fb2d50af5ab468c7bdba6dd660f SHA512 23d12a4685039ce629333854bc3e8a90a524bf1207590102ccfbc358473e7bef9ca6a723d2bc8a2f0f7466c4b34dce724b806d24762ae54b26292e730a10a70c WHIRLPOOL 7f6100bc2989c931a4d95dbca3bbb6d3b6b09e3f98a9d4f1121182ef8541b1b20484c6e6591568fba1cf4bdc9045879b50dbc38438ea3336fc387ed937f1bab8 +DIST snapper-0.5.0.tar.bz2 571716 SHA256 8876b6fa946dc46df5dcbaf747bb11ac4c5a3418dd59c5ba09c47910cbad1835 SHA512 37487a1230825dc5d533e5c864965d9d05c2a3f4e12e5ae910f2721ef2497be2dafedcd13148d7246896551eae11cbcb925e04b58f799ea3d644eea329d3da29 WHIRLPOOL 864df5b8c3746aefdd1349a80cc045eb707b0dd483cab198842ebca2707d96f7ed216d6f6df424c52ca9f11d8ff9fd0c7f025a60000226501bc787ea248ce046 diff --git a/app-backup/snapper/snapper-0.5.0.ebuild b/app-backup/snapper/snapper-0.5.0.ebuild new file mode 100644 index 00000000000..9d1e8fe82a9 --- /dev/null +++ b/app-backup/snapper/snapper-0.5.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+btrfs ext4 lvm pam xattr" + +RDEPEND="dev-libs/boost:=[threads] + dev-libs/libxml2 + dev-libs/icu:= + sys-apps/acl + sys-apps/dbus + sys-apps/util-linux + sys-libs/zlib + virtual/libintl + btrfs? ( >=sys-fs/btrfs-progs-3.17.1 ) + ext4? ( sys-fs/e2fsprogs ) + lvm? ( sys-fs/lvm2 ) + pam? ( sys-libs/pam ) + xattr? ( sys-apps/attr )" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +REQUIRED_USE="|| ( btrfs ext4 lvm )" + +DOCS=( AUTHORS ) + +src_prepare() { + default + epatch "${FILESDIR}"/cron-confd.patch +} + +src_configure() { + local myeconfargs=( + --with-conf="/etc/conf.d" + --docdir="/usr/share/doc/${PF}" + --disable-zypp + --enable-rollback + $(use_enable btrfs) + $(use_enable ext4) + $(use_enable lvm) + $(use_enable pam) + $(use_enable xattr xattrs) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + # Existing configuration file required to function + newconfd data/sysconfig.snapper snapper + prune_libtool_files +} + +pkg_postinst() { + elog "In order to use Snapper, you need to set up" + elog "at least one config first. To do this, run:" + elog "snapper create-config <subvolume>" + elog "For more information, see man (8) snapper or" + elog "http://snapper.io/documentation.html" +}