summaryrefslogtreecommitdiff
path: root/app-backup/snapper
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/snapper
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/snapper')
-rw-r--r--app-backup/snapper/Manifest14
-rw-r--r--app-backup/snapper/files/cron-confd.patch32
-rw-r--r--app-backup/snapper/files/snapper-0.5.0-gcc6.patch21
-rw-r--r--app-backup/snapper/metadata.xml41
-rw-r--r--app-backup/snapper/snapper-0.2.8-r1.ebuild72
-rw-r--r--app-backup/snapper/snapper-0.3.3.ebuild72
-rw-r--r--app-backup/snapper/snapper-0.4.1.ebuild72
-rw-r--r--app-backup/snapper/snapper-0.5.0.ebuild74
-rw-r--r--app-backup/snapper/snapper-9999.ebuild71
9 files changed, 469 insertions, 0 deletions
diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
new file mode 100644
index 000000000000..731c3a060239
--- /dev/null
+++ b/app-backup/snapper/Manifest
@@ -0,0 +1,14 @@
+AUX cron-confd.patch 916 SHA256 720b6842f0d6e61269156ee3405bf7db35788cd5c14fe8d00132ee5f6680ef6e SHA512 7f0872b14f1fa6b3c7990a9b219a0b2c0b941b1376fb89eda6e4fdf4b3b37818d0114febdb21d2432f5b1c08f1ba4354936d556c1c26953a0fe0f3196d699aa7 WHIRLPOOL cf3af5c39fcfbc9aa69cc223000487b765fc09d46b50e6f4e3c08d5351869772c462392fa4b730e8aa8513aa0c5f4c72b9a14e671986a5591b462a401e5698b6
+AUX snapper-0.5.0-gcc6.patch 482 SHA256 20ed5678ff102b8d9ef3c11e38d0f83cc2214b3fca088613bba3154ee4c13bcd SHA512 b512cff8a9cd7038f8ad39eaadaed7092278f9b2dadb31a6ba449d05dfab38513507779576fedf52333ebe6b0d8158722ff15afa2b43cd13cfdc25c7917bfa0c WHIRLPOOL bc83d576fd8dd0aa8c093cdd0b91ceeccdfda2cc120536a86df7ce13262a62aed5f9b01d40fb1d0bacf89da703f4677a6099bc0613e516ae97096aec42d9b023
+DIST snapper-0.2.8.tar.bz2 475053 SHA256 a44608648ed21a1346f8ae9345044901c39ad01abb501806a22c9d4a771eadc5 SHA512 ce1529062943c34b9de2eafb62c6e28b39bda6f4afc23ec5df5ddd42f213cbaf0d77d94d11d982285114ceecd27bd48206436119af84b2769ed4792aab01c75d WHIRLPOOL 3463cf8beb7adb1f3869645b20928dc21fc9cb72f8ed5275688e0b53c97b8103d0536e3246f12fcdc90c1889d221d13ce131b1920c7298232212c003ea9abb6d
+DIST snapper-0.3.3.tar.bz2 545800 SHA256 e64f42417fffed65524ce125eb31b5dbdd802a519ef04dd88c9251ef2784fe10 SHA512 f24f6d121f9a613549899b7bf3751f6d9c101db716d7bc3858a2add9f90e08861fc46927ce0130efc232240a91e24934820d0c2b1b65f206ac80d04cdaaec39d WHIRLPOOL 8a55ec12330d13bb1c4a630584418eb0e4f64580324ec8ff9fe444a1d52a4eafddac6c6c6cefc8aec760d84336f24c389e3f6d79ff07d9a40bb69cedbf35c8b7
+DIST snapper-0.4.1.tar.bz2 570673 SHA256 db9cce7f61ed1197d2663dfca444d313b05d7fb2d50af5ab468c7bdba6dd660f SHA512 23d12a4685039ce629333854bc3e8a90a524bf1207590102ccfbc358473e7bef9ca6a723d2bc8a2f0f7466c4b34dce724b806d24762ae54b26292e730a10a70c WHIRLPOOL 7f6100bc2989c931a4d95dbca3bbb6d3b6b09e3f98a9d4f1121182ef8541b1b20484c6e6591568fba1cf4bdc9045879b50dbc38438ea3336fc387ed937f1bab8
+DIST snapper-0.5.0.tar.bz2 571716 SHA256 8876b6fa946dc46df5dcbaf747bb11ac4c5a3418dd59c5ba09c47910cbad1835 SHA512 37487a1230825dc5d533e5c864965d9d05c2a3f4e12e5ae910f2721ef2497be2dafedcd13148d7246896551eae11cbcb925e04b58f799ea3d644eea329d3da29 WHIRLPOOL 864df5b8c3746aefdd1349a80cc045eb707b0dd483cab198842ebca2707d96f7ed216d6f6df424c52ca9f11d8ff9fd0c7f025a60000226501bc787ea248ce046
+EBUILD snapper-0.2.8-r1.ebuild 1543 SHA256 7ddc83ea38b3f33ce826eb2062146ee225a68cd23e513890a57dd859fe0228d3 SHA512 5dc08d9e9a85984e3bd8ba2c6797f7d37d385fd767498ccf6b44c18e75ef18d7c928b9501caa53e3b3e520426f59dfd345f0984e7e0c0b9ab0d081529ece3576 WHIRLPOOL 3c0a63df3ef6c5002d7cda855aba9561b91f2b6049a9add0c6d26da411ffed6fd240ea4c09dafc121ee4e2664845fbce7566e2e491fcc0431bee6f049c5ca374
+EBUILD snapper-0.3.3.ebuild 1536 SHA256 7c04f25f51f188555e47fcdcdb2d42964c41e0320d06d5d237a0f66f4891fdf8 SHA512 11e40f5df3d6af95b4186493bd1b216b2354d2b1d0eb7b65d1002737c15ca651acd0ac7dd27a3a93a840d010b9dff223a7130270aab30f7e668df6669f237f42 WHIRLPOOL d741652c07e24edda1d2f86650f6ccf34709813ffe7d55b08ca5f6dfcc532ac8d684e3ab35d1cffa0372bdd083f2a57552db9f45b4df36ba4035972e8b576b63
+EBUILD snapper-0.4.1.ebuild 1536 SHA256 7c04f25f51f188555e47fcdcdb2d42964c41e0320d06d5d237a0f66f4891fdf8 SHA512 11e40f5df3d6af95b4186493bd1b216b2354d2b1d0eb7b65d1002737c15ca651acd0ac7dd27a3a93a840d010b9dff223a7130270aab30f7e668df6669f237f42 WHIRLPOOL d741652c07e24edda1d2f86650f6ccf34709813ffe7d55b08ca5f6dfcc532ac8d684e3ab35d1cffa0372bdd083f2a57552db9f45b4df36ba4035972e8b576b63
+EBUILD snapper-0.5.0.ebuild 1583 SHA256 f4bfeef7f1423388d23add4bd4d9b5b21c6bc98fdc0262a7cb03504a89296781 SHA512 052e15517c42a84ab74dec462ad2f3afc8a9498d8b94692cbb0e0672c19a47c06a2d0383b3e790dff33e08a807eb97405c346d92f2b3a5bbc09503be6157aced WHIRLPOOL 1e4636bae30bf4b2b3d2aa8c6fd0d324febce6aebaf17a4fe9f5d0d998569da6be6ec8ec2ed457adc0d25e36ff3ad8cb6fd29586e046cc43c337289deffee17e
+EBUILD snapper-9999.ebuild 1615 SHA256 ecae095959e151ac799f02a1d50c512194dbe25e1248695ae09dff26dd1fd073 SHA512 e6d8980d625a32f9787e4f0bc25ad0390fd7f0b1b2a43845074abe5e585caf141eaceac5bde8bd0050c891828630c9e74827586167b3ec00f7c618694efe9c79 WHIRLPOOL 57c8c2455850ec59b45cdeaa8f54f9afb4632bb454f0d1b42e950890288581efbb64ecaf7f33376064dad6fd4244f26320516cc308e486c180df6b6930e190d8
+MISC ChangeLog 4516 SHA256 0f3d83ebb2da1333097344907b99fb96607f6c38cc802d5a5c2c6618b4156df5 SHA512 15b43539a14c36bd6e7781ff4cd763f3630e88783cf047a7428bdd37e6583ac21690035a6f7fdac849c021a74c03e8bbc6935d43687ccd08a7617e39e6dc5fe4 WHIRLPOOL 2fa23c33d72cf569bad43fe3a2371fc028a5546634b01fc54337a36856d2c945f33fadb6264ad820d5a230491a0197286d6d0c60e127b789ef82f81e7139a7c3
+MISC ChangeLog-2015 1635 SHA256 7768d4ee3ab43a214af7db2bca22072b3afff8e96aa6134d91f0679e10c4360c SHA512 f34a8cf54d6c6810c63886fbfe2cdaa383dc757c5ef2cf57fd0991360d16bd3dff3bcde6d3bc69dcb64ceec8871ff6e9e9e914d936836cd4da6660361d347969 WHIRLPOOL 3e082d13e26ad8fd03910138747f608d586c52529f67d1eb056a1830f7d054008d6603db841b3ac390d3122a3fbd031395306671761643701fbed69e79aaaeb9
+MISC metadata.xml 1585 SHA256 d8f30666478aef97b884d70b0edc257822b41ba08700d8e87d6a461714c1282f SHA512 bcb1c1c0f2818fd27b20845d990fc4bb36ef1d2502dd0a4a1bc4560483ca38a95de079a215cecca032f43aa1efaa22fe7e59d0111f6b9b776124b7f89d5d6300 WHIRLPOOL 58d4531a210a6c1847ace87eda0f1274e77105f69536b43a695fd949198a215496b9da0b608e2d87f798f9343b0e29455a92b92ed91154319bc58ff8b40749ab
diff --git a/app-backup/snapper/files/cron-confd.patch b/app-backup/snapper/files/cron-confd.patch
new file mode 100644
index 000000000000..473e749d0bb2
--- /dev/null
+++ b/app-backup/snapper/files/cron-confd.patch
@@ -0,0 +1,32 @@
+diff -u old/scripts/snapper-daily new/scripts/snapper-daily
+--- old/scripts/snapper-daily 2014-01-29 17:48:30.000000000 +0200
++++ new/scripts/snapper-daily 2014-02-19 13:32:22.702734875 +0200
+@@ -9,10 +9,10 @@
+
+
+ #
+-# get information from /etc/sysconfig/snapper
++# get information from /etc/conf.d/snapper
+ #
+-if [ -f /etc/sysconfig/snapper ] ; then
+- . /etc/sysconfig/snapper
++if [ -f /etc/conf.d/snapper ] ; then
++ . /etc/conf.d/snapper
+ fi
+
+
+diff -u old/scripts/snapper-hourly new/scripts/snapper-hourly
+--- old/scripts/snapper-hourly 2014-01-29 17:48:30.000000000 +0200
++++ new/scripts/snapper-hourly 2014-02-19 13:32:43.609166927 +0200
+@@ -9,10 +9,10 @@
+
+
+ #
+-# get information from /etc/sysconfig/snapper
++# get information from /etc/conf.d/snapper
+ #
+-if [ -f /etc/sysconfig/snapper ] ; then
+- . /etc/sysconfig/snapper
++if [ -f /etc/conf.d/snapper ] ; then
++ . /etc/conf.d/snapper
+ fi
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 000000000000..2720ae57f71f
--- /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 <aschnell@suse.de>
+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 <iostream>
+ #include <vector>
+
+ #include "dbus/DBusMessage.h"
diff --git a/app-backup/snapper/metadata.xml b/app-backup/snapper/metadata.xml
new file mode 100644
index 000000000000..bbcc8979dd2c
--- /dev/null
+++ b/app-backup/snapper/metadata.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription>
+ Snapper is a command-line program for filesystem snapshot management.
+ It can create, delete and compare snapshots and undo changes done
+ between snapshots. It supports both btrfs and ext4.
+ </longdescription>
+ <maintainer type="person">
+ <email>pastas4@gmail.com</email>
+ <name>Dainius Masiliƫnas (GreatEmerald)</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>dlan@gentoo.org</email>
+ <name>Yixun Lan</name>
+ <description>co-maintainer, CC bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>aschnell@suse.de</email>
+ <name>Arvin Schnell</name>
+ </maintainer>
+ <changelog>https://raw.github.com/openSUSE/snapper/master/package/snapper.changes</changelog>
+ <bugs-to>https://bugzilla.novell.com/</bugs-to>
+ <remote-id type="github">openSUSE/snapper</remote-id>
+ </upstream>
+ <use>
+ <flag name="xattr">
+ Add support for getting and setting POSIX extended attributes, through
+ <pkg>sys-apps/attr</pkg>.
+ </flag>
+ <flag name="btrfs">Include Btrfs support <pkg>sys-fs/btrfs-progs</pkg></flag>
+ <flag name="ext4">Include Ext4 support <pkg>sys-fs/e2fsprogs</pkg></flag>
+ <flag name="lvm">Enable LVM thinprovisioned snapshots support <pkg>sys-fs/lvm2</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/app-backup/snapper/snapper-0.2.8-r1.ebuild b/app-backup/snapper/snapper-0.2.8-r1.ebuild
new file mode 100644
index 000000000000..9b4de6eddcc3
--- /dev/null
+++ b/app-backup/snapper/snapper-0.2.8-r1.ebuild
@@ -0,0 +1,72 @@
+# 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 <subvolume>"
+ elog "For more information, see man (8) snapper or"
+ elog "http://snapper.io/documentation.html"
+}
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 000000000000..891e694a6f05
--- /dev/null
+++ b/app-backup/snapper/snapper-0.3.3.ebuild
@@ -0,0 +1,72 @@
+# 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 )
+
+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 <subvolume>"
+ elog "For more information, see man (8) snapper or"
+ elog "http://snapper.io/documentation.html"
+}
diff --git a/app-backup/snapper/snapper-0.4.1.ebuild b/app-backup/snapper/snapper-0.4.1.ebuild
new file mode 100644
index 000000000000..891e694a6f05
--- /dev/null
+++ b/app-backup/snapper/snapper-0.4.1.ebuild
@@ -0,0 +1,72 @@
+# 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 )
+
+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 <subvolume>"
+ elog "For more information, see man (8) snapper or"
+ elog "http://snapper.io/documentation.html"
+}
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 000000000000..1b4ef13115e6
--- /dev/null
+++ b/app-backup/snapper/snapper-0.5.0.ebuild
@@ -0,0 +1,74 @@
+# 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 <subvolume>"
+ elog "For more information, see man (8) snapper or"
+ elog "http://snapper.io/documentation.html"
+}
diff --git a/app-backup/snapper/snapper-9999.ebuild b/app-backup/snapper/snapper-9999.ebuild
new file mode 100644
index 000000000000..510d4e252f28
--- /dev/null
+++ b/app-backup/snapper/snapper-9999.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+EGIT_REPO_URI="https://github.com/openSUSE/snapper.git"
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+inherit eutils autotools-utils git-r3
+
+DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
+HOMEPAGE="http://snapper.io/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+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 package/snapper.changes )
+
+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)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ # Existing configuration file required to function
+ newconfd data/sysconfig.snapper snapper
+}
+
+pkg_postinst() {
+ elog "In order to use Snapper, you need to set up"
+ elog "at least one config first. To do this, run:"
+ elog "snapper create-config <subvolume>"
+ elog "For more information, see man (8) snapper or"
+ elog "http://snapper.io/documentation.html"
+}