Skip to content

Commit

Permalink
app-backup/spideroak-bin: version bump 6.0.1, bug #559450
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
blueness committed Sep 4, 2015
1 parent 30368ff commit b8c815c
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app-backup/spideroak-bin/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ DIST spideroak-bin-5.1.8_amd64.deb 20000116 SHA256 b91f3077c2238bbb1123361afc597
DIST spideroak-bin-5.1.8_x86.deb 19361954 SHA256 806aae6ac96cb47443c50bfc3bc3f5f7b00abc0b5d978cc2746d10cb1f6b6742 SHA512 43242b9fcd577fc51b838de72215fa971f385ae1f6ea7c606cc198b2dacd0bbca9b693ea2452c2c957c3af6dc97625d6bd15176067542dfdcbc1505a50c8b42b WHIRLPOOL 5f88e3b699be60151471c71998b2aad2d7e5a42a1c179ccb10a168940dd4ea291f812e6d6e9eb475345b53f403aa3a09cd785759413a0cf50edc9b92300af14f
DIST spideroak-bin-5.2.0_amd64.deb 20284404 SHA256 f9b452f891796fcd1046c4a955d2b4722b0a452b24f8ea728a30833c0a576f32 SHA512 75a96c6f6f0ec6a14255fc4f3bdad96ba54be4a4ee2ea385159c575e7b0e05bf3cfcfc4b0595a430b4a686acda3cb2674df5959d0b1a3ddc609a590d7737d94e WHIRLPOOL c6045af1101008b2ca25df4fd4d34d55b3dcda2187660f3601fbc9a6aa53c7e9ad3d59fffa954c2eb57022a46ecf04a42f39577914fc01dbe2c46c4c5e184475
DIST spideroak-bin-5.2.0_x86.deb 19641884 SHA256 f4689dcc0630e4b46b039c64a16e291d740cc245b7507863ae5938473f504c30 SHA512 e98041b98c77e011774abe5b832c9a2ee4ecd179864bd39aacdb439f906110797f9f96e7326a394a6da0cbb88650c242da51060b501de0c379a0efdb75594403 WHIRLPOOL bf96a2cd8f3bbf6ab2ec26c532546b8c40dda09a1902075332fb2c8787af4a4a1808094fb6e7fb90f27c9da2d480b1129e235fa656c76bd1acbfd3b8bbda90d5
DIST spideroak-bin-6.0.1_amd64.deb 26718286 SHA256 7baa2573756ce174fbdff882be21de2306580de12d31cf760b706da72efdb711 SHA512 28551b5a5e7824e06c17a7f53a9218d82a18ddc9c9ba3bd19361eef02d02afb795ee75d4aad9819ff87de78193edca1015efcea0c65e36bcdfad9d9bdf96f819 WHIRLPOOL dd34a78a675beb8c08c7c36abc6fb65182dcb24ec9a446cc6fc6bb8114f457c2383743305eb3d5886ddb0d9cc3a4dc3489d75fef2226947660f19624b81b5098
DIST spideroak-bin-6.0.1_x86.deb 26232394 SHA256 084013d54c335e74fb853b74f54ac1ca2a90d96338cb6e3dbdf4f83dc718c611 SHA512 b94363fa66338be4af70ac753c7aac0e80dac6bea2a23310075de4e77c950fb67a63e9c6aa14734f00d49ea8a537b788379d3599dfa874fddc9f7455e805f773 WHIRLPOOL 7a735006f179ef1421cc071ebe7118650a6052f5563735beb290021420ef75730f2f105d2606f42a4721d48775eced463e9ca9da58315efae2b9e5c95087bf98
DIST spideroak-bin-6.0_amd64.deb 26676730 SHA256 5825635b706da95740e4b2e1d36870d17d0cfd6a8b26ded6116708d9496e0551 SHA512 9c0cb6195a0c553e0e1e691d4f22950fd826142c526035ac0ef84628a15a17f293dcaed5bf2ab138ddfb94a47265e06906f6b55e78582212672c9dcb503e86f9 WHIRLPOOL d31fb7a4bd3bc3a49d0a7241bd4bd723ccee28b784ddfbf75c598638bf47dbc0fc75edbdcb5134ea2574f5897d399a79fe42d59a22b41bdc31c63c9fe48f28e0
DIST spideroak-bin-6.0_x86.deb 26196770 SHA256 0d655cddc6201188f7bb04d46774bdca42ca6e9958ed458a1bf89bc53485fc58 SHA512 692418c59462f53930583df01bc5f31520b33d10f9bf616cca6bffcea425d667f65e194c4d40c8357822895f7f54e42f747b25e1dd9af522ab44cec940a66c45 WHIRLPOOL a963aa5a05e85fd55d53849d09099aa585b481c2c9f4756f3d4a7e2c17edd5375da12c669341073453f9a62e471c9121a92008a90288a20b10c75f323885d4d5
94 changes: 94 additions & 0 deletions app-backup/spideroak-bin/spideroak-bin-6.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

inherit eutils unpacker

SRC_URI_BASE="https://spideroak.com/getbuild?platform=ubuntu"

DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system"
HOMEPAGE="https://spideroak.com"
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&version=${PV} -> ${P}_x86.deb )
amd64? ( ${SRC_URI_BASE}&arch=x86_64&version=${PV} -> ${P}_amd64.deb )"
RESTRICT="mirror strip"

LICENSE="spideroak"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dbus X"

DEPEND="dev-util/patchelf"
RDEPEND="
app-crypt/mit-krb5[keyutils]
dbus? ( sys-apps/dbus )
X? (
media-libs/fontconfig
media-libs/freetype:2
dev-libs/glib:2
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXext
x11-libs/libXmu
x11-libs/libXrender
x11-libs/libXt
)
"

S=${WORKDIR}

QA_PREBUILT="*"

src_prepare() {
# Set RPATH for preserve-libs handling (bug #400979).
cd "${S}/opt/SpiderOakONE/lib" || die
local x
for x in `find` ; do
# Use \x7fELF header to separate ELF executables and libraries
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath '$ORIGIN' "${x}" || \
die "patchelf failed on ${x}"
done
}

src_install() {
#install the wrapper script
exeinto /usr/bin
doexe usr/bin/SpiderOakONE

# inotify_dir_watcher needs to be marked executable, bug #453266
#chmod a+rx opt/SpiderOakONE/lib/inotify_dir_watcher

#install the executable
exeinto /opt/SpiderOakONE/lib
doexe opt/SpiderOakONE/lib/SpiderOakONE
doexe opt/SpiderOakONE/lib/inotify_dir_watcher
rm -f opt/SpiderOakONE/lib/{SpiderOakONE,inotify_dir_watcher}

#install the prebundled libraries
insinto /opt/SpiderOakONE
doins -r opt/SpiderOakONE/lib

#install the config files
use dbus || rm -rf etc/dbus-1
insinto /
doins -r etc

#install the manpage
doman usr/share/man/man1/SpiderOakONE.1.gz

if use X; then
domenu usr/share/applications/spideroakone.desktop
doicon usr/share/pixmaps/SpiderOakONE.png
fi
}

pkg_postinst() {
if ! use X; then
einfo "For instructions on running SpiderOakONE without a GUI, please read the FAQ:"
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
fi
}

0 comments on commit b8c815c

Please sign in to comment.