pkgsrc/www/php-sugarcrm/Makefile
taca b0dcc4ec28 Update php-sugarcrm to 6.5.17, security release.
Quote from http://www.providentcrm.com/news/sugarcrm-6-5-17-patch-list/.

1. Module scanner now blocks two additional functions:
   simplexml_load_file and simplexml_load_string
2. JS Security Fix in Emails --  changing AJAX call from GET to POST.
3. XML Handling -- Additional error handling and libxml_disable_entity_loader
   is now set to true.
4. Users module -- Additional checking on un-authorised access to other users
   profile, plus Bugfix for password field.
2014-07-02 09:13:02 +00:00

59 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2014/07/02 09:13:02 taca Exp $
#
SCVER= 6.5.17
DISTNAME= SugarCE-${SCVER}
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/SugarCE/sugarcrm/}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sugarcrm/}
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.sugarcrm.com/
COMMENT= Open source CRM
LICENSE= gnu-agpl-v3
WRKSRC= ${WRKDIR}/SugarCE-Full-${SCVER}
USE_LANGUAGES= # none
NO_BUILD= yes
DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.2.0:../../archivers/php-zip
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2.0:../../archivers/php-zlib
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.2.0:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-posix>=5.2.0:../../devel/php-posix
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-imap>=5.2.0:../../mail/php-imap
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.2.0:../../www/php-curl
USE_TOOLS+= pax
SCDIR= share/sugercrm
INSTALLATION_DIRS= ${SCDIR}
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
SCDIR=${SCDIR}
post-extract:
${FIND} ${WRKSRC} -type f | xargs ${CHMOD} -x
do-install:
cd ${WRKSRC} && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${SCDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"