1 |
blueness 12/06/16 00:28:26 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: spideroak-bin-4.5.9945.ebuild |
5 |
Log: |
6 |
Version bump, bug #421195 |
7 |
|
8 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 app-backup/spideroak-bin/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/metadata.xml?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/metadata.xml?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/metadata.xml?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/metadata.xml,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- metadata.xml 26 Jan 2012 17:31:11 -0000 1.6 |
24 |
+++ metadata.xml 16 Jun 2012 00:28:26 -0000 1.7 |
25 |
@@ -17,7 +17,6 @@ |
26 |
</maintainer> |
27 |
<use> |
28 |
<flag name='headless'>Build without graphic frontend</flag> |
29 |
- <flag name='pycurl-bundled'>Use bundled pycurl</flag> |
30 |
<flag name='qt-bundled'>Use bundled Qt4 libraries</flag> |
31 |
<flag name='system-libs'>Use the system libraries rather than bundled</flag> |
32 |
</use> |
33 |
|
34 |
|
35 |
|
36 |
1.21 app-backup/spideroak-bin/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.21&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.21&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?r1=1.20&r2=1.21 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v |
45 |
retrieving revision 1.20 |
46 |
retrieving revision 1.21 |
47 |
diff -u -r1.20 -r1.21 |
48 |
--- ChangeLog 29 May 2012 10:28:57 -0000 1.20 |
49 |
+++ ChangeLog 16 Jun 2012 00:28:26 -0000 1.21 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for app-backup/spideroak-bin |
52 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v 1.20 2012/05/29 10:28:57 blueness Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v 1.21 2012/06/16 00:28:26 blueness Exp $ |
55 |
+ |
56 |
+*spideroak-bin-4.5.9945 (16 Jun 2012) |
57 |
+ |
58 |
+ 16 Jun 2012; Anthony G. Basile <blueness@g.o> |
59 |
+ +spideroak-bin-4.5.9945.ebuild: |
60 |
+ Version bump, bug #421195 |
61 |
|
62 |
29 May 2012; Anthony G. Basile <blueness@g.o> |
63 |
-spideroak-bin-4.0.9830.ebuild, -spideroak-bin-4.2.9907.ebuild, |
64 |
|
65 |
|
66 |
|
67 |
1.1 app-backup/spideroak-bin/spideroak-bin-4.5.9945.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.5.9945.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.5.9945.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: spideroak-bin-4.5.9945.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2012 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.5.9945.ebuild,v 1.1 2012/06/16 00:28:26 blueness Exp $ |
77 |
|
78 |
EAPI="4" |
79 |
|
80 |
inherit eutils versionator |
81 |
|
82 |
REV=$(get_version_component_range 3) |
83 |
SRC_URI_BASE="https://spideroak.com/directdownload?platform=ubuntulucid" |
84 |
|
85 |
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system." |
86 |
HOMEPAGE="https://spideroak.com" |
87 |
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&revision=${REV} -> ${P}_x86.deb ) |
88 |
amd64? ( ${SRC_URI_BASE}&arch=x86_64&revision=${REV} -> ${P}_amd64.deb )" |
89 |
RESTRICT="mirror strip" |
90 |
|
91 |
LICENSE="spideroak" |
92 |
SLOT="0" |
93 |
KEYWORDS="~amd64 ~x86" |
94 |
IUSE="dbus headless system-libs" |
95 |
|
96 |
SSL_SLOT="0.9.8" |
97 |
|
98 |
DEPEND="" |
99 |
RDEPEND=" |
100 |
dbus? ( sys-apps/dbus ) |
101 |
!headless? ( |
102 |
media-libs/fontconfig |
103 |
media-libs/freetype:2 |
104 |
dev-libs/glib:2 |
105 |
x11-libs/libICE |
106 |
x11-libs/libSM |
107 |
x11-libs/libX11 |
108 |
x11-libs/libXext |
109 |
x11-libs/libXmu |
110 |
x11-libs/libXrender |
111 |
x11-libs/libXt |
112 |
) |
113 |
system-libs? ( |
114 |
dev-libs/openssl:$SSL_SLOT |
115 |
net-misc/curl |
116 |
>=sys-devel/gcc-4 |
117 |
dev-libs/glib:2 |
118 |
dev-libs/libpcre |
119 |
media-libs/libpng:1.2 |
120 |
x11-libs/qt-core |
121 |
x11-libs/qt-gui |
122 |
dev-db/sqlite:3 |
123 |
net-libs/libssh2 |
124 |
sys-libs/zlib |
125 |
dev-lang/python:2.7 |
126 |
dev-python/pycurl |
127 |
) |
128 |
" |
129 |
|
130 |
S=${WORKDIR} |
131 |
|
132 |
QA_PREBUILT="*" |
133 |
|
134 |
src_unpack() { |
135 |
unpack ${A} |
136 |
unpack ./data.tar.gz |
137 |
rm -f control.tar.gz data.tar.gz debian-binary |
138 |
rm -f usr/share/doc/spideroak/copyright |
139 |
} |
140 |
|
141 |
src_prepare() { |
142 |
epatch "${FILESDIR}"/opt-path.patch |
143 |
use headless && epatch "${FILESDIR}"/headless.patch |
144 |
|
145 |
# Remove bundled libraries/plugins/python interpreter. Please keep this |
146 |
# mapping in sync with the RDEPEND system-libs? ( atoms ) above, and the |
147 |
# list of deleted files below |
148 |
# |
149 |
# libcrypto.so.0.$SSL_SLOT => dev-libs/openssl:$SSL_SLOT |
150 |
# libssl.so.$SSL_SLOT => dev-libs/openssl:$SSL_SLOT |
151 |
# libcurl.so* => net-misc/curl |
152 |
# libexpat.so* => dev-libs/expat |
153 |
# libgcc_s.so => >=sys-devel/gcc-4 |
154 |
# libstdc++.so* => >=sys-devel/gcc-4 |
155 |
# libpcre.so* => dev-libs/libpcre |
156 |
# libpng12* => media-libs/libpng:1.2 |
157 |
# libQt*.so* => x11-libs/qt-core x11-libs/qt-gui |
158 |
# libsqlite3.so* => dev-db/sqlite:3 |
159 |
# libssh2.so* => net-libs/libssh2 |
160 |
# libz.so* => sys-libs/zlib |
161 |
# |
162 |
# pycurl.so => dev-python/pycurl |
163 |
# |
164 |
# usr/lib/SpiderOak/py pyexpat.so => dev-lang/python:2.7 |
165 |
# |
166 |
if use system-libs; then |
167 |
for lib in \ |
168 |
libcrypto.so.$SSL_SLOT \ |
169 |
libssl.so.$SSL_SLOT \ |
170 |
libcurl.so* \ |
171 |
libexpat.so* \ |
172 |
libgcc_s.so* \ |
173 |
libpcre.so* \ |
174 |
libpng12* \ |
175 |
libQt*.so* \ |
176 |
libsqlite3.so* \ |
177 |
libssh2.so* \ |
178 |
libstdc++.so* \ |
179 |
libz.so* \ |
180 |
pycurl.so \ |
181 |
pyexpat.so |
182 |
do |
183 |
rm usr/lib/SpiderOak/$lib || die "rm $lib failed" |
184 |
done |
185 |
|
186 |
# Remove bundled python interpreter => dev-lang/python:2.7 |
187 |
rm usr/lib/SpiderOak/py || die "rm py failed" |
188 |
fi |
189 |
} |
190 |
|
191 |
src_install() { |
192 |
#install the executable script |
193 |
exeinto /usr/bin |
194 |
doexe usr/bin/SpiderOak |
195 |
|
196 |
#install the prebundled libraries |
197 |
dodir /opt |
198 |
cp -pPR usr/lib/SpiderOak "${ED}"/opt/ |
199 |
|
200 |
#install the config files |
201 |
rm -rf etc/apt |
202 |
use dbus || rm -rf etc/dbus-1 |
203 |
insinto / |
204 |
doins -r etc |
205 |
|
206 |
#install the changelog |
207 |
insinto /usr/share/doc/${P} |
208 |
doins usr/share/doc/spideroak/changelog.gz |
209 |
|
210 |
if ! use headless ; then |
211 |
domenu usr/share/applications/spideroak.desktop |
212 |
doicon usr/share/pixmaps/spideroak.png |
213 |
fi |
214 |
} |
215 |
|
216 |
pkg_postinst() { |
217 |
if use headless; then |
218 |
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:" |
219 |
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/" |
220 |
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/" |
221 |
fi |
222 |
if use system-libs; then |
223 |
einfo "You have chosen to use your system libraries rather than the precompiled libraries that" |
224 |
einfo "SpiderOak bundles with their software. While upstream discourages this (see bug #398313)," |
225 |
einfo "there are advantages to using the system libraries, like reducing the size of the package" |
226 |
einfo "on your hard drive. For more reasons why bundled librars are not a good idea, see" |
227 |
einfo " https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries" |
228 |
fi |
229 |
} |