pkgsrc/www/php-sugarcrm/Makefile
taca 25623858bc Update php-sugarcrm to 6.5.20.
Changes before 6.5.19, please refer: http://support.sugarcrm.com/02_Documentation/01_Sugar_Editions/05_Sugar_Community_Edition/

Fixed Issues

Sugar 6.5.20 is a security update released to address certain security
vulnerabilities identified during our routine QA checks.

We strongly recommend that you install this update at the earliest
opportunity.  While we have not experienced any reported incidents relating to
these vulnerabilities to date, failure to install this update could leave you
exposed to the following types of malicious third party attacks:

Unauthenticated users may retrieve contents from system-generated files.
These vulnerabilities as well as an additional issue have been addressed in
release 6.5.20 which is available for download from the Download Manager.

Administrators are strongly encouraged to upgrade their Sugar instances
running 6.5.x or earlier to 6.5.20 to prevent potential exploitation of these
weaknesses.
2015-03-15 16:33:22 +00:00

59 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2015/03/15 16:33:22 taca Exp $
#
SCVER= 6.5.20
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"