Import seafile-client and components.
ok landry@ Seafile is a next-generation cloud storage.
This commit is contained in:
parent
238d51bf52
commit
1d6f694ba0
9
net/seafile/Makefile
Normal file
9
net/seafile/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
|
||||
SUBDIR =
|
||||
SUBDIR += ccnet
|
||||
SUBDIR += client
|
||||
SUBDIR += libsearpc
|
||||
SUBDIR += seafile
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
18
net/seafile/Makefile.inc
Normal file
18
net/seafile/Makefile.inc
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
|
||||
GH_TAGNAME ?= v3.1.6
|
||||
V = ${GH_TAGNAME:S/v//:S/-server//:S/-testing//:S/-latest//}
|
||||
DISTNAME = ${GH_PROJECT}-${V}
|
||||
|
||||
CATEGORIES = net net/seafile
|
||||
|
||||
HOMEPAGE = http://www.seafile.com/
|
||||
|
||||
MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
GH_ACCOUNT = haiwen
|
||||
|
||||
#.include <bsd.port.mk>
|
52
net/seafile/ccnet/Makefile
Normal file
52
net/seafile/ccnet/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
|
||||
COMMENT = framework for writing networked applications in C
|
||||
|
||||
GH_PROJECT = ccnet
|
||||
GH_COMMIT = dd3f1fab491dfcec8b8ca30dbcc75b890cb3529a
|
||||
|
||||
SHARED_LIBS = ccnet 0.0
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c crypto event_core event_extra ffi gio-2.0 glib-2.0
|
||||
WANTLIB += gmodule-2.0 gobject-2.0 iconv intl jansson pcre pthread
|
||||
WANTLIB += searpc sqlite3 ssl uuid z zdb
|
||||
|
||||
MODULES = devel/gettext lang/python
|
||||
BUILD_DEPENDS = devel/libtool \
|
||||
lang/vala \
|
||||
${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
${MODGNU_AUTOCONF_DEPENDS}
|
||||
|
||||
LIB_DEPENDS = databases/libzdb \
|
||||
devel/libevent2 \
|
||||
sysutils/e2fsprogs \
|
||||
net/seafile/libsearpc
|
||||
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
|
||||
LDFLAGS=-L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS += --enable-server \
|
||||
--disable-compile-demo
|
||||
|
||||
AUTOCONF_VERSION = 2.61
|
||||
AUTOMAKE_VERSION = 1.9
|
||||
|
||||
MODPY_ADJ_FILES = tools/ccnet-admin.py
|
||||
|
||||
post-extract:
|
||||
cd ${WRKSRC} && perl -pi -e 's,-levent ,\@LIBEVENT_LIBS\@ ,g' \
|
||||
lib/Makefile.am \
|
||||
net/cluster/Makefile.am \
|
||||
net/daemon/Makefile.am \
|
||||
net/server/Makefile.am
|
||||
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoreconf -fi
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/seafile/ccnet/distinfo
Normal file
2
net/seafile/ccnet/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ccnet-3.1.6.tar.gz) = tE1Fz4HtrnLO+IbZoNn2fqK5QZkLYLg8PDaishEbANw=
|
||||
SIZE (ccnet-3.1.6.tar.gz) = 218039
|
15
net/seafile/ccnet/patches/patch-Makefile_am
Normal file
15
net/seafile/ccnet/patches/patch-Makefile_am
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-Makefile_am,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- Makefile.am.orig Tue Jan 21 16:36:05 2014
|
||||
+++ Makefile.am Tue Jan 21 16:36:21 2014
|
||||
@@ -25,8 +25,8 @@ install-data-local:
|
||||
if MACOS
|
||||
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
else
|
||||
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
+ perl -pi -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
endif
|
||||
|
||||
dist-hook:
|
||||
- git log --format='%H' -1 > $(distdir)/latest_commit
|
||||
\ No newline at end of file
|
||||
+ git log --format='%H' -1 > $(distdir)/latest_commit
|
12
net/seafile/ccnet/patches/patch-lib_net_c
Normal file
12
net/seafile/ccnet/patches/patch-lib_net_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_net_c,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- lib/net.c.orig Tue Jan 21 12:45:00 2014
|
||||
+++ lib/net.c Tue Jan 21 12:46:08 2014
|
||||
@@ -32,8 +32,6 @@
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
-#include <evutil.h>
|
||||
-
|
||||
#include "net.h"
|
||||
|
||||
|
11
net/seafile/ccnet/patches/patch-lib_packet-io_c
Normal file
11
net/seafile/ccnet/patches/patch-lib_packet-io_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-lib_packet-io_c,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- lib/packet-io.c.orig Fri Dec 13 13:37:55 2013
|
||||
+++ lib/packet-io.c Fri Dec 13 13:38:15 2013
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
|
||||
#include <glib.h>
|
||||
-#include <evutil.h>
|
||||
|
||||
#include "packet.h"
|
||||
#include "packet-io.h"
|
9
net/seafile/ccnet/patches/patch-libccnet_pc_in
Normal file
9
net/seafile/ccnet/patches/patch-libccnet_pc_in
Normal file
@ -0,0 +1,9 @@
|
||||
$OpenBSD: patch-libccnet_pc_in,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- libccnet.pc.in.orig Wed Apr 2 14:41:23 2014
|
||||
+++ libccnet.pc.in Wed Apr 2 14:41:41 2014
|
||||
@@ -1,4 +1,4 @@
|
||||
-prefix=(DESTDIR)@prefix@
|
||||
+prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
12
net/seafile/ccnet/patches/patch-tools_Makefile_am
Normal file
12
net/seafile/ccnet/patches/patch-tools_Makefile_am
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-tools_Makefile_am,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- tools/Makefile.am.orig Tue Jan 21 16:25:21 2014
|
||||
+++ tools/Makefile.am Tue Jan 21 16:25:39 2014
|
||||
@@ -5,7 +5,7 @@ bin_PROGRAMS = ccnet-init
|
||||
|
||||
ccnet_init_SOURCES = ccnet-init.c
|
||||
|
||||
-ccnet_init_LDADD = @SSL_LIBS@ @LIB_RESOLV@ @GLIB2_LIBS@ \
|
||||
+ccnet_init_LDADD = @SSL_LIBS@ @GLIB2_LIBS@ \
|
||||
$(top_builddir)/lib/libccnetd.la
|
||||
|
||||
ccnet_init_LDFLAGS = @STATIC_COMPILE@ @CONSOLE@ @SERVER_PKG_RPATH@
|
13
net/seafile/ccnet/pkg/DESCR
Normal file
13
net/seafile/ccnet/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
Ccnet is a framework for writing networked applications in C.It
|
||||
provides the following basic services:
|
||||
* Peer identification
|
||||
* Connection Management
|
||||
* Service invocation
|
||||
* Message sending
|
||||
|
||||
In ccnet network, there are two types of nodes, i.e., client and
|
||||
server. Server has the following functions:
|
||||
* User management
|
||||
* Group management
|
||||
* Cluster management
|
||||
|
86
net/seafile/ccnet/pkg/PLIST
Normal file
86
net/seafile/ccnet/pkg/PLIST
Normal file
@ -0,0 +1,86 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
@bin bin/ccnet
|
||||
@bin bin/ccnet-init
|
||||
@bin bin/ccnet-server
|
||||
@bin bin/ccnet-servtool
|
||||
@bin bin/ccnet-tool
|
||||
include/ccnet/
|
||||
include/ccnet.h
|
||||
include/ccnet/async-rpc-proc.h
|
||||
include/ccnet/ccnet-client.h
|
||||
include/ccnet/ccnet-object.h
|
||||
include/ccnet/ccnet-session-base.h
|
||||
include/ccnet/ccnetrpc-transport.h
|
||||
include/ccnet/cevent.h
|
||||
include/ccnet/invoke-service-proc.h
|
||||
include/ccnet/job-mgr.h
|
||||
include/ccnet/message.h
|
||||
include/ccnet/mqclient-proc.h
|
||||
include/ccnet/option.h
|
||||
include/ccnet/packet.h
|
||||
include/ccnet/peer.h
|
||||
include/ccnet/proc-factory.h
|
||||
include/ccnet/processor.h
|
||||
include/ccnet/rpcserver-proc.h
|
||||
include/ccnet/sendcmd-proc.h
|
||||
include/ccnet/status-code.h
|
||||
include/ccnet/threaded-rpcserver-proc.h
|
||||
include/ccnet/timer.h
|
||||
include/ccnet/valid-check.h
|
||||
lib/libccnet.a
|
||||
lib/libccnet.la
|
||||
@lib lib/libccnet.so.${LIBccnet_VERSION}
|
||||
lib/pkgconfig/libccnet.pc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/async_client.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/async_client.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/async_client.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/mqclientproc.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/mqclientproc.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/mqclientproc.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/processor.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/processor.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/processor.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/rpcserverproc.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/rpcserverproc.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/rpcserverproc.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/sendcmdproc.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/sendcmdproc.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/sendcmdproc.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/timer.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/timer.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/async/timer.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/client.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/client.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/client.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/errors.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/errors.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/errors.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/message.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/message.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/message.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/packet.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/packet.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/packet.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/pool.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/pool.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/pool.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/rpc.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/rpc.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/rpc.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/status_code.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/status_code.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/status_code.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/sync_client.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/sync_client.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/sync_client.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/utils.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ccnet/utils.pyo
|
25
net/seafile/client/Makefile
Normal file
25
net/seafile/client/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
|
||||
COMMENT = seafile client
|
||||
|
||||
GH_PROJECT = seafile-client
|
||||
GH_COMMIT = ba9601b42423e642779dda9540c14874c174220a
|
||||
|
||||
WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtWebKit
|
||||
WANTLIB += lib/qt4/QtXml lib/qt4/QtXmlPatterns c ccnet crypto gio-2.0
|
||||
WANTLIB += glib-2.0 gobject-2.0 intl jansson m pthread seafile searpc
|
||||
WANTLIB += sqlite3 ssl stdc++
|
||||
|
||||
MODULES = devel/cmake devel/gettext x11/qt4
|
||||
LIB_DEPENDS = net/seafile/seafile
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gtk+2,-guic
|
||||
|
||||
CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC}/i18n/ && lrelease4 *.ts
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/seafile/client/distinfo
Normal file
2
net/seafile/client/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (seafile-client-3.1.6.tar.gz) = lxvztgvMimsTBhcmNy7Gb/jHMiU9O9SVwZpm5QXxcnE=
|
||||
SIZE (seafile-client-3.1.6.tar.gz) = 814553
|
2
net/seafile/client/pkg/DESCR
Normal file
2
net/seafile/client/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Desktop client for Seafile Cloud Storage.
|
||||
|
16
net/seafile/client/pkg/PLIST
Normal file
16
net/seafile/client/pkg/PLIST
Normal file
@ -0,0 +1,16 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
@bin bin/seafile-applet
|
||||
share/applications/seafile.desktop
|
||||
share/icons/hicolor/128x128/apps/seafile.png
|
||||
share/icons/hicolor/16x16/apps/seafile.png
|
||||
share/icons/hicolor/22x22/apps/seafile.png
|
||||
share/icons/hicolor/24x24/apps/seafile.png
|
||||
share/icons/hicolor/32x32/apps/seafile.png
|
||||
share/icons/hicolor/48x48/apps/seafile.png
|
||||
share/icons/hicolor/scalable/apps/seafile.svg
|
||||
share/pixmaps/
|
||||
share/pixmaps/seafile.png
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
||||
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
|
||||
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
|
38
net/seafile/libsearpc/Makefile
Normal file
38
net/seafile/libsearpc/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
|
||||
COMMENT = simple RPC framework based on GObject system
|
||||
|
||||
GH_PROJECT = libsearpc
|
||||
GH_TAGNAME = v3.0-latest
|
||||
GH_COMMIT = 8998e7b2c5587f0b94c48db24e2952d08def5add
|
||||
|
||||
SHARED_LIBS += searpc 0.0 # 1.2
|
||||
|
||||
# LGPLv3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += ffi glib-2.0 gobject-2.0 jansson pcre pthread
|
||||
|
||||
MODULES = devel/gettext lang/python
|
||||
|
||||
BUILD_DEPENDS = devel/libtool \
|
||||
${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
${MODGNU_AUTOCONF_DEPENDS}
|
||||
|
||||
LIB_DEPENDS = devel/glib2 \
|
||||
devel/jansson
|
||||
|
||||
SEPARATE_BUILD = Yes
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
AUTOCONF_VERSION = 2.61
|
||||
AUTOMAKE_VERSION = 1.9
|
||||
|
||||
MODPY_ADJ_FILES = lib/searpc-codegen.py pysearpc/pygencode.py
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoreconf -fi
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/seafile/libsearpc/distinfo
Normal file
2
net/seafile/libsearpc/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (libsearpc-3.0.tar.gz) = VjE3ceCtfcB1xFkLanXa6zk5k3shcW2CyRviYSEzuM0=
|
||||
SIZE (libsearpc-3.0.tar.gz) = 43275
|
12
net/seafile/libsearpc/patches/patch-Makefile_am
Normal file
12
net/seafile/libsearpc/patches/patch-Makefile_am
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_am,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- Makefile.am.orig Thu Nov 7 15:32:00 2013
|
||||
+++ Makefile.am Thu Nov 7 15:32:31 2013
|
||||
@@ -22,7 +22,7 @@ install-data-local:
|
||||
if MACOS
|
||||
${SED} -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
else
|
||||
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
+ perl -pi -e "s|\(DESTDIR\)||g" $(pcfiles)
|
||||
endif
|
||||
|
||||
dist-hook:
|
3
net/seafile/libsearpc/pkg/DESCR
Normal file
3
net/seafile/libsearpc/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Searpc is a simple C language RPC framework based on GObject system.
|
||||
Searpc handles the serialization/deserialization part of RPC, the
|
||||
transport part is left to users.
|
23
net/seafile/libsearpc/pkg/PLIST
Normal file
23
net/seafile/libsearpc/pkg/PLIST
Normal file
@ -0,0 +1,23 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
bin/searpc-codegen.py
|
||||
include/searpc-client.h
|
||||
include/searpc-server.h
|
||||
include/searpc-utils.h
|
||||
include/searpc.h
|
||||
lib/libsearpc.a
|
||||
lib/libsearpc.la
|
||||
@lib lib/libsearpc.so.${LIBsearpc_VERSION}
|
||||
lib/pkgconfig/libsearpc.pc
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/client.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/client.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/client.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/common.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/common.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/common.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/server.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/server.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pysearpc/server.pyo
|
56
net/seafile/seafile/Makefile
Normal file
56
net/seafile/seafile/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
|
||||
COMMENT = seafile daemon
|
||||
|
||||
GH_PROJECT = seafile
|
||||
GH_COMMIT = cfbcd85d13c2fafb5e01d862a9536eb5de896114
|
||||
PKGNAME = ${GH_PROJECT}-daemon-${V}
|
||||
|
||||
SHARED_LIBS = seafile 0.0
|
||||
|
||||
cWANTLIB += c ccnet event_core event_extra crypto ffi gio-2.0 glib-2.0
|
||||
cWANTLIB += gmodule-2.0 gobject-2.0 jansson pcre pthread searpc sqlite3
|
||||
cWANTLIB += ssl uuid z ${MODGETTEXT_WANTLIB}
|
||||
|
||||
WANTLIB += lib/inotify/inotify ${cWANTLIB}
|
||||
|
||||
MODULES = devel/gettext lang/python
|
||||
BUILD_DEPENDS = devel/libtool \
|
||||
lang/vala \
|
||||
${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
${MODGNU_AUTOCONF_DEPENDS}
|
||||
|
||||
RUN_DEPENDS = devel/py-simplejson
|
||||
LIB_DEPENDS = devel/libinotify \
|
||||
net/seafile/ccnet
|
||||
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS += --disable-fuse \
|
||||
--disable-server
|
||||
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/inotify" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/inotify"
|
||||
|
||||
AUTOCONF_VERSION = 2.61
|
||||
AUTOMAKE_VERSION = 1.9
|
||||
|
||||
MODPY_ADJ_FILES = scripts/*.py scripts/build/*.py scripts/upgrade/*.py \
|
||||
tests/test-share.py tests/test-transfer.py \
|
||||
tools/seafile-admin app/seaf-cli
|
||||
|
||||
post-extract:
|
||||
cd ${WRKSRC} && perl -pi -e 's,-levent ,\@LIBEVENT_LIBS\@ ,g' \
|
||||
controller/Makefile.am \
|
||||
daemon/Makefile.am \
|
||||
fileserver/Makefile.am \
|
||||
fuse/Makefile.am \
|
||||
lib/Makefile.am \
|
||||
server/Makefile.am \
|
||||
server/gc/Makefile.am \
|
||||
tests/Makefile.am
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoreconf -fi
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/seafile/seafile/distinfo
Normal file
2
net/seafile/seafile/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (seafile-3.1.6.tar.gz) = 9Ed9ZJfLjKlYv/sGLEGLd82Q6RRgFNMrUw8/CVRNU58=
|
||||
SIZE (seafile-3.1.6.tar.gz) = 1050028
|
12
net/seafile/seafile/patches/patch-daemon_Makefile_am
Normal file
12
net/seafile/seafile/patches/patch-daemon_Makefile_am
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-daemon_Makefile_am,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- daemon/Makefile.am.orig Tue Aug 5 09:28:35 2014
|
||||
+++ daemon/Makefile.am Wed Aug 6 19:51:51 2014
|
||||
@@ -122,7 +122,7 @@ seaf_daemon_SOURCES = seaf-daemon.c $(common_src)
|
||||
|
||||
seaf_daemon_LDADD = $(top_builddir)/lib/libseafile_common.la \
|
||||
@LIB_INTL@ \
|
||||
- @GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ -lsqlite3 @LIBEVENT_LIBS@ \
|
||||
+ @GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ -lsqlite3 @LIBEVENT_LIBS@ -linotify \
|
||||
$(top_builddir)/common/cdc/libcdc.la \
|
||||
$(top_builddir)/common/index/libindex.la ${LIB_WS32} \
|
||||
@SEARPC_LIBS@ @CCNET_LIBS@ @GNOME_KEYRING_LIBS@ @JANSSON_LIBS@ @LIB_MAC@ @ZLIB_LIBS@
|
12
net/seafile/seafile/patches/patch-daemon_vc-utils_c
Normal file
12
net/seafile/seafile/patches/patch-daemon_vc-utils_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-daemon_vc-utils_c,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- daemon/vc-utils.c.orig Tue Aug 5 09:28:35 2014
|
||||
+++ daemon/vc-utils.c Wed Aug 6 19:51:51 2014
|
||||
@@ -287,7 +287,7 @@ compare_file_content (const char *path, SeafStat *st,
|
||||
return hashcmp (sha1, ce_sha1);
|
||||
}
|
||||
|
||||
-#if defined WIN32 || defined __APPLE__
|
||||
+#if defined WIN32 || defined __APPLE__ || defined __OpenBSD__
|
||||
|
||||
/*
|
||||
* If the names are different case-sensitively but the same case-insensitively,
|
10
net/seafile/seafile/patches/patch-lib_Makefile_am
Normal file
10
net/seafile/seafile/patches/patch-lib_Makefile_am
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-lib_Makefile_am,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- lib/Makefile.am.orig Wed Sep 24 15:55:53 2014
|
||||
+++ lib/Makefile.am Wed Sep 24 15:55:53 2014
|
||||
@@ -90,5 +90,5 @@ install-data-local:
|
||||
if MACOS
|
||||
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
else
|
||||
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
+ perl -pi -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
endif
|
16
net/seafile/seafile/patches/patch-lib_libseafile_pc_in
Normal file
16
net/seafile/seafile/patches/patch-lib_libseafile_pc_in
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-lib_libseafile_pc_in,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
--- lib/libseafile.pc.in.orig Tue Apr 8 20:14:28 2014
|
||||
+++ lib/libseafile.pc.in Tue Apr 8 20:14:50 2014
|
||||
@@ -1,4 +1,4 @@
|
||||
-prefix=(DESTDIR)@prefix@
|
||||
+prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
@@ -8,4 +8,4 @@ Description: Client library for accessing seafile serv
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lseafile @SEARPC_LIBS@
|
||||
Cflags: -I${includedir} @SEARPC_CFLAGS@
|
||||
-Requires: gobject-2.0 glib-2.0
|
||||
\ No newline at end of file
|
||||
+Requires: gobject-2.0 glib-2.0
|
10
net/seafile/seafile/pkg/DESCR
Normal file
10
net/seafile/seafile/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
Seafile is a next-generation open source cloud storage system, with
|
||||
advanced support for file syncing, privacy protection and teamwork.
|
||||
|
||||
Collections of files are called libraries, and each library can be
|
||||
synced separately. A library can be encrypted with a user chosen
|
||||
password. This password is not stored on the server, so even the server
|
||||
admin can't view your file contents.
|
||||
|
||||
Seafile lets you create groups with file syncing, wiki, and discussion
|
||||
- enabling easy collaboration around documents within a team.
|
34
net/seafile/seafile/pkg/PLIST
Normal file
34
net/seafile/seafile/pkg/PLIST
Normal file
@ -0,0 +1,34 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/10/04 18:47:55 kirby Exp $
|
||||
bin/seaf-cli
|
||||
@bin bin/seaf-daemon
|
||||
@bin bin/seafile
|
||||
include/seafile/
|
||||
include/seafile/monitor-rpc.h
|
||||
include/seafile/seafile-object.h
|
||||
include/seafile/seafile-rpc.h
|
||||
include/seafile/seafile.h
|
||||
lib/libseafile.a
|
||||
lib/libseafile.la
|
||||
@lib lib/libseafile.so.${LIBseafile_VERSION}
|
||||
lib/pkgconfig/libseafile.pc
|
||||
lib/python${MODPY_VERSION}/site-packages/seafile/
|
||||
lib/python${MODPY_VERSION}/site-packages/seafile/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/seafile/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/seafile/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/seafile/rpcclient.py
|
||||
lib/python${MODPY_VERSION}/site-packages/seafile/rpcclient.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/seafile/rpcclient.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/__init__.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/api.py
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/api.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/api.pyo
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/service.py
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/service.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/seaserv/service.pyo
|
||||
@comment man/man1/ccnet.1
|
||||
@man man/man1/seaf-cli.1
|
||||
@man man/man1/seaf-daemon.1
|
||||
@comment man/man1/seafile-applet.1
|
Loading…
Reference in New Issue
Block a user