From owner-svn-ports-all@FreeBSD.ORG Thu Jun 5 05:18:56 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7CECF43B; Thu, 5 Jun 2014 05:18:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DF422DDC; Thu, 5 Jun 2014 05:18:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s555IuNg039874; Thu, 5 Jun 2014 05:18:56 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s555IuMg039869; Thu, 5 Jun 2014 05:18:56 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201406050518.s555IuMg039869@svn.freebsd.org> From: Martin Wilke Date: Thu, 5 Jun 2014 05:18:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356584 - head/www/pivotx X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2014 05:18:56 -0000 Author: miwi Date: Thu Jun 5 05:18:55 2014 New Revision: 356584 URL: http://svnweb.freebsd.org/changeset/ports/356584 QAT: https://qat.redports.org/buildarchive/r356584/ Log: - Stage support PR: 190347 Approved by: maintainer Modified: head/www/pivotx/Makefile head/www/pivotx/pkg-plist Modified: head/www/pivotx/Makefile ============================================================================== --- head/www/pivotx/Makefile Thu Jun 5 05:03:28 2014 (r356583) +++ head/www/pivotx/Makefile Thu Jun 5 05:18:55 2014 (r356584) @@ -18,7 +18,6 @@ LICENSE= GPLv2 PORTDOCS= LICENSE.txt README.txt PORTEXAMPLES= example.htaccess example.web.config -NO_STAGE= yes # Requirements: # http://book.pivotx.net/index.php?page=app-e#anchor-determining-if-your-server-meets-pivotxs-requirements @@ -79,44 +78,20 @@ post-patch: @cd '${WRKSRC}' && ${FIND} . -type f -name '*.orig' -delete do-install: - @if ${TEST} -e '${TEMP_DIFF}'; then ${RM} -f '${TEMP_DIFF}'; fi - @${TOUCH} '${TEMP_DIFF}' -.for DIR in ${USEREDITABLEDIRS} - @if ${TEST} -d '${WWWDIR}/${DIR}'; then \ - cd '${WRKSRC}/${DIR}' && { ${DIFF} -auwr . '${WWWDIR}/${DIR}' | ${EGREP} -v -e '^Only[[:space:]]+in[[:space:]]' >>'${TEMP_DIFF}' || ${TRUE}; } \ - fi -.endfor - @if ${TEST} -s '${TEMP_DIFF}'; then \ - ${ECHO} '*******************************************************'; \ - ${ECHO} 'CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION CAUTION'; \ - ${ECHO} '*******************************************************'; \ - ${ECHO} 'Output of diff: ${TEMP_DIFF}'; \ - ${ECHO}; \ - ${ECHO} 'Installer will *OVERWRITE* files on ${WWWDIR}'; \ - ${ECHO} 'Press ctrl-C *now* to backup them manually.'; \ - sleep 7; \ - fi -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} '${DOCSDIR}' + @${MKDIR} '${STAGEDIR}${DOCSDIR}' .for FILES in ${PORTDOCS} - @${INSTALL_DATA} '${TEMP_WRKSRC}/${FILES}' '${DOCSDIR}' + @${INSTALL_DATA} '${TEMP_WRKSRC}/${FILES}' '${STAGEDIR}${DOCSDIR}' .endfor -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} '${EXAMPLESDIR}' + @${MKDIR} '${STAGEDIR}${EXAMPLESDIR}' .for FILES in ${PORTEXAMPLES} - @${INSTALL_DATA} '${TEMP_WRKSRC}/${FILES}' '${EXAMPLESDIR}' + @${INSTALL_DATA} '${TEMP_WRKSRC}/${FILES}' '${STAGEDIR}${EXAMPLESDIR}' .endfor -.endif - @${MKDIR} '${WWWDIR}' - @cd '${WRKSRC}' && ${COPYTREE_SHARE} . '${WWWDIR}' + @${MKDIR} '${STAGEDIR}${WWWDIR}' + @cd '${WRKSRC}' && ${COPYTREE_SHARE} . '${STAGEDIR}${WWWDIR}' .for DIR in ${WRITABLEDIRS} - @${CHOWN} -R '${WWWOWN}:${WWWGRP}' '${WWWDIR}/${DIR}' - @${FIND} '${WWWDIR}/${DIR}' -type d -print0 | ${XARGS} -0 ${CHMOD} u=rwx,go=rx - @${FIND} '${WWWDIR}/${DIR}' -type f -print0 | ${XARGS} -0 ${CHMOD} u=rw,go=r + @${CHOWN} -R '${WWWOWN}:${WWWGRP}' '${STAGEDIR}${WWWDIR}/${DIR}' + @${FIND} '${STAGEDIR}${WWWDIR}/${DIR}' -type d -print0 | ${XARGS} -0 ${CHMOD} u=rwx,go=rx + @${FIND} '${STAGEDIR}${WWWDIR}/${DIR}' -type f -print0 | ${XARGS} -0 ${CHMOD} u=rw,go=r .endfor -post-install: - @${CAT} ${PKGMESSAGE} - .include Modified: head/www/pivotx/pkg-plist ============================================================================== --- head/www/pivotx/pkg-plist Thu Jun 5 05:03:28 2014 (r356583) +++ head/www/pivotx/pkg-plist Thu Jun 5 05:18:55 2014 (r356584) @@ -1,3 +1,5 @@ +@owner www +@group www %%WWWDIR%%/images/index.html %%WWWDIR%%/index.php %%WWWDIR%%/pivotx/ajaxhelper.php