FreeBSD Bugzilla – Attachment 149112 Details for
Bug 193134
[NEW PORT] net-mgmt/seafile: Framework for writing networked applications
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
updated shar file
seafile.shar (text/plain), 19.15 KB, created by
Jingfeng Yan
on 2014-11-06 04:20:02 UTC
(
hide
)
Description:
updated shar file
Filename:
MIME Type:
Creator:
Jingfeng Yan
Created:
2014-11-06 04:20:02 UTC
Size:
19.15 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># seafile ># seafile/pkg-descr ># seafile/pkg-plist ># seafile/Makefile ># seafile/files ># seafile/files/patch-daemon_Makefile.am ># seafile/files/patch-lib_Makfile.am ># seafile/files/patch-lib_utils.h ># seafile/files/patch-daemon_vc-utils.c ># seafile/files/patch-daemon_repo-mgr.c ># seafile/files/patch-configure.ac ># seafile/files/patch-controller_seafile-controller.c ># seafile/files/patch-lib_libseafile.pc.in ># seafile/files/patch-lib_net.c ># seafile/files/patch-common_obj-backend-fs.c ># seafile/files/patch-lib_utils.c ># seafile/files/patch-scripts_setup-seafile.sh ># seafile/distinfo ># >echo c - seafile >mkdir -p seafile > /dev/null 2>&1 >echo x - seafile/pkg-descr >sed 's/^X//' >seafile/pkg-descr << 'fdef39a876ea20e7516fd7c5ff391b9a' >XSeafile is a next-generation open source cloud storage system with advanced >Xsupport for file syncing, privacy protection and teamwork. Collections of >Xfiles are called libraries, and each library can be synced separately. A >Xlibrary can be encrypted with a user chosen password. This password is not >Xstored on the server, so even the server admin cannot view a file's contents. >X >XSeafile allows users to create groups with file syncing, wiki, and discussion >Xto enable easy collaboration around documents within a team. >X >XWWW: https://github.com/haiwen/seafile >fdef39a876ea20e7516fd7c5ff391b9a >echo x - seafile/pkg-plist >sed 's/^X//' >seafile/pkg-plist << 'e82a268f5a55f1da4e8f067a14e144b3' >Xbin/fileserver >Xbin/seaf-cli >Xbin/seaf-daemon >Xbin/seaf-fsck >Xbin/seaf-fuse >Xbin/seaf-migrate >Xbin/seaf-server >Xbin/seaf-server-init >Xbin/seafile >Xbin/seafile-admin >Xbin/seafile-controller >Xbin/seafserv-gc >Xbin/seafserv-tool >Xinclude/seafile/monitor-rpc.h >Xinclude/seafile/seafile-object.h >Xinclude/seafile/seafile-rpc.h >Xinclude/seafile/seafile.h >Xlib/libseafile.a >Xlib/libseafile.so >Xlib/libseafile.so.0 >Xlib/libseafile.so.0.0.0 >X%%PYTHON_SITELIBDIR%%/seafile/__init__.py >X%%PYTHON_SITELIBDIR%%/seafile/__init__.pyc >X%%PYTHON_SITELIBDIR%%/seafile/__init__.pyo >X%%PYTHON_SITELIBDIR%%/seafile/rpcclient.py >X%%PYTHON_SITELIBDIR%%/seafile/rpcclient.pyc >X%%PYTHON_SITELIBDIR%%/seafile/rpcclient.pyo >X%%PYTHON_SITELIBDIR%%/seaserv/__init__.py >X%%PYTHON_SITELIBDIR%%/seaserv/__init__.pyc >X%%PYTHON_SITELIBDIR%%/seaserv/__init__.pyo >X%%PYTHON_SITELIBDIR%%/seaserv/api.py >X%%PYTHON_SITELIBDIR%%/seaserv/api.pyc >X%%PYTHON_SITELIBDIR%%/seaserv/api.pyo >X%%PYTHON_SITELIBDIR%%/seaserv/service.py >X%%PYTHON_SITELIBDIR%%/seaserv/service.pyc >X%%PYTHON_SITELIBDIR%%/seaserv/service.pyo >Xlibdata/pkgconfig/libseafile.pc >Xman/man1/ccnet.1.gz >Xman/man1/seaf-cli.1.gz >Xman/man1/seaf-daemon.1.gz >Xman/man1/seafile-applet.1.gz >X%%WWWDIR%%/check_init_admin.py >X%%WWWDIR%%/reset-admin.sh >X%%WWWDIR%%/seaf-cli-wrapper.sh >X%%WWWDIR%%/seaf-fuse.sh >X%%WWWDIR%%/seaf-gc.sh >X%%WWWDIR%%/seafile.sh >X%%WWWDIR%%/seafile/bin/fileserver >X%%WWWDIR%%/seafile/bin/seaf-fsck >X%%WWWDIR%%/seafile/bin/seaf-fuse >X%%WWWDIR%%/seafile/bin/seaf-migrate >X%%WWWDIR%%/seafile/bin/seaf-server >X%%WWWDIR%%/seafile/bin/seaf-server-init >X%%WWWDIR%%/seafile/bin/seafile-controller >X%%WWWDIR%%/seafile/bin/seafserv-gc >X%%WWWDIR%%/seafile/bin/seafserv-tool >X%%PORTDOCS%%%%WWWDIR%%/seafile/%%DOCSDIR%%/seafile-tutorial.doc >X%%WWWDIR%%/seahub.sh >X%%WWWDIR%%/setup-seafile-mysql.py >X%%WWWDIR%%/setup-seafile-mysql.sh >X%%WWWDIR%%/setup-seafile.sh >X%%WWWDIR%%/sqlite2mysql.py >X%%WWWDIR%%/sqlite2mysql.sh >X%%WWWDIR%%/upgrade/add_collate.sh >X%%WWWDIR%%/upgrade/db_update_1.3_1.4.py >X%%WWWDIR%%/upgrade/db_update_helper.py >X%%WWWDIR%%/upgrade/minor-upgrade.sh >X%%WWWDIR%%/upgrade/sql/1.6.0/mysql/seahub.sql >X%%WWWDIR%%/upgrade/sql/1.6.0/sqlite3/seahub.sql >X%%WWWDIR%%/upgrade/sql/1.7.0/mysql/seafile.sql >X%%WWWDIR%%/upgrade/sql/1.7.0/mysql/seahub.sql >X%%WWWDIR%%/upgrade/sql/1.7.0/sqlite3/seafile.sql >X%%WWWDIR%%/upgrade/sql/1.7.0/sqlite3/seahub.sql >X%%WWWDIR%%/upgrade/sql/1.8.0/mysql/ccnet.sql >X%%WWWDIR%%/upgrade/sql/1.8.0/mysql/seahub.sql >X%%WWWDIR%%/upgrade/sql/1.8.0/sqlite3/seahub.sql >X%%WWWDIR%%/upgrade/sql/2.0.0/mysql/seahub.sql >X%%WWWDIR%%/upgrade/sql/2.0.0/sqlite3/seahub.sql >X%%WWWDIR%%/upgrade/sql/2.1.0/mysql/seahub.sql >X%%WWWDIR%%/upgrade/sql/2.1.0/sqlite3/seahub.sql >X%%WWWDIR%%/upgrade/sql/2.2.0/mysql/ccnet.sql >X%%WWWDIR%%/upgrade/sql/3.0.0/mysql/seahub.sql >X%%WWWDIR%%/upgrade/sql/3.0.0/sqlite3/seahub.sql >X%%WWWDIR%%/upgrade/sql/3.1.0/mysql/seahub.sql >X%%WWWDIR%%/upgrade/sql/3.1.0/sqlite3/seahub.sql >X%%WWWDIR%%/upgrade/upgrade_1.2_1.3.sh >X%%WWWDIR%%/upgrade/upgrade_1.3_1.4.sh >X%%WWWDIR%%/upgrade/upgrade_1.4_1.5.sh >X%%WWWDIR%%/upgrade/upgrade_1.5_1.6.sh >X%%WWWDIR%%/upgrade/upgrade_1.6_1.7.sh >X%%WWWDIR%%/upgrade/upgrade_1.7_1.8.sh >X%%WWWDIR%%/upgrade/upgrade_1.8_2.0.sh >X%%WWWDIR%%/upgrade/upgrade_2.0_2.1.sh >X%%WWWDIR%%/upgrade/upgrade_2.1_2.2.sh >X%%WWWDIR%%/upgrade/upgrade_2.2_3.0.sh >X%%WWWDIR%%/upgrade/upgrade_3.0_3.1.sh >e82a268f5a55f1da4e8f067a14e144b3 >echo x - seafile/Makefile >sed 's/^X//' >seafile/Makefile << '7125f1d05bcc97d093a94f983acf8bbd' >X# $FreeBSD$ >X >XPORTNAME= seafile >XPORTVERSION= 3.1.4 >XCATEGORIES= net-mgmt devel >X >XMAINTAINER= yan_jingfeng@yahoo.com >XCOMMENT= Framework for writing networked applications >X >XLICENSE= GPLv3 >X >XBUILD_DEPENDS= valac:${PORTSDIR}/lang/vala >XLIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ >X libevhtp.so:${PORTSDIR}/www/libevhtp \ >X libzdb.so:${PORTSDIR}/databases/libzdb \ >X libcrypto.so:${PORTSDIR}/security/openssl \ >X libarchive.so.13:${PORTSDIR}/archivers/libarchive \ >X libfuse.so:${PORTSDIR}/sysutils/fusefs-libs \ >X libinotify.so:${PORTSDIR}/devel/libinotify \ >X libccnet.so:${PORTSDIR}/net-mgmt/ccnet >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eggtestinfo>0:${PORTSDIR}/devel/py-eggtestinfo \ >X ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \ >X ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ >X bash:${PORTSDIR}/shells/bash >X >XUSE_GITHUB= yes >XGH_ACCOUNT= haiwen >XGH_TAGNAME= v3.1.4 >XGH_COMMIT= ac58109 >X >XUSES= autoreconf libtool pkgconfig python:2 pathfix shebangfix >XPATHFIX_MAKEFILEIN= Makefile.am >XUSE_LDCONFIG= yes >X >XCPPFLAGS+= -I${LOCALBASE}/include >XLDFLAGS+= -L${LOCALBASE}/lib >X >XMAKE_JOBS_UNSAFE=yes >X >XGNU_CONFIGURE= yes >XCONFIGURE_ARGS+=--enable-server >XINSTALL_TARGET= install-strip >X >XWITH_OPENSSL_PORT= yes >XUSE_OPENSSL= yes >X >XWWWDIR= ${PREFIX}/www/haiwen/seafile-server >X >XSERVPORGS= fileserver \ >X seaf-fsck \ >X seafserv-gc \ >X seaf-fuse \ >X seaf-migrate \ >X seaf-server \ >X seaf-server-init \ >X seafile-controller \ >X seafserv-tool >X >XSERVSCRIPS= py \ >X sh >X >Xpost-install: >X @${MKDIR} ${STAGEDIR}${WWWDIR}/seafile/bin >X @${MKDIR} ${STAGEDIR}${WWWDIR}/seafile/share/doc/seafile >X @${MKDIR} ${STAGEDIR}${WWWDIR}/upgrade >X.for _SERVPROG in ${SERVPORGS} >X ${LN} ${STAGEDIR}${PREFIX}/bin/${_SERVPROG} \ >X ${STAGEDIR}${WWWDIR}/seafile/bin/${_SERVPROG} >X.endfor >X.for _SERVSCRIPT in ${SERVSCRIPS} >X ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.${_SERVSCRIPT} \ >X ${STAGEDIR}${WWWDIR} >X ${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.${_SERVSCRIPT} \ >X ${STAGEDIR}${WWWDIR}/upgrade >X.endfor >X ${INSTALL_DATA} ${WRKSRC}/doc/seafile-tutorial.doc \ >X ${STAGEDIR}${WWWDIR}/seafile/share/doc/seafile/ >X ${CP} -R ${WRKSRC}/scripts/upgrade/sql/ \ >X ${STAGEDIR}${WWWDIR}/upgrade/sql/ >X >X.include <bsd.port.mk> >7125f1d05bcc97d093a94f983acf8bbd >echo c - seafile/files >mkdir -p seafile/files > /dev/null 2>&1 >echo x - seafile/files/patch-daemon_Makefile.am >sed 's/^X//' >seafile/files/patch-daemon_Makefile.am << 'cd0361f04f10231d5daa227f24c84f19' >X--- daemon/Makefile.am.orig 2014-08-05 01:28:35.000000000 -0400 >X+++ daemon/Makefile.am 2014-08-30 01:44:16.911202899 -0400 >X@@ -125,7 +125,8 @@ >X @GLIB2_LIBS@ @GOBJECT_LIBS@ -lssl @LIB_RT@ @LIB_UUID@ -lsqlite3 -levent \ >X $(top_builddir)/common/cdc/libcdc.la \ >X $(top_builddir)/common/index/libindex.la ${LIB_WS32} \ >X- @SEARPC_LIBS@ @CCNET_LIBS@ @GNOME_KEYRING_LIBS@ @JANSSON_LIBS@ @LIB_MAC@ @ZLIB_LIBS@ >X+ @SEARPC_LIBS@ @CCNET_LIBS@ @GNOME_KEYRING_LIBS@ @JANSSON_LIBS@ @LIB_MAC@ \ >X+ @ZLIB_LIBS@ @LIB_INOTIFY@ >X >X seaf_daemon_LDFLAGS = @STATIC_COMPILE@ @CONSOLE@ >X >cd0361f04f10231d5daa227f24c84f19 >echo x - seafile/files/patch-lib_Makfile.am >sed 's/^X//' >seafile/files/patch-lib_Makfile.am << 'd354f46f82f82d17c91d66c6277f2dbb' >X--- lib/Makefile.am.orig 2014-08-30 02:00:00.097346044 -0400 >X+++ lib/Makefile.am 2014-08-30 02:00:10.951213463 -0400 >X@@ -72,8 +72,4 @@ >X rm -f $(top_srcdir)/lib/rpc_table.pyc >X >X install-data-local: >X-if MACOS >X- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) >X-else >X- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) >X-endif >X+ ${SED} -i '' "s|(DESTDIR)|${PREFIX}|g" $(pcfiles) >d354f46f82f82d17c91d66c6277f2dbb >echo x - seafile/files/patch-lib_utils.h >sed 's/^X//' >seafile/files/patch-lib_utils.h << 'f3d9b38d4f3df570908023d382c5a95e' >X--- lib/utils.h.orig 2014-06-05 02:25:50.000000000 -0400 >X+++ lib/utils.h 2014-07-27 01:48:52.000000000 -0400 >X@@ -3,6 +3,9 @@ >X #ifndef CCNET_UTILS_H >X #define CCNET_UTILS_H >X >X+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+#include <netinet/in.h> >X+#endif >X #include <sys/time.h> >X #include <time.h> >X #include <stdint.h> >f3d9b38d4f3df570908023d382c5a95e >echo x - seafile/files/patch-daemon_vc-utils.c >sed 's/^X//' >seafile/files/patch-daemon_vc-utils.c << '66eefe61d1f7f41019b404be547508c4' >X--- daemon/vc-utils.c.orig 2014-06-05 02:25:50.000000000 -0400 >X+++ daemon/vc-utils.c 2014-07-27 01:10:00.000000000 -0400 >X@@ -489,7 +489,7 @@ >X >X #endif /* defined WIN32 || defined __APPLE__ */ >X >X-#ifdef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X >X static char * >X build_checkout_path (const char *worktree, const char *ce_name, int len) >X@@ -549,12 +549,12 @@ >X gboolean force_conflict = FALSE; >X >X path_in = g_build_path ("/", o->base, ce->name, NULL); >X-#ifndef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+ path = build_checkout_path (o->base, ce->name, ce_namelen(ce)); >X+#else >X path = build_case_conflict_free_path (o->base, ce->name, >X conflict_hash, no_conflict_hash, >X &case_conflict); >X-#else >X- path = build_checkout_path (o->base, ce->name, ce_namelen(ce)); >X #endif >X >X g_free (path_in); >66eefe61d1f7f41019b404be547508c4 >echo x - seafile/files/patch-daemon_repo-mgr.c >sed 's/^X//' >seafile/files/patch-daemon_repo-mgr.c << '88f816a2418a809ef366893e831860d0' >X--- daemon/repo-mgr.c.orig 2014-08-30 02:03:22.367472662 -0400 >X+++ daemon/repo-mgr.c 2014-08-30 02:10:42.071207749 -0400 >X@@ -1720,12 +1720,12 @@ >X gboolean force_conflict = FALSE; >X gboolean update_mode_only = FALSE; >X >X-#ifndef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+ path = build_checkout_path (worktree, name, strlen(name)); >X+#else >X path = build_case_conflict_free_path (worktree, name, >X conflict_hash, no_conflict_hash, >X &case_conflict); >X-#else >X- path = build_checkout_path (worktree, name, strlen(name)); >X #endif >X >X if (!path) >X@@ -1858,12 +1858,12 @@ >X char *path; >X gboolean case_conflict = FALSE; >X >X-#ifndef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+ path = build_checkout_path (worktree, name, strlen(name)); >X+#else >X path = build_case_conflict_free_path (worktree, name, >X conflict_hash, no_conflict_hash, >X &case_conflict); >X-#else >X- path = build_checkout_path (worktree, name, strlen(name)); >X #endif >X >X if (!path) >X@@ -2088,12 +2088,12 @@ >X >X char *new_path; >X gboolean case_conflict; >X-#ifndef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+ new_path = build_checkout_path (worktree, de->new_name, strlen(de->new_name)); >X+#else >X new_path = build_case_conflict_free_path (worktree, de->new_name, >X conflict_hash, no_conflict_hash, >X &case_conflict); >X-#else >X- new_path = build_checkout_path (worktree, de->new_name, strlen(de->new_name)); >X #endif >X >X if (g_file_test (old_path, G_FILE_TEST_EXISTS) && >88f816a2418a809ef366893e831860d0 >echo x - seafile/files/patch-configure.ac >sed 's/^X//' >seafile/files/patch-configure.ac << '9829dfe85b905c4d9f410692f38a0af3' >X--- configure.ac.orig 2014-06-05 02:25:50.000000000 -0400 >X+++ configure.ac 2014-07-21 12:43:12.000000000 -0400 >X@@ -199,25 +199,28 @@ >X LIB_GDI32= >X LIB_RT= >X LIB_INTL= >X- LIB_RESOLV=-lresolv >X+ LIB_RESOLV= >X LIB_UUID=-luuid >X LIB_IPHLPAPI= >X LIB_SHELL32= >X LIB_PSAPI= >X MSVC_CFLAGS= >X LIB_MAC="-framework CoreServices" >X+ ZLIB_LIBS=-lz >X else >X LIB_WS32= >X LIB_GDI32= >X LIB_RT= >X LIB_INTL= >X- LIB_RESOLV=-lresolv >X+ LIB_RESOLV= >X LIB_UUID=-luuid >X LIB_IPHLPAPI= >X LIB_SHELL32= >X LIB_PSAPI= >X LIB_MAC= >X MSVC_CFLAGS= >X+ ZLIB_LIBS=-lz >X+ LIB_INOTIFY=-linotify >X fi >X >X AC_SUBST(LIB_WS32) >X@@ -230,6 +233,8 @@ >X AC_SUBST(LIB_SHELL32) >X AC_SUBST(LIB_PSAPI) >X AC_SUBST(LIB_MAC) >X+AC_SUBST(ZLIB_LIBS) >X+AC_SUBST(LIB_INOTIFY) >X AC_SUBST(MSVC_CFLAGS) >X >X >X@@ -241,7 +246,6 @@ >X #LIBNAUTILUS_EXTENSION_REQUIRED=2.30.1 >X CURL_REQUIRED=7.17 >X FUSE_REQUIRED=2.8.6 >X-ZLIB_REQUIRED=1.2.0 >X >X PKG_CHECK_MODULES(GLIB2, [glib-2.0 >= $GLIB_REQUIRED]) >X AC_SUBST(GLIB2_CFLAGS) >X@@ -263,10 +267,6 @@ >X AC_SUBST(LIBEVENT_CFLAGS) >X AC_SUBST(LIBEVENT_LIBS) >X >X-PKG_CHECK_MODULES(ZLIB, [zlib >= $ZLIB_REQUIRED]) >X-AC_SUBST(ZLIB_CFLAGS) >X-AC_SUBST(ZLIB_LIBS) >X- >X if test x${compile_python} = xyes; then >X AM_PATH_PYTHON([2.6]) >X >9829dfe85b905c4d9f410692f38a0af3 >echo x - seafile/files/patch-controller_seafile-controller.c >sed 's/^X//' >seafile/files/patch-controller_seafile-controller.c << 'f9309fa34fe642412a2fa99991b4a0d2' >X--- controller/seafile-controller.c.orig 2014-08-05 01:28:35.000000000 -0400 >X+++ controller/seafile-controller.c 2014-08-30 09:11:34.868400091 -0400 >X@@ -18,6 +18,10 @@ >X #include "log.h" >X #include "seafile-controller.h" >X >X+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+#include <sys/sysctl.h> >X+#endif >X+ >X #define CHECK_PROCESS_INTERVAL 10 /* every 10 seconds */ >X >X SeafileController *ctl; >X@@ -273,7 +277,11 @@ >X init_seafile_path () >X { >X GError *error = NULL; >X+#if defined(__linux__) >X char *executable = g_file_read_link ("/proc/self/exe", &error); >X+#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+ char *executable = g_file_read_link ("/proc/curproc/file", &error); >X+#endif >X char *tmp = NULL; >X if (error != NULL) { >X seaf_warning ("failed to readlink: %s\n", error->message); >f9309fa34fe642412a2fa99991b4a0d2 >echo x - seafile/files/patch-lib_libseafile.pc.in >sed 's/^X//' >seafile/files/patch-lib_libseafile.pc.in << '20eb9fcf12f1f3364c5adf38a840baf6' >X--- lib/libseafile.pc.in.orig 2014-09-03 23:00:38.555065334 -0400 >X+++ lib/libseafile.pc.in 2014-09-03 23:01:13.715468049 -0400 >X@@ -3,9 +3,9 @@ >X libdir=@libdir@ >X includedir=@includedir@ >X >X-Name: libccnet >X+Name: libseafile >X Description: Client library for accessing seafile service. >X Version: @VERSION@ >X Libs: -L${libdir} -lseafile @SEARPC_LIBS@ >X Cflags: -I${includedir} @SEARPC_CFLAGS@ >X-Requires: gobject-2.0 glib-2.0 >X\ No newline at end of file >X+Requires: gobject-2.0 glib-2.0 >20eb9fcf12f1f3364c5adf38a840baf6 >echo x - seafile/files/patch-lib_net.c >sed 's/^X//' >seafile/files/patch-lib_net.c << '1b5d76dc3b7acc981b03cc706d57fdda' >X--- lib/net.c.orig 2014-09-02 21:09:59.708953392 -0400 >X+++ lib/net.c 2014-09-02 21:10:22.959507209 -0400 >X@@ -157,7 +157,7 @@ >X >X snprintf (buf, sizeof(buf), "%d", port); >X >X- if ( (n = getaddrinfo(NULL, buf, &hints, &res) ) != 0) { >X+ if ( (n = getaddrinfo("0.0.0.0", buf, &hints, &res) ) != 0) { >X ccnet_warning ("getaddrinfo fails: %s\n", gai_strerror(n)); >X return -1; >X } >1b5d76dc3b7acc981b03cc706d57fdda >echo x - seafile/files/patch-common_obj-backend-fs.c >sed 's/^X//' >seafile/files/patch-common_obj-backend-fs.c << '2cee2f074f2ea564fcdaadde1d6afbcc' >X--- common/obj-backend-fs.c.orig 2014-08-30 10:00:33.108962525 -0400 >X+++ common/obj-backend-fs.c 2014-08-30 10:03:02.405000733 -0400 >X@@ -101,7 +101,7 @@ >X static int >X fsync_obj_contents (int fd) >X { >X-#ifdef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X /* Some file systems may not support fsync(). >X * In this case, just skip the error. >X */ >X@@ -153,7 +153,7 @@ >X static int >X rename_and_sync (const char *tmp_path, const char *obj_path) >X { >X-#ifdef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X char *parent_dir; >X int ret = 0; >X >2cee2f074f2ea564fcdaadde1d6afbcc >echo x - seafile/files/patch-lib_utils.c >sed 's/^X//' >seafile/files/patch-lib_utils.c << 'fc1787f5785ea1d4ed80da99b92eacef' >X--- lib/utils.c.orig 2014-06-05 02:25:50.000000000 -0400 >X+++ lib/utils.c 2014-07-30 22:56:37.000000000 -0400 >X@@ -1756,14 +1756,19 @@ >X >X #endif /* ifdef WIN32 */ >X >X-#ifdef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X /* read the link of /proc/123/exe and compare with `process_name' */ >X static int >X find_process_in_dirent(struct dirent *dir, const char *process_name) >X { >X char path[512]; >X /* fisrst construct a path like /proc/123/exe */ >X+#ifdef __linux__ >X if (sprintf (path, "/proc/%s/exe", dir->d_name) < 0) { >X+#endif >X+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) >X+ if (sprintf (path, "/proc/%s/file", dir->d_name) < 0) { >X+#endif >X return -1; >X } >X >fc1787f5785ea1d4ed80da99b92eacef >echo x - seafile/files/patch-scripts_setup-seafile.sh >sed 's/^X//' >seafile/files/patch-scripts_setup-seafile.sh << '0a7113a19306965914e9700fe6da961a' >X--- scripts/setup-seafile.sh.orig 2014-08-28 05:24:34.830623727 -0400 >X+++ scripts/setup-seafile.sh 2014-08-28 05:27:43.095059196 -0400 >X@@ -341,7 +341,7 @@ >X } >X >X function copy_user_manuals() { >X- src_docs_dir=${INSTALLPATH}/seafile/docs/ >X+ src_docs_dir=${INSTALLPATH}/seafile/share/doc/seafile/ >X library_template_dir=${seafile_data_dir}/library-template >X mkdir -p ${library_template_dir} >X cp -f ${src_docs_dir}/*.doc ${library_template_dir} >0a7113a19306965914e9700fe6da961a >echo x - seafile/distinfo >sed 's/^X//' >seafile/distinfo << '5f0baf6d955a99acd4f1c441169bba3f' >XSHA256 (seafile-3.1.4.tar.gz) = 0ef5d6947ebc74ce5c37390d74b4c1ad7f0da7359f0c8d263963dd04dccf7306 >XSIZE (seafile-3.1.4.tar.gz) = 1047684 >5f0baf6d955a99acd4f1c441169bba3f >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 193134
:
146505
|
146506
|
146794
|
146931
|
146932
|
146933
|
147038
|
147140
|
148975
|
148977
|
148978
|
148979
|
149059
|
149060
|
149109
|
149111
| 149112 |
149118