Date: Tue, 17 Jul 2007 10:22:56 +1100 From: Dima Panov <fluffy@ael.ru> To: freebsd-ports-bugs@freebsd.org Subject: Re: ports/114624: phpbb-devel configuration removal on portupgrade Message-ID: <200707171022.58720.fluffy@ael.ru> In-Reply-To: <E1IAMrb-000AcM-JB@murphy.foxalpha.de> References: <E1IAMrb-000AcM-JB@murphy.foxalpha.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16 July 2007, Frank Altpeter wrote: > >Number: 114624 > >Category: ports > >Synopsis: phpbb-devel configuration removal on portupgrade > >Description: > > Portupgrade of phpbb-devel removes the complete content, including the > (user modified) config.php and replaces it with an empty one. This patch does trick. === Index: www/phpbb-devel/Makefile =================================================================== RCS file: /home/ncvs/ports/www/phpbb-devel/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- www/phpbb-devel/Makefile 16 Jul 2007 08:06:21 -0000 1.3 +++ www/phpbb-devel/Makefile 16 Jul 2007 23:21:12 -0000 @@ -55,7 +55,9 @@ do-install: @ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR} - @ cd ${WRKSRC} && ${FIND} . -print | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} - + @ cd ${WRKSRC} && ${FIND} * \( -name config.php \) -o -print \ + | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} - + @ ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php @ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR} post-install: === -- Дмитрий А. Панов Государственная Академия Экономики и Права Хабаровск, Россия
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707171022.58720.fluffy>