Gentoo Archives: gentoo-commits

From: "Yixun Lan (dlan)" <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/snapper: metadata.xml ChangeLog snapper-0.2.2.ebuild snapper-9999.ebuild Manifest
Date: Wed, 21 May 2014 02:52:40
Message-Id: 20140521025236.502922004F@flycatcher.gentoo.org
1 dlan 14/05/21 02:52:36
2
3 Added: metadata.xml ChangeLog snapper-0.2.2.ebuild
4 snapper-9999.ebuild Manifest
5 Log:
6 initial version, contributed by Dainius Masiliūnas (GreatEmerald), polished by me
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
9
10 Revision Changes Path
11 1.1 app-backup/snapper/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/metadata.xml?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/metadata.xml?rev=1.1&content-type=text/plain
15
16 Index: metadata.xml
17 ===================================================================
18 <?xml version='1.0' encoding='UTF-8'?>
19 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
20 <pkgmetadata>
21 <longdescription>
22 Snapper is a command-line program for filesystem snapshot management.
23 It can create, delete and compare snapshots and undo changes done
24 between snapshots. It supports both btrfs and ext4.
25 </longdescription>
26 <herd>proxy-maintainers</herd>
27 <maintainer>
28 <email>pastas4@×××××.com</email>
29 <name>Dainius Masiliūnas (GreatEmerald)</name>
30 <description>maintainer, assign bugs</description>
31 </maintainer>
32 <maintainer>
33 <email>dlan@g.o</email>
34 <name>Yixun Lan</name>
35 <description>co-maintainer, CC bugs</description>
36 </maintainer>
37 <upstream>
38 <maintainer status="active">
39 <email>aschnell@××××.de</email>
40 <name>Arvin Schnell</name>
41 </maintainer>
42 <changelog>https://raw.github.com/openSUSE/snapper/master/package/snapper.changes</changelog>
43 <bugs-to>https://bugzilla.novell.com/</bugs-to>
44 <remote-id type="github">openSUSE/snapper</remote-id>
45 </upstream>
46 <use>
47 <flag name='xattr'>
48 Add support for getting and setting POSIX extended attributes, through
49 <pkg>sys-apps/attr</pkg>.
50 </flag>
51 <flag name='btrfs'>Include Btrfs support <pkg>sys-fs/btrfs-progs</pkg></flag>
52 <flag name='ext4'>Include Ext4 support <pkg>sys-fs/e2fsprogs</pkg></flag>
53 <flag name='lvm'>Enable LVM thinprovisioned snapshots support <pkg>sys-fs/lvm2</pkg></flag>
54 </use>
55 </pkgmetadata>
56
57
58
59 1.1 app-backup/snapper/ChangeLog
60
61 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/ChangeLog?rev=1.1&view=markup
62 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/ChangeLog?rev=1.1&content-type=text/plain
63
64 Index: ChangeLog
65 ===================================================================
66 # ChangeLog for app-backup/snapper
67 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
68 # $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/ChangeLog,v 1.1 2014/05/21 02:52:36 dlan Exp $
69
70 *snapper-9999 (21 May 2014)
71 *snapper-0.2.2 (21 May 2014)
72
73 21 May 2014; Yixun Lan <dlan@g.o> +snapper-0.2.2.ebuild,
74 +snapper-9999.ebuild, +files/cron-confd.patch, +metadata.xml:
75 initial version, contributed by Dainius Masiliūnas (GreatEmerald), polished
76 by me
77
78
79
80
81 1.1 app-backup/snapper/snapper-0.2.2.ebuild
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-0.2.2.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-0.2.2.ebuild?rev=1.1&content-type=text/plain
85
86 Index: snapper-0.2.2.ebuild
87 ===================================================================
88 # Copyright 1999-2014 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-0.2.2.ebuild,v 1.1 2014/05/21 02:52:36 dlan Exp $
91
92 EAPI=5
93
94 inherit base
95
96 if [[ ${PV} = *9999* ]]; then
97 EGIT_REPO_URI="git://github.com/openSUSE/snapper.git"
98 AUTOTOOLS_AUTORECONF=1
99 AUTOTOOLS_IN_SOURCE_BUILD=1
100 inherit autotools-utils git-2
101 SRC_URI=""
102 KEYWORDS=""
103 else
104 SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2"
105 DOCS="AUTHORS README package/snapper.changes"
106 KEYWORDS="~amd64 ~x86"
107 fi
108
109 DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
110 HOMEPAGE="http://snapper.io/"
111
112 LICENSE="GPL-2"
113 SLOT="0"
114 IUSE="+btrfs ext4 lvm pam xattr"
115
116 RDEPEND="dev-libs/boost[threads]
117 dev-libs/libxml2
118 dev-libs/icu
119 sys-apps/acl
120 sys-apps/dbus
121 sys-apps/util-linux
122 sys-libs/zlib
123 virtual/libintl
124 btrfs? ( sys-fs/btrfs-progs )
125 ext4? ( sys-fs/e2fsprogs )
126 lvm? ( sys-fs/lvm2 )
127 pam? ( sys-libs/pam )
128 xattr? ( sys-apps/attr )"
129
130 DEPEND="${RDEPEND}
131 sys-devel/gettext
132 virtual/pkgconfig"
133
134 DOCS="AUTHORS README"
135
136 PATCHES=(
137 "${FILESDIR}"/cron-confd.patch
138 )
139
140 src_configure() {
141 econf \
142 --with-conf="/etc/conf.d" \
143 --docdir="/usr/share/doc/${P}" \
144 $(use_enable btrfs) \
145 $(use_enable ext4) \
146 $(use_enable lvm) \
147 $(use_enable pam) \
148 $(use_enable xattr xattrs) \
149 --disable-zypp
150 }
151
152 src_install() {
153 default
154 # Existing configuration file required to function
155 newconfd data/sysconfig.snapper snapper
156 }
157
158 pkg_postinst() {
159 elog "In order to use Snapper, you need to set up at least one config"
160 elog "manually, or else the tool will get confused. Typically you should"
161 elog "create a '/.snapshots' directory, then copy the file"
162 elog "'/etc/snapper/config-templates/default' into '/etc/snapper/configs/',"
163 elog "rename the file to 'root', and add its name into '/etc/conf.d/snapper'."
164 elog "That will instruct Snapper to snapshot the root of the filesystem by"
165 elog "default. For more information, see the snapper(8) manual page."
166 }
167
168
169
170 1.1 app-backup/snapper/snapper-9999.ebuild
171
172 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-9999.ebuild?rev=1.1&view=markup
173 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-9999.ebuild?rev=1.1&content-type=text/plain
174
175 Index: snapper-9999.ebuild
176 ===================================================================
177 # Copyright 1999-2014 Gentoo Foundation
178 # Distributed under the terms of the GNU General Public License v2
179 # $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-9999.ebuild,v 1.1 2014/05/21 02:52:36 dlan Exp $
180
181 EAPI=5
182
183 inherit base
184
185 if [[ ${PV} = *9999* ]]; then
186 EGIT_REPO_URI="git://github.com/openSUSE/snapper.git"
187 AUTOTOOLS_AUTORECONF=1
188 AUTOTOOLS_IN_SOURCE_BUILD=1
189 inherit autotools-utils git-2
190 SRC_URI=""
191 KEYWORDS=""
192 else
193 SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2"
194 DOCS="AUTHORS README package/snapper.changes"
195 KEYWORDS="~amd64 ~x86"
196 fi
197
198 DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
199 HOMEPAGE="http://snapper.io/"
200
201 LICENSE="GPL-2"
202 SLOT="0"
203 IUSE="+btrfs ext4 lvm pam xattr"
204
205 RDEPEND="dev-libs/boost[threads]
206 dev-libs/libxml2
207 dev-libs/icu
208 sys-apps/acl
209 sys-apps/dbus
210 sys-apps/util-linux
211 sys-libs/zlib
212 virtual/libintl
213 btrfs? ( sys-fs/btrfs-progs )
214 ext4? ( sys-fs/e2fsprogs )
215 lvm? ( sys-fs/lvm2 )
216 pam? ( sys-libs/pam )
217 xattr? ( sys-apps/attr )"
218
219 DEPEND="${RDEPEND}
220 sys-devel/gettext
221 virtual/pkgconfig"
222
223 DOCS="AUTHORS README"
224
225 PATCHES=(
226 "${FILESDIR}"/cron-confd.patch
227 )
228
229 src_configure() {
230 econf \
231 --with-conf="/etc/conf.d" \
232 --docdir="/usr/share/doc/${P}" \
233 $(use_enable btrfs) \
234 $(use_enable ext4) \
235 $(use_enable lvm) \
236 $(use_enable pam) \
237 $(use_enable xattr xattrs) \
238 --disable-zypp
239 }
240
241 src_install() {
242 default
243 # Existing configuration file required to function
244 newconfd data/sysconfig.snapper snapper
245 }
246
247 pkg_postinst() {
248 elog "In order to use Snapper, you need to set up at least one config"
249 elog "manually, or else the tool will get confused. Typically you should"
250 elog "create a '/.snapshots' directory, then copy the file"
251 elog "'/etc/snapper/config-templates/default' into '/etc/snapper/configs/',"
252 elog "rename the file to 'root', and add its name into '/etc/conf.d/snapper'."
253 elog "That will instruct Snapper to snapshot the root of the filesystem by"
254 elog "default. For more information, see the snapper(8) manual page."
255 }
256
257
258
259 1.1 app-backup/snapper/Manifest
260
261 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/Manifest?rev=1.1&view=markup
262 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/Manifest?rev=1.1&content-type=text/plain
263
264 Index: Manifest
265 ===================================================================
266 AUX cron-confd.patch 916 SHA256 720b6842f0d6e61269156ee3405bf7db35788cd5c14fe8d00132ee5f6680ef6e SHA512 7f0872b14f1fa6b3c7990a9b219a0b2c0b941b1376fb89eda6e4fdf4b3b37818d0114febdb21d2432f5b1c08f1ba4354936d556c1c26953a0fe0f3196d699aa7 WHIRLPOOL cf3af5c39fcfbc9aa69cc223000487b765fc09d46b50e6f4e3c08d5351869772c462392fa4b730e8aa8513aa0c5f4c72b9a14e671986a5591b462a401e5698b6
267 DIST snapper-0.2.2.tar.bz2 446251 SHA256 0fbe2b5520d7a22e6212ef41304b5ec43006ab47cf99800d3266a00bc53e56b9 SHA512 d27e311e416d8cf62e4657bc1a4419381e6b1f623620720559e017c7c012b38f59ea3a49c283e0ff38f9d83c5e8dc5d11ad42d1f27c120a7dfd74459729eaa6f WHIRLPOOL 7e2c87b4e11d87d1e20a61b1294a3f58ee27fe4749719b672a85900f7a76e67ddb9aac94378ff0f39c421738612fe80286ef08a1266a1e64f0798f654d9aa21a
268 EBUILD snapper-0.2.2.ebuild 1933 SHA256 ed884f03e197bda03feb05335407c013b2ca0a57cd56e38d07d812d002c69c92 SHA512 946c7948d9761b63c7d5e1c670d45e7a9667e793731aa0f6584b091f2698b2ffdb14cb98977ddd4f68dbaa187f1aabc3490bc4e5a5e169cb2c6ecbdc595c1263 WHIRLPOOL 8c3ccd6172739034fb4997417690b800d2497eb1cb2a06ea8b4debcc1b3b8d46ffc057e5ac5961e6f520a001415b706b0afe3e7af0e958a2ca904073e9954346
269 EBUILD snapper-9999.ebuild 1933 SHA256 ed884f03e197bda03feb05335407c013b2ca0a57cd56e38d07d812d002c69c92 SHA512 946c7948d9761b63c7d5e1c670d45e7a9667e793731aa0f6584b091f2698b2ffdb14cb98977ddd4f68dbaa187f1aabc3490bc4e5a5e169cb2c6ecbdc595c1263 WHIRLPOOL 8c3ccd6172739034fb4997417690b800d2497eb1cb2a06ea8b4debcc1b3b8d46ffc057e5ac5961e6f520a001415b706b0afe3e7af0e958a2ca904073e9954346
270 MISC ChangeLog 395 SHA256 c990070395d0862b7bbb471a487f58f7a52f9af0593c185290603bedebc4227b SHA512 6d92d55000449bfb2850e4447c839e76c89929f6ee19024bb2b52ec00334ccd997122ab64b2c6d9221bb7857fa0521ed5e2d568d40ac4ad5a0cd1561094902a2 WHIRLPOOL 5cc63e7dcd4d60476498f2c2c60f5275694b14398167a7d22f97e7965f6423f9816f2453648b38f7e5fc3ceb9bc5c5739a40cda9a7363c2f24b828c3d5e693d2
271 MISC metadata.xml 1448 SHA256 6af6ed214c62baf88a65db24198c226e71321016b14520df2a6167145ffe932a SHA512 e88000a841b21c082231b307555865478145027c3bf103456a061bf0fc05de6d1c99a8971d38ba18e833e60c7a809db167a461c527402aae1b84af5dd2589678 WHIRLPOOL 954b25ac3ac5fea62bf97d95de64722f70ba34aefbf143cae261f75c8359f66e32bfcbc8d1c6d2d1f194da8226d41c46c2ad946f45caa0a438bdc54bfde925de