1 |
commit: 5f907248fb4d413836859510ab5bb57d33ded622 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 28 02:01:05 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 28 02:01:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f907248 |
7 |
|
8 |
app-backup/spideroak-bin: version bump to 7.3.0, bug #669824 |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
app-backup/spideroak-bin/Manifest | 2 + |
14 |
.../spideroak-bin/spideroak-bin-7.3.0.ebuild | 104 +++++++++++++++++++++ |
15 |
2 files changed, 106 insertions(+) |
16 |
|
17 |
diff --git a/app-backup/spideroak-bin/Manifest b/app-backup/spideroak-bin/Manifest |
18 |
index 9a1b19491b2..b0c687534dc 100644 |
19 |
--- a/app-backup/spideroak-bin/Manifest |
20 |
+++ b/app-backup/spideroak-bin/Manifest |
21 |
@@ -1,2 +1,4 @@ |
22 |
DIST spideroak-bin-7.2.0_amd64.deb 24854982 BLAKE2B 9eab89f2c7713f9edbf97da986744c605113830efa971b5327794aa05640ab6386d76d4473cd3a5f6373611bdf7f2ee5ec8eb59d1b9914de48a7b2f724ce4c4e SHA512 9edaf0a7e6e6e985dd7ae1e969c43373393ea6293b8895d74be48f364513a992865ca5cb3150e5fce23eb49635a3442f5162a2606d8fac1ab1036ed922c214cb |
23 |
DIST spideroak-bin-7.2.0_x86.deb 24773806 BLAKE2B 4c4c778f50efa8b77c6d0b2ff522ce3ccacc9c0b6fba5b9acb8e6ea25816b303b34751e47f3e27f6b014c03e02473d22b1eba280618cdd9b6c639b82f2425d70 SHA512 758bdaefe307c4c7b7eebc47ebbb835e66c0a57350e34a2cd818212de1d800ae432459933d9613af60b877889724fe90726dd6705fa152b2478bd55552e541ba |
24 |
+DIST spideroak-bin-7.3.0_amd64.deb 18514400 BLAKE2B 3c0d617c4b791cc0e5a9c82111c9486c18ab09d2bfc4102d69b266f6e3d4185a9d74d640ddd3733a86dac1f87f3360968636407ee4f3da6c2bd20779c16e6ddb SHA512 f27cfac3f9055281fece38ba68781287cd886c7c40b998e63cfc1aba0a036b375a06b9cc60390b7e4845ef9c4eae2d94914669dd345ba8de90424ff98ec28d58 |
25 |
+DIST spideroak-bin-7.3.0_x86.deb 24779422 BLAKE2B 8cdae243794e5de6a8326e335b539d004c0ba0f1121b85067acbffffbef67f4a0c785f3b794abb62a5eedfd459c8e4d5e48cf8848b005ba637150b286b13db22 SHA512 32504b6e6931f1e923d4202f0b3201c93190128d30767ec41ac11cf7c8c751b87094bdedcf44dda3ae8089543418366c5a78093b9236fee5f95e7f89a29141fc |
26 |
|
27 |
diff --git a/app-backup/spideroak-bin/spideroak-bin-7.3.0.ebuild b/app-backup/spideroak-bin/spideroak-bin-7.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8dd6ec9d73f |
30 |
--- /dev/null |
31 |
+++ b/app-backup/spideroak-bin/spideroak-bin-7.3.0.ebuild |
32 |
@@ -0,0 +1,104 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
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 |
+} |