mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
SpiderOak is a popular service for storing and syncing files online.
This port installs the Linux client. WWW: http://spideroak.com/
This commit is contained in:
parent
060b5647bf
commit
5017b876d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310840
@ -1096,6 +1096,7 @@
|
||||
SUBDIR += socketbind
|
||||
SUBDIR += socketpipe
|
||||
SUBDIR += sofia-sip
|
||||
SUBDIR += spideroak
|
||||
SUBDIR += splatd
|
||||
SUBDIR += spnetkit
|
||||
SUBDIR += spoofer
|
||||
|
85
net/spideroak/Makefile
Normal file
85
net/spideroak/Makefile
Normal file
@ -0,0 +1,85 @@
|
||||
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= spideroak
|
||||
PORTVERSION= 4.8.3.10016
|
||||
#PORTREVISION= 0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://spideroak.com/getbuild?platform=slackware&arch=${ARCH:S,amd,x86_,}&dummy=/
|
||||
PKGNAMESUFFIX= -${ARCH}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-${ARCH:C,amd,x86_,}
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= SpiderOak Client (Linux version)
|
||||
|
||||
LICENSE_NAME= ToU
|
||||
LICENSE_TEXT= http://spideroak.com/terms_of_use
|
||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
FETCH_ARGS= -Fpr
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
ONLY_FOR_ARCHS_REASON= binary distribution
|
||||
OPTIONS_DEFINE= MANPAGES
|
||||
OPTIONS_DEFAULT= MANPAGES
|
||||
|
||||
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,} \
|
||||
LINARCH=${LINARCH} \
|
||||
ONLYI386=${ONLYI386}
|
||||
|
||||
REINPLACE_ARGS= -e 's,%%PREFIX%%,${PREFIX},1' \
|
||||
-e 's,%%DATADIR%%,${DATADIR},1' \
|
||||
-i.bak
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMANPAGES}
|
||||
MAN1= SpiderOak.1
|
||||
MANCOMPRESSED= yes
|
||||
.endif
|
||||
|
||||
USE_GNOME= desktopfileutils
|
||||
USE_LINUX= yes
|
||||
USE_LINUX_APPS= xorglibs
|
||||
USE_PYTHON= 2.7
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} ${WRKDIR}/usr/share/applications/SpiderOak.desktop \
|
||||
${WRKDIR}/usr/bin/SpiderOak
|
||||
|
||||
do-install:
|
||||
cd ${WRKDIR}/etc && \
|
||||
${COPYTREE_SHARE} . ${PREFIX}/etc/
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKDIR}/opt/SpiderOak/lib && \
|
||||
${COPYTREE_SHARE} . ${DATADIR}
|
||||
${CHMOD} ${BINMODE} ${DATADIR}/SpiderOak ${DATADIR}/inotify_dir_watcher
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/usr/bin/SpiderOak ${PREFIX}/bin/SpiderOak
|
||||
${LN} -s ${PREFIX}/bin/SpiderOak ${PREFIX}/bin/spideroak
|
||||
${LOCALBASE}/bin/desktop-file-install \
|
||||
--mode=${SHAREMODE} --dir=${DESKTOPDIR} \
|
||||
--rebuild-mime-info-cache \
|
||||
${WRKDIR}/usr/share/applications/SpiderOak.desktop
|
||||
.if ${PORT_OPTIONS:MMANPAGES}
|
||||
${INSTALL_MAN} ${WRKDIR}/usr/share/man/man1/SpiderOak.1.gz ${MANPREFIX}/man/man1/
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKDIR}/usr/share/pixmaps/SpiderOak.png ${PREFIX}/share/pixmaps/
|
||||
|
||||
post-install:
|
||||
-${LOCALBASE}/bin/update-desktop-database
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "i386"
|
||||
LINARCH= "i686"
|
||||
ONLYI386= ""
|
||||
.else
|
||||
LINARCH= "x86_64"
|
||||
ONLYI386= "@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
4
net/spideroak/distinfo
Normal file
4
net/spideroak/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
SHA256 (spideroak-4.8.3.10016-i386.tar.gz) = ec80aee0fdedf0e3ef00ee4e46d00c45a0d0dd1bbb50c600715f2da7c6353442
|
||||
SIZE (spideroak-4.8.3.10016-i386.tar.gz) = 22061783
|
||||
SHA256 (spideroak-4.8.3.10016-x86_64.tar.gz) = 00176bf95594d6fd87549a6bbeca142d3b0b6d9e783cb0f7d7ce874a1c5fe5a5
|
||||
SIZE (spideroak-4.8.3.10016-x86_64.tar.gz) = 22339614
|
13
net/spideroak/files/patch-usr__bin__SpiderOak
Normal file
13
net/spideroak/files/patch-usr__bin__SpiderOak
Normal file
@ -0,0 +1,13 @@
|
||||
--- ./usr/bin/SpiderOak.orig 2013-01-20 00:09:39.000000000 +0100
|
||||
+++ ./usr/bin/SpiderOak 2013-01-20 00:10:38.000000000 +0100
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
-LD_LIBRARY_PATH="/opt/SpiderOak/lib:$LD_LIBRARY_PATH"
|
||||
+LD_LIBRARY_PATH="%%DATADIR%%:$LD_LIBRARY_PATH"
|
||||
export LD_LIBRARY_PATH
|
||||
QT_PLUGIN_PATH= ; export QT_PLUGIN_PATH
|
||||
SpiderOak_EXEC_SCRIPT=$(cd `dirname $0` ; pwd)/SpiderOak
|
||||
export SpiderOak_EXEC_SCRIPT
|
||||
-exec "/opt/SpiderOak/lib/SpiderOak" "$@"
|
||||
+exec "%%DATADIR%%/SpiderOak" "$@"
|
@ -0,0 +1,16 @@
|
||||
--- ./usr/share/applications/SpiderOak.desktop.orig 2013-01-20 00:39:05.000000000 +0100
|
||||
+++ ./usr/share/applications/SpiderOak.desktop 2013-01-20 00:39:22.000000000 +0100
|
||||
@@ -1,11 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
-Encoding=UTF-8
|
||||
Name=SpiderOak Backup
|
||||
Type=Application
|
||||
Comment=SpiderOak Secure Backup and File Sharing Client
|
||||
Terminal=false
|
||||
Categories=Network;Archiving;Utility;
|
||||
-Icon=/usr/share/pixmaps/SpiderOak.png
|
||||
-Exec="/usr/bin/SpiderOak"
|
||||
+Icon=%%PREFIX%%/share/pixmaps/SpiderOak.png
|
||||
+Exec="%%PREFIX%%/bin/SpiderOak"
|
||||
Comment[en_US]=SpiderOak Secure Backup and File Sharing Client
|
4
net/spideroak/pkg-descr
Normal file
4
net/spideroak/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
SpiderOak is a popular service for storing and syncing files online.
|
||||
This port installs the Linux client.
|
||||
|
||||
WWW: http://spideroak.com/
|
20
net/spideroak/pkg-message
Normal file
20
net/spideroak/pkg-message
Normal file
@ -0,0 +1,20 @@
|
||||
********************************************************************************
|
||||
|
||||
You have just installed the Linux client for the SpiderOak service.
|
||||
|
||||
Note that SpiderOak does not follow symbolic links when doing a backup scan,
|
||||
so if you want to backup, for example, your home directory, you cannot simply
|
||||
create a link under /compat/linux, but you have to use nullfs(5).
|
||||
If you do not do that, you can only backup files under ~/Desktop and
|
||||
~/Documents.
|
||||
|
||||
Example with nullfs:
|
||||
|
||||
# mkdir /usr/compat/linux/home
|
||||
# mount_nullfs /usr/home /usr/compat/linux/home
|
||||
|
||||
You may want to add the following line to /etc/fstab
|
||||
|
||||
/usr/home /usr/compat/linux/home nullfs rw 0 0
|
||||
|
||||
********************************************************************************
|
1977
net/spideroak/pkg-plist
Normal file
1977
net/spideroak/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user