summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-backup/snapper
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-backup/snapper')
-rw-r--r--app-backup/snapper/Manifest3
-rw-r--r--app-backup/snapper/files/cron-confd.patch32
-rw-r--r--app-backup/snapper/metadata.xml38
-rw-r--r--app-backup/snapper/snapper-0.2.3-r1.ebuild70
-rw-r--r--app-backup/snapper/snapper-0.2.4.ebuild70
-rw-r--r--app-backup/snapper/snapper-0.2.6.ebuild70
-rw-r--r--app-backup/snapper/snapper-9999.ebuild69
7 files changed, 352 insertions, 0 deletions
diff --git a/app-backup/snapper/Manifest b/app-backup/snapper/Manifest
new file mode 100644
index 000000000000..80ceeb6a95c4
--- /dev/null
+++ b/app-backup/snapper/Manifest
@@ -0,0 +1,3 @@
+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
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/metadata.xml b/app-backup/snapper/metadata.xml
new file mode 100644
index 000000000000..103a1ad2e147
--- /dev/null
+++ b/app-backup/snapper/metadata.xml
@@ -0,0 +1,38 @@
+<?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>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>pastas4@gmail.com</email>
+ <name>Dainius Masiliūnas (GreatEmerald)</name>
+ <description>maintainer, assign bugs</description>
+ </maintainer>
+ <maintainer>
+ <email>dlan@gentoo.org</email>
+ <name>Yixun Lan</name>
+ <description>co-maintainer, CC bugs</description>
+ </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.3-r1.ebuild b/app-backup/snapper/snapper-0.2.3-r1.ebuild
new file mode 100644
index 000000000000..9bf8211fe549
--- /dev/null
+++ b/app-backup/snapper/snapper-0.2.3-r1.ebuild
@@ -0,0 +1,70 @@
+# 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.16 )
+ 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
+ # 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.2.4.ebuild b/app-backup/snapper/snapper-0.2.4.ebuild
new file mode 100644
index 000000000000..958c013cc206
--- /dev/null
+++ b/app-backup/snapper/snapper-0.2.4.ebuild
@@ -0,0 +1,70 @@
+# 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
+ # 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.2.6.ebuild b/app-backup/snapper/snapper-0.2.6.ebuild
new file mode 100644
index 000000000000..607ac4a58746
--- /dev/null
+++ b/app-backup/snapper/snapper-0.2.6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 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
+ # 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..b0191f41ff13
--- /dev/null
+++ b/app-backup/snapper/snapper-9999.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2014 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
+
+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"
+
+DOCS=( AUTHORS README package/snapper.changes )
+
+PATCHES=( "${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)
+ )
+ 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"
+}