From owner-svn-ports-head@freebsd.org Fri Jan 27 03:23:41 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D914CC3065; Fri, 27 Jan 2017 03:23:41 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55A8C228; Fri, 27 Jan 2017 03:23:41 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0R3Ne5A060174; Fri, 27 Jan 2017 03:23:40 GMT (envelope-from lifanov@FreeBSD.org) Received: (from lifanov@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0R3Netm060172; Fri, 27 Jan 2017 03:23:40 GMT (envelope-from lifanov@FreeBSD.org) Message-Id: <201701270323.v0R3Netm060172@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lifanov set sender to lifanov@FreeBSD.org using -f From: Nikolai Lifanov Date: Fri, 27 Jan 2017 03:23:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432545 - head/net-mgmt/seafile-server X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2017 03:23:41 -0000 Author: lifanov Date: Fri Jan 27 03:23:40 2017 New Revision: 432545 URL: https://svnweb.freebsd.org/changeset/ports/432545 Log: net-mgmt/seafile-server - bugfixes This is a bug fix release update. stat command call with incorrect options has been fixed to work on *bsd. Readded the sqlite scripts to run seafile under sqlite. Previously they were removed due to being broken, this was fixed upstream. * PORTREVISION bump * Added sqlite scripts * Fixed stat PR: 216474 Submitted by: ultima1252@gmail.com (maintainer) Reviewed by: matthew Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D9350 Modified: head/net-mgmt/seafile-server/Makefile head/net-mgmt/seafile-server/pkg-plist Modified: head/net-mgmt/seafile-server/Makefile ============================================================================== --- head/net-mgmt/seafile-server/Makefile Fri Jan 27 03:16:36 2017 (r432544) +++ head/net-mgmt/seafile-server/Makefile Fri Jan 27 03:23:40 2017 (r432545) @@ -4,6 +4,7 @@ PORTNAME= seafile-server PORTVERSION= 6.0.7 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -server +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= ultima1252@gmail.com @@ -93,6 +94,7 @@ post-patch: ${WRKSRC}/scripts/seaf-cli-wrapper.sh ${REINPLACE_CMD} 's///' ${WRKSRC}/server/upload-file.c \ ${WRKSRC}/server/access-file.c ${WRKSRC}/server/http-server.c + ${REINPLACE_CMD} -E 's/stat.+\$$/stat -f %Su $$/' ${WRKSRC}/scripts/seafile.sh post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB} \ ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \ @@ -111,8 +113,6 @@ post-install: (cd ${STAGEDIR}${PREFIX}/lib && \ ${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) @${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} \ - ${WRKSRC}/scripts/sqlite2mysql.[ps][yh] \ - ${WRKSRC}/scripts/setup-seafile.sh \ ${STAGEDIR}${PREFIX}/bin/seafile-admin ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \ Modified: head/net-mgmt/seafile-server/pkg-plist ============================================================================== --- head/net-mgmt/seafile-server/pkg-plist Fri Jan 27 03:16:36 2017 (r432544) +++ head/net-mgmt/seafile-server/pkg-plist Fri Jan 27 03:23:40 2017 (r432545) @@ -41,8 +41,11 @@ libdata/pkgconfig/libseafile.pc %%SEAFILE_SERVER%%/breakpad.py %%SEAFILE_SERVER%%/seafobj_migrate.py %%SEAFILE_SERVER%%/seahub.sh +%%SEAFILE_SERVER%%/setup-seafile.sh %%SEAFILE_SERVER%%/setup-seafile-mysql.py %%SEAFILE_SERVER%%/setup-seafile-mysql.sh +%%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