Date: Wed, 14 Oct 2009 11:08:15 GMT From: Gerrit Beine <gerrit.beine@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139596: Fix remove of typo3 configuration Message-ID: <200910141108.n9EB8FUk033922@www.freebsd.org> Resent-Message-ID: <200910141110.n9EBA3UQ002306@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139596 >Category: ports >Synopsis: Fix remove of typo3 configuration >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Oct 14 11:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 7.2 >Organization: SQQD GmbH >Environment: >Description: Fix the problem described in http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/130209 >How-To-Repeat: >Fix: diff -Nur /usr/ports/www/typo3/Makefile www/typo3/Makefile --- /usr/ports/www/typo3/Makefile 2009-08-22 02:38:28.000000000 +0200 +++ www/typo3/Makefile 2009-10-14 04:42:20.000000000 +0200 @@ -45,6 +45,9 @@ LIB_DEPENDS+= MagickWand.2:${PORTSDIR}/graphics/ImageMagick .endif +pre-install: + ${MV} ${SITESRC}/typo3conf/localconf.php ${SITESRC}/typo3conf/localconf.php.dist + do-install: ${CP} -R ${WRKSRC} ${PREFIX}/${TYPO3DIR} ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3DIR} diff -Nur /usr/ports/www/typo3/pkg-plist www/typo3/pkg-plist --- /usr/ports/www/typo3/pkg-plist 1970-01-01 01:00:00.000000000 +0100 +++ www/typo3/pkg-plist 2009-10-14 05:31:02.000000000 +0200 @@ -0,0 +1,3 @@ +@exec mkdir -p %D/www/typo3/typo3conf 2> /dev/null +@exec [ -f %D/www/typo3/typo3conf/localconf.php ] || cp %D/www/typo3/typo3conf/localconf.php.dist %D/www/typo3/typo3conf/localconf.php +@unexec if cmp -s %D/www/typo3/typo3conf/localconf.php %D/www/typo3/typo3conf/localconf.php.dist; then rm -f %D/www/typo3/typo3conf/localconf.php; fi >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910141108.n9EB8FUk033922>