pkgsrc/www/fengoffice/Makefile
taca fed9fe8323 Update fengoffice to 2.3.2.1.
Changelog
=========

Since 2.3.2
----------------

bugfix: When creating members, do not assign permissions for all executives (or superior users) if member has a parent.


Since 2.3.2-rc2
----------------

bugfix: Cannot filter overview by tag.
bugfix: Tasks tooltip in calendar views shows description as html.
bugfix: Permissions issue when editing and subscribing for non-admins for not classiffied objects.


Since 2.3.2-rc
----------------

bugfix: Show can_manage_billing permission.
bugfix: Missing lang on javascript langs.
bugfix: Javascript plugin langs are not loaded.
bugfix: When requesting completed tasks for calendar month view, it does not filter by dates and calendar hangs if there are too much tasks.
bugfix: Administration / dimensions does not show members for dimensions that don't define permissions.
bugfix: Permissions fix when email module is not installed.
bugfix: Company object type name fixed.
bugfix: Try to reconect to database if not conected when executing a query (if connection is lost while performing other tasks).
bugfix: When users cannot see other user's tasks they can view them using the search.
bugfix: Group permissions not applied in assigned to combo (when adding or editing tasks).
bugfix: Minor bugfixes in 1.7 -> 2.x upgrade.
bugfix: Activity widget: logs for members (workspaces, etc.) were not displayed.
bugfix: General search sql query improved.
bugfix: Don't include context in the user edited notification.
bugfix: Don't show worked hours if user doesn't have permissions for it.
bugfix: Don't send archived mails.

feature: Only administrators can change system permissions.
feature: Users can change permissions of users of the same type (only dimension member permissions).
feature: Set permissions to executive, manager and admins when creating a new member.

Since 2.3.2-beta
----------------

bugfix: Archiving a submember does not archive its objects.
bugfix: Error 500 when adding group.
bugfix: Installer fixes.
bugfix: Modified the insert in read objects for emails.
bugfix: Minor bugfixes in document listing.
bugfix: Sql error when $selected_columns ins an empty array in ContentDataObjects::listing() function
bugfix: root permissions not set when installing new feng office.
bugfix: Person report fixed when displaying email field.
bugfix: contacts are always created when sending mails.
bugfix: Tasks list milestone grouping fixed.

preformance: Search query improved.
performance: Insert/delete into sharing table 500 objects x query when saving user permissions.
2013-10-09 14:40:09 +00:00

62 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2013/10/09 14:40:09 taca Exp $
#
DISTNAME= fengoffice_2.3.2.1
PKGNAME= ${DISTNAME:S/_/-/:C/.rc$/rc1/}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opengoo/}
EXTRACT_SUFX= .zip
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://fengoffice.com/web/community/community_index.php
COMMENT= Easy to use Open Source Web Office
LICENSE= gnu-agpl-v3
CONFLICTS+= opengoo-[0-9]*
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.1.0:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.1.0:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.1.0:../../archivers/php-zip
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.1.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.1.0:../../textproc/php-dom
DEPENDS+= ${PHP_PKG_PREFIX}-imap>=5.1.0:../../mail/php-imap
EXTRACT_DIR= ${WRKDIR}/fengoffice
WRKSRC= ${WRKDIR}/fengoffice
USE_TOOLS= pax
NO_BUILD= yes
OWN_DIRS_PERMS+= ${FO_DIR}/public/files ${REAL_ROOT_USER} ${APACHE_GROUP} 0775
OWN_DIRS_PERMS+= ${FO_DIR}/upload ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${FO_DIR}/cache ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${FO_DIR}/config ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
OWN_DIRS_PERMS+= ${FO_DIR}/tmp ${REAL_ROOT_USER} ${APACHE_GROUP} 0770
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= FO_DIR=${FO_DIR} APACHE_USER=${APACHE_USER}
PLIST_SUBST+= FO_DIR=${FO_DIR}
PRINT_PLIST_AWK+= \
/^${FO_DIR:S|/|\\/|g}/ \
{ gsub(/${FO_DIR:S|/|\\/|g}/, "$${FO_DIR}"); \
print; next; }
.include "../../mk/bsd.prefs.mk"
FO_DIR?= share/fengoffice
INSTALLATION_DIRS= ${FO_DIR}
post-extract:
cd ${WRKSRC}; ${FIND} . -type f -exec ${CHMOD} -x {} \;
pre-install:
${RM} -f ${WRKSRC}/config/empty.config.php
${FIND} ${WRKSRC} -type f \
\( -name .project -o -name .cvsignore \) -exec ${RM} -f {} \;
do-install:
cd ${WRKSRC}; ${FIND} . -type f \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/${FO_DIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"