1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Seafile|Seahub: Updated to 9.0.2

Changes: https://manual.seafile.com/changelog/server-changelog/
This commit is contained in:
Richard Gallamore 2022-01-10 17:32:53 -08:00
parent a11d035515
commit 5b05cb77d9
13 changed files with 851 additions and 560 deletions

View File

@ -33,8 +33,7 @@ GH_ACCOUNT= haiwen
USE_GNOME= glib20
USE_RC_SUBR= seafile
SHEBANG_FILES= scripts/*.sh scripts/upgrade/*.sh *.sh scripts/build/*.py \
scripts/*.py scripts/upgrade/*.py tools/seafile-admin
SHEBANG_FILES= tools/seafile-admin
GNU_CONFIGURE= yes
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl \
-lcrypto" PKG_CONFIG_PATH="${WRKDIR}/pkgconfig"
@ -70,20 +69,11 @@ _PKGCONFIGDIR= ${WRKDIR}/pkgconfig
post-patch:
# Fix P_KTHREAD r295435
${REINPLACE_CMD} 's/P_KTHREAD/P_KPROC/' ${WRKSRC}/lib/utils.c
${REINPLACE_CMD} -E 's/stat.+\$$/stat -f %Su $$/' ${WRKSRC}/scripts/seafile.sh
${REINPLACE_CMD} 's/%%SEAFILE_USER%%/${USERS:[1]}/ ; s/%%SEAFILE_GROUP%%/${GROUPS:[1]}/' \
${WRKSRC}/scripts/setup-seafile.sh ${WRKSRC}/scripts/setup-seafile-mysql.py
# Fix python hardcodings
${REINPLACE_CMD} 's/python3\.[0-9]/${PYTHON_VERSION}/g; s/python3 /${PYTHON_VERSION} / ; \
s/PYTHON=python3/PYTHON=${PYTHON_VERSION}/' \
${WRKSRC}/controller/seafile-controller.c ${WRKSRC}/scripts/reset-admin.sh \
${WRKSRC}/scripts/upgrade/upgrade_[7-9].[0-9]_[7-9].[0-9].sh \
${WRKSRC}/scripts/seahub.sh ${WRKSRC}/scripts/setup-seafile.sh \
${WRKSRC}/scripts/setup-seafile-mysql.sh \
${WRKSRC}/scripts/setup-seafile-mysql.py
${REINPLACE_CMD} 's/python/${PYTHON_VERSION}/' \
${WRKSRC}/scripts/upgrade/regenerate_secret_key.sh
s/PYTHON=python3/PYTHON=${PYTHON_VERSION}/ ; s|/python3/|/${PYTHON_VERSION}/|g' \
${WRKSRC}/controller/seafile-controller.c
@${MKDIR} ${_PKGCONFIGDIR}
.if ${MYSQL_FLAVOUR} == mariadb
@ -100,8 +90,7 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB} \
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile
.for SERVPROG in seaf-fsck seafserv-gc seaf-fuse seaf-migrate \
seaf-server seaf-server-init seafile-controller
if [ -e "${STAGEDIR}${PREFIX}/bin/${SERVPROG}" ]; then \
@ -117,13 +106,10 @@ post-install:
${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB})
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} \
${STAGEDIR}${PREFIX}/bin/seafile-admin
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade
${INSTALL_DATA} ${WRKSRC}/doc/seafile-tutorial.doc \
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile/
(cd ${WRKSRC}/scripts && \
${COPYTREE_SHARE} "sql upgrade/sql" ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER})
${COPYTREE_SHARE} "sql" ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER})
makesum-all:
.for PORT in net-mgmt/seafile-server www/py-seafdav www/py-seafobj www/seahub

View File

@ -1,5 +1,5 @@
SEAFILE_VER= 8.0.7
SEAHUB_VER= 8.0.7
SEAFILE_VER= 9.0.2
SEAHUB_VER= 9.0.2
# Various vars used in most/all the Makefiles

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1630718047
SHA256 (haiwen-seafile-server-v8.0.7-server_GH0.tar.gz) = b41bedd254aa1730a574452d986a58cbc84dc8f9cd63ee035087132b1f947d55
SIZE (haiwen-seafile-server-v8.0.7-server_GH0.tar.gz) = 718851
TIMESTAMP = 1639252431
SHA256 (haiwen-seafile-server-v9.0.2-server_GH0.tar.gz) = 292257b584dcb775504fb22595e5b0903005abfee1990078527c7f9726548c8c
SIZE (haiwen-seafile-server-v9.0.2-server_GH0.tar.gz) = 709379

View File

@ -1,6 +1,6 @@
--- server/upload-file.c.orig 2019-12-23 10:30:49 UTC
--- server/upload-file.c.orig 2021-12-09 05:24:45 UTC
+++ server/upload-file.c
@@ -2306,7 +2306,7 @@ out:
@@ -2234,7 +2234,7 @@ out:
/* Set keepalive to 0. This will cause evhtp to close the
* connection after sending the reply.
*/
@ -9,7 +9,7 @@
fsm->state = RECV_ERROR;
}
@@ -2607,8 +2607,8 @@ upload_headers_cb (evhtp_request_t *req, evhtp_headers
@@ -2545,8 +2545,8 @@ upload_headers_cb (evhtp_request_t *req, evhtp_headers
}
/* Set up per-request hooks, so that we can read file data piece by piece. */
@ -20,16 +20,16 @@
/* Set arg for upload_cb or update_cb. */
req->cbarg = fsm;
@@ -2623,7 +2623,7 @@ err:
@@ -2561,7 +2561,7 @@ err:
/* Set keepalive to 0. This will cause evhtp to close the
* connection after sending the reply.
*/
- req->keepalive = 0;
+ evhtp_request_set_keepalive(req, 0);
send_error_reply (req, EVHTP_RES_BADREQ, err_msg);
+ evhtp_request_set_keepalive(req, 0);
send_error_reply (req, error_code, err_msg);
g_free (repo_id);
@@ -2724,32 +2724,32 @@ upload_file_init (evhtp_t *htp, const char *http_temp_
@@ -2662,32 +2662,32 @@ upload_file_init (evhtp_t *htp, const char *http_temp_
g_free (cluster_shared_dir);
cb = evhtp_set_regex_cb (htp, "^/upload-api/.*", upload_api_cb, NULL);

View File

@ -2,12 +2,6 @@ bin/seaf-server
bin/seafile-controller
include/seafile/seafile-object.h
libdata/pkgconfig/libseafile.pc
%%SEAFILE_SERVER%%/check_init_admin.py
%%SEAFILE_SERVER%%/reset-admin.sh
%%SEAFILE_SERVER%%/seaf-fsck.sh
%%SEAFILE_SERVER%%/seaf-fuse.sh
%%SEAFILE_SERVER%%/seaf-gc.sh
%%SEAFILE_SERVER%%/seafile.sh
%%SEAFILE_SERVER%%/seafile/bin/seaf-fsck
%%FUSE%%%%SEAFILE_SERVER%%/seafile/bin/seaf-fuse
%%SEAFILE_SERVER%%/seafile/bin/seaf-server
@ -29,11 +23,6 @@ libdata/pkgconfig/libseafile.pc
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/seaserv/api.py
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/seaserv/service.py
%%SEAFILE_SERVER%%/seafile/share/doc/seafile/seafile-tutorial.doc
%%SEAFILE_SERVER%%/seafobj_migrate.py
%%SEAHUBDIR%%.sh
%%SEAFILE_SERVER%%/setup-seafile-mysql.py
%%SEAFILE_SERVER%%/setup-seafile-mysql.sh
%%SEAFILE_SERVER%%/setup-seafile.sh
%%SEAFILE_SERVER%%/sql/mysql/ccnet.sql
%%SEAFILE_SERVER%%/sql/mysql/seafile.sql
%%SEAFILE_SERVER%%/sql/sqlite/config.sql
@ -41,101 +30,3 @@ libdata/pkgconfig/libseafile.pc
%%SEAFILE_SERVER%%/sql/sqlite/org.sql
%%SEAFILE_SERVER%%/sql/sqlite/seafile.sql
%%SEAFILE_SERVER%%/sql/sqlite/user.sql
%%SEAFILE_SERVER%%/sqlite2mysql.py
%%SEAFILE_SERVER%%/sqlite2mysql.sh
%%SEAFILE_SERVER%%/upgrade/add_collate.sh
%%SEAFILE_SERVER%%/upgrade/db_update_1.3_1.4.py
%%SEAFILE_SERVER%%/upgrade/db_update_helper.py
%%SEAFILE_SERVER%%/upgrade/fix_mysql_user.py
%%SEAFILE_SERVER%%/upgrade/minor-upgrade.sh
%%SEAFILE_SERVER%%/upgrade/regenerate_secret_key.sh
%%SEAFILE_SERVER%%/upgrade/sql/1.6.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.6.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.7.0/mysql/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.7.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.7.0/sqlite3/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.7.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.8.0/mysql/ccnet.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.8.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/1.8.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/2.0.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/2.0.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/2.1.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/2.1.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/2.2.0/mysql/ccnet.sql
%%SEAFILE_SERVER%%/upgrade/sql/%%GTK3_VERSION%%/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/%%GTK3_VERSION%%/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/3.1.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/3.1.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.1.0/mysql/ccnet.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.1.0/mysql/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.1.0/sqlite3/ccnet/groupmgr.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.1.0/sqlite3/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.2.0/mysql/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.2.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.2.0/sqlite3/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.2.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/4.3.0/mysql/.gitkeep
%%SEAFILE_SERVER%%/upgrade/sql/4.3.0/sqlite3/.gitkeep
%%SEAFILE_SERVER%%/upgrade/sql/4.4.0/mysql/.gitkeep
%%SEAFILE_SERVER%%/upgrade/sql/4.4.0/sqlite3/.gitkeep
%%SEAFILE_SERVER%%/upgrade/sql/5.0.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/5.0.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/5.1.0/mysql/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/5.1.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/5.1.0/sqlite3/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/5.1.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.0.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.0.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.1.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.1.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.2.0/mysql/ccnet.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.2.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.2.0/sqlite3/ccnet/usermgr.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.2.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/mysql/ccnet.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/mysql/seafevents.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/mysql/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/sqlite3/ccnet/groupmgr.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/sqlite3/ccnet/usermgr.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/sqlite3/seafevents.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/sqlite3/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/6.3.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.0.0/mysql/ccnet.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.0.0/mysql/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.0.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.0.0/sqlite3/ccnet/usermgr.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.0.0/sqlite3/seafile.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.0.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.1.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/7.1.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/8.0.0/mysql/seafevents.sql
%%SEAFILE_SERVER%%/upgrade/sql/8.0.0/mysql/seahub.sql
%%SEAFILE_SERVER%%/upgrade/sql/8.0.0/sqlite3/seafevents.sql
%%SEAFILE_SERVER%%/upgrade/sql/8.0.0/sqlite3/seahub.sql
%%SEAFILE_SERVER%%/upgrade/upgrade_1.2_1.3.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_1.3_1.4.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_1.4_1.5.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_1.5_1.6.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_1.6_1.7.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_1.7_1.8.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_1.8_2.0.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_2.0_2.1.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_2.1_2.2.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_2.2_3.0.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_3.0_3.1.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_3.1_4.0.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_4.0_4.1.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_4.1_4.2.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_4.2_4.3.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_4.3_4.4.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_4.4_5.0.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_5.0_5.1.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_5.1_6.0.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_6.0_6.1.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_6.1_6.2.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_6.2_6.3.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_6.3_7.0.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_7.0_7.1.sh
%%SEAFILE_SERVER%%/upgrade/upgrade_7.1_8.0.sh

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1630718049
SHA256 (haiwen-seafdav-v8.0.7-server_GH0.tar.gz) = 71d33d3843ba784c69d9e82c4cf383153f12486b5b98367c4d58915c7f22d521
SIZE (haiwen-seafdav-v8.0.7-server_GH0.tar.gz) = 2693418
TIMESTAMP = 1639252433
SHA256 (haiwen-seafdav-v9.0.2-server_GH0.tar.gz) = f20c690cd5414b7d167532020760adf8d0b7efd4d3d1b93e116b206607461d63
SIZE (haiwen-seafdav-v9.0.2-server_GH0.tar.gz) = 2693432

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1630718053
SHA256 (haiwen-seafobj-v8.0.7-server_GH0.tar.gz) = 357fbdbd703856ea01dbcddaa8893740d6908da3a75f52dfc8629bedd081fd59
SIZE (haiwen-seafobj-v8.0.7-server_GH0.tar.gz) = 10058996
TIMESTAMP = 1639252435
SHA256 (haiwen-seafobj-v9.0.2-server_GH0.tar.gz) = 2272550e21724d013d54ad2fb40e366ea0781f86f2e85e5b7bedd061b70150b5
SIZE (haiwen-seafobj-v9.0.2-server_GH0.tar.gz) = 10058984

View File

@ -2,7 +2,6 @@ PORTNAME= seahub
DISTVERSIONPREFIX= v
DISTVERSION= ${SEAHUB_VER}
DISTVERSIONSUFFIX= -server
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= ultima@FreeBSD.org
@ -30,14 +29,18 @@ RUN_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}pyjwt1>=0:www/py-pyjwt1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyjwt>=0:www/py-pyjwt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0:www/py-requests-oauthlib@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0:www/py-requests-oauthlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pysaml26>=6.5.1:security/py-pysaml26@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR}
USES= gettext-tools:build python:3.6+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= haiwen
SHEBANG_FILES= *.sh tests/*.sh *.template *.py tools/*.py seahub/*.py
SHEBANG_FILES= *.sh tests/*.sh *.template *.py tools/*.py seahub/*.py \
scripts/*.sh scripts/upgrade/*.sh *.sh scripts/build/*.py \
scripts/*.py scripts/upgrade/*.py
NO_ARCH= yes
@ -71,18 +74,30 @@ post-patch:
${REINPLACE_CMD} -e 's|##FIX_SITEPACKAGEDIR##|${PREFIX}/${SITEPACKAGEDIR}|' ${WRKSRC}/*.template
${REINPLACE_CMD} -e 's|##PYTHON_VERSION##|${PYTHON_VERSION}|g' ${WRKSRC}/*.template
${REINPLACE_CMD} -e 's|##FIX_LOCALBASE##|${LOCALBASE}|' ${WRKSRC}/*.template
${FIND} ${WRKSRC} -name "*.bak" -exec ${RM} {} \;
${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \;
(cd ${WRKSRC}; (for file in run-seahub.sh.template \
send_user_notifications.sh.template setenv.sh.template; do \
${CP} $$file $${file%%.template}; \
done))
${REINPLACE_CMD} -E 's/stat.+\$$/stat -f %Su $$/' ${WRKSRC}/scripts/seafile.sh
${REINPLACE_CMD} 's/%%SEAFILE_USER%%/${USERS:[1]}/ ; s/%%SEAFILE_GROUP%%/${GROUPS:[1]}/' \
${WRKSRC}/scripts/setup-seafile.sh ${WRKSRC}/scripts/setup-seafile-mysql.py
# Fix python hardcodings
${REINPLACE_CMD} 's/python3\.[0-9]/${PYTHON_VERSION}/g; s/python3 /${PYTHON_VERSION} / ; \
s/PYTHON=python3/PYTHON=${PYTHON_VERSION}/ ; s|/python3/|/${PYTHON_VERSION}/|g' \
${WRKSRC}/scripts/*.sh \
${WRKSRC}/scripts/setup-seafile-mysql.py \
${WRKSRC}/scripts/upgrade/upgrade_[7-9].[0-9]_[7-9].[0-9].sh
${REINPLACE_CMD} 's/python/${PYTHON_VERSION}/' \
${WRKSRC}/scripts/upgrade/regenerate_secret_key.sh
${FIND} ${WRKSRC} -name "*.bak" -exec ${RM} {} \;
${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \;
${RM} ${WRKSRC}/.gitignore
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/runtime/ \
${STAGEDIR}${PREFIX}/${SEAHUBDIR} ${STAGEDIR}${PREFIX}/${SEAHUB_DATA_DIR} \
${STAGEDIR}${PREFIX}/${SEAHUB_DATA_DIR}/custom
${STAGEDIR}${PREFIX}/${SEAHUB_DATA_DIR}/custom \
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SEAHUBDIR} \
"! -name Makefile ! -name seahub.conf ! -name avatars \
! -name default-non-register.jpg ! -name default.png ! -name groups")
@ -90,6 +105,11 @@ do-install:
${STAGEDIR}${PREFIX}/${SEAHUB_DATA_DIR})
${LN} -fs ../../../seahub-data/avatars \
${STAGEDIR}${PREFIX}/${SEAHUBDIR}/media/avatars
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade
(cd ${WRKSRC}/scripts && \
${COPYTREE_SHARE} "upgrade/sql" ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER})
.include "${.CURDIR}/../../net-mgmt/seafile-server/Makefile.include"

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1630718061
SHA256 (haiwen-seahub-v8.0.7-server_GH0.tar.gz) = 3b1cdac99bf5e8ddd4d81f3a05820f08a0916078018b2366b0bff86737805b64
SIZE (haiwen-seahub-v8.0.7-server_GH0.tar.gz) = 27628035
TIMESTAMP = 1639252440
SHA256 (haiwen-seahub-v9.0.2-server_GH0.tar.gz) = 1c13800c3e2db89ff5f5eae26e7fd1cabaa3bcfe702c3c58062e34437d308cb8
SIZE (haiwen-seahub-v9.0.2-server_GH0.tar.gz) = 28567480

File diff suppressed because it is too large Load Diff