[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2023-12-05 Thread Yixun Lan
commit: ef3449391b82e023ebfe4d00addd88de3793dd6a
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Dec  5 08:09:29 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Dec  5 12:11:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef344939

app-backup/snapper: drop 0.10.3, 0.10.5-r1

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  2 -
 .../snapper/files/snapper-0.10.3-boost-1.81.patch  | 19 -
 app-backup/snapper/snapper-0.10.3.ebuild   | 90 --
 app-backup/snapper/snapper-0.10.5-r1.ebuild| 89 -
 4 files changed, 200 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index c0712373e9a5..e975685fd561 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,4 +1,2 @@
-DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
-DIST snapper-0.10.5.tar.gz 422114 BLAKE2B 
35c4772fc84920755d5fe87cad4a73792692ab7a55bcbcae65f20bf2e0cbcfb79429a423a5b55a89dbfeba1ff0474741c884bc632daa997fbb86cec52b68e3ef
 SHA512 
e710069374b805394d691f8060d2852e35960a965fd49bb59768ebcc53a615af1f36269adac2d916b5e3f1b3e42fb2a53049d8f1b8a6a8430e992fa0de49c235
 DIST snapper-0.10.6.tar.gz 423867 BLAKE2B 
a7d0f8c62c60c0d03bf108a8c0692dd209f170cf8227512cbc3b80eb9f58ecca845aa585859032bc6582d67e4c6ff15b75443a9ee9291d1b970efec15513571f
 SHA512 
6eedfb9408260331f042f0a429a1104136cb88dac450f320641b0941cd06faf52f67cad2397cf4122f919876bb994455da0cfd3bb099f82217050e07b4c77d2e
 DIST snapper-0.10.7.tar.gz 428482 BLAKE2B 
43c48d978296901f6584cef258ec3723de97b1d6b4b4a5b6bc39649f28b3300919616c65b8fcdb97b3ebcab08d04e4583713eef146721367de24513e80113b45
 SHA512 
bf098c941735b60554ff0711fa43b30ef3634e01178f5ee8ad44c65b757c3366bd5bf568cef3a787b2ddcc2fc63090056109250480e6bd360ebf27a8343373b8

diff --git a/app-backup/snapper/files/snapper-0.10.3-boost-1.81.patch 
b/app-backup/snapper/files/snapper-0.10.3-boost-1.81.patch
deleted file mode 100644
index 80896f02e46e..
--- a/app-backup/snapper/files/snapper-0.10.3-boost-1.81.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-https://bugs.gentoo.org/886505
-https://github.com/openSUSE/snapper/commit/0f8a3dff903eeb30072b9b9809cf072d3c84d1fc
-
-From 0f8a3dff903eeb30072b9b9809cf072d3c84d1fc Mon Sep 17 00:00:00 2001
-From: Arvin Schnell 
-Date: Tue, 15 Nov 2022 14:39:29 +0100
-Subject: [PATCH] - fix build with boost 1.81
-
 a/zypp-plugin/snapper-zypp-plugin.cc
-+++ b/zypp-plugin/snapper-zypp-plugin.cc
-@@ -30,6 +30,7 @@
- 
- #include 
- #include 
-+#include 
- #include 
- #include 
- 
-

diff --git a/app-backup/snapper/snapper-0.10.3.ebuild 
b/app-backup/snapper/snapper-0.10.3.ebuild
deleted file mode 100644
index b58714c373f4..
--- a/app-backup/snapper/snapper-0.10.3.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd
-
-DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
-HOMEPAGE="http://snapper.io/;
-SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv x86"
-IUSE="doc lvm pam test systemd xattr"
-RESTRICT="test"
-
-RDEPEND="dev-libs/boost:=
-   dev-libs/json-c:=
-   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}
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   sys-devel/gettext
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/cron-confd.patch
-   "${FILESDIR}"/${PN}-0.10.1-testsuite.patch
-   "${FILESDIR}"/${P}-boost-1.81.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"
-   eautoreconf
-}
-
-src_configure() {
-   # ext4 code does not work anymore
-   # snapper does not build without btrfs
-   local myeconfargs=(
-   --disable-silent-rules
-   --with-conf="/etc/conf.d"
-   --enable-zypp
-   --enable-rollback
-   --enable-btrfs-quota
-   --disable-ext4
-   --enable-btrfs
-   $(use_enable doc)
-   $(use_enable lvm)
-   $(use_enable pam)
-   $(use_enable test tests)
-

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2023-12-04 Thread Michał Górny
commit: e5a7d6138a1af2e5f023abe67af6b0e802ac63c2
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec  4 12:26:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec  4 12:26:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a7d613

app-backup/snapper: Stabilize 0.10.6 x86, #919132

Signed-off-by: Michał Górny  gentoo.org>

 app-backup/snapper/snapper-0.10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.10.6.ebuild 
b/app-backup/snapper/snapper-0.10.6.ebuild
index 3a8fa554b747..2adf8bcfcde5 100644
--- a/app-backup/snapper/snapper-0.10.6.ebuild
+++ b/app-backup/snapper/snapper-0.10.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 IUSE="lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2023-12-03 Thread Sam James
commit: 2716246a030f00e7593f037a1f6c674bd5d2355f
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  4 01:54:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  4 01:54:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2716246a

app-backup/snapper: Stabilize 0.10.6 amd64, #919132

Signed-off-by: Sam James  gentoo.org>

 app-backup/snapper/snapper-0.10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.10.6.ebuild 
b/app-backup/snapper/snapper-0.10.6.ebuild
index 9d04eeeb2e14..3a8fa554b747 100644
--- a/app-backup/snapper/snapper-0.10.6.ebuild
+++ b/app-backup/snapper/snapper-0.10.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2023-12-03 Thread Yixun Lan
commit: b20a4dd388a32a2677f6eac2ce2b6f2fa974a48c
Author: Michael Vetter  iodoru  org>
AuthorDate: Sun Dec  3 20:35:18 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec  4 00:51:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b20a4dd3

app-backup/snapper: add 0.10.7

Closes: https://github.com/gentoo/gentoo/pull/34109
Signed-off-by: Michael Vetter  iodoru.org>
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest  |  1 +
 app-backup/snapper/snapper-0.10.7.ebuild | 90 
 2 files changed, 91 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index e4847c806d5a..c0712373e9a5 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
 DIST snapper-0.10.5.tar.gz 422114 BLAKE2B 
35c4772fc84920755d5fe87cad4a73792692ab7a55bcbcae65f20bf2e0cbcfb79429a423a5b55a89dbfeba1ff0474741c884bc632daa997fbb86cec52b68e3ef
 SHA512 
e710069374b805394d691f8060d2852e35960a965fd49bb59768ebcc53a615af1f36269adac2d916b5e3f1b3e42fb2a53049d8f1b8a6a8430e992fa0de49c235
 DIST snapper-0.10.6.tar.gz 423867 BLAKE2B 
a7d0f8c62c60c0d03bf108a8c0692dd209f170cf8227512cbc3b80eb9f58ecca845aa585859032bc6582d67e4c6ff15b75443a9ee9291d1b970efec15513571f
 SHA512 
6eedfb9408260331f042f0a429a1104136cb88dac450f320641b0941cd06faf52f67cad2397cf4122f919876bb994455da0cfd3bb099f82217050e07b4c77d2e
+DIST snapper-0.10.7.tar.gz 428482 BLAKE2B 
43c48d978296901f6584cef258ec3723de97b1d6b4b4a5b6bc39649f28b3300919616c65b8fcdb97b3ebcab08d04e4583713eef146721367de24513e80113b45
 SHA512 
bf098c941735b60554ff0711fa43b30ef3634e01178f5ee8ad44c65b757c3366bd5bf568cef3a787b2ddcc2fc63090056109250480e6bd360ebf27a8343373b8

diff --git a/app-backup/snapper/snapper-0.10.7.ebuild 
b/app-backup/snapper/snapper-0.10.7.ebuild
new file mode 100644
index ..9d04eeeb2e14
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.7.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="lvm pam test systemd xattr"
+RESTRICT="test"
+
+BDEPEND="app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+RDEPEND="dev-libs/boost:=
+   dev-libs/json-c:=
+   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}"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   --enable-doc
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html and"
+   elog "https://wiki.gentoo.org/wiki/Snapper;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2023-09-15 Thread Sam James
commit: a59f4a813bb2e038790289f87a1c973bcdd359bf
Author: Michael Vetter  iodoru  org>
AuthorDate: Fri Sep 15 07:05:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep 15 08:26:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59f4a81

app-backup/snapper: add 0.10.6

Signed-off-by: Michael Vetter  iodoru.org>
Closes: https://github.com/gentoo/gentoo/pull/32794
Signed-off-by: Sam James  gentoo.org>

 app-backup/snapper/Manifest  |  1 +
 app-backup/snapper/snapper-0.10.6.ebuild | 90 
 2 files changed, 91 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index c7e870356109..e4847c806d5a 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
 DIST snapper-0.10.5.tar.gz 422114 BLAKE2B 
35c4772fc84920755d5fe87cad4a73792692ab7a55bcbcae65f20bf2e0cbcfb79429a423a5b55a89dbfeba1ff0474741c884bc632daa997fbb86cec52b68e3ef
 SHA512 
e710069374b805394d691f8060d2852e35960a965fd49bb59768ebcc53a615af1f36269adac2d916b5e3f1b3e42fb2a53049d8f1b8a6a8430e992fa0de49c235
+DIST snapper-0.10.6.tar.gz 423867 BLAKE2B 
a7d0f8c62c60c0d03bf108a8c0692dd209f170cf8227512cbc3b80eb9f58ecca845aa585859032bc6582d67e4c6ff15b75443a9ee9291d1b970efec15513571f
 SHA512 
6eedfb9408260331f042f0a429a1104136cb88dac450f320641b0941cd06faf52f67cad2397cf4122f919876bb994455da0cfd3bb099f82217050e07b4c77d2e

diff --git a/app-backup/snapper/snapper-0.10.6.ebuild 
b/app-backup/snapper/snapper-0.10.6.ebuild
new file mode 100644
index ..9d04eeeb2e14
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.6.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="lvm pam test systemd xattr"
+RESTRICT="test"
+
+BDEPEND="app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+RDEPEND="dev-libs/boost:=
+   dev-libs/json-c:=
+   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}"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   --enable-doc
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html and"
+   elog "https://wiki.gentoo.org/wiki/Snapper;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2023-08-09 Thread Yixun Lan
commit: ae0fd8903cee5d7bbd996af03f1fb50d1dec7c3f
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Aug  9 11:40:00 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Aug  9 11:40:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0fd890

app-backup/snapper: drop 0.10.4, 0.10.5

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest  |  1 -
 app-backup/snapper/snapper-0.10.4.ebuild | 89 
 app-backup/snapper/snapper-0.10.5.ebuild | 89 
 3 files changed, 179 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 5d2e4014602a..c7e870356109 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,2 @@
 DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
-DIST snapper-0.10.4.tar.gz 409357 BLAKE2B 
c2b33d917647118848dfd02315435d9dab21bcaade22b9da5a2d4d628c00731ecd9bbc7cedba223f618f336535ccba0ca92b065d572aab328337858dba76275f
 SHA512 
f42bcfa541e1fff23f5057c9b38d93f31a28980ce1cd37e07bcf622ff9151bd98c42975610d59da0c33a9bee7d83290edbdd05e013839e4ca23f02e9a9f8c793
 DIST snapper-0.10.5.tar.gz 422114 BLAKE2B 
35c4772fc84920755d5fe87cad4a73792692ab7a55bcbcae65f20bf2e0cbcfb79429a423a5b55a89dbfeba1ff0474741c884bc632daa997fbb86cec52b68e3ef
 SHA512 
e710069374b805394d691f8060d2852e35960a965fd49bb59768ebcc53a615af1f36269adac2d916b5e3f1b3e42fb2a53049d8f1b8a6a8430e992fa0de49c235

diff --git a/app-backup/snapper/snapper-0.10.4.ebuild 
b/app-backup/snapper/snapper-0.10.4.ebuild
deleted file mode 100644
index 7dfccdfc6e12..
--- a/app-backup/snapper/snapper-0.10.4.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd
-
-DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
-HOMEPAGE="http://snapper.io/;
-SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE="doc lvm pam test systemd xattr"
-RESTRICT="test"
-
-RDEPEND="dev-libs/boost:=
-   dev-libs/json-c:=
-   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}
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   sys-devel/gettext
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/cron-confd.patch
-   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
-   eautoreconf
-}
-
-src_configure() {
-   # ext4 code does not work anymore
-   # snapper does not build without btrfs
-   local myeconfargs=(
-   --disable-silent-rules
-   --with-conf="/etc/conf.d"
-   --enable-zypp
-   --enable-rollback
-   --enable-btrfs-quota
-   --disable-ext4
-   --enable-btrfs
-   $(use_enable doc)
-   $(use_enable lvm)
-   $(use_enable pam)
-   $(use_enable test tests)
-   $(use_enable systemd)
-   $(use_enable xattr xattrs)
-   )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   # Existing configuration file required to function
-   keepdir /etc/snapper/configs
-   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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html and"
-   elog "https://wiki.gentoo.org/wiki/Snapper;
-}

diff --git a/app-backup/snapper/snapper-0.10.5.ebuild 
b/app-backup/snapper/snapper-0.10.5.ebuild
deleted file mode 100644
index 1a6c2c9abb0c..
--- a/app-backup/snapper/snapper-0.10.5.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd
-
-DESCRIPTION="Command-line program for btrfs and lvm snapshot management"

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2023-08-09 Thread Yixun Lan
commit: c43124426010e8ad118981f67a6c2edf0bd84925
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Aug  9 11:22:14 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Aug  9 11:27:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4312442

app-backup/snapper: drop USE=doc, build man unconditionally

Closes: https://bugs.gentoo.org/815352
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/snapper-0.10.5-r1.ebuild | 89 +
 1 file changed, 89 insertions(+)

diff --git a/app-backup/snapper/snapper-0.10.5-r1.ebuild 
b/app-backup/snapper/snapper-0.10.5-r1.ebuild
new file mode 100644
index ..26ef6e9e6c1e
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.5-r1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="lvm pam test systemd xattr"
+RESTRICT="test"
+
+RDEPEND="dev-libs/boost:=
+   dev-libs/json-c:=
+   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}
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   --enable-doc
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html and"
+   elog "https://wiki.gentoo.org/wiki/Snapper;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2023-06-17 Thread Yixun Lan
commit: 5d4862afe7e43f31b2623948a57fc8486fd9d69c
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Jun 17 21:09:32 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jun 17 21:09:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d4862af

app-backup/snapper: add 0.10.5

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest  |  1 +
 app-backup/snapper/snapper-0.10.5.ebuild | 89 
 2 files changed, 90 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index e4662ebb1835..5d2e4014602a 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
 DIST snapper-0.10.4.tar.gz 409357 BLAKE2B 
c2b33d917647118848dfd02315435d9dab21bcaade22b9da5a2d4d628c00731ecd9bbc7cedba223f618f336535ccba0ca92b065d572aab328337858dba76275f
 SHA512 
f42bcfa541e1fff23f5057c9b38d93f31a28980ce1cd37e07bcf622ff9151bd98c42975610d59da0c33a9bee7d83290edbdd05e013839e4ca23f02e9a9f8c793
+DIST snapper-0.10.5.tar.gz 422114 BLAKE2B 
35c4772fc84920755d5fe87cad4a73792692ab7a55bcbcae65f20bf2e0cbcfb79429a423a5b55a89dbfeba1ff0474741c884bc632daa997fbb86cec52b68e3ef
 SHA512 
e710069374b805394d691f8060d2852e35960a965fd49bb59768ebcc53a615af1f36269adac2d916b5e3f1b3e42fb2a53049d8f1b8a6a8430e992fa0de49c235

diff --git a/app-backup/snapper/snapper-0.10.5.ebuild 
b/app-backup/snapper/snapper-0.10.5.ebuild
new file mode 100644
index ..1a6c2c9abb0c
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.5.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc lvm pam test systemd xattr"
+RESTRICT="test"
+
+RDEPEND="dev-libs/boost:=
+   dev-libs/json-c:=
+   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}
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   $(use_enable doc)
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html and"
+   elog "https://wiki.gentoo.org/wiki/Snapper;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-12-18 Thread Yixun Lan
commit: 80f2994f505712c04894c64b2297410a9de4cf96
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 19 01:32:07 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 19 01:40:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80f2994f

app-backup/snapper: Version bump 0.10.4

Closes: https://bugs.gentoo.org/886545
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest  |  1 +
 app-backup/snapper/snapper-0.10.4.ebuild | 89 
 2 files changed, 90 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index dd0f9edda0e9..dcb08718952f 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 DIST snapper-0.10.2.tar.gz 407857 BLAKE2B 
f59ee95612a66397f9cb1bec4a3a20fec41f12324d1a778d5bbdac2bd3359b6719d16fba5c50b3753e416681e83780180fe8965757b810165bebef8c4bed6634
 SHA512 
bdda67908b054beee7285bb3ac97ce28276449d7719369135a7ffa74bce4ebc89f4f059abe44f8cc7c3a09c46af446e812229290ddd10b2af053fefbc568
 DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
+DIST snapper-0.10.4.tar.gz 409357 BLAKE2B 
c2b33d917647118848dfd02315435d9dab21bcaade22b9da5a2d4d628c00731ecd9bbc7cedba223f618f336535ccba0ca92b065d572aab328337858dba76275f
 SHA512 
f42bcfa541e1fff23f5057c9b38d93f31a28980ce1cd37e07bcf622ff9151bd98c42975610d59da0c33a9bee7d83290edbdd05e013839e4ca23f02e9a9f8c793

diff --git a/app-backup/snapper/snapper-0.10.4.ebuild 
b/app-backup/snapper/snapper-0.10.4.ebuild
new file mode 100644
index ..7dfccdfc6e12
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.4.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc lvm pam test systemd xattr"
+RESTRICT="test"
+
+RDEPEND="dev-libs/boost:=
+   dev-libs/json-c:=
+   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}
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   $(use_enable doc)
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html and"
+   elog "https://wiki.gentoo.org/wiki/Snapper;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/files/, app-backup/snapper/

2022-12-18 Thread Yixun Lan
commit: e39d93cca6597ede68d912025e05a78577dad1aa
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 19 01:33:29 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 19 01:40:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39d93cc

app-backup/snapper: drop old 0.10.2

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  1 -
 .../snapper/files/snapper-0.10.2-gcc12-time.patch  | 27 ---
 app-backup/snapper/snapper-0.10.2.ebuild   | 89 --
 3 files changed, 117 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index dcb08718952f..e4662ebb1835 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,2 @@
-DIST snapper-0.10.2.tar.gz 407857 BLAKE2B 
f59ee95612a66397f9cb1bec4a3a20fec41f12324d1a778d5bbdac2bd3359b6719d16fba5c50b3753e416681e83780180fe8965757b810165bebef8c4bed6634
 SHA512 
bdda67908b054beee7285bb3ac97ce28276449d7719369135a7ffa74bce4ebc89f4f059abe44f8cc7c3a09c46af446e812229290ddd10b2af053fefbc568
 DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985
 DIST snapper-0.10.4.tar.gz 409357 BLAKE2B 
c2b33d917647118848dfd02315435d9dab21bcaade22b9da5a2d4d628c00731ecd9bbc7cedba223f618f336535ccba0ca92b065d572aab328337858dba76275f
 SHA512 
f42bcfa541e1fff23f5057c9b38d93f31a28980ce1cd37e07bcf622ff9151bd98c42975610d59da0c33a9bee7d83290edbdd05e013839e4ca23f02e9a9f8c793

diff --git a/app-backup/snapper/files/snapper-0.10.2-gcc12-time.patch 
b/app-backup/snapper/files/snapper-0.10.2-gcc12-time.patch
deleted file mode 100644
index 672e6a1566a1..
--- a/app-backup/snapper/files/snapper-0.10.2-gcc12-time.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://github.com/openSUSE/snapper/pull/743
-
-From 3415229fd29fa3e5247e30ba1ac632e91e603c9f Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Fri, 2 Sep 2022 06:48:56 +0100
-Subject: [PATCH] Fix build with GCC 12 (and musl)
-
-```
-DBusMessage.h:239:34: error: 'time_t' has not been declared
-  239 | Hihi& operator>>(Hihi& hihi, time_t& data);
-```
-
-Include  to grab time_t.
-
-Bug: https://bugs.gentoo.org/862094
-Signed-off-by: Sam James 
 a/dbus/DBusMessage.h
-+++ b/dbus/DBusMessage.h
-@@ -27,6 +27,7 @@
- 
- #include 
- 
-+#include 
- #include 
- #include 
- #include 
-

diff --git a/app-backup/snapper/snapper-0.10.2.ebuild 
b/app-backup/snapper/snapper-0.10.2.ebuild
deleted file mode 100644
index d6e9e203dd43..
--- a/app-backup/snapper/snapper-0.10.2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd
-
-DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
-HOMEPAGE="http://snapper.io/;
-SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv x86"
-IUSE="doc lvm pam test systemd xattr"
-RESTRICT="test"
-
-RDEPEND="dev-libs/boost:=
-   dev-libs/json-c:=
-   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}
-   app-text/docbook-xsl-stylesheets
-   dev-libs/libxslt
-   sys-devel/gettext
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/cron-confd.patch
-   "${FILESDIR}"/${PN}-0.10.1-testsuite.patch
-   "${FILESDIR}"/${PN}-0.10.2-gcc12-time.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"
-   eautoreconf
-}
-
-src_configure() {
-   # ext4 code does not work anymore
-   # snapper does not build without btrfs
-   local myeconfargs=(
-   --disable-silent-rules
-   --with-conf="/etc/conf.d"
-   --enable-zypp
-   --enable-rollback
-   --enable-btrfs-quota
-   --disable-ext4
-   --enable-btrfs
-   $(use_enable doc)
-   $(use_enable lvm)
-   $(use_enable pam)
-   $(use_enable test tests)
-   $(use_enable systemd)
-   $(use_enable xattr xattrs)
-   )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   # Existing configuration file required to function
-   keepdir /etc/snapper/configs
-   

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2022-12-17 Thread Sam James
commit: d1c3c687906c9c845c00951d0996554ac6ef6b03
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 18 05:22:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 18 05:22:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c3c687

app-backup/snapper: fix build w/ boost 1.81

Closes: https://bugs.gentoo.org/886505
Signed-off-by: Sam James  gentoo.org>

 .../snapper/files/snapper-0.10.3-boost-1.81.patch | 19 +++
 app-backup/snapper/snapper-0.10.3.ebuild  |  1 +
 2 files changed, 20 insertions(+)

diff --git a/app-backup/snapper/files/snapper-0.10.3-boost-1.81.patch 
b/app-backup/snapper/files/snapper-0.10.3-boost-1.81.patch
new file mode 100644
index ..80896f02e46e
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.10.3-boost-1.81.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/886505
+https://github.com/openSUSE/snapper/commit/0f8a3dff903eeb30072b9b9809cf072d3c84d1fc
+
+From 0f8a3dff903eeb30072b9b9809cf072d3c84d1fc Mon Sep 17 00:00:00 2001
+From: Arvin Schnell 
+Date: Tue, 15 Nov 2022 14:39:29 +0100
+Subject: [PATCH] - fix build with boost 1.81
+
+--- a/zypp-plugin/snapper-zypp-plugin.cc
 b/zypp-plugin/snapper-zypp-plugin.cc
+@@ -30,6 +30,7 @@
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+

diff --git a/app-backup/snapper/snapper-0.10.3.ebuild 
b/app-backup/snapper/snapper-0.10.3.ebuild
index a9b14fb5e9d2..b58714c373f4 100644
--- a/app-backup/snapper/snapper-0.10.3.ebuild
+++ b/app-backup/snapper/snapper-0.10.3.ebuild
@@ -38,6 +38,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
"${FILESDIR}"/cron-confd.patch
"${FILESDIR}"/${PN}-0.10.1-testsuite.patch
+   "${FILESDIR}"/${P}-boost-1.81.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-11-28 Thread Joonas Niilola
commit: 02238d105c88b6a3a844da944167c4852cd1f953
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Nov 29 05:47:57 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Nov 29 05:49:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02238d10

app-backup/snapper: Stabilize 0.10.3 amd64, #883443

Signed-off-by: Joonas Niilola  gentoo.org>

 app-backup/snapper/snapper-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.10.3.ebuild 
b/app-backup/snapper/snapper-0.10.3.ebuild
index d15e79660813..a9b14fb5e9d2 100644
--- a/app-backup/snapper/snapper-0.10.3.ebuild
+++ b/app-backup/snapper/snapper-0.10.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-11-28 Thread Joonas Niilola
commit: 412e09a02852e50b8c290c9782e555b8ee86c9fe
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Nov 29 05:43:12 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Nov 29 05:49:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412e09a0

app-backup/snapper: Stabilize 0.10.3 x86, #883443

Signed-off-by: Joonas Niilola  gentoo.org>

 app-backup/snapper/snapper-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.10.3.ebuild 
b/app-backup/snapper/snapper-0.10.3.ebuild
index 7dfccdfc6e12..d15e79660813 100644
--- a/app-backup/snapper/snapper-0.10.3.ebuild
+++ b/app-backup/snapper/snapper-0.10.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-11-28 Thread Joonas Niilola
commit: 40f17658dd3cccfee46f85c97752ea6888192af7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Nov 28 16:27:54 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Nov 28 16:29:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f17658

app-backup/snapper: add a gentoo wiki link to pkg_postinst

Signed-off-by: Joonas Niilola  gentoo.org>

 app-backup/snapper/snapper-0.10.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.10.3.ebuild 
b/app-backup/snapper/snapper-0.10.3.ebuild
index 9a6520a5bb31..7dfccdfc6e12 100644
--- a/app-backup/snapper/snapper-0.10.3.ebuild
+++ b/app-backup/snapper/snapper-0.10.3.ebuild
@@ -84,5 +84,6 @@ pkg_postinst() {
elog "at least one config first. To do this, run:"
elog "snapper create-config "
elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
+   elog "http://snapper.io/documentation.html and"
+   elog "https://wiki.gentoo.org/wiki/Snapper;
 }



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-09-23 Thread Yixun Lan
commit: 267ccfdde7afd1b162bd319470c3a79ac8003b5e
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Sep 23 13:21:14 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Sep 23 13:21:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267ccfdd

app-backup/snapper: add 0.10.3

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest  |  1 +
 app-backup/snapper/snapper-0.10.3.ebuild | 88 
 2 files changed, 89 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 574deffca978..dd0f9edda0e9 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1 +1,2 @@
 DIST snapper-0.10.2.tar.gz 407857 BLAKE2B 
f59ee95612a66397f9cb1bec4a3a20fec41f12324d1a778d5bbdac2bd3359b6719d16fba5c50b3753e416681e83780180fe8965757b810165bebef8c4bed6634
 SHA512 
bdda67908b054beee7285bb3ac97ce28276449d7719369135a7ffa74bce4ebc89f4f059abe44f8cc7c3a09c46af446e812229290ddd10b2af053fefbc568
+DIST snapper-0.10.3.tar.gz 409277 BLAKE2B 
bc4963081a24572015ff888b5cb85f3afa071e487a89e89f1a72d5b96391be69ad982c79ddfd71f020203d0c50ca07d67cbeb535cd6e57bc3d6ee269ef5c788e
 SHA512 
74cb04d045304021564a0452769fdcde1764595a52e30947396c37fe4c36b3fba08d10505734bc0bd631986e933ee2bfaf67c871cba93a96e498fbfe5e2c6985

diff --git a/app-backup/snapper/snapper-0.10.3.ebuild 
b/app-backup/snapper/snapper-0.10.3.ebuild
new file mode 100644
index ..9a6520a5bb31
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc lvm pam test systemd xattr"
+RESTRICT="test"
+
+RDEPEND="dev-libs/boost:=
+   dev-libs/json-c:=
+   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}
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   $(use_enable doc)
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2022-09-01 Thread Sam James
commit: 910d65baea8f0f40b9ffbd1a6e07307ba2fd85bc
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  2 05:51:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  2 05:51:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910d65ba

app-backup/snapper: fix build w/ musl and gcc-12

Closes: https://bugs.gentoo.org/862094
Signed-off-by: Sam James  gentoo.org>

 .../snapper/files/snapper-0.10.2-gcc12-time.patch  | 27 ++
 app-backup/snapper/snapper-0.10.2.ebuild   |  1 +
 2 files changed, 28 insertions(+)

diff --git a/app-backup/snapper/files/snapper-0.10.2-gcc12-time.patch 
b/app-backup/snapper/files/snapper-0.10.2-gcc12-time.patch
new file mode 100644
index ..672e6a1566a1
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.10.2-gcc12-time.patch
@@ -0,0 +1,27 @@
+https://github.com/openSUSE/snapper/pull/743
+
+From 3415229fd29fa3e5247e30ba1ac632e91e603c9f Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 2 Sep 2022 06:48:56 +0100
+Subject: [PATCH] Fix build with GCC 12 (and musl)
+
+```
+DBusMessage.h:239:34: error: 'time_t' has not been declared
+  239 | Hihi& operator>>(Hihi& hihi, time_t& data);
+```
+
+Include  to grab time_t.
+
+Bug: https://bugs.gentoo.org/862094
+Signed-off-by: Sam James 
+--- a/dbus/DBusMessage.h
 b/dbus/DBusMessage.h
+@@ -27,6 +27,7 @@
+ 
+ #include 
+ 
++#include 
+ #include 
+ #include 
+ #include 
+

diff --git a/app-backup/snapper/snapper-0.10.2.ebuild 
b/app-backup/snapper/snapper-0.10.2.ebuild
index f8c9f634d9d5..d10d4e399808 100644
--- a/app-backup/snapper/snapper-0.10.2.ebuild
+++ b/app-backup/snapper/snapper-0.10.2.ebuild
@@ -38,6 +38,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
"${FILESDIR}"/cron-confd.patch
"${FILESDIR}"/${PN}-0.10.1-testsuite.patch
+   "${FILESDIR}"/${PN}-0.10.2-gcc12-time.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/files/

2022-08-15 Thread Yixun Lan
commit: 2397940947fe86441f355fc22e4d447b5a80d9cb
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Aug 13 09:05:31 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Aug 15 07:16:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23979409

app-backup/snapper: remove unused file

Closes: https://github.com/gentoo/gentoo/pull/26843
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.12
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/files/snapper.bash | 200 --
 1 file changed, 200 deletions(-)

diff --git a/app-backup/snapper/files/snapper.bash 
b/app-backup/snapper/files/snapper.bash
deleted file mode 100644
index e5ca4134342a..
--- a/app-backup/snapper/files/snapper.bash
+++ /dev/null
@@ -1,200 +0,0 @@
-_snapper()
-{
-local configdir="/etc/snapper/configs"
-local cur prev words cword
-_init_completion || return
-
-local GLOGAL_SNAPPER_OPTIONS='
--q --quiet
--v --verbose
---utc
---iso
--t --table-style
--c --config
--r --root
---no-dbus
---version
---help
-'
-
-# see if the user selected a command already
-local COMMANDS=(
-"list-configs" "create-config" "delete-config" "set-config"
-"list" "ls"
-"create" "modify" "delete" "remove" "rm"
-"mount" "umount"
-"status" "diff" "xadiff"
-"undochange" "rollback"
-"setup-quota"
-"cleanup")
-
-local command i
-for (( i=0; i < ${#words[@]}-1; i++ )); do
-if [[ ${COMMANDS[@]} =~ ${words[i]} ]]; then
-command=${words[i]}
-break
-fi
-done
-
-case $prev in
---version|--help)
-return 0
-;;
-esac
-
-# supported options per command
-if [[ "$cur" == -* ]]; then
-case $command in
-create-config)
-COMPREPLY=( $( compgen -W '--fstype -f
-  --templete -t' -- "$cur" ) )
-return 0
-;;
-list|ls)
-COMPREPLY=( $( compgen -W '--type -t
-  --all-configs -a' -- "$cur" ) )
-return 0
-;;
-create)
-COMPREPLY=( $( compgen -W '--type -t
-  --pre-number
-  --print-number -p
-  --description -d
-  --cleanup-algorithm -c
-  --userdata -u
-  --command' -- "$cur" ) )
-return 0
-;;
-modify)
-COMPREPLY=( $( compgen -W '--description -d
-  --cleanup-algorithm -c
-  --userdata -u' -- "$cur" ) )
-return 0
-;;
-delete|remove|rm)
-COMPREPLY=( $( compgen -W '--sync -s
-  ' -- "$cur" ) )
-return 0
-;;
-status)
-COMPREPLY=( $( compgen -W '--output -o
-' -- "$cur" ) )
-return 0
-;;
-diff)
-COMPREPLY=( $( compgen -W '--input -i
---diff-cmd
---extensions -x' -- "$cur" ) )
-return 0
-;;
-undochange)
-COMPREPLY=( $( compgen -W '--input -i
-' -- "$cur" ) )
-return 0
-;;
-rollback)
-COMPREPLY=( $( compgen -W '--print-number -p
---description -d
---cleanup-algorithm -c
---userdata -u' -- "$cur" ) )
-return 0
-;;
-*)
-COMPREPLY=( $( compgen -W "$GLOGAL_SNAPPER_OPTIONS" -- "$cur" 
) )
-return 0
-;;
-esac
-fi
-
-# specific command arguments
-if [[ -n $command ]]; then
-case $command in
-create-config)
-case "$prev" in
- --fstype|-f)
-COMPREPLY=( $( compgen -W 'btrfs ext4 lvm(xfs) 
lvm(ext4)
-' -- "$cur" ) )
-;;
-esac
-return 0
-;;
-list)
-case "$prev" in
---type|-t)
-COMPREPLY=( $( compgen -W 'all single pre-post
-' -- "$cur" ) )
-;;
-esac
-return 0
-;;
-create)
-case "$prev" in
---type|-t)
-COMPREPLY=( $( compgen -W 'single pre post
-' -- "$cur" ) )
-;;
---pre-number)
-   

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-08-12 Thread Yixun Lan
commit: 9e93ce49aee0f388a44cdc02803576d1580dd2b1
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Aug 12 13:17:59 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Aug 12 13:20:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e93ce49

app-backup/snapper: x86 stable wrt bug #864915

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/snapper-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.10.2.ebuild 
b/app-backup/snapper/snapper-0.10.2.ebuild
index e0b5a396e39d..f8c9f634d9d5 100644
--- a/app-backup/snapper/snapper-0.10.2.ebuild
+++ b/app-backup/snapper/snapper-0.10.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/files/, app-backup/snapper/

2022-08-12 Thread Yixun Lan
commit: c48ac8f839351374b7748956f70674569855def2
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Aug 12 13:19:02 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Aug 12 13:20:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c48ac8f8

app-backup/snapper: drop 0.9.1, 0.10.1

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  2 -
 .../snapper/files/snapper-0.9.1-testsuite.patch| 84 
 app-backup/snapper/snapper-0.10.1.ebuild   | 88 -
 app-backup/snapper/snapper-0.9.1.ebuild| 89 --
 4 files changed, 263 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index df0bbad4e778..574deffca978 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1 @@
-DIST snapper-0.10.1.tar.gz 407628 BLAKE2B 
84b4c027762a11cbf5f49af3e94bc0e494e83e61aa35c3873d0ab98b0c232897b6d002ef28181ad3b2567cc88b84424f570e7b24278c546fb39452e399ad7333
 SHA512 
39f4d95e98b736510b6bea56eebc8275618a0ad3221d7fae9cd0f46f8a4af574700a6123a438918d522d65758ad50020f80c925395ae3ab84b7ad3eb924592c0
 DIST snapper-0.10.2.tar.gz 407857 BLAKE2B 
f59ee95612a66397f9cb1bec4a3a20fec41f12324d1a778d5bbdac2bd3359b6719d16fba5c50b3753e416681e83780180fe8965757b810165bebef8c4bed6634
 SHA512 
bdda67908b054beee7285bb3ac97ce28276449d7719369135a7ffa74bce4ebc89f4f059abe44f8cc7c3a09c46af446e812229290ddd10b2af053fefbc568
-DIST snapper-0.9.1.tar.gz 400387 BLAKE2B 
fe9d25f573dc99e0eb6c876fa2ebb34140ea8177c72a65af65bd4b6621b81bcab71ee03948696d311444cad4c69d21db70161f67ef3917aea93e39ad54b10444
 SHA512 
447a024570bbb834adfc789aa5b12b037838fcf50f8d26f87a9a10b250541a589be3b24b01f990625021b8ff5b2eade0f2eda5e992f76113c62bd5e8a27c1293

diff --git a/app-backup/snapper/files/snapper-0.9.1-testsuite.patch 
b/app-backup/snapper/files/snapper-0.9.1-testsuite.patch
deleted file mode 100644
index 0bd3fd3189fc..
--- a/app-backup/snapper/files/snapper-0.9.1-testsuite.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 3f5c911..a8c9c95 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -84,6 +84,13 @@ CPPFLAGS="${CPPFLAGS} -DCONF_DIR='\"${SYSCONFIG}\"'"
- 
- PAM_SECURITY=${libdir}/security
- 
-+AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
-+  [with_tests=$enableval],[with_tests=yes])
-+AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
-+if test "x$with_tests" = "xyes"; then
-+  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
-+fi
-+
- AC_ARG_WITH([pam-security], AC_HELP_STRING([--pam-security], [Use a custom 
pam security directory (default is $libdir/security)]),
-   [with_pam_security=$withval], [with_pam_security=no])
- AS_IF([test "x$with_pam_security" != xno], 
[PAM_SECURITY="${with_pam_security}"])
-diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
-index 81104bf..9c29477 100644
 a/testsuite-cmp/Makefile.am
-+++ b/testsuite-cmp/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite-cmp
- #
- 
-+if ENABLE_TESTS
- AM_CPPFLAGS = -I$(top_srcdir)
- AM_LDFLAGS = -lboost_system
- 
-@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
- 
- EXTRA_DIST = $(noinst_SCRIPTS)
- 
-+endif
-diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
-index 717313a..527843d 100644
 a/testsuite-real/Makefile.am
-+++ b/testsuite-real/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite-real
- #
- 
-+if ENABLE_TESTS
- CXXFLAGS += -std=gnu++0x
- 
- AM_CPPFLAGS = -I$(top_srcdir)
-@@ -53,3 +54,4 @@ ug_tests_SOURCES = ug-tests.cc
- 
- EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
- 
-+endif
-diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
-index ccb84d3..409e265 100644
 a/testsuite/Makefile.am
-+++ b/testsuite/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite
- #
- 
-+if ENABLE_TESTS
- AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
- 
- LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
-@@ -48,3 +49,4 @@ lvm_utils_test_LDADD = -lboost_unit_test_framework 
../snapper/libsnapper.la
- range_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
- 
- limit_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
-+endif
-diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
-index 7b52e13..71cb545 100644
 a/zypp-plugin/testsuite/Makefile.am
-+++ b/zypp-plugin/testsuite/Makefile.am
-@@ -1,3 +1,5 @@
-+
-+if ENABLE_TESTS
- if HAVE_ZYPP
- TEST_LOG_DRIVER = $(SHELL) tap-driver.sh
- 
-@@ -12,3 +14,4 @@ TESTS = $(check_SCRIPTS)
- 
- EXTRA_DIST = $(check_SCRIPTS) $(noinst_SCRIPTS) $(noinst_DATA) tap-driver.sh
- endif
-+endif

diff --git a/app-backup/snapper/snapper-0.10.1.ebuild 
b/app-backup/snapper/snapper-0.10.1.ebuild
deleted file mode 100644
index 11fe4ff862dd..
--- 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-08-12 Thread Yixun Lan
commit: af90d53e53de087904f701ebf2ba616e2c31c083
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Aug 12 13:17:28 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Aug 12 13:20:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af90d53e

app-backup/snapper: amd64 stable wrt bug #864915

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/snapper-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.10.2.ebuild 
b/app-backup/snapper/snapper-0.10.2.ebuild
index a9bdd7be0315..e0b5a396e39d 100644
--- a/app-backup/snapper/snapper-0.10.2.ebuild
+++ b/app-backup/snapper/snapper-0.10.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-05-14 Thread Yixun Lan
commit: cd54027949eec858a8af58d0f82cfa1546011475
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat May 14 23:47:56 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun May 15 00:06:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd540279

app-backup/snapper: add 0.10.2

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest  |  1 +
 app-backup/snapper/snapper-0.10.2.ebuild | 88 
 2 files changed, 89 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 9218501d7501..df0bbad4e778 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 DIST snapper-0.10.1.tar.gz 407628 BLAKE2B 
84b4c027762a11cbf5f49af3e94bc0e494e83e61aa35c3873d0ab98b0c232897b6d002ef28181ad3b2567cc88b84424f570e7b24278c546fb39452e399ad7333
 SHA512 
39f4d95e98b736510b6bea56eebc8275618a0ad3221d7fae9cd0f46f8a4af574700a6123a438918d522d65758ad50020f80c925395ae3ab84b7ad3eb924592c0
+DIST snapper-0.10.2.tar.gz 407857 BLAKE2B 
f59ee95612a66397f9cb1bec4a3a20fec41f12324d1a778d5bbdac2bd3359b6719d16fba5c50b3753e416681e83780180fe8965757b810165bebef8c4bed6634
 SHA512 
bdda67908b054beee7285bb3ac97ce28276449d7719369135a7ffa74bce4ebc89f4f059abe44f8cc7c3a09c46af446e812229290ddd10b2af053fefbc568
 DIST snapper-0.9.1.tar.gz 400387 BLAKE2B 
fe9d25f573dc99e0eb6c876fa2ebb34140ea8177c72a65af65bd4b6621b81bcab71ee03948696d311444cad4c69d21db70161f67ef3917aea93e39ad54b10444
 SHA512 
447a024570bbb834adfc789aa5b12b037838fcf50f8d26f87a9a10b250541a589be3b24b01f990625021b8ff5b2eade0f2eda5e992f76113c62bd5e8a27c1293

diff --git a/app-backup/snapper/snapper-0.10.2.ebuild 
b/app-backup/snapper/snapper-0.10.2.ebuild
new file mode 100644
index ..a9bdd7be0315
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc lvm pam test systemd xattr"
+RESTRICT="test"
+
+RDEPEND="dev-libs/boost:=[threads(+)]
+   dev-libs/json-c:=
+   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}
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.10.1-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   $(use_enable doc)
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2022-04-26 Thread Yixun Lan
commit: 5166dee47eaff100e9c4ca4660e15c427ea64164
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Apr 26 08:37:36 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Apr 26 08:41:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5166dee4

app-backup/snapper: drop 0.10.0

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  1 -
 .../snapper/files/snapper-0.10.0-testsuite.patch   | 84 -
 app-backup/snapper/snapper-0.10.0.ebuild   | 88 --
 3 files changed, 173 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 901f27a4c64b..9218501d7501 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,2 @@
-DIST snapper-0.10.0.tar.gz 404564 BLAKE2B 
2dd3f889cf445e06975b5a6f1088d07445510c6905dacecd5b75c0b92c155d399b9b6ed07e466303e4ea3e4b3e6aa72f57b9a34fc2b3aa97c328d886732a375c
 SHA512 
eb0b8568f90907a84dd6f6e135f26cddbafbb8a420f2e4c3ad657d4d782ff35517da93c375d9796dbac1a03983e8b88084280347b51eadf869294dcc080dbfeb
 DIST snapper-0.10.1.tar.gz 407628 BLAKE2B 
84b4c027762a11cbf5f49af3e94bc0e494e83e61aa35c3873d0ab98b0c232897b6d002ef28181ad3b2567cc88b84424f570e7b24278c546fb39452e399ad7333
 SHA512 
39f4d95e98b736510b6bea56eebc8275618a0ad3221d7fae9cd0f46f8a4af574700a6123a438918d522d65758ad50020f80c925395ae3ab84b7ad3eb924592c0
 DIST snapper-0.9.1.tar.gz 400387 BLAKE2B 
fe9d25f573dc99e0eb6c876fa2ebb34140ea8177c72a65af65bd4b6621b81bcab71ee03948696d311444cad4c69d21db70161f67ef3917aea93e39ad54b10444
 SHA512 
447a024570bbb834adfc789aa5b12b037838fcf50f8d26f87a9a10b250541a589be3b24b01f990625021b8ff5b2eade0f2eda5e992f76113c62bd5e8a27c1293

diff --git a/app-backup/snapper/files/snapper-0.10.0-testsuite.patch 
b/app-backup/snapper/files/snapper-0.10.0-testsuite.patch
deleted file mode 100644
index 643c98bf1a70..
--- a/app-backup/snapper/files/snapper-0.10.0-testsuite.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 3f5c911..a8c9c95 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -84,6 +84,13 @@ CPPFLAGS="${CPPFLAGS} -DCONF_DIR='\"${SYSCONFIG}\"'"
- 
- PAM_SECURITY=${libdir}/security
- 
-+AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
-+  [with_tests=$enableval],[with_tests=yes])
-+AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
-+if test "x$with_tests" = "xyes"; then
-+  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
-+fi
-+
- AC_ARG_WITH([pam-security], AC_HELP_STRING([--pam-security], [Use a custom 
pam security directory (default is $libdir/security)]),
-   [with_pam_security=$withval], [with_pam_security=no])
- AS_IF([test "x$with_pam_security" != xno], 
[PAM_SECURITY="${with_pam_security}"])
-diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
-index 81104bf..9c29477 100644
 a/testsuite-cmp/Makefile.am
-+++ b/testsuite-cmp/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite-cmp
- #
- 
-+if ENABLE_TESTS
- AM_CPPFLAGS = -I$(top_srcdir)
- AM_LDFLAGS = -lboost_system
- 
-@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
- 
- EXTRA_DIST = $(noinst_SCRIPTS)
- 
-+endif
-diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
-index ceb0862..9a72775 100644
 a/testsuite-real/Makefile.am
-+++ b/testsuite-real/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite-real
- #
- 
-+if ENABLE_TESTS
- CXXFLAGS += -std=gnu++11
- 
- AM_CPPFLAGS = -I$(top_srcdir)
-@@ -53,3 +54,4 @@ ug_tests_SOURCES = ug-tests.cc
- 
- EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
- 
-+endif
-diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
-index ccb84d3..409e265 100644
 a/testsuite/Makefile.am
-+++ b/testsuite/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite
- #
- 
-+if ENABLE_TESTS
- AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
- 
- LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
-@@ -48,3 +49,4 @@ lvm_utils_test_LDADD = -lboost_unit_test_framework 
../snapper/libsnapper.la
- range_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
- 
- limit_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
-+endif
-diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
-index 7b52e13..71cb545 100644
 a/zypp-plugin/testsuite/Makefile.am
-+++ b/zypp-plugin/testsuite/Makefile.am
-@@ -1,3 +1,5 @@
-+
-+if ENABLE_TESTS
- if HAVE_ZYPP
- TEST_LOG_DRIVER = $(SHELL) tap-driver.sh
- 
-@@ -12,3 +14,4 @@ TESTS = $(check_SCRIPTS)
- 
- EXTRA_DIST = $(check_SCRIPTS) $(noinst_SCRIPTS) $(noinst_DATA) tap-driver.sh
- endif
-+endif

diff --git a/app-backup/snapper/snapper-0.10.0.ebuild 
b/app-backup/snapper/snapper-0.10.0.ebuild
deleted file mode 100644
index 11fe4ff862dd..
--- a/app-backup/snapper/snapper-0.10.0.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2022-04-26 Thread Yixun Lan
commit: 7f5469d0475d8a655cc380d78731a59fa4d5e1e2
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Apr 26 08:34:53 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Apr 26 08:41:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5469d0

app-backup/snapper: add 0.10.1

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  1 +
 .../snapper/files/snapper-0.10.1-testsuite.patch   | 84 +
 app-backup/snapper/snapper-0.10.1.ebuild   | 88 ++
 3 files changed, 173 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 5ba939cd025f..901f27a4c64b 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 DIST snapper-0.10.0.tar.gz 404564 BLAKE2B 
2dd3f889cf445e06975b5a6f1088d07445510c6905dacecd5b75c0b92c155d399b9b6ed07e466303e4ea3e4b3e6aa72f57b9a34fc2b3aa97c328d886732a375c
 SHA512 
eb0b8568f90907a84dd6f6e135f26cddbafbb8a420f2e4c3ad657d4d782ff35517da93c375d9796dbac1a03983e8b88084280347b51eadf869294dcc080dbfeb
+DIST snapper-0.10.1.tar.gz 407628 BLAKE2B 
84b4c027762a11cbf5f49af3e94bc0e494e83e61aa35c3873d0ab98b0c232897b6d002ef28181ad3b2567cc88b84424f570e7b24278c546fb39452e399ad7333
 SHA512 
39f4d95e98b736510b6bea56eebc8275618a0ad3221d7fae9cd0f46f8a4af574700a6123a438918d522d65758ad50020f80c925395ae3ab84b7ad3eb924592c0
 DIST snapper-0.9.1.tar.gz 400387 BLAKE2B 
fe9d25f573dc99e0eb6c876fa2ebb34140ea8177c72a65af65bd4b6621b81bcab71ee03948696d311444cad4c69d21db70161f67ef3917aea93e39ad54b10444
 SHA512 
447a024570bbb834adfc789aa5b12b037838fcf50f8d26f87a9a10b250541a589be3b24b01f990625021b8ff5b2eade0f2eda5e992f76113c62bd5e8a27c1293

diff --git a/app-backup/snapper/files/snapper-0.10.1-testsuite.patch 
b/app-backup/snapper/files/snapper-0.10.1-testsuite.patch
new file mode 100644
index ..84ff2ce1978a
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.10.1-testsuite.patch
@@ -0,0 +1,84 @@
+diff --git a/configure.ac b/configure.ac
+index 39def82..9b96a32 100644
+--- a/configure.ac
 b/configure.ac
+@@ -174,6 +174,13 @@ if test "x$enable_coverage" = "xyes"; then
+ LDFLAGS="${LDFLAGS} --coverage"
+ fi
+ 
++AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
++  [with_tests=$enableval],[with_tests=yes])
++AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
++if test "x$with_tests" = "xyes"; then
++  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
++fi
++
+ PKG_CHECK_MODULES(DBUS, dbus-1)
+ PKG_CHECK_MODULES(XML2, libxml-2.0)
+ PKG_CHECK_MODULES(JSONC, json-c, [], [AC_MSG_WARN([Cannot find json-c. Please 
install libjson-c-devel])])
+diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
+index 81104bf..9c29477 100644
+--- a/testsuite-cmp/Makefile.am
 b/testsuite-cmp/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-cmp
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir)
+ AM_LDFLAGS = -lboost_system
+ 
+@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
+ 
+ EXTRA_DIST = $(noinst_SCRIPTS)
+ 
++endif
+diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
+index a3bb2e3..c4e88f4 100644
+--- a/testsuite-real/Makefile.am
 b/testsuite-real/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-real
+ #
+ 
++if ENABLE_TESTS
+ CXXFLAGS += -std=gnu++11
+ 
+ AM_CPPFLAGS = -I$(top_srcdir)
+@@ -56,3 +57,4 @@ ascii_file_SOURCES = ascii-file.cc
+ 
+ EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
+ 
++endif
+diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
+index ccb84d3..409e265 100644
+--- a/testsuite/Makefile.am
 b/testsuite/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
+ 
+ LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
+@@ -48,3 +49,4 @@ lvm_utils_test_LDADD = -lboost_unit_test_framework 
../snapper/libsnapper.la
+ range_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
+ 
+ limit_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
++endif
+diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
+index 7b52e13..71cb545 100644
+--- a/zypp-plugin/testsuite/Makefile.am
 b/zypp-plugin/testsuite/Makefile.am
+@@ -1,3 +1,5 @@
++
++if ENABLE_TESTS
+ if HAVE_ZYPP
+ TEST_LOG_DRIVER = $(SHELL) tap-driver.sh
+ 
+@@ -12,3 +14,4 @@ TESTS = $(check_SCRIPTS)
+ 
+ EXTRA_DIST = $(check_SCRIPTS) $(noinst_SCRIPTS) $(noinst_DATA) tap-driver.sh
+ endif
++endif

diff --git a/app-backup/snapper/snapper-0.10.1.ebuild 
b/app-backup/snapper/snapper-0.10.1.ebuild
new file mode 100644
index ..11fe4ff862dd
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2022-04-20 Thread Yixun Lan
commit: 43a05f7490fa0a1d8f6660a1bded74cedc0568ae
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Apr 21 03:06:34 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Apr 21 03:28:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a05f74

app-backup/snapper: add 0.10.0

Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  1 +
 .../snapper/files/snapper-0.10.0-testsuite.patch   | 84 +
 app-backup/snapper/snapper-0.10.0.ebuild   | 88 ++
 3 files changed, 173 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index caae74396a11..5ba939cd025f 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1 +1,2 @@
+DIST snapper-0.10.0.tar.gz 404564 BLAKE2B 
2dd3f889cf445e06975b5a6f1088d07445510c6905dacecd5b75c0b92c155d399b9b6ed07e466303e4ea3e4b3e6aa72f57b9a34fc2b3aa97c328d886732a375c
 SHA512 
eb0b8568f90907a84dd6f6e135f26cddbafbb8a420f2e4c3ad657d4d782ff35517da93c375d9796dbac1a03983e8b88084280347b51eadf869294dcc080dbfeb
 DIST snapper-0.9.1.tar.gz 400387 BLAKE2B 
fe9d25f573dc99e0eb6c876fa2ebb34140ea8177c72a65af65bd4b6621b81bcab71ee03948696d311444cad4c69d21db70161f67ef3917aea93e39ad54b10444
 SHA512 
447a024570bbb834adfc789aa5b12b037838fcf50f8d26f87a9a10b250541a589be3b24b01f990625021b8ff5b2eade0f2eda5e992f76113c62bd5e8a27c1293

diff --git a/app-backup/snapper/files/snapper-0.10.0-testsuite.patch 
b/app-backup/snapper/files/snapper-0.10.0-testsuite.patch
new file mode 100644
index ..643c98bf1a70
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.10.0-testsuite.patch
@@ -0,0 +1,84 @@
+diff --git a/configure.ac b/configure.ac
+index 3f5c911..a8c9c95 100644
+--- a/configure.ac
 b/configure.ac
+@@ -84,6 +84,13 @@ CPPFLAGS="${CPPFLAGS} -DCONF_DIR='\"${SYSCONFIG}\"'"
+ 
+ PAM_SECURITY=${libdir}/security
+ 
++AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
++  [with_tests=$enableval],[with_tests=yes])
++AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
++if test "x$with_tests" = "xyes"; then
++  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
++fi
++
+ AC_ARG_WITH([pam-security], AC_HELP_STRING([--pam-security], [Use a custom 
pam security directory (default is $libdir/security)]),
+   [with_pam_security=$withval], [with_pam_security=no])
+ AS_IF([test "x$with_pam_security" != xno], 
[PAM_SECURITY="${with_pam_security}"])
+diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
+index 81104bf..9c29477 100644
+--- a/testsuite-cmp/Makefile.am
 b/testsuite-cmp/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-cmp
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir)
+ AM_LDFLAGS = -lboost_system
+ 
+@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
+ 
+ EXTRA_DIST = $(noinst_SCRIPTS)
+ 
++endif
+diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
+index ceb0862..9a72775 100644
+--- a/testsuite-real/Makefile.am
 b/testsuite-real/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-real
+ #
+ 
++if ENABLE_TESTS
+ CXXFLAGS += -std=gnu++11
+ 
+ AM_CPPFLAGS = -I$(top_srcdir)
+@@ -53,3 +54,4 @@ ug_tests_SOURCES = ug-tests.cc
+ 
+ EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
+ 
++endif
+diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
+index ccb84d3..409e265 100644
+--- a/testsuite/Makefile.am
 b/testsuite/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
+ 
+ LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
+@@ -48,3 +49,4 @@ lvm_utils_test_LDADD = -lboost_unit_test_framework 
../snapper/libsnapper.la
+ range_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
+ 
+ limit_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
++endif
+diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
+index 7b52e13..71cb545 100644
+--- a/zypp-plugin/testsuite/Makefile.am
 b/zypp-plugin/testsuite/Makefile.am
+@@ -1,3 +1,5 @@
++
++if ENABLE_TESTS
+ if HAVE_ZYPP
+ TEST_LOG_DRIVER = $(SHELL) tap-driver.sh
+ 
+@@ -12,3 +14,4 @@ TESTS = $(check_SCRIPTS)
+ 
+ EXTRA_DIST = $(check_SCRIPTS) $(noinst_SCRIPTS) $(noinst_DATA) tap-driver.sh
+ endif
++endif

diff --git a/app-backup/snapper/snapper-0.10.0.ebuild 
b/app-backup/snapper/snapper-0.10.0.ebuild
new file mode 100644
index ..11fe4ff862dd
--- /dev/null
+++ b/app-backup/snapper/snapper-0.10.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2022-01-30 Thread Yixun Lan
commit: d9797ee46d8c9d84749dadf2d0db2ffc540524ea
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jan 31 02:39:24 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jan 31 02:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9797ee4

app-backup/snapper: keyword ~arm64

Closes: https://bugs.gentoo.org/832405
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/snapper-0.9.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-backup/snapper/snapper-0.9.1.ebuild 
b/app-backup/snapper/snapper-0.9.1.ebuild
index e08297c0ff3a..df3d33714c14 100644
--- a/app-backup/snapper/snapper-0.9.1.ebuild
+++ b/app-backup/snapper/snapper-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2021-12-07 Thread Yixun Lan
commit: da0f4c3b66e8c7273cd4b80a6286a08bc160d7f0
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Dec  7 08:36:38 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Dec  7 08:36:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da0f4c3b

app-backup/snapper: drop olds

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  3 -
 .../snapper/files/snapper-0.8.15-testsuite.patch   | 83 
 .../snapper/files/snapper-0.9.0-testsuite.patch| 83 
 app-backup/snapper/snapper-0.8.15-r2.ebuild| 89 --
 app-backup/snapper/snapper-0.8.16-r1.ebuild| 89 --
 app-backup/snapper/snapper-0.9.0-r1.ebuild | 89 --
 6 files changed, 436 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 2bdc33b55a9c..caae74396a11 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,4 +1 @@
-DIST snapper-0.8.15.tar.gz 393310 BLAKE2B 
a977ed8cdcbd73b4e49713dc48407c9bdab88e3084f6d9030c555da860b7277961e8e742103bbe04a05a1efa9bbe916a08fc04da3c2bcb59df8d5e53c038c373
 SHA512 
cdcc811c4299373e22043780a2cc06e7d5bca44fbf62f92ecb76162e791849b6002b35fe804b8b89524fd5e3ed26ed4120f09b62b202e41fedb7339ab9fe267c
-DIST snapper-0.8.16.tar.gz 397215 BLAKE2B 
b59563746b89916f2906de61d7b7e1bd50be18095fa1ce18bb60e2e7103c5bc11dd1590d776eea2567a2ec39c5c01745afa83a0bc2e2f57142bab1aa68be7638
 SHA512 
91fb648a32de7c2e9cd549aab2545c75e3bad6a4d52446cb93089469ae6d76ad536f5dcce21b77f633907e9394b44928e99a9003ae6be5508d3fcff0c3fd4aae
-DIST snapper-0.9.0.tar.gz 399600 BLAKE2B 
546fcdd8beb4b5404bb718577d53aa284f04a5a5cf1453849158f963604fe34fed0f3f99325449f9805779e845fc6a105008890ed2d2c63d3e0dde33d1d77350
 SHA512 
0861621764b65365ea7e7cf48baa0c7a64351fed7fca439c91ebf8023dbad6d05c709a5c49b3755d1edbd1b98617b8c202239a63608c11aee808ac21d6a2b412
 DIST snapper-0.9.1.tar.gz 400387 BLAKE2B 
fe9d25f573dc99e0eb6c876fa2ebb34140ea8177c72a65af65bd4b6621b81bcab71ee03948696d311444cad4c69d21db70161f67ef3917aea93e39ad54b10444
 SHA512 
447a024570bbb834adfc789aa5b12b037838fcf50f8d26f87a9a10b250541a589be3b24b01f990625021b8ff5b2eade0f2eda5e992f76113c62bd5e8a27c1293

diff --git a/app-backup/snapper/files/snapper-0.8.15-testsuite.patch 
b/app-backup/snapper/files/snapper-0.8.15-testsuite.patch
deleted file mode 100644
index 237e0705c98d..
--- a/app-backup/snapper/files/snapper-0.8.15-testsuite.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 839d012..ceac54d 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -86,6 +86,12 @@ AS_IF([test "x$with_conf" != xno], 
[SYSCONFIG="${with_conf}"])
- 
- CPPFLAGS="${CPPFLAGS} -DCONF_DIR='\"${SYSCONFIG}\"'"
- 
-+AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
-+  [with_tests=$enableval],[with_tests=yes])
-+AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
-+if test "x$with_tests" = "xyes"; then
-+  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
-+fi
- 
- AC_ARG_ENABLE([btrfs], AC_HELP_STRING([--disable-btrfs],[Disable Btrfs 
internal snapshots support]),
-   [with_btrfs=$enableval],[with_btrfs=yes])
-diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
-index 81104bf..9c29477 100644
 a/testsuite-cmp/Makefile.am
-+++ b/testsuite-cmp/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite-cmp
- #
- 
-+if ENABLE_TESTS
- AM_CPPFLAGS = -I$(top_srcdir)
- AM_LDFLAGS = -lboost_system
- 
-@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
- 
- EXTRA_DIST = $(noinst_SCRIPTS)
- 
-+endif
-diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
-index 717313a..527843d 100644
 a/testsuite-real/Makefile.am
-+++ b/testsuite-real/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite-real
- #
- 
-+if ENABLE_TESTS
- CXXFLAGS += -std=gnu++0x
- 
- AM_CPPFLAGS = -I$(top_srcdir)
-@@ -53,3 +54,4 @@ ug_tests_SOURCES = ug-tests.cc
- 
- EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
- 
-+endif
-diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
-index d7e30b8..72ef5ee 100644
 a/testsuite/Makefile.am
-+++ b/testsuite/Makefile.am
-@@ -2,6 +2,7 @@
- # Makefile.am for snapper/testsuite
- #
- 
-+if ENABLE_TESTS
- AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
- 
- LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
-@@ -40,3 +41,4 @@ json_formatter_test_LDADD = -lboost_unit_test_framework 
../client/utils/libutils
- getopts_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
- 
- lvm_utils_test_LDADD = -lboost_unit_test_framework ../snapper/libsnapper.la
-+endif
-diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
-index 7b52e13..71cb545 100644
 a/zypp-plugin/testsuite/Makefile.am
-+++ 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-12-06 Thread Agostino Sarubbo
commit: 0e78ea460657a6c66e8b9e71dfd437362d4dbf70
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec  7 06:24:59 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec  7 06:24:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e78ea46

app-backup/snapper: x86 stable wrt bug #828324

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-backup/snapper/snapper-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.9.1.ebuild 
b/app-backup/snapper/snapper-0.9.1.ebuild
index ee320927fc72..e08297c0ff3a 100644
--- a/app-backup/snapper/snapper-0.9.1.ebuild
+++ b/app-backup/snapper/snapper-0.9.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-12-06 Thread Agostino Sarubbo
commit: d8c127790ec0ff18ddb157e720b2bbec00f03a56
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec  6 11:26:38 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec  6 11:26:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c12779

app-backup/snapper: amd64 stable wrt bug #828324

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-backup/snapper/snapper-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.9.1.ebuild 
b/app-backup/snapper/snapper-0.9.1.ebuild
index 3f1b02d77735..ee320927fc72 100644
--- a/app-backup/snapper/snapper-0.9.1.ebuild
+++ b/app-backup/snapper/snapper-0.9.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv ~x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-10-12 Thread Agostino Sarubbo
commit: ef396c048e3707ea617e2961eb43bc60a0bc6acc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 12 07:14:38 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 12 07:14:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef396c04

app-backup/snapper: x86 stable wrt bug #817665

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-backup/snapper/snapper-0.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.9.0-r1.ebuild 
b/app-backup/snapper/snapper-0.9.0-r1.ebuild
index ee320927fc7..e08297c0ff3 100644
--- a/app-backup/snapper/snapper-0.9.0-r1.ebuild
+++ b/app-backup/snapper/snapper-0.9.0-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-10-12 Thread Agostino Sarubbo
commit: 6612e3dca507b416dc5b7b7cb5e3805cf1addb9d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 12 07:08:43 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 12 07:10:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6612e3dc

app-backup/snapper: amd64 stable wrt bug #817665

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-backup/snapper/snapper-0.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.9.0-r1.ebuild 
b/app-backup/snapper/snapper-0.9.0-r1.ebuild
index 3f1b02d7773..ee320927fc7 100644
--- a/app-backup/snapper/snapper-0.9.0-r1.ebuild
+++ b/app-backup/snapper/snapper-0.9.0-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv ~x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/files/, app-backup/snapper/

2021-09-23 Thread Yixun Lan
commit: fddcab208fc4de66d108aeb687f1dba8b5fc4b10
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Sep 24 03:40:20 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Sep 24 05:43:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fddcab20

app-backup/snapper: version bump, 0.9.1

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  1 +
 .../snapper/files/snapper-0.9.1-testsuite.patch| 84 
 app-backup/snapper/snapper-0.9.1.ebuild| 89 ++
 3 files changed, 174 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index bf2b882ed4e..2bdc33b55a9 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.8.15.tar.gz 393310 BLAKE2B 
a977ed8cdcbd73b4e49713dc48407c9bdab88e3084f6d9030c555da860b7277961e8e742103bbe04a05a1efa9bbe916a08fc04da3c2bcb59df8d5e53c038c373
 SHA512 
cdcc811c4299373e22043780a2cc06e7d5bca44fbf62f92ecb76162e791849b6002b35fe804b8b89524fd5e3ed26ed4120f09b62b202e41fedb7339ab9fe267c
 DIST snapper-0.8.16.tar.gz 397215 BLAKE2B 
b59563746b89916f2906de61d7b7e1bd50be18095fa1ce18bb60e2e7103c5bc11dd1590d776eea2567a2ec39c5c01745afa83a0bc2e2f57142bab1aa68be7638
 SHA512 
91fb648a32de7c2e9cd549aab2545c75e3bad6a4d52446cb93089469ae6d76ad536f5dcce21b77f633907e9394b44928e99a9003ae6be5508d3fcff0c3fd4aae
 DIST snapper-0.9.0.tar.gz 399600 BLAKE2B 
546fcdd8beb4b5404bb718577d53aa284f04a5a5cf1453849158f963604fe34fed0f3f99325449f9805779e845fc6a105008890ed2d2c63d3e0dde33d1d77350
 SHA512 
0861621764b65365ea7e7cf48baa0c7a64351fed7fca439c91ebf8023dbad6d05c709a5c49b3755d1edbd1b98617b8c202239a63608c11aee808ac21d6a2b412
+DIST snapper-0.9.1.tar.gz 400387 BLAKE2B 
fe9d25f573dc99e0eb6c876fa2ebb34140ea8177c72a65af65bd4b6621b81bcab71ee03948696d311444cad4c69d21db70161f67ef3917aea93e39ad54b10444
 SHA512 
447a024570bbb834adfc789aa5b12b037838fcf50f8d26f87a9a10b250541a589be3b24b01f990625021b8ff5b2eade0f2eda5e992f76113c62bd5e8a27c1293

diff --git a/app-backup/snapper/files/snapper-0.9.1-testsuite.patch 
b/app-backup/snapper/files/snapper-0.9.1-testsuite.patch
new file mode 100644
index 000..0bd3fd3189f
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.9.1-testsuite.patch
@@ -0,0 +1,84 @@
+diff --git a/configure.ac b/configure.ac
+index 3f5c911..a8c9c95 100644
+--- a/configure.ac
 b/configure.ac
+@@ -84,6 +84,13 @@ CPPFLAGS="${CPPFLAGS} -DCONF_DIR='\"${SYSCONFIG}\"'"
+ 
+ PAM_SECURITY=${libdir}/security
+ 
++AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
++  [with_tests=$enableval],[with_tests=yes])
++AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
++if test "x$with_tests" = "xyes"; then
++  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
++fi
++
+ AC_ARG_WITH([pam-security], AC_HELP_STRING([--pam-security], [Use a custom 
pam security directory (default is $libdir/security)]),
+   [with_pam_security=$withval], [with_pam_security=no])
+ AS_IF([test "x$with_pam_security" != xno], 
[PAM_SECURITY="${with_pam_security}"])
+diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
+index 81104bf..9c29477 100644
+--- a/testsuite-cmp/Makefile.am
 b/testsuite-cmp/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-cmp
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir)
+ AM_LDFLAGS = -lboost_system
+ 
+@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
+ 
+ EXTRA_DIST = $(noinst_SCRIPTS)
+ 
++endif
+diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
+index 717313a..527843d 100644
+--- a/testsuite-real/Makefile.am
 b/testsuite-real/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-real
+ #
+ 
++if ENABLE_TESTS
+ CXXFLAGS += -std=gnu++0x
+ 
+ AM_CPPFLAGS = -I$(top_srcdir)
+@@ -53,3 +54,4 @@ ug_tests_SOURCES = ug-tests.cc
+ 
+ EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
+ 
++endif
+diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
+index ccb84d3..409e265 100644
+--- a/testsuite/Makefile.am
 b/testsuite/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
+ 
+ LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
+@@ -48,3 +49,4 @@ lvm_utils_test_LDADD = -lboost_unit_test_framework 
../snapper/libsnapper.la
+ range_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
+ 
+ limit_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
++endif
+diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
+index 7b52e13..71cb545 100644
+--- a/zypp-plugin/testsuite/Makefile.am
 b/zypp-plugin/testsuite/Makefile.am
+@@ -1,3 +1,5 @@
++
++if ENABLE_TESTS
+ if HAVE_ZYPP
+ TEST_LOG_DRIVER = $(SHELL) tap-driver.sh
+ 
+@@ -12,3 +14,4 @@ TESTS = 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-07-20 Thread Yixun Lan
commit: 22a4a0e13cca9048afd0d888678bc7b412f21b59
Author: Alex Fan  yahoo  com>
AuthorDate: Sat Jul 17 13:24:19 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jul 21 02:20:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a4a0e1

app-backup/snapper: keyword 0.9.0-r1 for ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/snapper-0.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.9.0-r1.ebuild 
b/app-backup/snapper/snapper-0.9.0-r1.ebuild
index 246797227f5..3f1b02d7773 100644
--- a/app-backup/snapper/snapper-0.9.0-r1.ebuild
+++ b/app-backup/snapper/snapper-0.9.0-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2021-06-06 Thread Yixun Lan
commit: 65035cde3a2de724c85e5da1871a4ae49e96a93b
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Jun  6 22:32:44 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jun  7 00:57:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65035cde

app-backup/snapper: version bump, 0.9.0

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  1 +
 .../snapper/files/snapper-0.9.0-testsuite.patch| 83 
 app-backup/snapper/snapper-0.9.0.ebuild| 89 ++
 3 files changed, 173 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 28f2896b3d4..bf2b882ed4e 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 DIST snapper-0.8.15.tar.gz 393310 BLAKE2B 
a977ed8cdcbd73b4e49713dc48407c9bdab88e3084f6d9030c555da860b7277961e8e742103bbe04a05a1efa9bbe916a08fc04da3c2bcb59df8d5e53c038c373
 SHA512 
cdcc811c4299373e22043780a2cc06e7d5bca44fbf62f92ecb76162e791849b6002b35fe804b8b89524fd5e3ed26ed4120f09b62b202e41fedb7339ab9fe267c
 DIST snapper-0.8.16.tar.gz 397215 BLAKE2B 
b59563746b89916f2906de61d7b7e1bd50be18095fa1ce18bb60e2e7103c5bc11dd1590d776eea2567a2ec39c5c01745afa83a0bc2e2f57142bab1aa68be7638
 SHA512 
91fb648a32de7c2e9cd549aab2545c75e3bad6a4d52446cb93089469ae6d76ad536f5dcce21b77f633907e9394b44928e99a9003ae6be5508d3fcff0c3fd4aae
+DIST snapper-0.9.0.tar.gz 399600 BLAKE2B 
546fcdd8beb4b5404bb718577d53aa284f04a5a5cf1453849158f963604fe34fed0f3f99325449f9805779e845fc6a105008890ed2d2c63d3e0dde33d1d77350
 SHA512 
0861621764b65365ea7e7cf48baa0c7a64351fed7fca439c91ebf8023dbad6d05c709a5c49b3755d1edbd1b98617b8c202239a63608c11aee808ac21d6a2b412

diff --git a/app-backup/snapper/files/snapper-0.9.0-testsuite.patch 
b/app-backup/snapper/files/snapper-0.9.0-testsuite.patch
new file mode 100644
index 000..7aa089569b4
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.9.0-testsuite.patch
@@ -0,0 +1,83 @@
+diff --git a/configure.ac b/configure.ac
+index 06e4721..c89d0aa 100644
+--- a/configure.ac
 b/configure.ac
+@@ -86,6 +86,12 @@ AS_IF([test "x$with_conf" != xno], 
[SYSCONFIG="${with_conf}"])
+ 
+ CPPFLAGS="${CPPFLAGS} -DCONF_DIR='\"${SYSCONFIG}\"'"
+ 
++AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
++  [with_tests=$enableval],[with_tests=yes])
++AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
++if test "x$with_tests" = "xyes"; then
++  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
++fi
+ 
+ AC_ARG_ENABLE([btrfs], AC_HELP_STRING([--disable-btrfs],[Disable Btrfs 
internal snapshots support]),
+   [with_btrfs=$enableval],[with_btrfs=yes])
+diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
+index 81104bf..9c29477 100644
+--- a/testsuite-cmp/Makefile.am
 b/testsuite-cmp/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-cmp
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir)
+ AM_LDFLAGS = -lboost_system
+ 
+@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
+ 
+ EXTRA_DIST = $(noinst_SCRIPTS)
+ 
++endif
+diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
+index 717313a..527843d 100644
+--- a/testsuite-real/Makefile.am
 b/testsuite-real/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-real
+ #
+ 
++if ENABLE_TESTS
+ CXXFLAGS += -std=gnu++0x
+ 
+ AM_CPPFLAGS = -I$(top_srcdir)
+@@ -53,3 +54,4 @@ ug_tests_SOURCES = ug-tests.cc
+ 
+ EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
+ 
++endif
+diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
+index ccb84d3..409e265 100644
+--- a/testsuite/Makefile.am
 b/testsuite/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
+ 
+ LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
+@@ -48,3 +49,4 @@ lvm_utils_test_LDADD = -lboost_unit_test_framework 
../snapper/libsnapper.la
+ range_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
+ 
+ limit_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
++endif
+diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
+index 7b52e13..71cb545 100644
+--- a/zypp-plugin/testsuite/Makefile.am
 b/zypp-plugin/testsuite/Makefile.am
+@@ -1,3 +1,5 @@
++
++if ENABLE_TESTS
+ if HAVE_ZYPP
+ TEST_LOG_DRIVER = $(SHELL) tap-driver.sh
+ 
+@@ -12,3 +14,4 @@ TESTS = $(check_SCRIPTS)
+ 
+ EXTRA_DIST = $(check_SCRIPTS) $(noinst_SCRIPTS) $(noinst_DATA) tap-driver.sh
+ endif
++endif

diff --git a/app-backup/snapper/snapper-0.9.0.ebuild 
b/app-backup/snapper/snapper-0.9.0.ebuild
new file mode 100644
index 000..3a46790c0d3
--- /dev/null
+++ b/app-backup/snapper/snapper-0.9.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-06-06 Thread Yixun Lan
commit: ff054b9e0610b226c99ca8a1f09cf74ec703a3f6
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Jun  6 06:32:49 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Jun  6 06:32:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff054b9e

app-backup/snapper: version bump, 0.8.16

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest  |  1 +
 app-backup/snapper/snapper-0.8.16.ebuild | 89 
 2 files changed, 90 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 745cd271c34..79ab289556a 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.15.tar.gz 393310 BLAKE2B 
a977ed8cdcbd73b4e49713dc48407c9bdab88e3084f6d9030c555da860b7277961e8e742103bbe04a05a1efa9bbe916a08fc04da3c2bcb59df8d5e53c038c373
 SHA512 
cdcc811c4299373e22043780a2cc06e7d5bca44fbf62f92ecb76162e791849b6002b35fe804b8b89524fd5e3ed26ed4120f09b62b202e41fedb7339ab9fe267c
+DIST snapper-0.8.16.tar.gz 397215 BLAKE2B 
b59563746b89916f2906de61d7b7e1bd50be18095fa1ce18bb60e2e7103c5bc11dd1590d776eea2567a2ec39c5c01745afa83a0bc2e2f57142bab1aa68be7638
 SHA512 
91fb648a32de7c2e9cd549aab2545c75e3bad6a4d52446cb93089469ae6d76ad536f5dcce21b77f633907e9394b44928e99a9003ae6be5508d3fcff0c3fd4aae
 DIST snapper-0.8.9.tar.gz 373192 BLAKE2B 
55c927136518e91b45631f3087fce13e8e08228274ef7c54164a7024e382a45bfa5b40687fd5e3d770fc87019d8e93af5c681013a023cd89dcb1f16863a77421
 SHA512 
5a3e45839cd4b5e621425df2e1214ca5014a391d17b489fdf7d315e8ac9959741c1f6fcf7adf644276ed11488bc0f88fcfa563198bd78824867d267df204659d

diff --git a/app-backup/snapper/snapper-0.8.16.ebuild 
b/app-backup/snapper/snapper-0.8.16.ebuild
new file mode 100644
index 000..2cfe0b2ba1f
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.16.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd bash-completion-r1
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc lvm pam test systemd xattr"
+RESTRICT="test"
+
+RDEPEND="dev-libs/boost:=[threads]
+   dev-libs/json-c
+   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}
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   sys-devel/gettext
+   virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/cron-confd.patch
+   "${FILESDIR}"/${PN}-0.8.15-testsuite.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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --disable-silent-rules
+   --with-conf="/etc/conf.d"
+   --enable-zypp
+   --enable-rollback
+   --enable-btrfs-quota
+   --disable-ext4
+   --enable-btrfs
+   $(use_enable doc)
+   $(use_enable lvm)
+   $(use_enable pam)
+   $(use_enable test tests)
+   $(use_enable systemd)
+   $(use_enable xattr xattrs)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   # Existing configuration file required to function
+   keepdir /etc/snapper/configs
+   newconfd data/sysconfig.snapper snapper
+   find "${D}" -name '*.la' -delete || die
+   newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
+}
+
+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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2021-06-06 Thread Yixun Lan
commit: 168e12d457e434c0f36cacf784bdf01f8c80a6ec
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Jun  6 06:34:12 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Jun  6 06:34:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168e12d4

app-backup/snapper: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest   |  2 -
 app-backup/snapper/files/snapper-0.5.6-swap.patch | 36 --
 app-backup/snapper/snapper-0.5.6-r1.ebuild| 77 -
 app-backup/snapper/snapper-0.8.9-r1.ebuild| 81 ---
 4 files changed, 196 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 79ab289556a..28f2896b3d4 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,4 +1,2 @@
-DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.15.tar.gz 393310 BLAKE2B 
a977ed8cdcbd73b4e49713dc48407c9bdab88e3084f6d9030c555da860b7277961e8e742103bbe04a05a1efa9bbe916a08fc04da3c2bcb59df8d5e53c038c373
 SHA512 
cdcc811c4299373e22043780a2cc06e7d5bca44fbf62f92ecb76162e791849b6002b35fe804b8b89524fd5e3ed26ed4120f09b62b202e41fedb7339ab9fe267c
 DIST snapper-0.8.16.tar.gz 397215 BLAKE2B 
b59563746b89916f2906de61d7b7e1bd50be18095fa1ce18bb60e2e7103c5bc11dd1590d776eea2567a2ec39c5c01745afa83a0bc2e2f57142bab1aa68be7638
 SHA512 
91fb648a32de7c2e9cd549aab2545c75e3bad6a4d52446cb93089469ae6d76ad536f5dcce21b77f633907e9394b44928e99a9003ae6be5508d3fcff0c3fd4aae
-DIST snapper-0.8.9.tar.gz 373192 BLAKE2B 
55c927136518e91b45631f3087fce13e8e08228274ef7c54164a7024e382a45bfa5b40687fd5e3d770fc87019d8e93af5c681013a023cd89dcb1f16863a77421
 SHA512 
5a3e45839cd4b5e621425df2e1214ca5014a391d17b489fdf7d315e8ac9959741c1f6fcf7adf644276ed11488bc0f88fcfa563198bd78824867d267df204659d

diff --git a/app-backup/snapper/files/snapper-0.5.6-swap.patch 
b/app-backup/snapper/files/snapper-0.5.6-swap.patch
deleted file mode 100644
index aa24330d730..000
--- a/app-backup/snapper/files/snapper-0.5.6-swap.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-commit 22bc1d808ebb6c3958e8231a36b73cd45a7f2c30
-Author: Spencer Janssen 
-Date:   Mon Dec 3 17:33:49 2018 -0600
-
-Work around btrfs v4.19
-
-Addresses #459
-
-diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc
-index cb9f7b3..c05557b 100644
 a/snapper/Btrfs.cc
-+++ b/snapper/Btrfs.cc
-@@ -41,6 +41,9 @@
- #include 
- #include 
- #include 
-+#ifdef swap
-+#undef swap
-+#endif
- #include 
- #include 
- #endif
-diff --git a/snapper/BtrfsUtils.cc b/snapper/BtrfsUtils.cc
-index bada3f8..9edc325 100644
 a/snapper/BtrfsUtils.cc
-+++ b/snapper/BtrfsUtils.cc
-@@ -34,6 +34,9 @@
- #ifdef HAVE_LIBBTRFS
- #include 
- #include 
-+#ifdef swap
-+#undef swap
-+#endif
- #endif
- #include 
- #include 

diff --git a/app-backup/snapper/snapper-0.5.6-r1.ebuild 
b/app-backup/snapper/snapper-0.5.6-r1.ebuild
deleted file mode 100644
index c6f5ffca2a5..000
--- a/app-backup/snapper/snapper-0.5.6-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# 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
-   "${FILESDIR}"/${P}-swap.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"
-   --disable-zypp
-   --enable-rollback
-   --disable-ext4
-   --enable-btrfs
-   $(use_enable lvm)
-   $(use_enable pam)
-   $(use_enable xattr xattrs)
-   )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   # 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-06-06 Thread Yixun Lan
commit: 2827d9405a3aebb385d204522400125a7d7c350d
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Jun  6 06:30:14 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Jun  6 06:30:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2827d940

app-backup/snapper: amd64 stable, bug #794457

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/snapper-0.8.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.8.15-r1.ebuild 
b/app-backup/snapper/snapper-0.8.15-r1.ebuild
index 19963d11068..43989af176b 100644
--- a/app-backup/snapper/snapper-0.8.15-r1.ebuild
+++ b/app-backup/snapper/snapper-0.8.15-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-06-05 Thread Sam James
commit: 7c31d2fd3be446446c04d7be4cb572ef2ec51c37
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun  5 20:33:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun  5 20:33:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c31d2fd

app-backup/snapper: Stabilize 0.8.15-r1 x86, #794457

Signed-off-by: Sam James  gentoo.org>

 app-backup/snapper/snapper-0.8.15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.8.15-r1.ebuild 
b/app-backup/snapper/snapper-0.8.15-r1.ebuild
index 3a46790c0d3..19963d11068 100644
--- a/app-backup/snapper/snapper-0.8.15-r1.ebuild
+++ b/app-backup/snapper/snapper-0.8.15-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="doc lvm pam test systemd xattr"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-01-15 Thread Yixun Lan
commit: b202f21e005128629c03e941fb95af043a5bcbb8
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Jan 15 21:27:27 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jan 15 21:28:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b202f21e

app-backup/snapper: fix dep & test restriction qa warning

Closes: https://bugs.gentoo.org/765406
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/{snapper-0.8.15.ebuild => snapper-0.8.15-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-backup/snapper/snapper-0.8.15.ebuild 
b/app-backup/snapper/snapper-0.8.15-r1.ebuild
similarity index 98%
rename from app-backup/snapper/snapper-0.8.15.ebuild
rename to app-backup/snapper/snapper-0.8.15-r1.ebuild
index 62e5c8e65b2..3a46790c0d3 100644
--- a/app-backup/snapper/snapper-0.8.15.ebuild
+++ b/app-backup/snapper/snapper-0.8.15-r1.ebuild
@@ -13,8 +13,10 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc lvm pam test systemd xattr"
+RESTRICT="test"
 
 RDEPEND="dev-libs/boost:=[threads]
+   dev-libs/json-c
dev-libs/libxml2
dev-libs/icu:=
sys-apps/acl



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2021-01-14 Thread Yixun Lan
commit: 0a1d95b5f135222f0c21d29387fe4297f029efa7
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jan 14 08:17:05 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 14 08:19:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1d95b5

app-backup/snapper: drop old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest |  2 -
 app-backup/snapper/snapper-0.8.6.ebuild | 77 
 app-backup/snapper/snapper-0.8.7.ebuild | 78 -
 3 files changed, 157 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 8a9ee2e4833..745cd271c34 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,5 +1,3 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.15.tar.gz 393310 BLAKE2B 
a977ed8cdcbd73b4e49713dc48407c9bdab88e3084f6d9030c555da860b7277961e8e742103bbe04a05a1efa9bbe916a08fc04da3c2bcb59df8d5e53c038c373
 SHA512 
cdcc811c4299373e22043780a2cc06e7d5bca44fbf62f92ecb76162e791849b6002b35fe804b8b89524fd5e3ed26ed4120f09b62b202e41fedb7339ab9fe267c
-DIST snapper-0.8.6.tar.bz2 607016 BLAKE2B 
3e496fa22b1ecce2079d79caeb530ca1538febcc6bdf04aa0256e5b43bb546ea66436e60eeaae6722bc869c60579bc47c556671c5878dd671c266102516f04bb
 SHA512 
f01a309a8dcfff455bf480ff297108e8ec3603d469d50f08740176e22bc2b8dd211de678fa8ce12c1ccd828348a35c6d347ca51b829d7b8c30b3fbaba4e9e2d9
-DIST snapper-0.8.7.tar.bz2 622381 BLAKE2B 
82d1a9c91beb309e87acfa914b55b2ff5900edc023a5ecd6f2bee6b1a15adb1336656f3f1fffea4a9971aa449b7825750e6c680806d4574faada5bba0a6d14f1
 SHA512 
6fa63c2453f93a724f0ac23d84ff2c5aafc654463e84a4f767bb8a75a0d4fb7ca7314811179d5fefce0df4441298c67b473596aa720d86eeefa43011b727
 DIST snapper-0.8.9.tar.gz 373192 BLAKE2B 
55c927136518e91b45631f3087fce13e8e08228274ef7c54164a7024e382a45bfa5b40687fd5e3d770fc87019d8e93af5c681013a023cd89dcb1f16863a77421
 SHA512 
5a3e45839cd4b5e621425df2e1214ca5014a391d17b489fdf7d315e8ac9959741c1f6fcf7adf644276ed11488bc0f88fcfa563198bd78824867d267df204659d

diff --git a/app-backup/snapper/snapper-0.8.6.ebuild 
b/app-backup/snapper/snapper-0.8.6.ebuild
deleted file mode 100644
index 1fcb91d4236..000
--- a/app-backup/snapper/snapper-0.8.6.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd bash-completion-r1
-
-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"
-   --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
-   newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
-}
-
-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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}

diff --git a/app-backup/snapper/snapper-0.8.7.ebuild 
b/app-backup/snapper/snapper-0.8.7.ebuild
deleted file mode 100644
index bcefeb713f1..000
--- a/app-backup/snapper/snapper-0.8.7.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2021-01-14 Thread Yixun Lan
commit: 44b450a6bd0d4356a031e1707893cfbc05c0978d
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jan 14 08:09:42 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 14 08:19:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b450a6

app-backup/snapper: version bump, 0.8.15

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest|  1 +
 .../snapper/files/snapper-0.8.15-testsuite.patch   | 83 +
 app-backup/snapper/snapper-0.8.15.ebuild   | 87 ++
 3 files changed, 171 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 3162b303dc6..8a9ee2e4833 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,4 +1,5 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
+DIST snapper-0.8.15.tar.gz 393310 BLAKE2B 
a977ed8cdcbd73b4e49713dc48407c9bdab88e3084f6d9030c555da860b7277961e8e742103bbe04a05a1efa9bbe916a08fc04da3c2bcb59df8d5e53c038c373
 SHA512 
cdcc811c4299373e22043780a2cc06e7d5bca44fbf62f92ecb76162e791849b6002b35fe804b8b89524fd5e3ed26ed4120f09b62b202e41fedb7339ab9fe267c
 DIST snapper-0.8.6.tar.bz2 607016 BLAKE2B 
3e496fa22b1ecce2079d79caeb530ca1538febcc6bdf04aa0256e5b43bb546ea66436e60eeaae6722bc869c60579bc47c556671c5878dd671c266102516f04bb
 SHA512 
f01a309a8dcfff455bf480ff297108e8ec3603d469d50f08740176e22bc2b8dd211de678fa8ce12c1ccd828348a35c6d347ca51b829d7b8c30b3fbaba4e9e2d9
 DIST snapper-0.8.7.tar.bz2 622381 BLAKE2B 
82d1a9c91beb309e87acfa914b55b2ff5900edc023a5ecd6f2bee6b1a15adb1336656f3f1fffea4a9971aa449b7825750e6c680806d4574faada5bba0a6d14f1
 SHA512 
6fa63c2453f93a724f0ac23d84ff2c5aafc654463e84a4f767bb8a75a0d4fb7ca7314811179d5fefce0df4441298c67b473596aa720d86eeefa43011b727
 DIST snapper-0.8.9.tar.gz 373192 BLAKE2B 
55c927136518e91b45631f3087fce13e8e08228274ef7c54164a7024e382a45bfa5b40687fd5e3d770fc87019d8e93af5c681013a023cd89dcb1f16863a77421
 SHA512 
5a3e45839cd4b5e621425df2e1214ca5014a391d17b489fdf7d315e8ac9959741c1f6fcf7adf644276ed11488bc0f88fcfa563198bd78824867d267df204659d

diff --git a/app-backup/snapper/files/snapper-0.8.15-testsuite.patch 
b/app-backup/snapper/files/snapper-0.8.15-testsuite.patch
new file mode 100644
index 000..237e0705c98
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.8.15-testsuite.patch
@@ -0,0 +1,83 @@
+diff --git a/configure.ac b/configure.ac
+index 839d012..ceac54d 100644
+--- a/configure.ac
 b/configure.ac
+@@ -86,6 +86,12 @@ AS_IF([test "x$with_conf" != xno], 
[SYSCONFIG="${with_conf}"])
+ 
+ CPPFLAGS="${CPPFLAGS} -DCONF_DIR='\"${SYSCONFIG}\"'"
+ 
++AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests],[Disable internal 
tests support]),
++  [with_tests=$enableval],[with_tests=yes])
++AM_CONDITIONAL(ENABLE_TESTS, [test "x$with_tests" = "xyes"])
++if test "x$with_tests" = "xyes"; then
++  AC_DEFINE(ENABLE_TESTS, 1, [Enable internal tests support])
++fi
+ 
+ AC_ARG_ENABLE([btrfs], AC_HELP_STRING([--disable-btrfs],[Disable Btrfs 
internal snapshots support]),
+   [with_btrfs=$enableval],[with_btrfs=yes])
+diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am
+index 81104bf..9c29477 100644
+--- a/testsuite-cmp/Makefile.am
 b/testsuite-cmp/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-cmp
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir)
+ AM_LDFLAGS = -lboost_system
+ 
+@@ -15,3 +16,4 @@ cmp_SOURCES = cmp.cc
+ 
+ EXTRA_DIST = $(noinst_SCRIPTS)
+ 
++endif
+diff --git a/testsuite-real/Makefile.am b/testsuite-real/Makefile.am
+index 717313a..527843d 100644
+--- a/testsuite-real/Makefile.am
 b/testsuite-real/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite-real
+ #
+ 
++if ENABLE_TESTS
+ CXXFLAGS += -std=gnu++0x
+ 
+ AM_CPPFLAGS = -I$(top_srcdir)
+@@ -53,3 +54,4 @@ ug_tests_SOURCES = ug-tests.cc
+ 
+ EXTRA_DIST = $(test_DATA) $(test_SCRIPTS)
+ 
++endif
+diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
+index d7e30b8..72ef5ee 100644
+--- a/testsuite/Makefile.am
 b/testsuite/Makefile.am
+@@ -2,6 +2,7 @@
+ # Makefile.am for snapper/testsuite
+ #
+ 
++if ENABLE_TESTS
+ AM_CPPFLAGS = -I$(top_srcdir) $(DBUS_CFLAGS)
+ 
+ LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la 
-lboost_unit_test_framework
+@@ -40,3 +41,4 @@ json_formatter_test_LDADD = -lboost_unit_test_framework 
../client/utils/libutils
+ getopts_test_LDADD = -lboost_unit_test_framework ../client/utils/libutils.la
+ 
+ lvm_utils_test_LDADD = -lboost_unit_test_framework ../snapper/libsnapper.la
++endif
+diff --git a/zypp-plugin/testsuite/Makefile.am 
b/zypp-plugin/testsuite/Makefile.am
+index 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2020-06-03 Thread Yixun Lan
commit: 4e6945a5f8f316a51bb46c95aee23f0f72e73bda
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jun  4 02:43:54 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jun  4 02:44:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6945a5

app-backup/snapper: fix the missing dependency

missing app-text/docbook-xsl-stylesheets will
cause fail to build the doc of snapper.

thanks 'Stefan Langenmaier' for testing/fixing

Closes: https://bugs.gentoo.org/726400
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/{snapper-0.8.9.ebuild => snapper-0.8.9-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-backup/snapper/snapper-0.8.9.ebuild 
b/app-backup/snapper/snapper-0.8.9-r1.ebuild
similarity index 98%
rename from app-backup/snapper/snapper-0.8.9.ebuild
rename to app-backup/snapper/snapper-0.8.9-r1.ebuild
index 9b77e973fc0..5a5593c2846 100644
--- a/app-backup/snapper/snapper-0.8.9.ebuild
+++ b/app-backup/snapper/snapper-0.8.9-r1.ebuild
@@ -28,6 +28,7 @@ RDEPEND="dev-libs/boost:=[threads]
xattr? ( sys-apps/attr )"
 
 DEPEND="${RDEPEND}
+   app-text/docbook-xsl-stylesheets
dev-libs/libxslt
sys-devel/gettext
virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2020-06-01 Thread Yixun Lan
commit: c35ea4afaa0d50c5adb1e66c2501c83d629c0a21
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jun  1 06:18:24 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jun  1 06:53:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c35ea4af

app-backup/snapper: version bump, 0.8.9

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest |  1 +
 app-backup/snapper/snapper-0.8.9.ebuild | 80 +
 2 files changed, 81 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 6758ce8752e..3162b303dc6 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.6.tar.bz2 607016 BLAKE2B 
3e496fa22b1ecce2079d79caeb530ca1538febcc6bdf04aa0256e5b43bb546ea66436e60eeaae6722bc869c60579bc47c556671c5878dd671c266102516f04bb
 SHA512 
f01a309a8dcfff455bf480ff297108e8ec3603d469d50f08740176e22bc2b8dd211de678fa8ce12c1ccd828348a35c6d347ca51b829d7b8c30b3fbaba4e9e2d9
 DIST snapper-0.8.7.tar.bz2 622381 BLAKE2B 
82d1a9c91beb309e87acfa914b55b2ff5900edc023a5ecd6f2bee6b1a15adb1336656f3f1fffea4a9971aa449b7825750e6c680806d4574faada5bba0a6d14f1
 SHA512 
6fa63c2453f93a724f0ac23d84ff2c5aafc654463e84a4f767bb8a75a0d4fb7ca7314811179d5fefce0df4441298c67b473596aa720d86eeefa43011b727
+DIST snapper-0.8.9.tar.gz 373192 BLAKE2B 
55c927136518e91b45631f3087fce13e8e08228274ef7c54164a7024e382a45bfa5b40687fd5e3d770fc87019d8e93af5c681013a023cd89dcb1f16863a77421
 SHA512 
5a3e45839cd4b5e621425df2e1214ca5014a391d17b489fdf7d315e8ac9959741c1f6fcf7adf644276ed11488bc0f88fcfa563198bd78824867d267df204659d

diff --git a/app-backup/snapper/snapper-0.8.9.ebuild 
b/app-backup/snapper/snapper-0.8.9.ebuild
new file mode 100644
index 000..9b77e973fc0
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.9.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd bash-completion-r1
+
+DESCRIPTION="Command-line program for btrfs and lvm snapshot management"
+HOMEPAGE="http://snapper.io/;
+SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+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}
+   dev-libs/libxslt
+   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"
+   eautoreconf
+}
+
+src_configure() {
+   # ext4 code does not work anymore
+   # snapper does not build without btrfs
+   local myeconfargs=(
+   --with-conf="/etc/conf.d"
+   --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
+   keepdir /etc/snapper/configs
+   newconfd data/sysconfig.snapper snapper
+   find "${D}" -name '*.la' -delete || die
+   newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
+}
+
+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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2020-04-17 Thread Yixun Lan
commit: 4a29ee139a69ad284306ee1199864a75246286d7
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Apr 17 15:15:28 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Apr 17 15:17:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a29ee13

app-backup/snapper: version bump, 0.8.7

create /etc/snapper/configs to fix bug #717126

Closes: https://bugs.gentoo.org/717126
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index bc65a1d4748..ccb8ef15eec 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -2,3 +2,4 @@ DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee
 DIST snapper-0.8.4.tar.bz2 594555 BLAKE2B 
b176420be06dea2dca73fafbebb362bb27d9b793868f84466dae020cea9d1c61c7a3896de6e0701d1e924eed8c13b1b11a7bbc3047ca41c9aaee260a438ddce3
 SHA512 
9e3708a2b015470798731e105ab843f21c5273f0f2f4e183afde538ad4998892c4d79996e1963e74d0a09d10b9b3057faed5e2f501a1d9a5a4b1fa36ba88bb7e
 DIST snapper-0.8.5.tar.bz2 595516 BLAKE2B 
4cf59fa5098f91281bae98476b30c21532df5035ee7ed66fd07e279174bd5da902e1e5af845ab92f217146a6c420620ff464c9705fd06b430bbf3566aa9ae484
 SHA512 
496b09f4878cbc82c791f35467735e321fdcbd2bc478fac918394b9f6718b7de5cf719567a317b09e88e9af43f2b8791c4d691b2db33343dfecb01544b809590
 DIST snapper-0.8.6.tar.bz2 607016 BLAKE2B 
3e496fa22b1ecce2079d79caeb530ca1538febcc6bdf04aa0256e5b43bb546ea66436e60eeaae6722bc869c60579bc47c556671c5878dd671c266102516f04bb
 SHA512 
f01a309a8dcfff455bf480ff297108e8ec3603d469d50f08740176e22bc2b8dd211de678fa8ce12c1ccd828348a35c6d347ca51b829d7b8c30b3fbaba4e9e2d9
+DIST snapper-0.8.7.tar.bz2 622381 BLAKE2B 
82d1a9c91beb309e87acfa914b55b2ff5900edc023a5ecd6f2bee6b1a15adb1336656f3f1fffea4a9971aa449b7825750e6c680806d4574faada5bba0a6d14f1
 SHA512 
6fa63c2453f93a724f0ac23d84ff2c5aafc654463e84a4f767bb8a75a0d4fb7ca7314811179d5fefce0df4441298c67b473596aa720d86eeefa43011b727

diff --git a/app-backup/snapper/snapper-0.8.7.ebuild 
b/app-backup/snapper/snapper-0.8.7.ebuild
new file mode 100644
index 000..bcefeb713f1
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd bash-completion-r1
+
+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"
+   --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
+   keepdir /etc/snapper/configs
+   newconfd data/sysconfig.snapper snapper
+   find "${D}" -name '*.la' -delete || die
+   newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
+}
+
+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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2020-04-17 Thread Yixun Lan
commit: c152541d8b6f4c7f19eaf3df6b429a915835b53a
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Apr 17 15:17:17 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Apr 17 15:17:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c152541d

app-backup/snapper: drop old

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest |  2 -
 app-backup/snapper/snapper-0.8.4.ebuild | 77 -
 app-backup/snapper/snapper-0.8.5.ebuild | 77 -
 3 files changed, 156 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index ccb8ef15eec..6758ce8752e 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,5 +1,3 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
-DIST snapper-0.8.4.tar.bz2 594555 BLAKE2B 
b176420be06dea2dca73fafbebb362bb27d9b793868f84466dae020cea9d1c61c7a3896de6e0701d1e924eed8c13b1b11a7bbc3047ca41c9aaee260a438ddce3
 SHA512 
9e3708a2b015470798731e105ab843f21c5273f0f2f4e183afde538ad4998892c4d79996e1963e74d0a09d10b9b3057faed5e2f501a1d9a5a4b1fa36ba88bb7e
-DIST snapper-0.8.5.tar.bz2 595516 BLAKE2B 
4cf59fa5098f91281bae98476b30c21532df5035ee7ed66fd07e279174bd5da902e1e5af845ab92f217146a6c420620ff464c9705fd06b430bbf3566aa9ae484
 SHA512 
496b09f4878cbc82c791f35467735e321fdcbd2bc478fac918394b9f6718b7de5cf719567a317b09e88e9af43f2b8791c4d691b2db33343dfecb01544b809590
 DIST snapper-0.8.6.tar.bz2 607016 BLAKE2B 
3e496fa22b1ecce2079d79caeb530ca1538febcc6bdf04aa0256e5b43bb546ea66436e60eeaae6722bc869c60579bc47c556671c5878dd671c266102516f04bb
 SHA512 
f01a309a8dcfff455bf480ff297108e8ec3603d469d50f08740176e22bc2b8dd211de678fa8ce12c1ccd828348a35c6d347ca51b829d7b8c30b3fbaba4e9e2d9
 DIST snapper-0.8.7.tar.bz2 622381 BLAKE2B 
82d1a9c91beb309e87acfa914b55b2ff5900edc023a5ecd6f2bee6b1a15adb1336656f3f1fffea4a9971aa449b7825750e6c680806d4574faada5bba0a6d14f1
 SHA512 
6fa63c2453f93a724f0ac23d84ff2c5aafc654463e84a4f767bb8a75a0d4fb7ca7314811179d5fefce0df4441298c67b473596aa720d86eeefa43011b727

diff --git a/app-backup/snapper/snapper-0.8.4.ebuild 
b/app-backup/snapper/snapper-0.8.4.ebuild
deleted file mode 100644
index 1fcb91d4236..000
--- a/app-backup/snapper/snapper-0.8.4.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd bash-completion-r1
-
-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"
-   --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
-   newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
-}
-
-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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}

diff --git a/app-backup/snapper/snapper-0.8.5.ebuild 
b/app-backup/snapper/snapper-0.8.5.ebuild
deleted file mode 100644
index 1fcb91d4236..000
--- a/app-backup/snapper/snapper-0.8.5.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2020-02-16 Thread Yixun Lan
commit: 703d409ba4f3b8b105bb626d1046aaa464a822af
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Feb 16 14:22:40 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Feb 16 14:27:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703d409b

app-backup/snapper: version bump, 0.8.6

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 7b174d819c7..bc65a1d4748 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.4.tar.bz2 594555 BLAKE2B 
b176420be06dea2dca73fafbebb362bb27d9b793868f84466dae020cea9d1c61c7a3896de6e0701d1e924eed8c13b1b11a7bbc3047ca41c9aaee260a438ddce3
 SHA512 
9e3708a2b015470798731e105ab843f21c5273f0f2f4e183afde538ad4998892c4d79996e1963e74d0a09d10b9b3057faed5e2f501a1d9a5a4b1fa36ba88bb7e
 DIST snapper-0.8.5.tar.bz2 595516 BLAKE2B 
4cf59fa5098f91281bae98476b30c21532df5035ee7ed66fd07e279174bd5da902e1e5af845ab92f217146a6c420620ff464c9705fd06b430bbf3566aa9ae484
 SHA512 
496b09f4878cbc82c791f35467735e321fdcbd2bc478fac918394b9f6718b7de5cf719567a317b09e88e9af43f2b8791c4d691b2db33343dfecb01544b809590
+DIST snapper-0.8.6.tar.bz2 607016 BLAKE2B 
3e496fa22b1ecce2079d79caeb530ca1538febcc6bdf04aa0256e5b43bb546ea66436e60eeaae6722bc869c60579bc47c556671c5878dd671c266102516f04bb
 SHA512 
f01a309a8dcfff455bf480ff297108e8ec3603d469d50f08740176e22bc2b8dd211de678fa8ce12c1ccd828348a35c6d347ca51b829d7b8c30b3fbaba4e9e2d9

diff --git a/app-backup/snapper/snapper-0.8.6.ebuild 
b/app-backup/snapper/snapper-0.8.6.ebuild
new file mode 100644
index 000..cbaeda59655
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd bash-completion-r1
+
+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
+   newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
+}
+
+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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-12-19 Thread Yixun Lan
commit: 8f9333a09189a9ae5629a3325cd04fe404c529d2
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Dec 20 02:05:52 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Dec 20 02:09:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f9333a0

app-backup/snapper: version bump, 0.8.5

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 157e7ed6130..05c5e18d633 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.3.tar.bz2 592405 BLAKE2B 
7694a6c79e4beaf307801ccd97a6cd1c3c6078e68653e9a5eda3ddcd087ef32f8302d380ee550ac5c7259c7e23ddb15bf9f2d01267d5691fe10e0335d490a258
 SHA512 
409a8464c10905da1407ce3bf68ad1d7df53480da4f8e98e40ef4ee5cb5170bb99c07fabb367510eb2a19744a827dc9a33cf74de05fbb2fc5f22fe3dc4adef6d
 DIST snapper-0.8.4.tar.bz2 594555 BLAKE2B 
b176420be06dea2dca73fafbebb362bb27d9b793868f84466dae020cea9d1c61c7a3896de6e0701d1e924eed8c13b1b11a7bbc3047ca41c9aaee260a438ddce3
 SHA512 
9e3708a2b015470798731e105ab843f21c5273f0f2f4e183afde538ad4998892c4d79996e1963e74d0a09d10b9b3057faed5e2f501a1d9a5a4b1fa36ba88bb7e
+DIST snapper-0.8.5.tar.bz2 595516 BLAKE2B 
4cf59fa5098f91281bae98476b30c21532df5035ee7ed66fd07e279174bd5da902e1e5af845ab92f217146a6c420620ff464c9705fd06b430bbf3566aa9ae484
 SHA512 
496b09f4878cbc82c791f35467735e321fdcbd2bc478fac918394b9f6718b7de5cf719567a317b09e88e9af43f2b8791c4d691b2db33343dfecb01544b809590

diff --git a/app-backup/snapper/snapper-0.8.5.ebuild 
b/app-backup/snapper/snapper-0.8.5.ebuild
new file mode 100644
index 000..90bf21dacc2
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.5.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd bash-completion-r1
+
+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
+   newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
+}
+
+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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-12-19 Thread Yixun Lan
commit: e8c774ed05e311fa7c848b040e5d3d2e992e3283
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Dec 20 02:07:29 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Dec 20 02:09:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c774ed

app-backup/snapper: drop old

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest |  1 -
 app-backup/snapper/snapper-0.8.3.ebuild | 77 -
 2 files changed, 78 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 05c5e18d633..7b174d819c7 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,4 +1,3 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
-DIST snapper-0.8.3.tar.bz2 592405 BLAKE2B 
7694a6c79e4beaf307801ccd97a6cd1c3c6078e68653e9a5eda3ddcd087ef32f8302d380ee550ac5c7259c7e23ddb15bf9f2d01267d5691fe10e0335d490a258
 SHA512 
409a8464c10905da1407ce3bf68ad1d7df53480da4f8e98e40ef4ee5cb5170bb99c07fabb367510eb2a19744a827dc9a33cf74de05fbb2fc5f22fe3dc4adef6d
 DIST snapper-0.8.4.tar.bz2 594555 BLAKE2B 
b176420be06dea2dca73fafbebb362bb27d9b793868f84466dae020cea9d1c61c7a3896de6e0701d1e924eed8c13b1b11a7bbc3047ca41c9aaee260a438ddce3
 SHA512 
9e3708a2b015470798731e105ab843f21c5273f0f2f4e183afde538ad4998892c4d79996e1963e74d0a09d10b9b3057faed5e2f501a1d9a5a4b1fa36ba88bb7e
 DIST snapper-0.8.5.tar.bz2 595516 BLAKE2B 
4cf59fa5098f91281bae98476b30c21532df5035ee7ed66fd07e279174bd5da902e1e5af845ab92f217146a6c420620ff464c9705fd06b430bbf3566aa9ae484
 SHA512 
496b09f4878cbc82c791f35467735e321fdcbd2bc478fac918394b9f6718b7de5cf719567a317b09e88e9af43f2b8791c4d691b2db33343dfecb01544b809590

diff --git a/app-backup/snapper/snapper-0.8.3.ebuild 
b/app-backup/snapper/snapper-0.8.3.ebuild
deleted file mode 100644
index 1ce8e5e1234..000
--- a/app-backup/snapper/snapper-0.8.3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/snapper/files/

2019-10-15 Thread Yixun Lan
commit: 52932ec67c365fa358d893e2af8353aeed186982
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Oct 16 03:22:48 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Oct 16 03:22:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52932ec6

app-backup/snapper: version bump 0.8.4, add bash-completion support

In this version, we also add bash-completion support
But it's rather better to push bash-completion support to upstream,
instead of maintaining it downstream.

thanks 'Xu Weiping' for the contribution

Closes: https://bugs.gentoo.org/697480
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest |   1 +
 app-backup/snapper/files/snapper.bash   | 200 
 app-backup/snapper/snapper-0.8.4.ebuild |  78 +
 3 files changed, 279 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 42fbbd958b9..1aec298782a 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -2,3 +2,4 @@ DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee
 DIST snapper-0.8.1.tar.bz2 591061 BLAKE2B 
5f9ae50469f43e930de4c4479428c94b24441832bd713847c6792ff583fb79badfa341b53cc63abfedb787367b22b715de9f83f9172dec945f7b3071c06137ba
 SHA512 
9fa20311f346de54c4f5d1cabb42dce5c677eaac03b3fac2a6049f408553911f5a968b1920fd014f3318ebb6911f2e6bce06463e976b468927e250e16fe783a0
 DIST snapper-0.8.2.tar.bz2 591558 BLAKE2B 
552c07d1d83e6a8db1e1661b523aeb7164335bb6ebbeb07489325b6d23d8a5def730ac1cf0da06ab65b7a9fc1284d0d05ca0f875bc897504c1bbb45698b40294
 SHA512 
d968490782a47112f7ba2474555cafe450833cf055734186c79991dd836f9c5d8d669a6c65dd29b05da298e46f65e0ac5c4a1dae3b548a01dbf1b11d7e00c462
 DIST snapper-0.8.3.tar.bz2 592405 BLAKE2B 
7694a6c79e4beaf307801ccd97a6cd1c3c6078e68653e9a5eda3ddcd087ef32f8302d380ee550ac5c7259c7e23ddb15bf9f2d01267d5691fe10e0335d490a258
 SHA512 
409a8464c10905da1407ce3bf68ad1d7df53480da4f8e98e40ef4ee5cb5170bb99c07fabb367510eb2a19744a827dc9a33cf74de05fbb2fc5f22fe3dc4adef6d
+DIST snapper-0.8.4.tar.bz2 594555 BLAKE2B 
b176420be06dea2dca73fafbebb362bb27d9b793868f84466dae020cea9d1c61c7a3896de6e0701d1e924eed8c13b1b11a7bbc3047ca41c9aaee260a438ddce3
 SHA512 
9e3708a2b015470798731e105ab843f21c5273f0f2f4e183afde538ad4998892c4d79996e1963e74d0a09d10b9b3057faed5e2f501a1d9a5a4b1fa36ba88bb7e

diff --git a/app-backup/snapper/files/snapper.bash 
b/app-backup/snapper/files/snapper.bash
new file mode 100644
index 000..e5ca4134342
--- /dev/null
+++ b/app-backup/snapper/files/snapper.bash
@@ -0,0 +1,200 @@
+_snapper()
+{
+local configdir="/etc/snapper/configs"
+local cur prev words cword
+_init_completion || return
+
+local GLOGAL_SNAPPER_OPTIONS='
+-q --quiet
+-v --verbose
+--utc
+--iso
+-t --table-style
+-c --config
+-r --root
+--no-dbus
+--version
+--help
+'
+
+# see if the user selected a command already
+local COMMANDS=(
+"list-configs" "create-config" "delete-config" "set-config"
+"list" "ls"
+"create" "modify" "delete" "remove" "rm"
+"mount" "umount"
+"status" "diff" "xadiff"
+"undochange" "rollback"
+"setup-quota"
+"cleanup")
+
+local command i
+for (( i=0; i < ${#words[@]}-1; i++ )); do
+if [[ ${COMMANDS[@]} =~ ${words[i]} ]]; then
+command=${words[i]}
+break
+fi
+done
+
+case $prev in
+--version|--help)
+return 0
+;;
+esac
+
+# supported options per command
+if [[ "$cur" == -* ]]; then
+case $command in
+create-config)
+COMPREPLY=( $( compgen -W '--fstype -f
+  --templete -t' -- "$cur" ) )
+return 0
+;;
+list|ls)
+COMPREPLY=( $( compgen -W '--type -t
+  --all-configs -a' -- "$cur" ) )
+return 0
+;;
+create)
+COMPREPLY=( $( compgen -W '--type -t
+  --pre-number
+  --print-number -p
+  --description -d
+  --cleanup-algorithm -c
+  --userdata -u
+  --command' -- "$cur" ) )
+return 0
+;;
+modify)
+COMPREPLY=( $( compgen -W '--description -d
+  --cleanup-algorithm -c
+  --userdata -u' -- "$cur" ) )
+return 0
+;;
+delete|remove|rm)
+COMPREPLY=( $( compgen -W '--sync -s
+  ' -- "$cur" ) )
+return 0
+;;
+status)
+COMPREPLY=( $( compgen -W '--output -o
+' -- "$cur" ) )
+return 0
+;;
+ 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-10-15 Thread Yixun Lan
commit: b0e706a8df35119cd6698a0fff8d061adad06f3d
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Oct 16 03:25:08 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Oct 16 03:25:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e706a8

app-backup/snapper: drop old version

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest |  2 -
 app-backup/snapper/snapper-0.8.1.ebuild | 78 -
 app-backup/snapper/snapper-0.8.2.ebuild | 77 
 3 files changed, 157 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 1aec298782a..157e7ed6130 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,5 +1,3 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
-DIST snapper-0.8.1.tar.bz2 591061 BLAKE2B 
5f9ae50469f43e930de4c4479428c94b24441832bd713847c6792ff583fb79badfa341b53cc63abfedb787367b22b715de9f83f9172dec945f7b3071c06137ba
 SHA512 
9fa20311f346de54c4f5d1cabb42dce5c677eaac03b3fac2a6049f408553911f5a968b1920fd014f3318ebb6911f2e6bce06463e976b468927e250e16fe783a0
-DIST snapper-0.8.2.tar.bz2 591558 BLAKE2B 
552c07d1d83e6a8db1e1661b523aeb7164335bb6ebbeb07489325b6d23d8a5def730ac1cf0da06ab65b7a9fc1284d0d05ca0f875bc897504c1bbb45698b40294
 SHA512 
d968490782a47112f7ba2474555cafe450833cf055734186c79991dd836f9c5d8d669a6c65dd29b05da298e46f65e0ac5c4a1dae3b548a01dbf1b11d7e00c462
 DIST snapper-0.8.3.tar.bz2 592405 BLAKE2B 
7694a6c79e4beaf307801ccd97a6cd1c3c6078e68653e9a5eda3ddcd087ef32f8302d380ee550ac5c7259c7e23ddb15bf9f2d01267d5691fe10e0335d490a258
 SHA512 
409a8464c10905da1407ce3bf68ad1d7df53480da4f8e98e40ef4ee5cb5170bb99c07fabb367510eb2a19744a827dc9a33cf74de05fbb2fc5f22fe3dc4adef6d
 DIST snapper-0.8.4.tar.bz2 594555 BLAKE2B 
b176420be06dea2dca73fafbebb362bb27d9b793868f84466dae020cea9d1c61c7a3896de6e0701d1e924eed8c13b1b11a7bbc3047ca41c9aaee260a438ddce3
 SHA512 
9e3708a2b015470798731e105ab843f21c5273f0f2f4e183afde538ad4998892c4d79996e1963e74d0a09d10b9b3057faed5e2f501a1d9a5a4b1fa36ba88bb7e

diff --git a/app-backup/snapper/snapper-0.8.1.ebuild 
b/app-backup/snapper/snapper-0.8.1.ebuild
deleted file mode 100644
index db9c8e6fee6..000
--- a/app-backup/snapper/snapper-0.8.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# 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
-   "${FILESDIR}"/${PN}-0.5.6-swap.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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}

diff --git a/app-backup/snapper/snapper-0.8.2.ebuild 
b/app-backup/snapper/snapper-0.8.2.ebuild
deleted file mode 100644
index 1ce8e5e1234..000
--- a/app-backup/snapper/snapper-0.8.2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-04-16 Thread Yixun Lan
commit: 325c2290126db60dd9fadbfca6bb2450e7271e07
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Apr 16 06:43:38 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Apr 16 06:43:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325c2290

app-backup/snapper: version bump 0.8.3

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 4941aad11da..42fbbd958b9 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.1.tar.bz2 591061 BLAKE2B 
5f9ae50469f43e930de4c4479428c94b24441832bd713847c6792ff583fb79badfa341b53cc63abfedb787367b22b715de9f83f9172dec945f7b3071c06137ba
 SHA512 
9fa20311f346de54c4f5d1cabb42dce5c677eaac03b3fac2a6049f408553911f5a968b1920fd014f3318ebb6911f2e6bce06463e976b468927e250e16fe783a0
 DIST snapper-0.8.2.tar.bz2 591558 BLAKE2B 
552c07d1d83e6a8db1e1661b523aeb7164335bb6ebbeb07489325b6d23d8a5def730ac1cf0da06ab65b7a9fc1284d0d05ca0f875bc897504c1bbb45698b40294
 SHA512 
d968490782a47112f7ba2474555cafe450833cf055734186c79991dd836f9c5d8d669a6c65dd29b05da298e46f65e0ac5c4a1dae3b548a01dbf1b11d7e00c462
+DIST snapper-0.8.3.tar.bz2 592405 BLAKE2B 
7694a6c79e4beaf307801ccd97a6cd1c3c6078e68653e9a5eda3ddcd087ef32f8302d380ee550ac5c7259c7e23ddb15bf9f2d01267d5691fe10e0335d490a258
 SHA512 
409a8464c10905da1407ce3bf68ad1d7df53480da4f8e98e40ef4ee5cb5170bb99c07fabb367510eb2a19744a827dc9a33cf74de05fbb2fc5f22fe3dc4adef6d

diff --git a/app-backup/snapper/snapper-0.8.3.ebuild 
b/app-backup/snapper/snapper-0.8.3.ebuild
new file mode 100644
index 000..1ce8e5e1234
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-02-11 Thread Yixun Lan
commit: 346ee121f5659aa58d5f5f47299173f11b5e781c
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Feb 12 02:08:02 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Feb 12 02:15:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346ee121

app-backup/snapper: drop old

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/snapper-0.5.6.ebuild | 77 -
 1 file changed, 77 deletions(-)

diff --git a/app-backup/snapper/snapper-0.5.6.ebuild 
b/app-backup/snapper/snapper-0.5.6.ebuild
deleted file mode 100644
index c2bd86dbdcb..000
--- a/app-backup/snapper/snapper-0.5.6.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# 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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-02-11 Thread Yixun Lan
commit: c3130f56d1a579d28d9d268e6224c1128a9155c4
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Feb 12 02:06:11 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Feb 12 02:15:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3130f56

app-backup/snapper: version bump 0.8.2

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index d1c2368a868..4941aad11da 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 DIST snapper-0.5.6.tar.bz2 580047 BLAKE2B 
3b945acbf734db1925dad5515323a64a2c08ee8226a593025f9160e0d1b1140734b2b498d036256946159900b50fec8567147dc0a974c281be747e977bcbd05b
 SHA512 
392427d097cbe221bf7ca0ae20bc065dffaa4d0017ed750c41748d71128fc7ce054bb4425d6dbed7308a530df71815f80f56e60d72aab17ef3e0a16f3b3ba47e
 DIST snapper-0.8.1.tar.bz2 591061 BLAKE2B 
5f9ae50469f43e930de4c4479428c94b24441832bd713847c6792ff583fb79badfa341b53cc63abfedb787367b22b715de9f83f9172dec945f7b3071c06137ba
 SHA512 
9fa20311f346de54c4f5d1cabb42dce5c677eaac03b3fac2a6049f408553911f5a968b1920fd014f3318ebb6911f2e6bce06463e976b468927e250e16fe783a0
+DIST snapper-0.8.2.tar.bz2 591558 BLAKE2B 
552c07d1d83e6a8db1e1661b523aeb7164335bb6ebbeb07489325b6d23d8a5def730ac1cf0da06ab65b7a9fc1284d0d05ca0f875bc897504c1bbb45698b40294
 SHA512 
d968490782a47112f7ba2474555cafe450833cf055734186c79991dd836f9c5d8d669a6c65dd29b05da298e46f65e0ac5c4a1dae3b548a01dbf1b11d7e00c462

diff --git a/app-backup/snapper/snapper-0.8.2.ebuild 
b/app-backup/snapper/snapper-0.8.2.ebuild
new file mode 100644
index 000..1ce8e5e1234
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/files/

2019-01-21 Thread Patrice Clement
commit: aeea234051ab5973015d90a44633f18e1d2c52bb
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jan 13 13:59:02 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Jan 21 22:51:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeea2340

app-backup/snapper: remove unused patch.

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10820
Signed-off-by: Patrice Clement  gentoo.org>

 app-backup/snapper/files/snapper-0.5.0-gcc6.patch | 21 -
 1 file changed, 21 deletions(-)

diff --git a/app-backup/snapper/files/snapper-0.5.0-gcc6.patch 
b/app-backup/snapper/files/snapper-0.5.0-gcc6.patch
deleted file mode 100644
index 2720ae57f71..000
--- a/app-backup/snapper/files/snapper-0.5.0-gcc6.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 2e3812d2c1d1f54861fb79f5c2b0197de96a00a3 Mon Sep 17 00:00:00 2001
-From: Arvin Schnell 
-Date: Wed, 6 Sep 2017 09:49:38 +0200
-Subject: [PATCH] - added include statement
-

- client/cleanup.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/client/cleanup.cc b/client/cleanup.cc
-index 0dbfc03..d7f2f68 100644
 a/client/cleanup.cc
-+++ b/client/cleanup.cc
-@@ -21,6 +21,7 @@
-  */
- 
- 
-+#include 
- #include 
- 
- #include "dbus/DBusMessage.h"



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-01-17 Thread Mikle Kolyada
commit: 417268d33ce8326d52cd02207bcd301e28a35f04
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jan 17 21:21:00 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jan 17 21:21:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417268d3

app-backup/snapper: amd64 stable wrt bug #674042

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-backup/snapper/snapper-0.5.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.5.6-r1.ebuild 
b/app-backup/snapper/snapper-0.5.6-r1.ebuild
index 872cd15f247..9401b250071 100644
--- a/app-backup/snapper/snapper-0.5.6-r1.ebuild
+++ b/app-backup/snapper/snapper-0.5.6-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="lvm pam xattr"
 
 RDEPEND="dev-libs/boost:=[threads]



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2019-01-02 Thread Thomas Deutschmann
commit: 944878acd1600df79ff7642eb7958993409eb6e3
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Jan  2 19:00:59 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Jan  2 19:01:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=944878ac

app-backup/snapper: x86 stable (bug #674042)

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-backup/snapper/snapper-0.5.6-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-backup/snapper/snapper-0.5.6-r1.ebuild 
b/app-backup/snapper/snapper-0.5.6-r1.ebuild
index 27233b7377e..872cd15f247 100644
--- a/app-backup/snapper/snapper-0.5.6-r1.ebuild
+++ b/app-backup/snapper/snapper-0.5.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="lvm pam xattr"
 
 RDEPEND="dev-libs/boost:=[threads]



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-12-16 Thread Yixun Lan
commit: 4f7526acffa207c8ce8569fead750600813ad367
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 17 07:20:58 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 17 07:38:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f7526ac

app-backup/snapper: version bump 0.8.1

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 85ced363da5..cbe50e52b3c 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 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
+DIST snapper-0.8.1.tar.bz2 591061 BLAKE2B 
5f9ae50469f43e930de4c4479428c94b24441832bd713847c6792ff583fb79badfa341b53cc63abfedb787367b22b715de9f83f9172dec945f7b3071c06137ba
 SHA512 
9fa20311f346de54c4f5d1cabb42dce5c677eaac03b3fac2a6049f408553911f5a968b1920fd014f3318ebb6911f2e6bce06463e976b468927e250e16fe783a0

diff --git a/app-backup/snapper/snapper-0.8.1.ebuild 
b/app-backup/snapper/snapper-0.8.1.ebuild
new file mode 100644
index 000..db9c8e6fee6
--- /dev/null
+++ b/app-backup/snapper/snapper-0.8.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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
+   "${FILESDIR}"/${PN}-0.5.6-swap.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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-12-16 Thread Yixun Lan
commit: 24f59f00bd3c66ca6a59aff2228c3939a19d8ebd
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 17 07:37:47 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 17 07:38:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f59f00

app-backup/snapper: drop old

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/Manifest |  2 -
 app-backup/snapper/metadata.xml |  2 -
 app-backup/snapper/snapper-0.5.0.ebuild | 74 ---
 app-backup/snapper/snapper-0.5.4.ebuild | 77 -
 4 files changed, 155 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index cbe50e52b3c..d1c2368a868 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,4 +1,2 @@
-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
 DIST snapper-0.8.1.tar.bz2 591061 BLAKE2B 
5f9ae50469f43e930de4c4479428c94b24441832bd713847c6792ff583fb79badfa341b53cc63abfedb787367b22b715de9f83f9172dec945f7b3071c06137ba
 SHA512 
9fa20311f346de54c4f5d1cabb42dce5c677eaac03b3fac2a6049f408553911f5a968b1920fd014f3318ebb6911f2e6bce06463e976b468927e250e16fe783a0

diff --git a/app-backup/snapper/metadata.xml b/app-backup/snapper/metadata.xml
index 4b63f78f603..1aa9b1e774a 100644
--- a/app-backup/snapper/metadata.xml
+++ b/app-backup/snapper/metadata.xml
@@ -32,8 +32,6 @@
Add support for getting and setting POSIX extended attributes, 
through
sys-apps/attr.

-   Include Btrfs support 
sys-fs/btrfs-progs
-   Include Ext4 support 
sys-fs/e2fsprogs
Enable LVM thinprovisioned snapshots support 
sys-fs/lvm2

 

diff --git a/app-backup/snapper/snapper-0.5.0.ebuild 
b/app-backup/snapper/snapper-0.5.0.ebuild
deleted file mode 100644
index 1b4ef13115e..000
--- a/app-backup/snapper/snapper-0.5.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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
-   epatch "${FILESDIR}/${P}"-gcc6.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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}

diff --git a/app-backup/snapper/snapper-0.5.4.ebuild 
b/app-backup/snapper/snapper-0.5.4.ebuild
deleted file mode 100644
index 0615011a39c..000

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/files/, app-backup/snapper/

2018-12-16 Thread Yixun Lan
commit: 50a4af11e412a75cdf3240970b836b4850c9896d
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 17 07:18:19 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 17 07:38:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a4af11

app-backup/snapper: fix swap() err

workaround swap() err with btrfs-4.19

Closes: https://bugs.gentoo.org/670952
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 app-backup/snapper/files/snapper-0.5.6-swap.patch | 36 +++
 app-backup/snapper/snapper-0.5.6-r1.ebuild| 78 +++
 2 files changed, 114 insertions(+)

diff --git a/app-backup/snapper/files/snapper-0.5.6-swap.patch 
b/app-backup/snapper/files/snapper-0.5.6-swap.patch
new file mode 100644
index 000..aa24330d730
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.5.6-swap.patch
@@ -0,0 +1,36 @@
+commit 22bc1d808ebb6c3958e8231a36b73cd45a7f2c30
+Author: Spencer Janssen 
+Date:   Mon Dec 3 17:33:49 2018 -0600
+
+Work around btrfs v4.19
+
+Addresses #459
+
+diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc
+index cb9f7b3..c05557b 100644
+--- a/snapper/Btrfs.cc
 b/snapper/Btrfs.cc
+@@ -41,6 +41,9 @@
+ #include 
+ #include 
+ #include 
++#ifdef swap
++#undef swap
++#endif
+ #include 
+ #include 
+ #endif
+diff --git a/snapper/BtrfsUtils.cc b/snapper/BtrfsUtils.cc
+index bada3f8..9edc325 100644
+--- a/snapper/BtrfsUtils.cc
 b/snapper/BtrfsUtils.cc
+@@ -34,6 +34,9 @@
+ #ifdef HAVE_LIBBTRFS
+ #include 
+ #include 
++#ifdef swap
++#undef swap
++#endif
+ #endif
+ #include 
+ #include 

diff --git a/app-backup/snapper/snapper-0.5.6-r1.ebuild 
b/app-backup/snapper/snapper-0.5.6-r1.ebuild
new file mode 100644
index 000..27233b7377e
--- /dev/null
+++ b/app-backup/snapper/snapper-0.5.6-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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
+   "${FILESDIR}"/${P}-swap.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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-10-12 Thread Mikle Kolyada
commit: 3fd81ece4994300beb219894a9ed54fb90bd
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Oct 12 17:14:09 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Oct 12 17:14:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd81ece

app-backup/snapper: amd64 stable wrt bug #660680

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-backup/snapper/snapper-0.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-0.5.6.ebuild 
b/app-backup/snapper/snapper-0.5.6.ebuild
index 40cbc81f0c7..c2bd86dbdcb 100644
--- a/app-backup/snapper/snapper-0.5.6.ebuild
+++ b/app-backup/snapper/snapper-0.5.6.ebuild
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="lvm pam xattr"
 
 RDEPEND="dev-libs/boost:=[threads]



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-10-09 Thread Thomas Deutschmann
commit: ffdbcef25c9b47cf654eb0238aaa6ca45d915853
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct 10 03:01:21 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct 10 03:01:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffdbcef2

app-backup/snapper: x86 stable (bug #660680)

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-backup/snapper/snapper-0.5.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-backup/snapper/snapper-0.5.6.ebuild 
b/app-backup/snapper/snapper-0.5.6.ebuild
index 0615011a39c..40cbc81f0c7 100644
--- a/app-backup/snapper/snapper-0.5.6.ebuild
+++ b/app-backup/snapper/snapper-0.5.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="lvm pam xattr"
 
 RDEPEND="dev-libs/boost:=[threads]



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-08-12 Thread Yixun Lan
commit: 51336975dc2ff5a8e119f96a917bf0a26afa1a18
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Aug 13 03:49:39 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Aug 13 03:51:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51336975

app-backup/snapper: drop old & live ebuilds

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-backup/snapper/Manifest|  3 --
 app-backup/snapper/snapper-0.2.8-r1.ebuild | 72 --
 app-backup/snapper/snapper-0.3.3.ebuild| 72 --
 app-backup/snapper/snapper-0.4.1.ebuild| 72 --
 app-backup/snapper/snapper-.ebuild | 71 -
 5 files changed, 290 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index b0274984547..85ced363da5 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,6 +1,3 @@
-DIST snapper-0.2.8.tar.bz2 475053 BLAKE2B 
f6e4046f572ce70bc811e99bfe53d043ab2ca381219113d5c871b3b85a33b9bf1e28ea4e62a7410335788d4f6dea90b16ed63c7eb681d3e6c5ec4f62c827bc28
 SHA512 
ce1529062943c34b9de2eafb62c6e28b39bda6f4afc23ec5df5ddd42f213cbaf0d77d94d11d982285114ceecd27bd48206436119af84b2769ed4792aab01c75d
-DIST snapper-0.3.3.tar.bz2 545800 BLAKE2B 
dca7b6912beb015335324144ca60e1f4667e96cb3d057ced4c68b7bc66a4895f2b3c068582137cd40fd5a267f3178e462029428154c860f67846163adba05c5d
 SHA512 
f24f6d121f9a613549899b7bf3751f6d9c101db716d7bc3858a2add9f90e08861fc46927ce0130efc232240a91e24934820d0c2b1b65f206ac80d04cdaaec39d
-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.2.8-r1.ebuild 
b/app-backup/snapper/snapper-0.2.8-r1.ebuild
deleted file mode 100644
index 9b4de6eddcc..000
--- a/app-backup/snapper/snapper-0.2.8-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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 README )
-
-src_prepare() {
-   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 "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}

diff --git 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-08-12 Thread Yixun Lan
commit: 9cfcaf5a99d47bdd3aca67ba7792e0a028b6
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Aug 13 03:41:25 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Aug 13 03:51:59 2018 +
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 000..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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-03-25 Thread Michał Górny
commit: edcb856801e88470339d0954fd87bade95a1a73b
Author: Michael Vetter  iodoru  org>
AuthorDate: Fri Mar 16 10:21:37 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 25 19:10:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edcb8568

app-backup/snapper: remove ext4, force btrfs

Snapper's ext4 code does not work anymore.
So we need to compile with --disable-ext4 by default.

Also snapper does not seem to work without btrfs enabled, so we need to
enable it by default.

Closes: https://github.com/gentoo/gentoo/pull/7473
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-backup/snapper/snapper-0.5.4.ebuild | 17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/app-backup/snapper/snapper-0.5.4.ebuild 
b/app-backup/snapper/snapper-0.5.4.ebuild
index 08667a65c08..0615011a39c 100644
--- a/app-backup/snapper/snapper-0.5.4.ebuild
+++ b/app-backup/snapper/snapper-0.5.4.ebuild
@@ -1,18 +1,18 @@
-# Copyright 1999-2017 Gentoo Foundation
+# 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 ext4 snapshot management"
+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="+btrfs ext4 lvm pam xattr"
+IUSE="lvm pam xattr"
 
 RDEPEND="dev-libs/boost:=[threads]
dev-libs/libxml2
@@ -20,10 +20,9 @@ RDEPEND="dev-libs/boost:=[threads]
sys-apps/acl
sys-apps/dbus
sys-apps/util-linux
+   >=sys-fs/btrfs-progs-3.17.1
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 )"
@@ -32,8 +31,6 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
 
-REQUIRED_USE="|| ( btrfs ext4 lvm )"
-
 PATCHES=(
"${FILESDIR}"/cron-confd.patch
 )
@@ -47,13 +44,15 @@ src_prepare() {
 }
 
 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
-   $(use_enable btrfs)
-   $(use_enable ext4)
+   --disable-ext4
+   --enable-btrfs
$(use_enable lvm)
$(use_enable pam)
$(use_enable xattr xattrs)



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-03-13 Thread Andreas Sturmlechner
commit: 643873a7078f0223537e940a0cd1e1f3d63c117f
Author: Luigi 'Comio' Mantellini  gmail  com>
AuthorDate: Mon Mar  5 11:03:21 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Mar 13 22:36:00 2018 +
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"



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-03-13 Thread Patrice Clement
commit: 8fdffb35b70e20dd7f52b66fe255ceb982483d12
Author: Michael Vetter  iodoru  org>
AuthorDate: Sun Mar 11 22:27:10 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Mar 13 21:35:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fdffb35

app-backup/snapper: version bump to 0.5.4.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7426

 app-backup/snapper/Manifest |  1 +
 app-backup/snapper/snapper-0.5.4.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index e47a2ff9817..1b9e00e37ca 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -2,3 +2,4 @@ DIST snapper-0.2.8.tar.bz2 475053 BLAKE2B 
f6e4046f572ce70bc811e99bfe53d043ab2ca3
 DIST snapper-0.3.3.tar.bz2 545800 BLAKE2B 
dca7b6912beb015335324144ca60e1f4667e96cb3d057ced4c68b7bc66a4895f2b3c068582137cd40fd5a267f3178e462029428154c860f67846163adba05c5d
 SHA512 
f24f6d121f9a613549899b7bf3751f6d9c101db716d7bc3858a2add9f90e08861fc46927ce0130efc232240a91e24934820d0c2b1b65f206ac80d04cdaaec39d
 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

diff --git a/app-backup/snapper/snapper-0.5.4.ebuild 
b/app-backup/snapper/snapper-0.5.4.ebuild
new file mode 100644
index 000..dfc07db3105
--- /dev/null
+++ b/app-backup/snapper/snapper-0.5.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 )"
+
+PATCHES=(
+   "${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
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2018-02-11 Thread Michał Górny
commit: e12c949536d86b0b9c64906bd079747bfa204226
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 11 09:54:51 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 11 10:01:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12c9495

app-backup/snapper: Remove useless maintainer 

Remove useless/redundant maintainer . It does not benefit
bug wrangling, and only wastes developer's time on reading it. Few tips:

- assignee/CC is implied by ordering, there is no reason to repeat it,
- we know that maintainer is maintainer (la la la la la),
- most of adjectives for maintainer are of no value and/or are obvious.

 app-backup/snapper/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app-backup/snapper/metadata.xml b/app-backup/snapper/metadata.xml
index bbcc8979dd2..4b63f78f603 100644
--- a/app-backup/snapper/metadata.xml
+++ b/app-backup/snapper/metadata.xml
@@ -9,12 +9,10 @@

past...@gmail.com
Dainius Masiliūnas (GreatEmerald)
-   Proxied maintainer; set to assignee in all 
bugs


d...@gentoo.org
Yixun Lan
-   co-maintainer, CC bugs


proxy-ma...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/, app-backup/genbackupdata/, app-backup/duplicity/, ...

2017-12-09 Thread Michał Górny
commit: 56c10e554bbc26f6f1eabc079691a79afe902671
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 08:35:44 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 08:36:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c10e55

app-backup/*: Update Manifest hashes

 app-backup/amanda/Manifest  | 14 +++---
 app-backup/attic/Manifest   |  2 +-
 app-backup/backintime/Manifest  |  4 +-
 app-backup/backup-manager/Manifest  |  6 +--
 app-backup/backupninja/Manifest |  2 +-
 app-backup/backuppc/Manifest|  2 +-
 app-backup/bacula/Manifest  | 12 ++---
 app-backup/bareos/Manifest  | 10 ++--
 app-backup/borgweb/Manifest |  2 +-
 app-backup/btrbk/Manifest   |  6 +--
 app-backup/bup/Manifest |  6 +--
 app-backup/burp/Manifest|  8 ++--
 app-backup/buttersink/Manifest  |  2 +-
 app-backup/ccollect/Manifest|  2 +-
 app-backup/cdbackup/Manifest|  2 +-
 app-backup/cdbkup/Manifest  |  2 +-
 app-backup/cpdup/Manifest   |  2 +-
 app-backup/dar/Manifest |  4 +-
 app-backup/deja-dup/Manifest|  2 +-
 app-backup/dirvish/Manifest |  2 +-
 app-backup/duplicity/Manifest   | 12 ++---
 app-backup/duply/Manifest   | 12 ++---
 app-backup/fsarchiver/Manifest  |  4 +-
 app-backup/genbackupdata/Manifest   |  2 +-
 app-backup/hdup/Manifest|  2 +-
 app-backup/holland-backup-example/Manifest  |  2 +-
 app-backup/holland-backup-mysql-lvm/Manifest|  2 +-
 app-backup/holland-backup-mysqldump/Manifest|  2 +-
 app-backup/holland-backup-mysqlhotcopy/Manifest |  2 +-
 app-backup/holland-backup-pgdump/Manifest   |  2 +-
 app-backup/holland-backup-random/Manifest   |  2 +-
 app-backup/holland-backup-sqlite/Manifest   |  2 +-
 app-backup/holland-lib-common/Manifest  |  2 +-
 app-backup/holland-lib-lvm/Manifest |  2 +-
 app-backup/holland-lib-mysql/Manifest   |  2 +-
 app-backup/holland/Manifest |  2 +-
 app-backup/kbackup/Manifest |  2 +-
 app-backup/kfoldersync/Manifest |  2 +-
 app-backup/luckybackup/Manifest |  2 +-
 app-backup/mirdir/Manifest  |  2 +-
 app-backup/mylvmbackup/Manifest |  2 +-
 app-backup/obnam/Manifest   |  6 +--
 app-backup/pdumpfs/Manifest |  2 +-
 app-backup/qt4-fsarchiver/Manifest  |  4 +-
 app-backup/rdedup/Manifest  | 64 -
 app-backup/rdiff-backup/Manifest|  2 +-
 app-backup/rdumpfs/Manifest |  2 +-
 app-backup/rdup/Manifest|  2 +-
 app-backup/rear/Manifest|  6 +--
 app-backup/reoback/Manifest |  2 +-
 app-backup/rsnapshot/Manifest   |  6 +--
 app-backup/sarab/Manifest   |  2 +-
 app-backup/simplebackup/Manifest|  2 +-
 app-backup/snapper/Manifest |  8 ++--
 app-backup/spideroak-bin/Manifest   |  4 +-
 app-backup/tarsnap/Manifest |  4 +-
 app-backup/tob/Manifest |  2 +-
 app-backup/tsm/Manifest |  2 +-
 app-backup/untangle-https-backup/Manifest   |  2 +-
 app-backup/vzdump/Manifest  |  2 +-
 app-backup/zbackup/Manifest |  2 +-
 61 files changed, 141 insertions(+), 141 deletions(-)

diff --git a/app-backup/amanda/Manifest b/app-backup/amanda/Manifest
index 9deacf3ccff..b2a1971bce9 100644
--- a/app-backup/amanda/Manifest
+++ b/app-backup/amanda/Manifest
@@ -1,8 +1,8 @@
-DIST amanda-3.3.9.tar.gz 4673301 SHA256 
2520b95ca96f1d521d582b7c94bd631486e7029eda1de8e1887d74b323549a41 SHA512 
345670a20cff335453e8dcbf457d1fcdb9f266e4a03d729c2b1ba762f4fac323de4a87713d0fd54c11ca244a08dc97fb8c641625f7fa81cb241b3c17748b1b7e
 WHIRLPOOL 
e149ab7dbc30cf3585e41d9fb338dd96ab4dd440e31723be51b8ccc9e5841f8dda31d3b89418474e31c7c2498f40177c646f03713c256a4d9341152e2ce2c8e4
-DIST amanda-3.4.1.tar.gz 5338575 SHA256 
1f69e9bdae774ac2394297dd9d7f98ccbce44ca9199317ada764ca173909d2ac SHA512 
245bf334e36fe8b4361d9fc27ea7e7ef5bd2ecec74719caa16cc94d1ebb3abbef058e28d9afd85851654aaae0984531593a35c079d1ba4aed0fc5177e907ec16
 WHIRLPOOL 
b9608456f28fb35137276f16ec24d79ae397a44450b42ec4fa28256763798dee623ab560ba0db147ff41d2abc57810e2318ae64741ea0a054a8ff853f4ad9c59
-DIST amanda-3.4.2.tar.gz 5353734 SHA256 
175c6a2ef57fe480ddeeefc920a93c8d1cde4111eec76d76e088101a53eeafac SHA512 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/files/, app-backup/snapper/

2017-09-21 Thread Andreas Hüttel
commit: 502172039b109f54f097d3b8edda6d741bb0367f
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Thu Sep 21 20:59:30 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Thu Sep 21 21:00:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50217203

app-backup/snapper: Add build fix for gcc-6, bug 595552

Closes: https://bugs.gentoo.org/595552
Package-Manager: Portage-2.3.10, Repoman-2.3.3

 app-backup/snapper/files/snapper-0.5.0-gcc6.patch | 21 +
 app-backup/snapper/snapper-0.5.0.ebuild   |  1 +
 2 files changed, 22 insertions(+)

diff --git a/app-backup/snapper/files/snapper-0.5.0-gcc6.patch 
b/app-backup/snapper/files/snapper-0.5.0-gcc6.patch
new file mode 100644
index 000..2720ae57f71
--- /dev/null
+++ b/app-backup/snapper/files/snapper-0.5.0-gcc6.patch
@@ -0,0 +1,21 @@
+From 2e3812d2c1d1f54861fb79f5c2b0197de96a00a3 Mon Sep 17 00:00:00 2001
+From: Arvin Schnell 
+Date: Wed, 6 Sep 2017 09:49:38 +0200
+Subject: [PATCH] - added include statement
+
+---
+ client/cleanup.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/client/cleanup.cc b/client/cleanup.cc
+index 0dbfc03..d7f2f68 100644
+--- a/client/cleanup.cc
 b/client/cleanup.cc
+@@ -21,6 +21,7 @@
+  */
+ 
+ 
++#include 
+ #include 
+ 
+ #include "dbus/DBusMessage.h"

diff --git a/app-backup/snapper/snapper-0.5.0.ebuild 
b/app-backup/snapper/snapper-0.5.0.ebuild
index 9d1e8fe82a9..1b4ef13115e 100644
--- a/app-backup/snapper/snapper-0.5.0.ebuild
+++ b/app-backup/snapper/snapper-0.5.0.ebuild
@@ -39,6 +39,7 @@ DOCS=( AUTHORS )
 src_prepare() {
default
epatch "${FILESDIR}"/cron-confd.patch
+   epatch "${FILESDIR}/${P}"-gcc6.patch
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2017-05-23 Thread Yixun Lan
commit: e42644f237f6be7dbb7f6098f75ccec1a0e9db0d
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue May 23 09:01:29 2017 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue May 23 09:06:43 2017 +
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 
864df5b8c3746aefdd1349a80cc045eb707b0dd483cab198842ebca2707d96f7ed216d6f6df424c52ca9f11d8ff9fd0c7f025a6226501bc787ea248ce046

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 000..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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2016-12-28 Thread Yixun Lan
commit: 7257a9c2a89d53a26e40a068b91fdf29b23acfac
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Dec 28 09:14:01 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 28 09:14:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7257a9c2

app-backup/snapper: version bump 0.4.1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-backup/snapper/Manifest   | 2 +-
 app-backup/snapper/{snapper-0.4.0.ebuild => snapper-0.4.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 1324361..20b73d6 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,3 @@
 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.0.tar.bz2 570614 SHA256 
3818e123c29ffb1e3c62104c7623643cdc1fcab9494ba2c7e71825fbf68f6c77 SHA512 
e4e75b31932309fd4cd3abc462826414f727ae5eec4fd79922d34a6fecd80e3e7bd5d8da4d3e5ac6ede021a21e68cb2ca127559567e8089b9d4636b6e6b61711
 WHIRLPOOL 
7799aba8e26a46d333d801f1733299ca68161a465702a7666bc68780de773f265bfcddc62126c1c703fde21af8052c878ddd4a87a662f5ad48c5230939a16bc5
+DIST snapper-0.4.1.tar.bz2 570673 SHA256 
db9cce7f61ed1197d2663dfca444d313b05d7fb2d50af5ab468c7bdba6dd660f SHA512 
23d12a4685039ce629333854bc3e8a90a524bf1207590102ccfbc358473e7bef9ca6a723d2bc8a2f0f7466c4b34dce724b806d24762ae54b26292e730a10a70c
 WHIRLPOOL 
7f6100bc2989c931a4d95dbca3bbb6d3b6b09e3f98a9d4f1121182ef8541b1b20484c6e6591568fba1cf4bdc9045879b50dbc38438ea3336fc387ed937f1bab8

diff --git a/app-backup/snapper/snapper-0.4.0.ebuild 
b/app-backup/snapper/snapper-0.4.1.ebuild
similarity index 100%
rename from app-backup/snapper/snapper-0.4.0.ebuild
rename to app-backup/snapper/snapper-0.4.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2016-12-19 Thread Yixun Lan
commit: 90363e03cb5a1108acfdcd5aee659473e8bac22c
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Dec 20 06:44:34 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Dec 20 06:44:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90363e03

app-backup/snapper: version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-backup/snapper/Manifest |  1 +
 app-backup/snapper/snapper-0.4.0.ebuild | 73 +
 2 files changed, 74 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index b55abfb..1324361 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,2 +1,3 @@
 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.0.tar.bz2 570614 SHA256 
3818e123c29ffb1e3c62104c7623643cdc1fcab9494ba2c7e71825fbf68f6c77 SHA512 
e4e75b31932309fd4cd3abc462826414f727ae5eec4fd79922d34a6fecd80e3e7bd5d8da4d3e5ac6ede021a21e68cb2ca127559567e8089b9d4636b6e6b61711
 WHIRLPOOL 
7799aba8e26a46d333d801f1733299ca68161a465702a7666bc68780de773f265bfcddc62126c1c703fde21af8052c878ddd4a87a662f5ad48c5230939a16bc5

diff --git a/app-backup/snapper/snapper-0.4.0.ebuild 
b/app-backup/snapper/snapper-0.4.0.ebuild
new file mode 100644
index ..3617c5a
--- /dev/null
+++ b/app-backup/snapper/snapper-0.4.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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() {
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2016-09-28 Thread Lars Wendler
commit: 4915e51951522c8c1346b8ca40a55608959641bc
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep 29 05:40:26 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep 29 05:40:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4915e519

app-backup/snapper: Added sub-slot dependency for dev-libs/boost.

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler  gentoo.org>

 app-backup/snapper/snapper-0.2.8-r1.ebuild | 2 +-
 app-backup/snapper/snapper-0.3.3.ebuild| 2 +-
 app-backup/snapper/snapper-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-backup/snapper/snapper-0.2.8-r1.ebuild 
b/app-backup/snapper/snapper-0.2.8-r1.ebuild
index f6d70a1..f697d68 100644
--- a/app-backup/snapper/snapper-0.2.8-r1.ebuild
+++ b/app-backup/snapper/snapper-0.2.8-r1.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+btrfs ext4 lvm pam xattr"
 
-RDEPEND="dev-libs/boost[threads]
+RDEPEND="dev-libs/boost:=[threads]
dev-libs/libxml2
dev-libs/icu:=
sys-apps/acl

diff --git a/app-backup/snapper/snapper-0.3.3.ebuild 
b/app-backup/snapper/snapper-0.3.3.ebuild
index e5fc8b4..3617c5a 100644
--- a/app-backup/snapper/snapper-0.3.3.ebuild
+++ b/app-backup/snapper/snapper-0.3.3.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+btrfs ext4 lvm pam xattr"
 
-RDEPEND="dev-libs/boost[threads]
+RDEPEND="dev-libs/boost:=[threads]
dev-libs/libxml2
dev-libs/icu:=
sys-apps/acl

diff --git a/app-backup/snapper/snapper-.ebuild 
b/app-backup/snapper/snapper-.ebuild
index 20b5908..2b84241 100644
--- a/app-backup/snapper/snapper-.ebuild
+++ b/app-backup/snapper/snapper-.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
 KEYWORDS=""
 IUSE="+btrfs ext4 lvm pam xattr"
 
-RDEPEND="dev-libs/boost[threads]
+RDEPEND="dev-libs/boost:=[threads]
dev-libs/libxml2
dev-libs/icu:=
sys-apps/acl



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2016-08-24 Thread Yixun Lan
commit: 193c3388829fd5143105d94dda34fafc959bb0fa
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Aug 25 03:18:19 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Aug 25 05:28:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193c3388

app-backup/snapper: version bump

Package-Manager: portage-2.3.0

 app-backup/snapper/Manifest |  1 +
 app-backup/snapper/snapper-0.3.3.ebuild | 73 +
 2 files changed, 74 insertions(+)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index b81b7b1..b55abfb 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1 +1,2 @@
 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

diff --git a/app-backup/snapper/snapper-0.3.3.ebuild 
b/app-backup/snapper/snapper-0.3.3.ebuild
new file mode 100644
index ..e5fc8b4
--- /dev/null
+++ b/app-backup/snapper/snapper-0.3.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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() {
+   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 "
+   elog "For more information, see man (8) snapper or"
+   elog "http://snapper.io/documentation.html;
+}



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2016-08-24 Thread Yixun Lan
commit: 3945c4b908a8e4dee2649d0b418426f579364464
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Aug 25 03:14:55 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Aug 25 05:28:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3945c4b9

app-backup/snapper: add REQUIRED_USE restriction

Gentoo-Bug: 591926

Package-Manager: portage-2.3.0

 .../snapper/{snapper-0.2.8.ebuild => snapper-0.2.8-r1.ebuild}   | 4 +++-
 app-backup/snapper/snapper-.ebuild  | 6 --
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/app-backup/snapper/snapper-0.2.8.ebuild 
b/app-backup/snapper/snapper-0.2.8-r1.ebuild
similarity index 94%
rename from app-backup/snapper/snapper-0.2.8.ebuild
rename to app-backup/snapper/snapper-0.2.8-r1.ebuild
index 6674766..f6d70a1 100644
--- a/app-backup/snapper/snapper-0.2.8.ebuild
+++ b/app-backup/snapper/snapper-0.2.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
 
+REQUIRED_USE="|| ( btrfs ext4 lvm )"
+
 DOCS=( AUTHORS README )
 
 src_prepare() {

diff --git a/app-backup/snapper/snapper-.ebuild 
b/app-backup/snapper/snapper-.ebuild
index ec021d3..20b5908 100644
--- a/app-backup/snapper/snapper-.ebuild
+++ b/app-backup/snapper/snapper-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -36,7 +36,9 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
 
-DOCS=( AUTHORS README.md package/snapper.changes )
+REQUIRED_USE="|| ( btrfs ext4 lvm )"
+
+DOCS=( AUTHORS package/snapper.changes )
 
 PATCHES=( "${FILESDIR}"/cron-confd.patch )
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2016-04-05 Thread Ian Delaney
commit: 621bf7c1de1bca7debfd9ee32492e0e6d8245339
Author: Ian Delaney  gentoo  org>
AuthorDate: Wed Apr  6 04:39:18 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Wed Apr  6 04:39:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=621bf7c1

app-backup/snapper: metadata.xml, update

update description attribute for user maintainer in metadata.xml

Package-Manager: portage-2.2.28

 app-backup/snapper/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/metadata.xml b/app-backup/snapper/metadata.xml
index 31eff16..bbcc897 100644
--- a/app-backup/snapper/metadata.xml
+++ b/app-backup/snapper/metadata.xml
@@ -9,7 +9,7 @@

past...@gmail.com
Dainius Masiliūnas (GreatEmerald)
-   maintainer, assign bugs
+   Proxied maintainer; set to assignee in all 
bugs


d...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2016-03-08 Thread Patrice Clement
commit: 3ffdbcd258806cecf6f918ed4ca932b061a0e1ad
Author: Stefan Langenmaier  gmail  com>
AuthorDate: Sun Mar  6 02:14:12 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Mar  8 02:00:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffdbcd2

app-backup/snapper: update to reflect renamed README.md

In the associated git repo the README was renamed to README.md
This fixes the build.

Gentoo-Bug: https://bugs.gentoo.org/576556

Signed-off-by: Stefan Langenmaier  gmail.com>

 app-backup/snapper/snapper-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/snapper/snapper-.ebuild 
b/app-backup/snapper/snapper-.ebuild
index 3668a40..ec021d3 100644
--- a/app-backup/snapper/snapper-.ebuild
+++ b/app-backup/snapper/snapper-.ebuild
@@ -36,7 +36,7 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
 
-DOCS=( AUTHORS README package/snapper.changes )
+DOCS=( AUTHORS README.md package/snapper.changes )
 
 PATCHES=( "${FILESDIR}"/cron-confd.patch )
 



[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2015-12-20 Thread Yixun Lan
commit: 4a4687e06c511dfd8f05e1076cdc0966ed1c634f
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Dec 18 09:39:20 2015 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 21 07:45:45 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4687e0

app-backup/snapper: drop old

Package-Manager: portage-2.2.26

 app-backup/snapper/Manifest|  3 --
 app-backup/snapper/snapper-0.2.3-r1.ebuild | 70 --
 app-backup/snapper/snapper-0.2.4.ebuild| 70 --
 app-backup/snapper/snapper-0.2.6.ebuild| 70 --
 4 files changed, 213 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 54e158e..b81b7b1 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,4 +1 @@
-DIST snapper-0.2.3.tar.bz2 451916 SHA256 
6c78fc57ac018f7536a03971927f2b17f1f048f87e26689609028f51500c9c6a SHA512 
a8b847e3bc0759a717f4256ed3c9e7ed675f040a56e80ea7ca2d7f12906198ecd141638f00acce02195b094a9db7fbdd5cb233012e3ba8be7a3502cba1bbd968
 WHIRLPOOL 
cb4a0cd1f4c01ccbf213395f9b8c0eff325f5453fa0e05e37b4b525e6c0b276b3767194a06b2ea50b877883a6061f86817d773775842e161f3298e45573f6789
-DIST snapper-0.2.4.tar.bz2 458409 SHA256 
8fc70b8e7a39dc3249ce9141e2c5f0623bb80f8e4150a543d8ed04d2ad27f399 SHA512 
e986ebb482a7e30e4e97edc2882653a041c49c9291310469860fd9a0e93c46747ec31723f771a710a6fcce2f4863fdf672c623453ae27b4fb7cd911b8d4b35ed
 WHIRLPOOL 
1627664909ea3a5959c6ff6a66c1dcbacbe835bce2f1f20cc4c380e8613545e8a0e3f7569c32f774a5534636b8321af71d78c21368e8b7a2104e05d241f5d8cd
-DIST snapper-0.2.6.tar.bz2 473015 SHA256 
3390650be0e4709595d28df287a0e5902fb570e9fcb5ba992f435326bc53b75e SHA512 
d49eef086d84f02106691872db6369b10cb55a6afe6f2cfb6c790330321397d66dc1aa0229d31d9e3c7b1efb6bd6c0fd9242dbb69a44fe3433233717df98a334
 WHIRLPOOL 
84a24153651dd9bd47e4f25012d87527b35b5dfd3b3a1da86fe0bdecbca032f5fe3c58ab1197a759058301b029961a2b5965dfb245a80cd50621af971d49a722
 DIST snapper-0.2.8.tar.bz2 475053 SHA256 
a44608648ed21a1346f8ae9345044901c39ad01abb501806a22c9d4a771eadc5 SHA512 
ce1529062943c34b9de2eafb62c6e28b39bda6f4afc23ec5df5ddd42f213cbaf0d77d94d11d982285114ceecd27bd48206436119af84b2769ed4792aab01c75d
 WHIRLPOOL 
3463cf8beb7adb1f3869645b20928dc21fc9cb72f8ed5275688e0b53c97b8103d0536e3246f12fcdc90c1889d221d13ce131b1920c7298232212c003ea9abb6d

diff --git a/app-backup/snapper/snapper-0.2.3-r1.ebuild 
b/app-backup/snapper/snapper-0.2.3-r1.ebuild
deleted file mode 100644
index 9bf8211..000
--- a/app-backup/snapper/snapper-0.2.3-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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? ( "
-   elog "For more information, see man (8) snapper or"
-   elog "http://snapper.io/documentation.html;
-}

diff --git a/app-backup/snapper/snapper-0.2.4.ebuild 
b/app-backup/snapper/snapper-0.2.4.ebuild
deleted file mode 100644
index 958c013..000
--- a/app-backup/snapper/snapper-0.2.4.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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"
-
-DOCS=( AUTHORS README )
-
-src_prepare() {
-   epatch "${FILESDIR}"/cron-confd.patch
-}
-
-src_configure() {
-   local myeconfargs=(
-   --with-conf="/etc/conf.d"
-   --docdir="/usr/share/doc/${PF}"
-   --disable-zypp
-   $(use_enable btrfs)
-   $(use_enable ext4)
-   $(use_enable lvm)
-   $(use_enable pam)
-   $(use_enable xattr xattrs)
-   )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-   # 

[gentoo-commits] repo/gentoo:master commit in: app-backup/snapper/

2015-08-31 Thread Yixun Lan
commit: c599de1c9cfeb6a50d7e99205962876d03f61fa6
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Aug 31 16:09:41 2015 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Aug 31 16:09:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c599de1c

app-backup/snapper: version bump 0.2.8

Package-Manager: portage-2.2.20.1

 app-backup/snapper/Manifest|  1 +
 .../{snapper-.ebuild => snapper-0.2.8.ebuild}  | 24 --
 app-backup/snapper/snapper-.ebuild |  1 +
 3 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
index 80ceeb6..54e158e 100644
--- a/app-backup/snapper/Manifest
+++ b/app-backup/snapper/Manifest
@@ -1,3 +1,4 @@
 DIST snapper-0.2.3.tar.bz2 451916 SHA256 
6c78fc57ac018f7536a03971927f2b17f1f048f87e26689609028f51500c9c6a SHA512 
a8b847e3bc0759a717f4256ed3c9e7ed675f040a56e80ea7ca2d7f12906198ecd141638f00acce02195b094a9db7fbdd5cb233012e3ba8be7a3502cba1bbd968
 WHIRLPOOL 
cb4a0cd1f4c01ccbf213395f9b8c0eff325f5453fa0e05e37b4b525e6c0b276b3767194a06b2ea50b877883a6061f86817d773775842e161f3298e45573f6789
 DIST snapper-0.2.4.tar.bz2 458409 SHA256 
8fc70b8e7a39dc3249ce9141e2c5f0623bb80f8e4150a543d8ed04d2ad27f399 SHA512 
e986ebb482a7e30e4e97edc2882653a041c49c9291310469860fd9a0e93c46747ec31723f771a710a6fcce2f4863fdf672c623453ae27b4fb7cd911b8d4b35ed
 WHIRLPOOL 
1627664909ea3a5959c6ff6a66c1dcbacbe835bce2f1f20cc4c380e8613545e8a0e3f7569c32f774a5534636b8321af71d78c21368e8b7a2104e05d241f5d8cd
 DIST snapper-0.2.6.tar.bz2 473015 SHA256 
3390650be0e4709595d28df287a0e5902fb570e9fcb5ba992f435326bc53b75e SHA512 
d49eef086d84f02106691872db6369b10cb55a6afe6f2cfb6c790330321397d66dc1aa0229d31d9e3c7b1efb6bd6c0fd9242dbb69a44fe3433233717df98a334
 WHIRLPOOL 
84a24153651dd9bd47e4f25012d87527b35b5dfd3b3a1da86fe0bdecbca032f5fe3c58ab1197a759058301b029961a2b5965dfb245a80cd50621af971d49a722
+DIST snapper-0.2.8.tar.bz2 475053 SHA256 
a44608648ed21a1346f8ae9345044901c39ad01abb501806a22c9d4a771eadc5 SHA512 
ce1529062943c34b9de2eafb62c6e28b39bda6f4afc23ec5df5ddd42f213cbaf0d77d94d11d982285114ceecd27bd48206436119af84b2769ed4792aab01c75d
 WHIRLPOOL 
3463cf8beb7adb1f3869645b20928dc21fc9cb72f8ed5275688e0b53c97b8103d0536e3246f12fcdc90c1889d221d13ce131b1920c7298232212c003ea9abb6d

diff --git a/app-backup/snapper/snapper-.ebuild 
b/app-backup/snapper/snapper-0.2.8.ebuild
similarity index 77%
copy from app-backup/snapper/snapper-.ebuild
copy to app-backup/snapper/snapper-0.2.8.ebuild
index b0191f4..6674766 100644
--- a/app-backup/snapper/snapper-.ebuild
+++ b/app-backup/snapper/snapper-0.2.8.ebuild
@@ -1,21 +1,18 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-EGIT_REPO_URI="git://github.com/openSUSE/snapper.git"
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit eutils autotools-utils git-r3
+inherit eutils
 
 DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
 HOMEPAGE="http://snapper.io/;
-SRC_URI=""
+SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="+btrfs ext4 lvm pam xattr"
 
 RDEPEND="dev-libs/boost[threads]
@@ -36,28 +33,33 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
 
-DOCS=( AUTHORS README package/snapper.changes )
+DOCS=( AUTHORS README )
 
-PATCHES=( "${FILESDIR}"/cron-confd.patch )
+src_prepare() {
+   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)
)
-   autotools-utils_src_configure
+
+   econf "${myeconfargs[@]}"
 }
 
 src_install() {
-   autotools-utils_src_install
+   default
# Existing configuration file required to function
newconfd data/sysconfig.snapper snapper
+   prune_libtool_files
 }
 
 pkg_postinst() {

diff --git a/app-backup/snapper/snapper-.ebuild 
b/app-backup/snapper/snapper-.ebuild
index b0191f4..3668a40 100644
--- a/app-backup/snapper/snapper-.ebuild
+++ b/app-backup/snapper/snapper-.ebuild
@@ -45,6 +45,7 @@ src_configure() {
--with-conf="/etc/conf.d"
--docdir="/usr/share/doc/${PF}"
--disable-zypp
+   --enable-rollback
$(use_enable btrfs)
$(use_enable ext4)
$(use_enable lvm)