public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/
Date: Mon, 13 Aug 2018 03:52:02 +0000 (UTC)	[thread overview]
Message-ID: <1534132319.9cfcaf5a99d47bdd3aca67b5555a7792e0a028b6.dlan@gentoo> (raw)

commit:     9cfcaf5a99d47bdd3aca67b5555a7792e0a028b6
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 13 03:41:25 2018 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Aug 13 03:51:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cfcaf5a

app-backup/snapper: version bump 0.5.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-backup/snapper/Manifest             |  1 +
 app-backup/snapper/snapper-0.5.6.ebuild | 77 +++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 1b9e00e37ca..b0274984547 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -3,3 +3,4 @@ DIST snapper-0.3.3.tar.bz2 545800 BLAKE2B dca7b6912beb015335324144ca60e1f4667e96
 DIST snapper-0.4.1.tar.bz2 570673 BLAKE2B 7b36cac2bdb84d80817be496ba1aa0984ba48680468bfc04fa47a10f452da0dbe1a94fac70d6c7a8ba03f76047ebbba579924f35b4e86c2d30c28e222cba38ec SHA512 23d12a4685039ce629333854bc3e8a90a524bf1207590102ccfbc358473e7bef9ca6a723d2bc8a2f0f7466c4b34dce724b806d24762ae54b26292e730a10a70c
 DIST snapper-0.5.0.tar.bz2 571716 BLAKE2B 3eb1db265566d0129c3177dcf8d62848108df918eb705ae149672664e215a17b760279e35d1ac658b18bb6e6fa05f5102d05c3a00e45fbfe73093b073fc3f8f9 SHA512 37487a1230825dc5d533e5c864965d9d05c2a3f4e12e5ae910f2721ef2497be2dafedcd13148d7246896551eae11cbcb925e04b58f799ea3d644eea329d3da29
 DIST snapper-0.5.4.tar.bz2 579172 BLAKE2B ce23b56047b818946f1b885308abd21ce6df216b890f784c3b57d8bd44a0a26bebf992b4d2a8ff36e11e096b0d589197e81bf223dd018feb9dcbeaa04c03a904 SHA512 fed417ef817526ab8c2110a70f5e9750642d7f427619efa52c2ed2e3adb83ff47314cdd8843e6331ce1c37fca79367a0a5ff8c6ba394602b24399eb5e6b97cd0
+DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b SHA512 392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e

diff --git a/app-backup/snapper/snapper-0.5.6.ebuild b/app-backup/snapper/snapper-0.5.6.ebuild
new file mode 100644
index 00000000000..0615011a39c
--- /dev/null
+++ b/app-backup/snapper/snapper-0.5.6.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm 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="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-fs/btrfs-progs-3.17.1
+	sys-libs/zlib
+	virtual/libintl
+	lvm? ( sys-fs/lvm2 )
+	pam? ( sys-libs/pam )
+	xattr? ( sys-apps/attr )"
+
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+	virtual/pkgconfig"
+
+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() {
+	# ext4 code does not work anymore
+	# snapper does not build without btrfs
+	local myeconfargs=(
+		--with-conf="/etc/conf.d"
+		--docdir="/usr/share/doc/${PF}"
+		--disable-zypp
+		--enable-rollback
+		--disable-ext4
+		--enable-btrfs
+		$(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
+	find "${D}" -name '*.la' -delete || die
+}
+
+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"
+}


             reply	other threads:[~2018-08-13  3:52 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-13  3:52 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-12  9:00 [gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/ Yixun Lan
2025-01-12  9:00 Yixun Lan
2025-01-11 11:25 Sam James
2025-01-11 11:25 Sam James
2024-12-02 10:42 Yixun Lan
2024-09-02  1:08 Yixun Lan
2024-07-11  6:22 Arthur Zamarin
2024-07-11  6:22 Arthur Zamarin
2024-07-11  2:30 Yixun Lan
2023-12-04 12:27 Michał Górny
2023-12-04  1:54 Sam James
2023-12-04  0:52 Yixun Lan
2023-09-15  8:27 Sam James
2023-08-09 11:47 Yixun Lan
2023-08-09 11:47 Yixun Lan
2023-06-17 21:11 Yixun Lan
2022-12-19  1:41 Yixun Lan
2022-11-29  5:49 Joonas Niilola
2022-11-29  5:49 Joonas Niilola
2022-11-28 16:29 Joonas Niilola
2022-09-23 13:22 Yixun Lan
2022-08-12 13:21 Yixun Lan
2022-08-12 13:21 Yixun Lan
2022-05-15  0:06 Yixun Lan
2022-01-31  2:39 Yixun Lan
2021-12-07  6:26 Agostino Sarubbo
2021-12-06 11:27 Agostino Sarubbo
2021-10-12  7:14 Agostino Sarubbo
2021-10-12  7:10 Agostino Sarubbo
2021-07-21  2:22 Yixun Lan
2021-06-06  6:35 Yixun Lan
2021-06-06  6:35 Yixun Lan
2021-06-05 20:35 Sam James
2021-01-15 21:28 Yixun Lan
2021-01-14  8:20 Yixun Lan
2020-06-04  2:48 Yixun Lan
2020-06-01  6:57 Yixun Lan
2020-04-17 15:17 Yixun Lan
2020-04-17 15:17 Yixun Lan
2020-02-16 14:27 Yixun Lan
2019-12-20  2:09 Yixun Lan
2019-12-20  2:09 Yixun Lan
2019-10-16  3:42 Yixun Lan
2019-04-16  6:44 Yixun Lan
2019-02-12  2:16 Yixun Lan
2019-02-12  2:16 Yixun Lan
2019-01-17 21:21 Mikle Kolyada
2019-01-02 19:01 Thomas Deutschmann
2018-12-17  7:38 Yixun Lan
2018-12-17  7:38 Yixun Lan
2018-10-12 17:14 Mikle Kolyada
2018-10-10  3:01 Thomas Deutschmann
2018-08-13  3:52 Yixun Lan
2018-03-25 19:10 Michał Górny
2018-03-13 22:36 Andreas Sturmlechner
2018-03-13 21:35 Patrice Clement
2018-02-11 10:01 Michał Górny
2017-05-23  9:06 Yixun Lan
2016-12-28  9:14 Yixun Lan
2016-12-20  7:36 Yixun Lan
2016-09-29  5:40 Lars Wendler
2016-08-25  5:28 Yixun Lan
2016-08-25  5:28 Yixun Lan
2016-04-06  4:39 Ian Delaney
2016-03-08  9:13 Patrice Clement
2015-12-21  7:47 Yixun Lan
2015-08-31  8:12 Yixun Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1534132319.9cfcaf5a99d47bdd3aca67b5555a7792e0a028b6.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox