From owner-svn-ports-all@FreeBSD.ORG Mon Nov 10 13:45:00 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 696BA823; Mon, 10 Nov 2014 13:45:00 +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 3D77D3C5; Mon, 10 Nov 2014 13:45:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAADj0dI073674; Mon, 10 Nov 2014 13:45:00 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAADixCq073652; Mon, 10 Nov 2014 13:44:59 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201411101344.sAADixCq073652@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Mon, 10 Nov 2014 13:44:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372393 - in head/deskutils/sugarcrm: . files 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-1 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: Mon, 10 Nov 2014 13:45:00 -0000 Author: wen Date: Mon Nov 10 13:44:59 2014 New Revision: 372393 URL: https://svnweb.freebsd.org/changeset/ports/372393 QAT: https://qat.redports.org/buildarchive/r372393/ Log: - Add missing DEPENDS [1] - Update pkg-message for apache-2.4 - Use dynamic plist instead of static plist Reported by: Iasen Kostov (via email) [1] Deleted: head/deskutils/sugarcrm/pkg-plist Modified: head/deskutils/sugarcrm/Makefile head/deskutils/sugarcrm/files/pkg-message.in Modified: head/deskutils/sugarcrm/Makefile ============================================================================== --- head/deskutils/sugarcrm/Makefile Mon Nov 10 13:43:11 2014 (r372392) +++ head/deskutils/sugarcrm/Makefile Mon Nov 10 13:44:59 2014 (r372393) @@ -3,6 +3,7 @@ PORTNAME= sugarcrm PORTVERSION= 6.5.18 +PORTREVISION= 1 CATEGORIES= deskutils www MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME}/1%20-%20SugarCRM%206.5.X/SugarCommunityEdition-6.5.X @@ -12,19 +13,29 @@ MAINTAINER= wen@FreeBSD.org COMMENT= Web based customer relationship management suite USES= zip -USE_PHP= gd mysql session pcre xml zlib mbstring curl imap spl posix +USE_PHP= gd mysql session pcre xml zlib mbstring curl imap spl posix \ + json ctype zip NO_BUILD= yes WRKSRC= ${WRKDIR}/SugarCE-Full-${PORTVERSION} -PKGMESSAGE= ${WRKDIR}/pkg-message +PLIST= ${WRKDIR}/plist +SUGARDIR= www/sugarcrm +PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES+= pkg-message pkg-install +pre-install: + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} + @${ECHO_CMD} "@mode 755" >> ${PLIST} + @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${SUGARDIR}?g" >>${PLIST} + @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${SUGARDIR}?g" >> ${PLIST} + @${ECHO_CMD} "@mode" >> ${PLIST} + @${ECHO_CMD} "@group" >> ${PLIST} + @${ECHO_CMD} "@owner" >> ${PLIST} + do-install: @${MKDIR} ${STAGEDIR}/${WWWDIR} - @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/ - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR} - @${CHMOD} -R 755 ${STAGEDIR}/${WWWDIR} .include Modified: head/deskutils/sugarcrm/files/pkg-message.in ============================================================================== --- head/deskutils/sugarcrm/files/pkg-message.in Mon Nov 10 13:43:11 2014 (r372392) +++ head/deskutils/sugarcrm/files/pkg-message.in Mon Nov 10 13:44:59 2014 (r372393) @@ -28,6 +28,7 @@ session.save_path = "/tmp" Alias /sugarcrm %%WWWDIR%% AllowOverride None + Require all granted Order allow,deny Allow from all