diff options
Diffstat (limited to 'network/spideroak')
-rw-r--r-- | network/spideroak/README | 10 | ||||
-rw-r--r-- | network/spideroak/doinst.sh | 3 | ||||
-rw-r--r-- | network/spideroak/slack-desc | 19 | ||||
-rw-r--r-- | network/spideroak/spideroak.SlackBuild | 64 | ||||
-rw-r--r-- | network/spideroak/spideroak.info | 10 |
5 files changed, 106 insertions, 0 deletions
diff --git a/network/spideroak/README b/network/spideroak/README new file mode 100644 index 0000000000000..d2b014e903e7a --- /dev/null +++ b/network/spideroak/README @@ -0,0 +1,10 @@ +SpiderOak provides an easy, secure, and consolidated free online backup, +sync, sharing, access, and storage solution for Linux (and others). + +* Access all your data in one de-duplicated location +* Configurable multi-platform synchronization +* Preserve all historical versions & deleted files +* Share folders instantly in web ShareRooms w / RSS +* Retrieve files from any internet-connected device +* Comprehensive 'zero-knowledge' data encryption +* 2 GBs Free / $10 per 100 GBs / Unlimited devices diff --git a/network/spideroak/doinst.sh b/network/spideroak/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/network/spideroak/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/network/spideroak/slack-desc b/network/spideroak/slack-desc new file mode 100644 index 0000000000000..979e74d5ea776 --- /dev/null +++ b/network/spideroak/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +spideroak: SpiderOak (Secure Online Backup) +spideroak: +spideroak: SpiderOak provides an easy, secure and consolidated free online +spideroak: backup, sync, sharing, access & storage solution for Windows, +spideroak: solution for Windows, Mac OS X, and Linux. +spideroak: +spideroak: Homepage: https://spideroak.com/ +spideroak: +spideroak: +spideroak: +spideroak: diff --git a/network/spideroak/spideroak.SlackBuild b/network/spideroak/spideroak.SlackBuild new file mode 100644 index 0000000000000..68a4b03773622 --- /dev/null +++ b/network/spideroak/spideroak.SlackBuild @@ -0,0 +1,64 @@ +#!/bin/sh + +# Slackware build script of SpiderOak +# Written by Diogo Leal (diogo@diogoleal.com) + +PRGNAM=spideroak +VERSION=${VERSION:-9909} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +case "$( uname -m )" in + i?86) ARCH=i386 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; +esac + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "x86_64" ]; then + SRCARCH=amd64 + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "i386" ]; then + SRCARCH=i386 + LIBDIRSUFFIX="" +else + printf "\n\n$ARCH is not supported...\n" + exit 1 +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT + +cd $PKG +ar -x $CWD/spideroak_${VERSION}_${SRCARCH}.deb || ar -x $CWD/directdownload*$ARCH +tar xvf data.tar.gz +rm data.tar.gz control.tar.gz debian-binary +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# Fix up libdir +if [ $ARCH = "x86_64" ]; then + mv usr/lib usr/lib$LIBDIRSUFFIX + sed -i "s|/lib/|/lib$LIBDIRSUFFIX/|g" usr/bin/SpiderOak +fi + +# Kill some stuff we don't need/want +rm -rf $PKG/etc/apt + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/ +rm -r $PKG/usr/share/doc +cat $CWD/spideroak.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/spideroak.slackbuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -c n -l y -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/spideroak/spideroak.info b/network/spideroak/spideroak.info new file mode 100644 index 0000000000000..a0c3f7e761ca8 --- /dev/null +++ b/network/spideroak/spideroak.info @@ -0,0 +1,10 @@ +PRGNAM="spideroak" +VERSION="9909" +HOMEPAGE="https://spideroak.com/" +DOWNLOAD="https://spideroak.com/directdownload?platform=ubuntulucid&arch=i386" +MD5SUM="491420e71fe1da344d4d360d873fbd07" +DOWNLOAD_x86_64="https://spideroak.com/directdownload?platform=ubuntulucid&arch=x86_64" +MD5SUM_x86_64="f9acc503ad326bc000f42844a951529b" +MAINTAINER="Diogo Leal" +EMAIL="diogo@diogoleal.com" +APPROVED="rworkman,Niels Horn" |