git: 05a15397fd7d - 2023Q2 - www/onlyoffice-documentserver: do not strip the json binary
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Apr 2023 10:26:11 UTC
The branch 2023Q2 has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=05a15397fd7da22d54cf5125938db37c15aae4d5 commit 05a15397fd7da22d54cf5125938db37c15aae4d5 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-04-02 13:24:44 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-04-04 10:25:39 +0000 www/onlyoffice-documentserver: do not strip the json binary binary generated by npm/pkg doesn't work if they are stripped PR: 270591 Reported by: freebsd.org@vollkorn.cryptobitch.de (cherry picked from commit 3661e14f6aec57bf5950af831ea627070a310258) --- www/onlyoffice-documentserver/Makefile | 4 ++-- www/onlyoffice-documentserver/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/onlyoffice-documentserver/Makefile b/www/onlyoffice-documentserver/Makefile index 09834c620b81..f3af86ea8c4a 100644 --- a/www/onlyoffice-documentserver/Makefile +++ b/www/onlyoffice-documentserver/Makefile @@ -197,13 +197,13 @@ do-build: do-install: # install the project -# do not strip docservice, converter and metrics +# do not strip docservice, converter, metrics and json cd ${WRKSRC}/document-server-package/common/documentserver/home && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/documentserver ${INSTALL_SCRIPT} ${WRKSRC}/document-server-package/common/documentserver/bin/*.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/tools/all* ${STAGEDIR}${WWWDIR}/documentserver/server/tools ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/x2t ${STAGEDIR}${WWWDIR}/documentserver/server/FileConverter/bin ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/docbuilder ${STAGEDIR}${WWWDIR}/documentserver/server/FileConverter/bin - ${INSTALL_PROGRAM} ${WRKSRC}/document-server-package/common/documentserver/home/npm/json ${STAGEDIR}${WWWDIR}/documentserver/npm + ${INSTALL_DATA} ${WRKSRC}/document-server-package/common/documentserver/home/npm/json ${STAGEDIR}${WWWDIR}/documentserver/npm ${INSTALL_LIB} ${WRKSRC}/document-server-package/common/documentserver/home/server/FileConverter/bin/*.so ${STAGEDIR}${PREFIX}/lib ${RM} ${STAGEDIR}${PREFIX}/bin/documentserver-letsencrypt.sh diff --git a/www/onlyoffice-documentserver/pkg-plist b/www/onlyoffice-documentserver/pkg-plist index c1aaf2c1f596..f31165223bf7 100644 --- a/www/onlyoffice-documentserver/pkg-plist +++ b/www/onlyoffice-documentserver/pkg-plist @@ -498,7 +498,7 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/license/jQuery.license %%WWWDIR%%/documentserver/license/less.license %%WWWDIR%%/documentserver/license/requirejs-text.license -%%WWWDIR%%/documentserver/npm/json +@(,,755) %%WWWDIR%%/documentserver/npm/json %%WWWDIR%%/documentserver/npm/package.json %%WWWDIR%%/documentserver/sdkjs-plugins/highlightcode/3rd-Party.txt %%WWWDIR%%/documentserver/sdkjs-plugins/highlightcode/README.md