dlan 14/05/21 02:52:36
Added: metadata.xml ChangeLog snapper-0.2.2.ebuild
snapper-9999.ebuild Manifest
Log:
initial version, contributed by Dainius Masiliūnas (GreatEmerald), polished
by me
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key
0xAABEFD55)
Revision Changes Path
1.1 app-backup/snapper/metadata.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/metadata.xml?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?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>[email protected]</email>
<name>Dainius Masiliūnas (GreatEmerald)</name>
<description>maintainer, assign bugs</description>
</maintainer>
<maintainer>
<email>[email protected]</email>
<name>Yixun Lan</name>
<description>co-maintainer, CC bugs</description>
</maintainer>
<upstream>
<maintainer status="active">
<email>[email protected]</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>
1.1 app-backup/snapper/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/ChangeLog?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for app-backup/snapper
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/ChangeLog,v 1.1
2014/05/21 02:52:36 dlan Exp $
*snapper-9999 (21 May 2014)
*snapper-0.2.2 (21 May 2014)
21 May 2014; Yixun Lan <[email protected]> +snapper-0.2.2.ebuild,
+snapper-9999.ebuild, +files/cron-confd.patch, +metadata.xml:
initial version, contributed by Dainius Masiliūnas (GreatEmerald), polished
by me
1.1 app-backup/snapper/snapper-0.2.2.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-0.2.2.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-0.2.2.ebuild?rev=1.1&content-type=text/plain
Index: snapper-0.2.2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-0.2.2.ebuild,v
1.1 2014/05/21 02:52:36 dlan Exp $
EAPI=5
inherit base
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://github.com/openSUSE/snapper.git"
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-utils git-2
SRC_URI=""
KEYWORDS=""
else
SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2"
DOCS="AUTHORS README package/snapper.changes"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
HOMEPAGE="http://snapper.io/"
LICENSE="GPL-2"
SLOT="0"
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 )
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"
PATCHES=(
"${FILESDIR}"/cron-confd.patch
)
src_configure() {
econf \
--with-conf="/etc/conf.d" \
--docdir="/usr/share/doc/${P}" \
$(use_enable btrfs) \
$(use_enable ext4) \
$(use_enable lvm) \
$(use_enable pam) \
$(use_enable xattr xattrs) \
--disable-zypp
}
src_install() {
default
# Existing configuration file required to function
newconfd data/sysconfig.snapper snapper
}
pkg_postinst() {
elog "In order to use Snapper, you need to set up at least one config"
elog "manually, or else the tool will get confused. Typically you
should"
elog "create a '/.snapshots' directory, then copy the file"
elog "'/etc/snapper/config-templates/default' into
'/etc/snapper/configs/',"
elog "rename the file to 'root', and add its name into
'/etc/conf.d/snapper'."
elog "That will instruct Snapper to snapshot the root of the filesystem
by"
elog "default. For more information, see the snapper(8) manual page."
}
1.1 app-backup/snapper/snapper-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-9999.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-9999.ebuild?rev=1.1&content-type=text/plain
Index: snapper-9999.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-9999.ebuild,v 1.1
2014/05/21 02:52:36 dlan Exp $
EAPI=5
inherit base
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://github.com/openSUSE/snapper.git"
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-utils git-2
SRC_URI=""
KEYWORDS=""
else
SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2"
DOCS="AUTHORS README package/snapper.changes"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
HOMEPAGE="http://snapper.io/"
LICENSE="GPL-2"
SLOT="0"
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 )
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"
PATCHES=(
"${FILESDIR}"/cron-confd.patch
)
src_configure() {
econf \
--with-conf="/etc/conf.d" \
--docdir="/usr/share/doc/${P}" \
$(use_enable btrfs) \
$(use_enable ext4) \
$(use_enable lvm) \
$(use_enable pam) \
$(use_enable xattr xattrs) \
--disable-zypp
}
src_install() {
default
# Existing configuration file required to function
newconfd data/sysconfig.snapper snapper
}
pkg_postinst() {
elog "In order to use Snapper, you need to set up at least one config"
elog "manually, or else the tool will get confused. Typically you
should"
elog "create a '/.snapshots' directory, then copy the file"
elog "'/etc/snapper/config-templates/default' into
'/etc/snapper/configs/',"
elog "rename the file to 'root', and add its name into
'/etc/conf.d/snapper'."
elog "That will instruct Snapper to snapshot the root of the filesystem
by"
elog "default. For more information, see the snapper(8) manual page."
}
1.1 app-backup/snapper/Manifest
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/Manifest?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/Manifest?rev=1.1&content-type=text/plain
Index: Manifest
===================================================================
AUX cron-confd.patch 916 SHA256
720b6842f0d6e61269156ee3405bf7db35788cd5c14fe8d00132ee5f6680ef6e SHA512
7f0872b14f1fa6b3c7990a9b219a0b2c0b941b1376fb89eda6e4fdf4b3b37818d0114febdb21d2432f5b1c08f1ba4354936d556c1c26953a0fe0f3196d699aa7
WHIRLPOOL
cf3af5c39fcfbc9aa69cc223000487b765fc09d46b50e6f4e3c08d5351869772c462392fa4b730e8aa8513aa0c5f4c72b9a14e671986a5591b462a401e5698b6
DIST snapper-0.2.2.tar.bz2 446251 SHA256
0fbe2b5520d7a22e6212ef41304b5ec43006ab47cf99800d3266a00bc53e56b9 SHA512
d27e311e416d8cf62e4657bc1a4419381e6b1f623620720559e017c7c012b38f59ea3a49c283e0ff38f9d83c5e8dc5d11ad42d1f27c120a7dfd74459729eaa6f
WHIRLPOOL
7e2c87b4e11d87d1e20a61b1294a3f58ee27fe4749719b672a85900f7a76e67ddb9aac94378ff0f39c421738612fe80286ef08a1266a1e64f0798f654d9aa21a
EBUILD snapper-0.2.2.ebuild 1933 SHA256
ed884f03e197bda03feb05335407c013b2ca0a57cd56e38d07d812d002c69c92 SHA512
946c7948d9761b63c7d5e1c670d45e7a9667e793731aa0f6584b091f2698b2ffdb14cb98977ddd4f68dbaa187f1aabc3490bc4e5a5e169cb2c6ecbdc595c1263
WHIRLPOOL
8c3ccd6172739034fb4997417690b800d2497eb1cb2a06ea8b4debcc1b3b8d46ffc057e5ac5961e6f520a001415b706b0afe3e7af0e958a2ca904073e9954346
EBUILD snapper-9999.ebuild 1933 SHA256
ed884f03e197bda03feb05335407c013b2ca0a57cd56e38d07d812d002c69c92 SHA512
946c7948d9761b63c7d5e1c670d45e7a9667e793731aa0f6584b091f2698b2ffdb14cb98977ddd4f68dbaa187f1aabc3490bc4e5a5e169cb2c6ecbdc595c1263
WHIRLPOOL
8c3ccd6172739034fb4997417690b800d2497eb1cb2a06ea8b4debcc1b3b8d46ffc057e5ac5961e6f520a001415b706b0afe3e7af0e958a2ca904073e9954346
MISC ChangeLog 395 SHA256
c990070395d0862b7bbb471a487f58f7a52f9af0593c185290603bedebc4227b SHA512
6d92d55000449bfb2850e4447c839e76c89929f6ee19024bb2b52ec00334ccd997122ab64b2c6d9221bb7857fa0521ed5e2d568d40ac4ad5a0cd1561094902a2
WHIRLPOOL
5cc63e7dcd4d60476498f2c2c60f5275694b14398167a7d22f97e7965f6423f9816f2453648b38f7e5fc3ceb9bc5c5739a40cda9a7363c2f24b828c3d5e693d2
MISC metadata.xml 1448 SHA256
6af6ed214c62baf88a65db24198c226e71321016b14520df2a6167145ffe932a SHA512
e88000a841b21c082231b307555865478145027c3bf103456a061bf0fc05de6d1c99a8971d38ba18e833e60c7a809db167a461c527402aae1b84af5dd2589678
WHIRLPOOL
954b25ac3ac5fea62bf97d95de64722f70ba34aefbf143cae261f75c8359f66e32bfcbc8d1c6d2d1f194da8226d41c46c2ad946f45caa0a438bdc54bfde925de