2013-05-31 14:39:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2013/05/31 12:41:21 wiz Exp $
|
2005-03-25 14:21:43 +01:00
|
|
|
|
|
|
|
DISTNAME= turba-h3-${TURBAVER}
|
|
|
|
PKGNAME= turba-${TURBAVER}
|
2013-05-31 14:39:57 +02:00
|
|
|
PKGREVISION= 3
|
2005-03-25 14:21:43 +01:00
|
|
|
CATEGORIES= mail www
|
2006-04-29 11:23:19 +02:00
|
|
|
MASTER_SITES= http://ftp.horde.org/pub/turba/ \
|
|
|
|
ftp://ftp.horde.org/pub/turba/
|
2005-03-25 14:21:43 +01:00
|
|
|
|
2009-07-17 20:00:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-03-25 14:21:43 +01:00
|
|
|
HOMEPAGE= http://www.horde.org/turba/
|
|
|
|
COMMENT= Horde contact management application
|
Update truba to 2.3.6.
(while here, set LICENSE=apache-1.1.)
------
v2.3.6
------
[mjr] Fix issue that caused erroneous file listings for objects in sources
without a __uid value.
[jan] Allow to export photo/logo fields to vCard without MIME type.
[jan] Support X-EPOCSECONDNAME fields of Nokia phones.
[jan] Add upgrade scripts for next-generation SQL share driver.
[jan] Fix splitting up names when exporting to N properties of vCards.
[jan] Only set the encoding parameter for binary data in vCards, if data is not
empty (Bug #9413).
[jan] Fix searching for fields matching an email address if using 'emails'
attribute instead of 'email' (Bug #9472).
[jan] Use personal address books first if determining the default one (Valentin
Vidic, Request #9367).
[jan] Use name format preference not only for paging, but for sorting too
(Request #8806).
[jan] Fix photo corruption when exporting to vCard 3.0 (Bug #9100).
------
v2.3.5
------
[jan] Correctly export FN vCard property if 'alternative_name' is set, but not
'name' (Bug #9207).
[jan] Fix import of addresses from LDIF (Axel Jurak, Bug #9215).
[jan] Speed up browsing of long address books.
------
v2.3.4
------
[jan] Remove deleted contacts from distribution lists in the same address book.
[mjr] Allow creation of default, personal address book when other read-only
sources are present.
[mjr] Log in history when deleting all of a user's contacts (Bug #8755).
[jan] Only export non-empty fields if exporting manually.
[jan] Add export to vCard 3.0.
[jan] Only synchronize those fields that are supported by the client
(Request #6658, requires Horde 3.3.7).
------
v2.3.3
------
[jan] Fix syntax of MSSQL scripts (Bug #8664).
[jan] Add preference for the name format to use for sorting (Request #6721).
[jan] Condense whitespace in composite fields (Request #8654).
[jan] Add and fix Oracle-specific SQL scripts.
[jan] Add Croatian translation (Matej Vela <matej.vela@carnet.hr>,
Iva Rumora <iva.rumora@zg.t-com.hr>).
[mjr] Fix permission checking for virtual address books.
[jan] Update deleted attributes during synchronization (lst_hoe02@kwsoft.de,
Request #6658).
[jan] Support X-ANNIVERSARY, X-CHILDREN, and X-SPOUSE vCard fields
(Request #8074).
[jan] Fix copying and moving of image fields (Ryu <ryu@ryux.org>, Bug #8523).
[jan] Don't return an error on empty LDAP search results (Bug #8595).
[jan] Replace PHP5-only code from the LDIF exporter (Bug #8586).
------
v2.3.2
------
[mms] Upgrade prototype.js to v1.6.1.
[jan] Fix synchronization with output compression enabled (Bug #7769).
[mjr] Fix contacts being deleted during synchronization when moved from one
address book to another (ryu@ryux.org, Bug #8487).
[mjr] Add new API method for retrieving the default share for a source.
[jan] Don't overwrite the compositing fields, when importing composite fields.
[cjh] Fix searches for multiple strict fields and at least one non-strict field
(tinu@humbapa.ch, Bug #7876).
[mjr] Specific timeobject categories are now only advertised when they are
present in a configured source.
2012-02-23 12:46:07 +01:00
|
|
|
LICENSE= apache-1.1
|
2005-03-25 14:21:43 +01:00
|
|
|
|
Update truba to 2.3.6.
(while here, set LICENSE=apache-1.1.)
------
v2.3.6
------
[mjr] Fix issue that caused erroneous file listings for objects in sources
without a __uid value.
[jan] Allow to export photo/logo fields to vCard without MIME type.
[jan] Support X-EPOCSECONDNAME fields of Nokia phones.
[jan] Add upgrade scripts for next-generation SQL share driver.
[jan] Fix splitting up names when exporting to N properties of vCards.
[jan] Only set the encoding parameter for binary data in vCards, if data is not
empty (Bug #9413).
[jan] Fix searching for fields matching an email address if using 'emails'
attribute instead of 'email' (Bug #9472).
[jan] Use personal address books first if determining the default one (Valentin
Vidic, Request #9367).
[jan] Use name format preference not only for paging, but for sorting too
(Request #8806).
[jan] Fix photo corruption when exporting to vCard 3.0 (Bug #9100).
------
v2.3.5
------
[jan] Correctly export FN vCard property if 'alternative_name' is set, but not
'name' (Bug #9207).
[jan] Fix import of addresses from LDIF (Axel Jurak, Bug #9215).
[jan] Speed up browsing of long address books.
------
v2.3.4
------
[jan] Remove deleted contacts from distribution lists in the same address book.
[mjr] Allow creation of default, personal address book when other read-only
sources are present.
[mjr] Log in history when deleting all of a user's contacts (Bug #8755).
[jan] Only export non-empty fields if exporting manually.
[jan] Add export to vCard 3.0.
[jan] Only synchronize those fields that are supported by the client
(Request #6658, requires Horde 3.3.7).
------
v2.3.3
------
[jan] Fix syntax of MSSQL scripts (Bug #8664).
[jan] Add preference for the name format to use for sorting (Request #6721).
[jan] Condense whitespace in composite fields (Request #8654).
[jan] Add and fix Oracle-specific SQL scripts.
[jan] Add Croatian translation (Matej Vela <matej.vela@carnet.hr>,
Iva Rumora <iva.rumora@zg.t-com.hr>).
[mjr] Fix permission checking for virtual address books.
[jan] Update deleted attributes during synchronization (lst_hoe02@kwsoft.de,
Request #6658).
[jan] Support X-ANNIVERSARY, X-CHILDREN, and X-SPOUSE vCard fields
(Request #8074).
[jan] Fix copying and moving of image fields (Ryu <ryu@ryux.org>, Bug #8523).
[jan] Don't return an error on empty LDAP search results (Bug #8595).
[jan] Replace PHP5-only code from the LDIF exporter (Bug #8586).
------
v2.3.2
------
[mms] Upgrade prototype.js to v1.6.1.
[jan] Fix synchronization with output compression enabled (Bug #7769).
[mjr] Fix contacts being deleted during synchronization when moved from one
address book to another (ryu@ryux.org, Bug #8487).
[mjr] Add new API method for retrieving the default share for a source.
[jan] Don't overwrite the compositing fields, when importing composite fields.
[cjh] Fix searches for multiple strict fields and at least one non-strict field
(tinu@humbapa.ch, Bug #7876).
[mjr] Specific timeobject categories are now only advertised when they are
present in a configured source.
2012-02-23 12:46:07 +01:00
|
|
|
DEPENDS+= horde>=3.3.7:../../www/horde
|
2005-03-25 14:21:43 +01:00
|
|
|
|
2008-03-04 18:57:17 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= destdir
|
|
|
|
|
2005-03-25 14:21:43 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/turba
|
|
|
|
EGDIR= ${PREFIX}/share/examples/turba
|
|
|
|
HORDEDIR= ${PREFIX}/share/horde
|
|
|
|
TURBADIR= ${HORDEDIR}/turba
|
Update truba to 2.3.6.
(while here, set LICENSE=apache-1.1.)
------
v2.3.6
------
[mjr] Fix issue that caused erroneous file listings for objects in sources
without a __uid value.
[jan] Allow to export photo/logo fields to vCard without MIME type.
[jan] Support X-EPOCSECONDNAME fields of Nokia phones.
[jan] Add upgrade scripts for next-generation SQL share driver.
[jan] Fix splitting up names when exporting to N properties of vCards.
[jan] Only set the encoding parameter for binary data in vCards, if data is not
empty (Bug #9413).
[jan] Fix searching for fields matching an email address if using 'emails'
attribute instead of 'email' (Bug #9472).
[jan] Use personal address books first if determining the default one (Valentin
Vidic, Request #9367).
[jan] Use name format preference not only for paging, but for sorting too
(Request #8806).
[jan] Fix photo corruption when exporting to vCard 3.0 (Bug #9100).
------
v2.3.5
------
[jan] Correctly export FN vCard property if 'alternative_name' is set, but not
'name' (Bug #9207).
[jan] Fix import of addresses from LDIF (Axel Jurak, Bug #9215).
[jan] Speed up browsing of long address books.
------
v2.3.4
------
[jan] Remove deleted contacts from distribution lists in the same address book.
[mjr] Allow creation of default, personal address book when other read-only
sources are present.
[mjr] Log in history when deleting all of a user's contacts (Bug #8755).
[jan] Only export non-empty fields if exporting manually.
[jan] Add export to vCard 3.0.
[jan] Only synchronize those fields that are supported by the client
(Request #6658, requires Horde 3.3.7).
------
v2.3.3
------
[jan] Fix syntax of MSSQL scripts (Bug #8664).
[jan] Add preference for the name format to use for sorting (Request #6721).
[jan] Condense whitespace in composite fields (Request #8654).
[jan] Add and fix Oracle-specific SQL scripts.
[jan] Add Croatian translation (Matej Vela <matej.vela@carnet.hr>,
Iva Rumora <iva.rumora@zg.t-com.hr>).
[mjr] Fix permission checking for virtual address books.
[jan] Update deleted attributes during synchronization (lst_hoe02@kwsoft.de,
Request #6658).
[jan] Support X-ANNIVERSARY, X-CHILDREN, and X-SPOUSE vCard fields
(Request #8074).
[jan] Fix copying and moving of image fields (Ryu <ryu@ryux.org>, Bug #8523).
[jan] Don't return an error on empty LDAP search results (Bug #8595).
[jan] Replace PHP5-only code from the LDIF exporter (Bug #8586).
------
v2.3.2
------
[mms] Upgrade prototype.js to v1.6.1.
[jan] Fix synchronization with output compression enabled (Bug #7769).
[mjr] Fix contacts being deleted during synchronization when moved from one
address book to another (ryu@ryux.org, Bug #8487).
[mjr] Add new API method for retrieving the default share for a source.
[jan] Don't overwrite the compositing fields, when importing composite fields.
[cjh] Fix searches for multiple strict fields and at least one non-strict field
(tinu@humbapa.ch, Bug #7876).
[mjr] Specific timeobject categories are now only advertised when they are
present in a configured source.
2012-02-23 12:46:07 +01:00
|
|
|
TURBAVER= 2.3.6
|
2011-05-11 23:28:35 +02:00
|
|
|
PAXDIRS= addressbooks lib locale po scripts templates themes js
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax perl:run
|
2005-03-25 14:21:43 +01:00
|
|
|
|
2006-03-09 00:54:27 +01:00
|
|
|
MESSAGE_SUBST+= TURBADIR=${TURBADIR:Q}
|
|
|
|
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
|
|
|
|
REPLACE_PERL+= ${WRKSRC}/scripts/ldap/addou.pl
|
2005-03-25 14:21:43 +01:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR?= httpd
|
|
|
|
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_USERS_VARS+= APACHE_USER
|
2007-11-15 23:24:01 +01:00
|
|
|
BUILD_DEFS= APACHE_USER
|
2007-07-04 22:54:31 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= files
|
2005-03-25 14:21:43 +01:00
|
|
|
SUBST_STAGE.files= post-build
|
|
|
|
SUBST_FILES.files= turba.conf.dist
|
|
|
|
SUBST_SED.files= -e "s|@TURBADIR@|${TURBADIR}|g"
|
2006-03-09 00:54:27 +01:00
|
|
|
SUBST_MESSAGE.files= Fixing configuration files.
|
2005-03-25 14:21:43 +01:00
|
|
|
|
2007-11-15 23:24:01 +01:00
|
|
|
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 \
|
2008-05-26 14:57:13 +02:00
|
|
|
scripts/upgrades/public_to_horde_share.php \
|
|
|
|
scripts/import_squirrelmail_abook.php \
|
2008-12-16 00:19:35 +01:00
|
|
|
scripts/upgrades/2.1_to_2.2_sql_schema.php \
|
|
|
|
scripts/import_squirrelmail_file_abook.php \
|
|
|
|
scripts/import_squirrelmail_sql_abook.php
|
2007-11-15 23:24:01 +01:00
|
|
|
|
2005-03-25 14:21:43 +01:00
|
|
|
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
|
2005-08-19 20:12:36 +02:00
|
|
|
CONF_FILES_PERMS+= ${TURBADIR}/config/conf.xml.dist \
|
2005-03-25 14:21:43 +01:00
|
|
|
${TURBADIR}/config/conf.xml \
|
|
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
2005-08-19 20:12:36 +02:00
|
|
|
CONF_FILES_PERMS+= ${TURBADIR}/config/menu.php.dist \
|
2005-03-25 14:21:43 +01:00
|
|
|
${TURBADIR}/config/menu.php \
|
|
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
2005-08-19 20:12:36 +02:00
|
|
|
CONF_FILES_PERMS+= ${TURBADIR}/config/prefs.php.dist \
|
2005-03-25 14:21:43 +01:00
|
|
|
${TURBADIR}/config/prefs.php \
|
|
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
do-build:
|
2007-11-15 23:24:01 +01:00
|
|
|
${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
|
2005-03-25 14:21:43 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
${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}
|
2005-03-25 14:21:43 +01:00
|
|
|
|
|
|
|
. for d in ${PAXDIRS}
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${TURBADIR}/${d:Q}
|
2005-03-25 14:21:43 +01:00
|
|
|
. endfor
|
|
|
|
|
|
|
|
. for d in ${PAXDIRS}
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/${d:Q} && pax -rwpma . \
|
2008-03-04 18:57:17 +01:00
|
|
|
${DESTDIR}${TURBADIR}/${d:Q}
|
2005-03-25 14:21:43 +01:00
|
|
|
. endfor
|
|
|
|
|
2008-03-04 18:57:17 +01:00
|
|
|
${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}
|
2008-04-07 20:17:34 +02:00
|
|
|
${CHOWN} ${APACHE_USER}:${SHAREGRP} ${DESTDIR}${TURBADIR}/config
|
|
|
|
${CHMOD} 0750 ${DESTDIR}${TURBADIR}/config
|
2005-03-25 14:21:43 +01:00
|
|
|
|
2006-06-02 20:27:54 +02:00
|
|
|
.include "../../lang/php/phpversion.mk"
|
2005-03-25 14:21:43 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|