pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/turba Turba is a set of PHP scripts that implemen...
details: https://anonhg.NetBSD.org/pkgsrc/rev/61abef8bfe11
branches: trunk
changeset: 491552:61abef8bfe11
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Fri Mar 25 13:21:43 2005 +0000
description:
Turba is a set of PHP scripts that implement a contacts directory and
management interface. Turba also provides an API for external applications
to interface with address books, providing adding and searching features that
can be hooked right into other applications.
Turba is a complete basic contact management application. SQL, LDAP, and Horde
Preferences backends are available and are well tested. The fields in the
address books can be defined in a very flexible way, just by changing the
config files. Import/export from/to Pine, Mulberry, CSV, TSV, and vCard
contacts. You can create distribution lists from your addressbooks, which are
handled transparently by IMP and other Horde applications. And there are Horde
API functions to add and search for contacts.
This also addresses PR# 22809 - Thanks for the PR.
diffstat:
mail/turba/DESCR | 12 +
mail/turba/MESSAGE | 22 +++
mail/turba/Makefile | 90 +++++++++++++
mail/turba/PLIST | 254 +++++++++++++++++++++++++++++++++++++++
mail/turba/distinfo | 5 +
mail/turba/files/turba.conf.dist | 31 ++++
mail/turba/options.mk | 24 +++
7 files changed, 438 insertions(+), 0 deletions(-)
diffs (truncated from 466 to 300 lines):
diff -r ec299a176d0c -r 61abef8bfe11 mail/turba/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/turba/DESCR Fri Mar 25 13:21:43 2005 +0000
@@ -0,0 +1,12 @@
+Turba is a set of PHP scripts that implement a contacts directory and
+management interface. Turba also provides an API for external applications
+to interface with address books, providing adding and searching features that
+can be hooked right into other applications.
+
+Turba is a complete basic contact management application. SQL, LDAP, and Horde
+Preferences backends are available and are well tested. The fields in the
+address books can be defined in a very flexible way, just by changing the
+config files. Import/export from/to Pine, Mulberry, CSV, TSV, and vCard
+contacts. You can create distribution lists from your addressbooks, which are
+handled transparently by IMP and other Horde applications. And there are Horde
+API functions to add and search for contacts.
diff -r ec299a176d0c -r 61abef8bfe11 mail/turba/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/turba/MESSAGE Fri Mar 25 13:21:43 2005 +0000
@@ -0,0 +1,22 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/03/25 13:21:43 adrianp Exp $
+
+Please refer to the file:
+
+ ${PREFIX}/share/doc/turba/INSTALL
+
+on how to setup your Turba installation. You need to at least edit
+
+ ${PREFIX}/share/horde/config/registry.php
+
+to enable Turba in the horde framework. You will also need to configure Turba
+by using the Horde administrative interface.
+
+Finally you will also need to make Turba accessible through your HTTP server.
+If you are running Apache and ap-php, then you can add the following lines
+to httpd.conf:
+
+ Include ${PKG_SYSCONFDIR}/horde.conf
+ Include ${PKG_SYSCONFDIR}/turba.conf
+
+===========================================================================
diff -r ec299a176d0c -r 61abef8bfe11 mail/turba/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/turba/Makefile Fri Mar 25 13:21:43 2005 +0000
@@ -0,0 +1,90 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/25 13:21:43 adrianp Exp $
+
+DISTNAME= turba-h3-${TURBAVER}
+PKGNAME= turba-${TURBAVER}
+CATEGORIES= mail www
+MASTER_SITES= ftp://ftp.horde.org/pub/turba/
+
+MAINTAINER= adrianp%NetBSD.org@localhost
+HOMEPAGE= http://www.horde.org/turba/
+COMMENT= Horde contact management application
+
+DEPENDS+= horde>=3.0.0:../../www/horde3
+
+.include "../../mk/bsd.prefs.mk"
+
+DOCDIR= ${PREFIX}/share/doc/turba
+EGDIR= ${PREFIX}/share/examples/turba
+HORDEDIR= ${PREFIX}/share/horde
+TURBADIR= ${HORDEDIR}/turba
+TURBAVER= 2.0.2
+PAXDIRS= lib locale po scripts templates themes
+USE_PERL5= YES
+
+MESSAGE_SUBST+= TURBADIR=${TURBADIR}
+MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+REPLACE_PERL= ${WRKSRC}/scripts/ldap/addou.pl
+
+USE_PKGINSTALL= YES
+PKG_SYSCONFSUBDIR?= httpd
+
+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."
+
+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
+SUPPORT_FILES_PERMS+= ${TURBADIR}/config/conf.xml.dist \
+ ${TURBADIR}/config/conf.xml \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${TURBADIR}/config/menu.php.dist \
+ ${TURBADIR}/config/menu.php \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_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} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${TURBADIR}
+ ${INSTALL_DATA_DIR} ${TURBADIR}/config
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/LDAP ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/RELEASE_NOTES ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/UPGRADING ${DOCDIR}
+
+. for d in ${PAXDIRS}
+ ${INSTALL_DATA_DIR} ${TURBADIR}/${d}
+. endfor
+. undef d
+
+. for d in ${PAXDIRS}
+ cd ${WRKSRC}/${d} && ${PAX} -rw . ${TURBADIR}/${d}
+. endfor
+. undef d
+
+ ${INSTALL_DATA} ${WRKSRC}/config/*.dist ${TURBADIR}/config
+ ${INSTALL_DATA} ${WRKSRC}/*.php ${TURBADIR}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TURBADIR}
+ ${CHMOD} -R a-w ${TURBADIR}
+ ${CHOWN} ${APACHE_USER}:${SHAREGRP} ${TURBADIR}/config
+ ${CHMOD} 0750 ${TURBADIR}/config
+
+.include "../../mk/bsd.pkg.mk"
diff -r ec299a176d0c -r 61abef8bfe11 mail/turba/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/turba/PLIST Fri Mar 25 13:21:43 2005 +0000
@@ -0,0 +1,254 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/25 13:21:43 adrianp Exp $
+share/doc/turba/COPYING
+share/doc/turba/INSTALL
+share/doc/turba/LDAP
+share/doc/turba/README
+share/doc/turba/RELEASE_NOTES
+share/doc/turba/UPGRADING
+share/horde/turba/add.php
+share/horde/turba/browse.php
+share/horde/turba/config/attributes.php.dist
+share/horde/turba/config/conf.xml.dist
+share/horde/turba/config/menu.php.dist
+share/horde/turba/config/prefs.php.dist
+share/horde/turba/config/sources.php.dist
+share/horde/turba/data.php
+share/horde/turba/delete.php
+share/horde/turba/display.php
+share/horde/turba/edit.php
+share/horde/turba/index.php
+share/horde/turba/lib/AbstractObject.php
+share/horde/turba/lib/Block/minisearch.php
+share/horde/turba/lib/Driver.php
+share/horde/turba/lib/Driver/imsp.php
+share/horde/turba/lib/Driver/kolab.php
+share/horde/turba/lib/Driver/ldap.php
+share/horde/turba/lib/Driver/prefs.php
+share/horde/turba/lib/Driver/sql.php
+share/horde/turba/lib/Group.php
+share/horde/turba/lib/List.php
+share/horde/turba/lib/List/Plain.php
+share/horde/turba/lib/List/Tree.php
+share/horde/turba/lib/ListView.php
+share/horde/turba/lib/ListView/Rolodex.php
+share/horde/turba/lib/ListView/Tree.php
+share/horde/turba/lib/Object.php
+share/horde/turba/lib/ObjectView.php
+share/horde/turba/lib/ObjectView/List.php
+share/horde/turba/lib/ObjectView/PhotoID.php
+share/horde/turba/lib/Renderer.php
+share/horde/turba/lib/Turba.php
+share/horde/turba/lib/api.php
+share/horde/turba/lib/base.php
+share/horde/turba/lib/prefs.php
+share/horde/turba/lib/version.php
+share/horde/turba/locale/ar_SY/LC_MESSAGES/turba.mo
+share/horde/turba/locale/bg_BG/LC_MESSAGES/turba.mo
+share/horde/turba/locale/ca_ES/LC_MESSAGES/turba.mo
+share/horde/turba/locale/cs_CZ/LC_MESSAGES/turba.mo
+share/horde/turba/locale/da_DK/LC_MESSAGES/turba.mo
+share/horde/turba/locale/de_DE/LC_MESSAGES/turba.mo
+share/horde/turba/locale/de_DE/help.xml
+share/horde/turba/locale/el_GR/LC_MESSAGES/turba.mo
+share/horde/turba/locale/en_US/help.xml
+share/horde/turba/locale/es_ES/LC_MESSAGES/turba.mo
+share/horde/turba/locale/es_ES/help.xml
+share/horde/turba/locale/et_EE/LC_MESSAGES/turba.mo
+share/horde/turba/locale/fa_IR/LC_MESSAGES/turba.mo
+share/horde/turba/locale/fi_FI/LC_MESSAGES/turba.mo
+share/horde/turba/locale/fi_FI/help.xml
+share/horde/turba/locale/fr_FR/LC_MESSAGES/turba.mo
+share/horde/turba/locale/gl_ES/LC_MESSAGES/turba.mo
+share/horde/turba/locale/hu_HU/LC_MESSAGES/turba.mo
+share/horde/turba/locale/it_IT/LC_MESSAGES/turba.mo
+share/horde/turba/locale/ja_JP/LC_MESSAGES/turba.mo
+share/horde/turba/locale/ko_KR/LC_MESSAGES/turba.mo
+share/horde/turba/locale/lt_LT/LC_MESSAGES/turba.mo
+share/horde/turba/locale/lv_LV/LC_MESSAGES/turba.mo
+share/horde/turba/locale/mk_MK/LC_MESSAGES/turba.mo
+share/horde/turba/locale/nb_NO/LC_MESSAGES/turba.mo
+share/horde/turba/locale/nl_NL/LC_MESSAGES/turba.mo
+share/horde/turba/locale/nn_NO/LC_MESSAGES/turba.mo
+share/horde/turba/locale/pl_PL/LC_MESSAGES/turba.mo
+share/horde/turba/locale/pt_BR/LC_MESSAGES/turba.mo
+share/horde/turba/locale/pt_BR/help.xml
+share/horde/turba/locale/pt_PT/LC_MESSAGES/turba.mo
+share/horde/turba/locale/pt_PT/help.xml
+share/horde/turba/locale/ro_RO/LC_MESSAGES/turba.mo
+share/horde/turba/locale/ru_RU/LC_MESSAGES/turba.mo
+share/horde/turba/locale/sk_SK/LC_MESSAGES/turba.mo
+share/horde/turba/locale/sk_SK/help.xml
+share/horde/turba/locale/sl_SI/LC_MESSAGES/turba.mo
+share/horde/turba/locale/sv_SE/LC_MESSAGES/turba.mo
+share/horde/turba/locale/uk_UA/LC_MESSAGES/turba.mo
+share/horde/turba/locale/zh_CN/LC_MESSAGES/turba.mo
+share/horde/turba/locale/zh_TW/LC_MESSAGES/turba.mo
+share/horde/turba/minisearch.php
+share/horde/turba/po/README
+share/horde/turba/po/ar_SY.po
+share/horde/turba/po/bg_BG.po
+share/horde/turba/po/ca_ES.po
+share/horde/turba/po/cs_CZ.po
+share/horde/turba/po/da_DK.po
+share/horde/turba/po/de_DE.po
+share/horde/turba/po/el_GR.po
+share/horde/turba/po/es_ES.po
+share/horde/turba/po/et_EE.po
+share/horde/turba/po/fa_IR.po
+share/horde/turba/po/fi_FI.po
+share/horde/turba/po/fr_FR.po
+share/horde/turba/po/gl_ES.po
+share/horde/turba/po/hu_HU.po
+share/horde/turba/po/it_IT.po
+share/horde/turba/po/ja_JP.po
+share/horde/turba/po/ko_KR.po
+share/horde/turba/po/lt_LT.po
+share/horde/turba/po/lv_LV.po
+share/horde/turba/po/mk_MK.po
+share/horde/turba/po/nb_NO.po
+share/horde/turba/po/nl_NL.po
+share/horde/turba/po/nn_NO.po
+share/horde/turba/po/pl_PL.po
+share/horde/turba/po/pt_BR.po
+share/horde/turba/po/pt_PT.po
+share/horde/turba/po/ro_RO.po
+share/horde/turba/po/ru_RU.po
+share/horde/turba/po/sk_SK.po
+share/horde/turba/po/sl_SI.po
+share/horde/turba/po/sv_SE.po
+share/horde/turba/po/turba.pot
+share/horde/turba/po/uk_UA.po
+share/horde/turba/po/zh_CN.po
+share/horde/turba/po/zh_TW.po
+share/horde/turba/scripts/Turba.reg
+share/horde/turba/scripts/ldap/addou
+share/horde/turba/scripts/ldap/addou.pl
+share/horde/turba/scripts/ldap/core.schema.patch
+share/horde/turba/scripts/ldap/rfc2739.schema
+share/horde/turba/scripts/sql/turba_objects.mysql.sql
+share/horde/turba/scripts/sql/turba_objects.oci8.sql
+share/horde/turba/scripts/sql/turba_objects.pgsql.sql
+share/horde/turba/scripts/sql/turba_objects.sql
+share/horde/turba/scripts/sql/turba_weddingguests.sql
+share/horde/turba/scripts/upgrades/1.2_to_2.0.mysql.sql
+share/horde/turba/scripts/upgrades/2004-10-26_create_default_histories.php
+share/horde/turba/search.php
+share/horde/turba/templates/block/minisearch.inc
+share/horde/turba/templates/browse/actions.inc
+share/horde/turba/templates/browse/column_footers.inc
+share/horde/turba/templates/browse/column_headers.inc
+share/horde/turba/templates/browse/contactrow.inc
+share/horde/turba/templates/browse/footer.inc
+share/horde/turba/templates/browse/footerAlpha.inc
+share/horde/turba/templates/browse/header.inc
+share/horde/turba/templates/browse/javascript.inc
+share/horde/turba/templates/browse/search.inc
+share/horde/turba/templates/browse/search_criteria.inc
+share/horde/turba/templates/browse/select.inc
+share/horde/turba/templates/common-header.inc
+share/horde/turba/templates/data/export.inc
+share/horde/turba/templates/data/import.inc
+share/horde/turba/templates/menu.inc
+share/horde/turba/templates/prefs/columnselect.inc
+share/horde/turba/test.php
+share/horde/turba/themes/graphics/contact.png
+share/horde/turba/themes/graphics/group.png
+share/horde/turba/themes/graphics/menu/browse.png
+share/horde/turba/themes/graphics/menu/new.png
+share/horde/turba/themes/graphics/new.png
+share/horde/turba/themes/graphics/turba.png
+share/horde/turba/themes/screen.css
Home |
Main Index |
Thread Index |
Old Index