ports/178051: [PATCH] www/redmine: update to 2.3.0
Joerg Wunsch
joerg at FreeBSD.org
Thu May 16 20:50:02 UTC 2013
The following reply was made to PR ports/178051; it has been noted by GNATS.
From: Joerg Wunsch <joerg at FreeBSD.org>
To: freebsd-gnats-submit at 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. ;-)
More information about the freebsd-ruby
mailing list