www/onlyoffice-documentserver: Fix user:group in documentserver-update-securelink.sh

This commit is contained in:
Mikael Urankar 2023-04-02 15:55:22 +02:00
parent b5437dc630
commit c7bb53705e

View file

@ -1,7 +1,7 @@
PORTNAME= onlyoffice-documentserver
DISTVERSIONPREFIX= v
DISTVERSION= 7.3.3.49
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES+= LOCAL/mikael/v8/:source1 \
LOCAL/mikael/onlyoffice/:source2 \
@ -170,6 +170,8 @@ post-patch:
${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' -e 's|%%ETCDIR%%|${ETCDIR}|' \
${WRKSRC}/document-server-package/Makefile
@${REINPLACE_CMD} 's#ds:ds#${DS_USERNAME}:${DS_GROUPNAME}#' \
${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-update-securelink.sh.m4
@${RM} ${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch.orig
@${FIND} ${WRKSRC}/server -type f -name npm-shrinkwrap.json -delete