Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 03:23:40 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432545 - head/net-mgmt/seafile-server
Message-ID:  <201701270323.v0R3Netm060172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/<evhtp.h>/<evhtp\/evhtp.h>/' ${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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701270323.v0R3Netm060172>