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