9f62cd0800
---- v2.3 ---- [jan] Change group field in shares table to work with LDAP groups (Bug 6883). [jan] Fix exporting address books with country fields as vCards (Bug 7372). [mjr] Make sure we use all address books when searching via the api and the user's addressbooks pref is empty (Bug 7357). [mjr] Correctly calculate the age of time objects (Bug 7330). -------- v2.3-RC1 -------- [jan] Improve vCard EMAIL field parsing (Bug 7281). [jan] Correctly import and export address extensions (Bug 7279). [jan] Export full country names to vCard addresses. [jan] Respect precedence of multiple vCard properties (Request 7122). [jan] Remove deleted address books from address book preference (Request 6938). [jan] Export LABEL properties to vCard if address fields are available. [gwr] Add support for storing public PGP keys when using Kolab. [gwr] Add support for adding addresses from IMP when using Kolab. [jan] Add configuration option for an alternative name field. [jan] Add support for image fields to SQL driver (requires Horde 3.3). [jan] Add more default field mappings for CSV import (Request 6901). [jan] Update field names for Outlook 2003 export (Request 6901). [jan] Improve logic which entries to show in the sidebar menu. [jan] Add support for the category form field (Request 6884). [jan] Fix sorting so that sort order is always reflected correctly, independent of name format. [jan] Add Basque translation (Euskal Herriko Unibertsitatea EHU/UPV <xabier.arrieta@ehu.es>). [jan] Add ability to mark a contact as your own and API method to export it. [jan] Fix importing phone numbers from Synthesis clients (Bug 7011). [mjr] Fix issue with searching composite fields when the number of search terms is less than the number of composed fields (Bug 6796) [cjh] Allow importing multiple address into an email field if allow_multi is set to true on the field in attributes.php (Bug 6897). [mjr] Remove user permissions on all shares when deleting a user. [jan] Fix searching of client address books that have been disabled in the preferences (Bug 6961). [mjr] Fix issue with removeUserData api that caused the deleted user's address books to not be deleted as well as remove an erroneous error notification (Bug 6969). [cjh] Fix the column selector/sorter in IE (Bug 6912).
107 lines
3.5 KiB
Makefile
107 lines
3.5 KiB
Makefile
# $NetBSD: Makefile,v 1.31 2008/10/12 12:06:52 adrianp Exp $
|
|
|
|
DISTNAME= turba-h3-${TURBAVER}
|
|
PKGNAME= turba-${TURBAVER}
|
|
CATEGORIES= mail www
|
|
MASTER_SITES= http://ftp.horde.org/pub/turba/ \
|
|
ftp://ftp.horde.org/pub/turba/
|
|
|
|
MAINTAINER= adrianp@NetBSD.org
|
|
HOMEPAGE= http://www.horde.org/turba/
|
|
COMMENT= Horde contact management application
|
|
|
|
DEPENDS+= horde>=3.2:../../www/horde
|
|
|
|
PKG_DESTDIR_SUPPORT= destdir
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/turba
|
|
EGDIR= ${PREFIX}/share/examples/turba
|
|
HORDEDIR= ${PREFIX}/share/horde
|
|
TURBADIR= ${HORDEDIR}/turba
|
|
TURBAVER= 2.3
|
|
PAXDIRS= lib locale po scripts templates themes js
|
|
USE_TOOLS+= pax perl:run
|
|
|
|
MESSAGE_SUBST+= TURBADIR=${TURBADIR:Q}
|
|
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
|
|
REPLACE_PERL+= ${WRKSRC}/scripts/ldap/addou.pl
|
|
|
|
PKG_SYSCONFSUBDIR?= httpd
|
|
|
|
PKG_USERS_VARS+= APACHE_USER
|
|
BUILD_DEFS= APACHE_USER
|
|
|
|
SUBST_CLASSES+= files
|
|
SUBST_STAGE.files= post-build
|
|
SUBST_FILES.files= turba.conf.dist
|
|
SUBST_SED.files= -e "s|@TURBADIR@|${TURBADIR}|g"
|
|
SUBST_MESSAGE.files= Fixing configuration files.
|
|
|
|
REPLACE_INTERPRETER+= php
|
|
REPLACE.php.old= .*/bin/php
|
|
REPLACE.php.new= ${PREFIX}/bin/php
|
|
REPLACE_FILES.php= scripts/import_vcards.php \
|
|
scripts/upgrades/create_default_histories.php \
|
|
scripts/upgrades/public_to_horde_share.php \
|
|
scripts/import_squirrelmail_abook.php \
|
|
scripts/upgrades/2.1_to_2.2_sql_schema.php
|
|
|
|
CONF_FILES= ${EGDIR}/turba.conf ${PKG_SYSCONFDIR}/turba.conf
|
|
CONF_FILES_PERMS+= ${TURBADIR}/config/sources.php.dist \
|
|
${TURBADIR}/config/sources.php \
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
CONF_FILES+= ${TURBADIR}/config/attributes.php.dist \
|
|
${TURBADIR}/config/attributes.php
|
|
CONF_FILES_PERMS+= ${TURBADIR}/config/conf.xml.dist \
|
|
${TURBADIR}/config/conf.xml \
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
CONF_FILES_PERMS+= ${TURBADIR}/config/menu.php.dist \
|
|
${TURBADIR}/config/menu.php \
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
CONF_FILES_PERMS+= ${TURBADIR}/config/prefs.php.dist \
|
|
${TURBADIR}/config/prefs.php \
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
|
|
.include "options.mk"
|
|
|
|
do-build:
|
|
${CP} ${FILESDIR}/turba.conf.dist ${WRKSRC}/turba.conf.dist
|
|
${CP} ${WRKSRC}/config/conf.xml ${WRKSRC}/config/conf.xml.dist
|
|
${FIND} ${WRKSRC} -name .htaccess -print | ${XARGS} ${RM} -f
|
|
${CHMOD} 0750 ${WRKSRC}/scripts/ldap/addou.pl
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${TURBADIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${TURBADIR}/config
|
|
${INSTALL_DATA} ${WRKSRC}/turba.conf.dist ${DESTDIR}${EGDIR}/turba.conf
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/LDAP ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/RELEASE_NOTES ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/UPGRADING ${DESTDIR}${DOCDIR}
|
|
|
|
. for d in ${PAXDIRS}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${TURBADIR}/${d:Q}
|
|
. endfor
|
|
|
|
. for d in ${PAXDIRS}
|
|
cd ${WRKSRC}/${d:Q} && pax -rwpma . \
|
|
${DESTDIR}${TURBADIR}/${d:Q}
|
|
. endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${DESTDIR}${TURBADIR}/config
|
|
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${TURBADIR}
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${TURBADIR}
|
|
${FIND} ${DESTDIR}${TURBADIR} -type d -print | \
|
|
${XARGS} ${CHMOD} ${PKGDIRMODE}
|
|
${FIND} ${DESTDIR}${TURBADIR} -type f -print | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
${CHOWN} ${APACHE_USER}:${SHAREGRP} ${DESTDIR}${TURBADIR}/config
|
|
${CHMOD} 0750 ${DESTDIR}${TURBADIR}/config
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|