Date: Thu, 16 May 2013 20:50:02 GMT From: Joerg Wunsch <joerg@FreeBSD.org> To: ruby@FreeBSD.org Subject: Re: ports/178051: [PATCH] www/redmine: update to 2.3.0 Message-ID: <201305162050.r4GKo249000598@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR ports/178051; it has been noted by GNATS.
From: Joerg Wunsch <joerg@FreeBSD.org>
To: freebsd-gnats-submit@freebsd.org
Cc:
Subject: Re: ports/178051: [PATCH] www/redmine: update to 2.3.0
Date: Thu, 16 May 2013 22:41:43 +0200
Quote from the submitted patch:
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ ${CHOWN} -R :${WWWGRP} ${WWWDIR}/{files,log,tmp,public/plugin_assets}
+ ${CHMOD} -R g+w ${WWWDIR}/{files,log,tmp,public/plugin_assets}
{} word expansion is not a feature of the default /bin/sh.
Fixed hunk for this part of the Makefile:
@@ -83,7 +75,10 @@
${INSTALL_DATA} ${WWWDIR}/config/settings.yml-dist \
${WWWDIR}/config/settings.yml; \
fi
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ for subdir in files log tmp public/plugin_assets; do \
+ ${CHOWN} -R :${WWWGRP} ${WWWDIR}/$$subdir; \
+ ${CHMOD} -R g+w ${WWWDIR}/$$subdir; \
+ done
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305162050.r4GKo249000598>
