update net-mgmt/seafile-server to 6.0.9

Changelog: https://seacloud.cc/group/3/wiki/server-changelog

 - Show user' name instead of user's email in notifications sent out by email
 - Add config items for setting favicon, disable wiki feature
 - Add css id to easily hide user password reset and delete account button
 - [fix] Fix UI bug in restoring a file from snapshot
 - [fix] Fix after renaming a file, the old versions before file rename can't be downloaded
 - [security] Fix XSS problem of the "go back" button in history page and snapshot view page

* unify versioning of dependent ports:
  net-mgmt/seafile-server
  net-mgmt/ccnet-server
  www/py-seadav
  www/py-seaobj
  www/seahub
This replaces a rather ugly hack.

* add makesum-all target to ease maintenance
PR:		218245
Submitted by:	ultima1252@gmail.com (maintainer)
This commit is contained in:
Nikolai Lifanov 2017-03-31 14:57:27 +00:00
parent eaa8a6e423
commit 0adda06811
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437363
12 changed files with 55 additions and 34 deletions

View file

@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= ccnet-server
PORTVERSION= 6.0.8
PORTVERSION= ${SEAFILE_VER}
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -server
PORTREVISION= 1
CATEGORIES= net-mgmt devel
MAINTAINER= ultima1252@gmail.com
@ -61,4 +60,6 @@ post-install:
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}
${LN} -s '../${SEABIN}/ccnet-server' ${STAGEDIR}/${PREFIX}/bin/ccnet-server
.include "${.CURDIR}/../seafile-server/Makefile.include"
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1487281136
SHA256 (haiwen-ccnet-server-v6.0.8-server_GH0.tar.gz) = 4a0569cc1b0a056f58a3cfb8023d7a1c35bf898d960250ebf67544d637ca9d45
SIZE (haiwen-ccnet-server-v6.0.8-server_GH0.tar.gz) = 211338
TIMESTAMP = 1490929092
SHA256 (haiwen-ccnet-server-v6.0.9-server_GH0.tar.gz) = f6b2063e1be276fec509ed0a6e67cde936bda4367788baf1936da6a194fe0d20
SIZE (haiwen-ccnet-server-v6.0.9-server_GH0.tar.gz) = 211349

View file

@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= seafile-server
PORTVERSION= 6.0.8
PORTVERSION= ${SEAFILE_VER}
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -server
PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= ultima1252@gmail.com
@ -124,4 +123,11 @@ post-install:
(cd ${WRKSRC}/scripts/upgrade && \
${COPYTREE_SHARE} sql ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade)
makesum-all:
.for PORT in net-mgmt/ccnet-server net-mgmt/seafile-server www/py-seafdav www/py-seafobj www/seahub
${MAKE} -C "${PORTSDIR}/${PORT}" makesum
.endfor
.include "${.CURDIR}/Makefile.include"
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
# $FreeBSD$
SEAFILE_VER=6.0.9

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1487532716
SHA256 (haiwen-seafile-server-v6.0.8-server_GH0.tar.gz) = ec744e735c64c91e58895733a264a55df119afa4e4eb17dd6845eff568bab464
SIZE (haiwen-seafile-server-v6.0.8-server_GH0.tar.gz) = 695196
TIMESTAMP = 1490929086
SHA256 (haiwen-seafile-server-v6.0.9-server_GH0.tar.gz) = 2ccd7ed40ac61b013659b2ed75669510c87440c4f562d2cb67a807346e66ce93
SIZE (haiwen-seafile-server-v6.0.9-server_GH0.tar.gz) = 695210

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= seafdav
PORTVERSION= 6.0.8
PORTVERSION= ${SEAFILE_VER}
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -pro
CATEGORIES= www python
@ -48,4 +48,6 @@ do-install:
(cd ${WRKSRC}/wsgidav && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}/wsgidav)
.include "${.CURDIR}/../../net-mgmt/seafile-server/Makefile.include"
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1488996944
SHA256 (haiwen-seafdav-v6.0.8-pro_GH0.tar.gz) = 7a1dcfc1812fc3b62597a725d70802363b6d2f9d0e3f1e16e3c7c421883d52bd
SIZE (haiwen-seafdav-v6.0.8-pro_GH0.tar.gz) = 2554678
TIMESTAMP = 1490929093
SHA256 (haiwen-seafdav-v6.0.9-pro_GH0.tar.gz) = 948ac47b98e85eaf37c37319e96974c55191b43be64cb1ffe75f9e53c63fd238
SIZE (haiwen-seafdav-v6.0.9-pro_GH0.tar.gz) = 2554679

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= seafobj
PORTVERSION= 6.0.8
PORTVERSION= ${SEAFILE_VER}
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -pro
CATEGORIES= www python
@ -48,4 +48,6 @@ do-install:
(cd ${WRKSRC}/seafobj && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}/seafobj)
.include "${.CURDIR}/../../net-mgmt/seafile-server/Makefile.include"
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1488996970
SHA256 (haiwen-seafobj-v6.0.8-pro_GH0.tar.gz) = 1ac0e2d9aa0a92ed2e5ad948c2d12551728de5221392f4e04b825ff1b2661848
SIZE (haiwen-seafobj-v6.0.8-pro_GH0.tar.gz) = 6625242
TIMESTAMP = 1490929093
SHA256 (haiwen-seafobj-v6.0.9-pro_GH0.tar.gz) = ef0a4e572815c97136133df636294df134324956b674316f1b8a285ee92099df
SIZE (haiwen-seafobj-v6.0.9-pro_GH0.tar.gz) = 6625277

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= seahub
PORTVERSION= 6.0.8
PORTVERSION= ${SEAFILE_VER}
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -pro
CATEGORIES= www
@ -60,7 +60,6 @@ SEAFILE_SERVER= ${HAIWENDIR}/seafile-server
SEAHUBDIR= ${SEAFILE_SERVER}/seahub
SEALIB= ${SEAFILE_SERVER}/seafile/lib
SITEPACKAGEDIR= ${SEAHUBDIR}/thirdpart
SEAFILE_VER= `${CAT} ${.CURDIR}/../../net-mgmt/seafile-server/Makefile | ${GREP} -Eom1 '[0-9]+\.[0-9]+\.[0-9]+'`
SEAHUB_DATA_DIR= ${HAIWENDIR}/seahub-data
USERS= seafile
@ -115,4 +114,6 @@ do-install:
${LN} -fs ../../../seahub-data/avatars \
${STAGEDIR}${PREFIX}/${SEAHUBDIR}/media/avatars
.include "${.CURDIR}/../../net-mgmt/seafile-server/Makefile.include"
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1488637676
SHA256 (haiwen-seahub-v6.0.8-pro_GH0.tar.gz) = a43c64dd8e2f94b03b60299e50f05f3b33fb8694a8034e796a287b3c48ae463b
SIZE (haiwen-seahub-v6.0.8-pro_GH0.tar.gz) = 8384514
TIMESTAMP = 1490929093
SHA256 (haiwen-seahub-v6.0.9-pro_GH0.tar.gz) = 2809d79938800c8d7198220a8c18a2737715bf2e1c2f4105200a983582895cdd
SIZE (haiwen-seahub-v6.0.9-pro_GH0.tar.gz) = 8389396

View file

@ -163,7 +163,7 @@
%%SEAHUBDIR%%/media/assets/scripts/app/models/share-admin-upload-link.js
%%SEAHUBDIR%%/media/assets/scripts/app/models/starred-file.bd1fd7cfed45.js
%%SEAHUBDIR%%/media/assets/scripts/app/models/starred-file.js
%%SEAHUBDIR%%/media/assets/scripts/app/router.c04d90f490b8.js
%%SEAHUBDIR%%/media/assets/scripts/app/router.af0b1e5fcf5d.js
%%SEAHUBDIR%%/media/assets/scripts/app/router.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/account.85f0cf2e10b8.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/account.js
@ -187,9 +187,9 @@
%%SEAHUBDIR%%/media/assets/scripts/app/views/device.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/devices.f7a71c76de30.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/devices.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/dirent-mvcp.77762360ffbf.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/dirent-mvcp.b42f9140300d.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/dirent-mvcp.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/dirent-rename.70f40b075170.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/dirent-rename.da015fa0278c.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/dirent-rename.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/repo-change-password.7c8f8db7a529.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/repo-change-password.js
@ -199,11 +199,11 @@
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/repo-history-settings.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/repo-share-link-admin.8637bf1be968.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dialogs/repo-share-link-admin.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dir.0138a48429e3.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dir.cadf7b4458e3.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dir.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dirent-grid.1a0e612517e8.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dirent-grid.0ef2c59627a2.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dirent-grid.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dirent.7724e9f38f4c.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dirent.a2cbfdb2d136.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/dirent.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/fileupload.4f9ef2481950.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/fileupload.js
@ -271,7 +271,7 @@
%%SEAHUBDIR%%/media/assets/scripts/app/views/share-admin-upload-link.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/share-admin-upload-links.bb406c0f1843.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/share-admin-upload-links.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/share.ffd59620d422.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/share.b34bd0c5f0cf.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/share.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/shared-repo.537274428fc9.js
%%SEAHUBDIR%%/media/assets/scripts/app/views/shared-repo.js
@ -351,7 +351,7 @@
%%SEAHUBDIR%%/media/assets/scripts/dist/i18n/zh-tw/djangojs.js
%%SEAHUBDIR%%/media/assets/scripts/dist/lib/require.75e6d0132deb.js
%%SEAHUBDIR%%/media/assets/scripts/dist/lib/require.js
%%SEAHUBDIR%%/media/assets/scripts/dist/main.0266ea23d08f.js
%%SEAHUBDIR%%/media/assets/scripts/dist/main.011a84946971.js
%%SEAHUBDIR%%/media/assets/scripts/dist/main.js
%%SEAHUBDIR%%/media/assets/scripts/dist/sysadmin-main.4845ac08db81.js
%%SEAHUBDIR%%/media/assets/scripts/dist/sysadmin-main.js
@ -371,7 +371,7 @@
%%SEAHUBDIR%%/media/assets/scripts/i18n/es/djangojs.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/fi/djangojs.8d877df126c1.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/fi/djangojs.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/fr/djangojs.77d8cedd5115.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/fr/djangojs.e1b2f22392f7.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/fr/djangojs.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/he/djangojs.f701701595f1.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/he/djangojs.js
@ -399,7 +399,7 @@
%%SEAHUBDIR%%/media/assets/scripts/i18n/sk/djangojs.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/sl/djangojs.b4d2169424f0.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/sl/djangojs.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/sv/djangojs.9d5376e6c43a.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/sv/djangojs.4bdedeaf3df7.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/sv/djangojs.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/th/djangojs.f53496bdd5ff.js
%%SEAHUBDIR%%/media/assets/scripts/i18n/th/djangojs.js
@ -604,7 +604,7 @@
%%SEAHUBDIR%%/media/img/download.png
%%SEAHUBDIR%%/media/img/edit.png
%%SEAHUBDIR%%/media/img/email_bg.jpg
%%SEAHUBDIR%%/media/img/favicon.png
%%SEAHUBDIR%%/media/img/favicon.ico
%%SEAHUBDIR%%/media/img/file-icon-16.png
%%SEAHUBDIR%%/media/img/file-locked-32.png
%%SEAHUBDIR%%/media/img/file/192/excel.png
@ -1188,6 +1188,12 @@
%%SEAHUBDIR%%/seahub/templates/wiki/personal_wiki_pages.html
%%SEAHUBDIR%%/seahub/test_settings.py
%%SEAHUBDIR%%/seahub/test_utils.py
%%SEAHUBDIR%%/seahub/api2/endpoints/admin/org_users.py
%%SEAHUBDIR%%/seahub/templates/snippets/go_back_js.html
%%SEAHUBDIR%%/tests/api/endpoints/admin/test_libraries.py
%%SEAHUBDIR%%/tests/api/endpoints/admin/test_org_users.py
%%SEAHUBDIR%%/tests/seahub/auth/views/__init__.py
%%SEAHUBDIR%%/tests/seahub/auth/views/test_logout.py
%%SEAHUBDIR%%/seahub/thumbnail/__init__.py
%%SEAHUBDIR%%/seahub/thumbnail/management/__init__.py
%%SEAHUBDIR%%/seahub/thumbnail/management/commands/__init__.py