1 |
dlan 14/05/22 09:56:05 |
2 |
|
3 |
Modified: snapper-9999.ebuild ChangeLog |
4 |
Added: snapper-0.2.2-r1.ebuild |
5 |
Removed: snapper-0.2.2.ebuild |
6 |
Log: |
7 |
drop using base.eclass, prune la, minor update |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 app-backup/snapper/snapper-9999.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-9999.ebuild?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-9999.ebuild?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-9999.ebuild?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: snapper-9999.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-9999.ebuild,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- snapper-9999.ebuild 21 May 2014 02:52:36 -0000 1.1 |
25 |
+++ snapper-9999.ebuild 22 May 2014 09:56:05 -0000 1.2 |
26 |
@@ -1,29 +1,21 @@ |
27 |
# Copyright 1999-2014 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-9999.ebuild,v 1.1 2014/05/21 02:52:36 dlan Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-9999.ebuild,v 1.2 2014/05/22 09:56:05 dlan Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
|
34 |
-inherit base |
35 |
- |
36 |
-if [[ ${PV} = *9999* ]]; then |
37 |
- EGIT_REPO_URI="git://github.com/openSUSE/snapper.git" |
38 |
- AUTOTOOLS_AUTORECONF=1 |
39 |
- AUTOTOOLS_IN_SOURCE_BUILD=1 |
40 |
- inherit autotools-utils git-2 |
41 |
- SRC_URI="" |
42 |
- KEYWORDS="" |
43 |
-else |
44 |
- SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2" |
45 |
- DOCS="AUTHORS README package/snapper.changes" |
46 |
- KEYWORDS="~amd64 ~x86" |
47 |
-fi |
48 |
+EGIT_REPO_URI="git://github.com/openSUSE/snapper.git" |
49 |
+AUTOTOOLS_AUTORECONF=1 |
50 |
+AUTOTOOLS_IN_SOURCE_BUILD=1 |
51 |
+inherit eutils autotools-utils git-2 |
52 |
|
53 |
DESCRIPTION="Command-line program for btrfs and ext4 snapshot management" |
54 |
HOMEPAGE="http://snapper.io/" |
55 |
+SRC_URI="" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
+KEYWORDS="" |
60 |
IUSE="+btrfs ext4 lvm pam xattr" |
61 |
|
62 |
RDEPEND="dev-libs/boost[threads] |
63 |
@@ -44,16 +36,17 @@ |
64 |
sys-devel/gettext |
65 |
virtual/pkgconfig" |
66 |
|
67 |
-DOCS="AUTHORS README" |
68 |
+DOCS=( AUTHORS README package/snapper.changes ) |
69 |
|
70 |
-PATCHES=( |
71 |
- "${FILESDIR}"/cron-confd.patch |
72 |
- ) |
73 |
+src_prepare() { |
74 |
+ epatch "${FILESDIR}"/cron-confd.patch |
75 |
+ autotools-utils_src_prepare |
76 |
+} |
77 |
|
78 |
src_configure() { |
79 |
econf \ |
80 |
--with-conf="/etc/conf.d" \ |
81 |
- --docdir="/usr/share/doc/${P}" \ |
82 |
+ --docdir="/usr/share/doc/${PF}" \ |
83 |
$(use_enable btrfs) \ |
84 |
$(use_enable ext4) \ |
85 |
$(use_enable lvm) \ |
86 |
@@ -66,6 +59,7 @@ |
87 |
default |
88 |
# Existing configuration file required to function |
89 |
newconfd data/sysconfig.snapper snapper |
90 |
+ prune_libtool_files |
91 |
} |
92 |
|
93 |
pkg_postinst() { |
94 |
|
95 |
|
96 |
|
97 |
1.2 app-backup/snapper/ChangeLog |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/ChangeLog?rev=1.2&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/ChangeLog?rev=1.2&content-type=text/plain |
101 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/ChangeLog?r1=1.1&r2=1.2 |
102 |
|
103 |
Index: ChangeLog |
104 |
=================================================================== |
105 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/snapper/ChangeLog,v |
106 |
retrieving revision 1.1 |
107 |
retrieving revision 1.2 |
108 |
diff -u -r1.1 -r1.2 |
109 |
--- ChangeLog 21 May 2014 02:52:36 -0000 1.1 |
110 |
+++ ChangeLog 22 May 2014 09:56:05 -0000 1.2 |
111 |
@@ -1,6 +1,12 @@ |
112 |
# ChangeLog for app-backup/snapper |
113 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
114 |
-# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/ChangeLog,v 1.1 2014/05/21 02:52:36 dlan Exp $ |
115 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/ChangeLog,v 1.2 2014/05/22 09:56:05 dlan Exp $ |
116 |
+ |
117 |
+*snapper-0.2.2-r1 (22 May 2014) |
118 |
+ |
119 |
+ 22 May 2014; Yixun Lan <dlan@g.o> -snapper-0.2.2.ebuild, |
120 |
+ +snapper-0.2.2-r1.ebuild, snapper-9999.ebuild: |
121 |
+ drop using base.eclass, prune la, minor update |
122 |
|
123 |
*snapper-9999 (21 May 2014) |
124 |
*snapper-0.2.2 (21 May 2014) |
125 |
|
126 |
|
127 |
|
128 |
1.1 app-backup/snapper/snapper-0.2.2-r1.ebuild |
129 |
|
130 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-0.2.2-r1.ebuild?rev=1.1&view=markup |
131 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/snapper-0.2.2-r1.ebuild?rev=1.1&content-type=text/plain |
132 |
|
133 |
Index: snapper-0.2.2-r1.ebuild |
134 |
=================================================================== |
135 |
# Copyright 1999-2014 Gentoo Foundation |
136 |
# Distributed under the terms of the GNU General Public License v2 |
137 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-0.2.2-r1.ebuild,v 1.1 2014/05/22 09:56:05 dlan Exp $ |
138 |
|
139 |
EAPI=5 |
140 |
|
141 |
inherit eutils |
142 |
|
143 |
DESCRIPTION="Command-line program for btrfs and ext4 snapshot management" |
144 |
HOMEPAGE="http://snapper.io/" |
145 |
SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2" |
146 |
|
147 |
LICENSE="GPL-2" |
148 |
SLOT="0" |
149 |
KEYWORDS="~amd64 ~x86" |
150 |
IUSE="+btrfs ext4 lvm pam xattr" |
151 |
|
152 |
RDEPEND="dev-libs/boost[threads] |
153 |
dev-libs/libxml2 |
154 |
dev-libs/icu |
155 |
sys-apps/acl |
156 |
sys-apps/dbus |
157 |
sys-apps/util-linux |
158 |
sys-libs/zlib |
159 |
virtual/libintl |
160 |
btrfs? ( sys-fs/btrfs-progs ) |
161 |
ext4? ( sys-fs/e2fsprogs ) |
162 |
lvm? ( sys-fs/lvm2 ) |
163 |
pam? ( sys-libs/pam ) |
164 |
xattr? ( sys-apps/attr )" |
165 |
|
166 |
DEPEND="${RDEPEND} |
167 |
sys-devel/gettext |
168 |
virtual/pkgconfig" |
169 |
|
170 |
DOCS=( AUTHORS README ) |
171 |
|
172 |
src_prepare() { |
173 |
epatch "${FILESDIR}"/cron-confd.patch |
174 |
} |
175 |
|
176 |
src_configure() { |
177 |
econf \ |
178 |
--with-conf="/etc/conf.d" \ |
179 |
--docdir="/usr/share/doc/${PF}" \ |
180 |
$(use_enable btrfs) \ |
181 |
$(use_enable ext4) \ |
182 |
$(use_enable lvm) \ |
183 |
$(use_enable pam) \ |
184 |
$(use_enable xattr xattrs) \ |
185 |
--disable-zypp |
186 |
} |
187 |
|
188 |
src_install() { |
189 |
default |
190 |
# Existing configuration file required to function |
191 |
newconfd data/sysconfig.snapper snapper |
192 |
prune_libtool_files |
193 |
} |
194 |
|
195 |
pkg_postinst() { |
196 |
elog "In order to use Snapper, you need to set up at least one config" |
197 |
elog "manually, or else the tool will get confused. Typically you should" |
198 |
elog "create a '/.snapshots' directory, then copy the file" |
199 |
elog "'/etc/snapper/config-templates/default' into '/etc/snapper/configs/'," |
200 |
elog "rename the file to 'root', and add its name into '/etc/conf.d/snapper'." |
201 |
elog "That will instruct Snapper to snapshot the root of the filesystem by" |
202 |
elog "default. For more information, see the snapper(8) manual page." |
203 |
} |