1 |
commit: ccef3ef6ad84eb4edc8fe8e6e412e012048b647f |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 29 11:35:56 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 29 11:35:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccef3ef6 |
7 |
|
8 |
app-backup/spideroak-bin: mark 6.3.0-r1 stable, bug #622784 comment 3 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
.../spideroak-bin/spideroak-bin-6.3.0-r1.ebuild | 2 +- |
13 |
.../spideroak-bin/spideroak-bin-6.3.0.ebuild | 101 --------------------- |
14 |
2 files changed, 1 insertion(+), 102 deletions(-) |
15 |
|
16 |
diff --git a/app-backup/spideroak-bin/spideroak-bin-6.3.0-r1.ebuild b/app-backup/spideroak-bin/spideroak-bin-6.3.0-r1.ebuild |
17 |
index ee101fd0f53..a71e99a92d6 100644 |
18 |
--- a/app-backup/spideroak-bin/spideroak-bin-6.3.0-r1.ebuild |
19 |
+++ b/app-backup/spideroak-bin/spideroak-bin-6.3.0-r1.ebuild |
20 |
@@ -16,7 +16,7 @@ RESTRICT="mirror strip" |
21 |
|
22 |
LICENSE="spideroak" |
23 |
SLOT="0" |
24 |
-KEYWORDS="~amd64 ~x86" |
25 |
+KEYWORDS="amd64 x86" |
26 |
IUSE="dbus X" |
27 |
|
28 |
DEPEND="dev-util/patchelf" |
29 |
|
30 |
diff --git a/app-backup/spideroak-bin/spideroak-bin-6.3.0.ebuild b/app-backup/spideroak-bin/spideroak-bin-6.3.0.ebuild |
31 |
deleted file mode 100644 |
32 |
index 75cf8ec90ac..00000000000 |
33 |
--- a/app-backup/spideroak-bin/spideroak-bin-6.3.0.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,101 +0,0 @@ |
36 |
-# Copyright 1999-2017 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI="5" |
40 |
- |
41 |
-inherit eutils unpacker |
42 |
- |
43 |
-DESCRIPTION="Secure free online backup, storage, and sharing system" |
44 |
-HOMEPAGE="https://spideroak.com" |
45 |
- |
46 |
-SRC_URI_BASE="https://spideroak.com/release/spideroak" |
47 |
-SRC_URI="x86? ( ${SRC_URI_BASE}/deb_x86 -> ${P}_x86.deb ) |
48 |
- amd64? ( ${SRC_URI_BASE}/deb_x64 -> ${P}_amd64.deb )" |
49 |
- |
50 |
-RESTRICT="mirror strip" |
51 |
- |
52 |
-LICENSE="spideroak" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="amd64 x86" |
55 |
-IUSE="dbus X" |
56 |
- |
57 |
-DEPEND="dev-util/patchelf" |
58 |
-RDEPEND=" |
59 |
- app-crypt/mit-krb5[keyutils] |
60 |
- dbus? ( sys-apps/dbus ) |
61 |
- X? ( |
62 |
- media-libs/fontconfig |
63 |
- media-libs/freetype:2 |
64 |
- dev-libs/glib:2 |
65 |
- x11-libs/libICE |
66 |
- x11-libs/libSM |
67 |
- x11-libs/libX11 |
68 |
- x11-libs/libXext |
69 |
- x11-libs/libXmu |
70 |
- x11-libs/libXrender |
71 |
- x11-libs/libXt |
72 |
- ) |
73 |
-" |
74 |
- |
75 |
-S=${WORKDIR} |
76 |
- |
77 |
-QA_PREBUILT="*" |
78 |
- |
79 |
-src_prepare() { |
80 |
- # Set RPATH for preserve-libs handling (bug #400979). |
81 |
- cd "${S}/opt/SpiderOakONE/lib" || die |
82 |
- local x |
83 |
- for x in `find` ; do |
84 |
- # Use \x7fELF header to separate ELF executables and libraries |
85 |
- [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue |
86 |
- patchelf --set-rpath '$ORIGIN' "${x}" || \ |
87 |
- die "patchelf failed on ${x}" |
88 |
- done |
89 |
- |
90 |
- #Remove the libraries that break compatibility in modern systems |
91 |
- #SpiderOak will use the system libs instead |
92 |
- rm -f "${S}/opt/SpiderOakONE/lib/libstdc++.so.6" |
93 |
- rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1" |
94 |
- rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0" |
95 |
- rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1" |
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 |
-} |