1 |
commit: 13e46a3e788b77e726ad0cc8883b4ee3f39cf2e5 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 2 23:55:37 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 23:56:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e46a3e |
7 |
|
8 |
app-backup/spideroak-bin: version bump to 7.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
app-backup/spideroak-bin/Manifest | 2 + |
13 |
.../spideroak-bin/spideroak-bin-7.0.0.ebuild | 104 +++++++++++++++++++++ |
14 |
2 files changed, 106 insertions(+) |
15 |
|
16 |
diff --git a/app-backup/spideroak-bin/Manifest b/app-backup/spideroak-bin/Manifest |
17 |
index 3fe264deabb..7df48336e8e 100644 |
18 |
--- a/app-backup/spideroak-bin/Manifest |
19 |
+++ b/app-backup/spideroak-bin/Manifest |
20 |
@@ -2,3 +2,5 @@ DIST spideroak-bin-6.3.0_amd64.deb 26882606 BLAKE2B 0113ddf19be6aaaf78bde3574e78 |
21 |
DIST spideroak-bin-6.3.0_x86.deb 26402134 BLAKE2B 2c515b4601400e0a0dbce5c92f96294643f60590703c5101b207adb5021567f91325a06c08d3b11fc248d5493f76d5f1398417db303acd9cb4f875b3c4accfd1 SHA512 3945d671f0dff0e193bf0cd951d2380f50f28921ab3166d26cebf2564caef03e46967c0032b2da02b012ab4c71332af869d117e0ac7c5dfde99dc1e9d9399d5e |
22 |
DIST spideroak-bin-6.4.0_amd64.deb 26882606 BLAKE2B 0113ddf19be6aaaf78bde3574e7832af53d774eec6783b91cf72e74babe4b159ce9a61365d92358f8b5afb063d05e86ee75ea6bfc9fac0e34b195d42890e7b3f SHA512 23283574955833199cc86be9eec3781c190da8a0885c31b20bfb7f73976c8e3663c76571ddf5f2c9e9d2377d71121f605ce7698788704b482dbce8290e77a7e2 |
23 |
DIST spideroak-bin-6.4.0_x86.deb 26402134 BLAKE2B 2c515b4601400e0a0dbce5c92f96294643f60590703c5101b207adb5021567f91325a06c08d3b11fc248d5493f76d5f1398417db303acd9cb4f875b3c4accfd1 SHA512 3945d671f0dff0e193bf0cd951d2380f50f28921ab3166d26cebf2564caef03e46967c0032b2da02b012ab4c71332af869d117e0ac7c5dfde99dc1e9d9399d5e |
24 |
+DIST spideroak-bin-7.0.0_amd64.deb 25663732 BLAKE2B fd91517a6722e1648c08e2885a2659df976db86912f68e024858865a8a319759e5399a107925880b51c293251f55be45360f6f0235c357b6a74b4b50e55daf2d SHA512 a7bc9bb3b7dbaeef43146c2e0f6d0fe690e3710a28d0b2f753f701675dada2fbb449bf95d0cae289ea4b03aae8f39b916efbb2da531d7cdab5d6df85b481609f |
25 |
+DIST spideroak-bin-7.0.0_x86.deb 25174384 BLAKE2B 85642257033706b6253af6c890493cfe2be652bf062a882a9a4546089df20f1f5a0618ee7bd573c68a8fd0da39f1f06effbe667656e23db3148151d6d500d0db SHA512 01d86b04dfd7d57ef5e64494c7f2f38fd9ef0e7a215937a2b8c4be4f0e5faacdfbf0d6cd965120ff0ddfdf08b7394e7bbd5074f4d1186795969e409f8c9df7bd |
26 |
|
27 |
diff --git a/app-backup/spideroak-bin/spideroak-bin-7.0.0.ebuild b/app-backup/spideroak-bin/spideroak-bin-7.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..b50355c676a |
30 |
--- /dev/null |
31 |
+++ b/app-backup/spideroak-bin/spideroak-bin-7.0.0.ebuild |
32 |
@@ -0,0 +1,104 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="6" |
37 |
+ |
38 |
+inherit eutils unpacker |
39 |
+ |
40 |
+DESCRIPTION="Secure free online backup, storage, and sharing system" |
41 |
+HOMEPAGE="https://spideroak.com" |
42 |
+ |
43 |
+SRC_URI_BASE="https://spideroak.com/release/spideroak" |
44 |
+SRC_URI="x86? ( ${SRC_URI_BASE}/deb_x86 -> ${P}_x86.deb ) |
45 |
+ amd64? ( ${SRC_URI_BASE}/deb_x64 -> ${P}_amd64.deb )" |
46 |
+ |
47 |
+RESTRICT="mirror strip" |
48 |
+ |
49 |
+LICENSE="spideroak" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="dbus X" |
53 |
+ |
54 |
+DEPEND="dev-util/patchelf" |
55 |
+RDEPEND=" |
56 |
+ app-crypt/mit-krb5[keyutils] |
57 |
+ media-libs/libpng:1.2 |
58 |
+ dbus? ( sys-apps/dbus ) |
59 |
+ X? ( |
60 |
+ media-libs/fontconfig |
61 |
+ media-libs/freetype:2 |
62 |
+ dev-libs/glib:2 |
63 |
+ x11-libs/libICE |
64 |
+ x11-libs/libSM |
65 |
+ x11-libs/libX11 |
66 |
+ x11-libs/libXext |
67 |
+ x11-libs/libXmu |
68 |
+ x11-libs/libXrender |
69 |
+ x11-libs/libXt |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+S=${WORKDIR} |
74 |
+ |
75 |
+QA_PREBUILT="*" |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ # Set RPATH for preserve-libs handling (bug #400979). |
79 |
+ cd "${S}/opt/SpiderOakONE/lib" || die |
80 |
+ local x |
81 |
+ for x in `find` ; do |
82 |
+ # Use \x7fELF header to separate ELF executables and libraries |
83 |
+ [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue |
84 |
+ patchelf --set-rpath '$ORIGIN' "${x}" || \ |
85 |
+ die "patchelf failed on ${x}" |
86 |
+ done |
87 |
+ |
88 |
+ #Remove the libraries that break compatibility in modern systems |
89 |
+ #SpiderOak will use the system libs instead |
90 |
+ rm -f "${S}/opt/SpiderOakONE/lib/libstdc++.so.6" |
91 |
+ rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1" |
92 |
+ rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0" |
93 |
+ rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1" |
94 |
+ |
95 |
+ eapply_user |
96 |
+} |
97 |
+ |
98 |
+src_install() { |
99 |
+ #install the wrapper script |
100 |
+ exeinto /usr/bin |
101 |
+ doexe usr/bin/SpiderOakONE |
102 |
+ |
103 |
+ # inotify_dir_watcher needs to be marked executable, bug #453266 |
104 |
+ #chmod a+rx opt/SpiderOakONE/lib/inotify_dir_watcher |
105 |
+ |
106 |
+ #install the executable |
107 |
+ exeinto /opt/SpiderOakONE/lib |
108 |
+ doexe opt/SpiderOakONE/lib/SpiderOakONE |
109 |
+ doexe opt/SpiderOakONE/lib/inotify_dir_watcher |
110 |
+ rm -f opt/SpiderOakONE/lib/{SpiderOakONE,inotify_dir_watcher} |
111 |
+ |
112 |
+ #install the prebundled libraries |
113 |
+ insinto /opt/SpiderOakONE |
114 |
+ doins -r opt/SpiderOakONE/lib |
115 |
+ |
116 |
+ #install the config files |
117 |
+ use dbus || rm -rf etc/dbus-1 |
118 |
+ insinto / |
119 |
+ doins -r etc |
120 |
+ |
121 |
+ #install the manpage |
122 |
+ doman usr/share/man/man1/SpiderOakONE.1.gz |
123 |
+ |
124 |
+ if use X; then |
125 |
+ domenu usr/share/applications/SpiderOakONE.desktop |
126 |
+ doicon usr/share/pixmaps/SpiderOakONE.png |
127 |
+ fi |
128 |
+} |
129 |
+ |
130 |
+pkg_postinst() { |
131 |
+ if ! use X; then |
132 |
+ einfo "For instructions on running SpiderOakONE without a GUI, please read the FAQ:" |
133 |
+ einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/" |
134 |
+ einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/" |
135 |
+ fi |
136 |
+} |