FreeBSD Bugzilla – Attachment 17717 Details for
Bug 32089
New port mail/turba: an addressbook used by IMP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 16.12 KB, created by
thierry
on 2001-11-18 22:00:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
thierry
Created:
2001-11-18 22:00:01 UTC
Size:
16.12 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># mail/turba ># mail/turba/distinfo ># mail/turba/pkg-comment ># mail/turba/Makefile ># mail/turba/pkg-plist ># mail/turba/pkg-message ># mail/turba/pkg-deinstall ># mail/turba/pkg-descr ># mail/turba/files ># mail/turba/files/patch-aa ># mail/turba/files/patch-ab ># mail/turba/files/patch-ac ># mail/turba/httpd.conf.turba ># >echo c - mail/turba >mkdir -p mail/turba > /dev/null 2>&1 >echo x - mail/turba/distinfo >sed 's/^X//' >mail/turba/distinfo << 'END-of-mail/turba/distinfo' >XMD5 (turba-1.0-RC1.tar.gz) = 18b4025383c7980be84e053b30e28fd6 >END-of-mail/turba/distinfo >echo x - mail/turba/pkg-comment >sed 's/^X//' >mail/turba/pkg-comment << 'END-of-mail/turba/pkg-comment' >XTurba is the Horde contact management application >END-of-mail/turba/pkg-comment >echo x - mail/turba/Makefile >sed 's/^X//' >mail/turba/Makefile << 'END-of-mail/turba/Makefile' >X# Ports collection makefile for: Turba >X# Date created: Sat Nov 16, 2001 >X# Whom: Thierry Thomas (<thierry@thomas.as>) >X# >X# $FreeBSD$ >X# >X >XPORTNAME= turba >XPORTVERSION= 1.0 >XCATEGORIES= mail www >XMASTER_SITES= ftp://ftp.horde.org/pub/turba/tarballs/ >XDISTNAME= ${PORTNAME}-${PORTVERSION}-RC1 >X >XMAINTAINER= thierry@thomas.as >X >X#----------------------------------------------------------------------- >X# You may define these options: >X# >X# - WITHOUT_LDAP : if you do not need OpenLDAP; >X# - WITH_LDAP1 : if you prefer OpenLDAP1. >X# >X# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree; >X# >X#----------------------------------------------------------------------- >X >X.if !defined(WITHOUT_LDAP) >X.if defined(WITH_LDAP1) >XLIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap \ >X lber.1:${PORTSDIR}/net/openldap >X.else >XLIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \ >X lber.2:${PORTSDIR}/net/openldap2 >X.endif >X.endif >X >XRUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde-devel >X >XNO_BUILD= yes >XDOCS= COPYING README docs/CHANGES docs/CREDITS \ >X docs/INSTALL docs/turba.dia docs/turba.pdf >XCONFFILE= attributes.php conf.php html.php menu.php \ >X prefs.php sources.php >X >XLHORDEDIR?= www/horde >XLTURBADIR?= ${LHORDEDIR}/turba >X >XPLIST_SUB= HORDEDIR=${LHORDEDIR} TURBADIR=${LTURBADIR} >X >XHORDEDIR= ${PREFIX}/${LHORDEDIR} >XTURBADIR= ${PREFIX}/${LTURBADIR} >XCONFDIR= ${TURBADIR}/config >X >XAPACHE_CNFDIR?= ${LOCALBASE}/etc/apache >XAPACHE_CONF= ${APACHE_CNFDIR}/httpd.conf >X >Xpre-install: >X# N.B.: database dependencies are binded with mod_php#, neither by Horde nor Turba. >X.if !defined(WITHOUT_SUPPORTED_DB) >X @if ! ${LDCONFIG} -r | ${GREP} -q -e "mysqlclient.10" ; then \ >X if ! ${LDCONFIG} -r | ${GREP} -q -e "pq.2" ; then \ >X if ! ${LDCONFIG} -r | ${GREP} -q -e "sybdb.0" ; then \ >X if ! ${LDCONFIG} -r | ${GREP} -q -e "ct.0" ; then \ >X ${ECHO_MSG} "" ; \ >X ${ECHO_MSG} "Please configure PHP with a database support." ; \ >X ${ECHO_MSG} "MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)" ; \ >X ${ECHO_MSG} "can be used with PHP AND Turba." ; \ >X ${ECHO_MSG} "" ; \ >X ${ECHO_MSG} "(If everything will run on this machine, do not" ; \ >X ${ECHO_MSG} " forget to install the database server-side!)" ; \ >X ${ECHO_MSG} "" ; \ >X ${FALSE} ; \ >X fi ; \ >X fi ; \ >X fi ; \ >X fi >X.endif >X.if !defined(WITHOUT_LDAP) >X.if defined(WITH_LDAP1) >X @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.1"; then \ >X ${ECHO_MSG} "" ; \ >X ${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \ >X ${ECHO_MSG} "" ; \ >X ${FALSE} ; \ >X fi >X.else >X @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.2"; then \ >X ${ECHO_MSG} "" ; \ >X ${ECHO_MSG} "Please configure PHP with OpenLDAP2 support." ; \ >X ${ECHO_MSG} "" ; \ >X ${FALSE} ; \ >X fi >X.endif >X.endif >X >Xdo-install: >X ${MKDIR} ${TURBADIR} >X ${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${TURBADIR} >X ${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${TURBADIR} >X ${CP} -Rp ${WRKSRC}/po ${TURBADIR} >X ${CP} -p ${WRKSRC}/*.php ${TURBADIR} >X.for FILE in ${CONFFILE} >X @if [ ! -f ${CONFDIR}/${FILE} ]; then \ >X ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ >X fi >X.endfor >X ${CHOWN} -R www:www ${TURBADIR} >X ${CHMOD} -R o-rwx ${CONFDIR} >X @(if [ -f ${APACHE_CONF} ] ; then \ >X (if [ ! -f ${APACHE_CONF}.beforeTurba ] ; then \ >X ${ECHO} "===> Updating ${APACHE_CONF}..." ; \ >X ${CP} -p ${.CURDIR}/httpd.conf.turba ${WRKDIR}/httpd.conf.turba ; \ >X ${PERL} -pi -e "s:/home/httpd/html/horde/turba:${TURBADIR}:g" ${WRKDIR}/httpd.conf.turba ; \ >X ${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeTurba ; \ >X ${GREP} -qw 'Added for Turba' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.turba >> ${APACHE_CONF} ; \ >X fi) ; \ >X fi) >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X.for FILE in ${DOCS} >X ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} >X.endfor >X @${ECHO} "Documentation installed in ${DOCSDIR}." >X.endif >X >Xpost-install: >X @${ECHO} >X @${CAT} ${PKGMESSAGE} | \ >X ${SED} -e "s:%%TURBADIR%%:${TURBADIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%APACHE_CONF%%:${APACHE_CONF}:g" >X @${ECHO} >X >X.include <bsd.port.mk> >END-of-mail/turba/Makefile >echo x - mail/turba/pkg-plist >sed 's/^X//' >mail/turba/pkg-plist << 'END-of-mail/turba/pkg-plist' >X%%PORTDOCS%%share/doc/turba/CHANGES >X%%PORTDOCS%%share/doc/turba/COPYING >X%%PORTDOCS%%share/doc/turba/CREDITS >X%%PORTDOCS%%share/doc/turba/INSTALL >X%%PORTDOCS%%share/doc/turba/README >X%%PORTDOCS%%share/doc/turba/turba.dia >X%%PORTDOCS%%share/doc/turba/turba.pdf >X%%TURBADIR%%/addobject.php >X%%TURBADIR%%/addobjectaction.php >X%%TURBADIR%%/advanced.php >X%%TURBADIR%%/config/attributes.php >X%%TURBADIR%%/config/attributes.php.dist >X%%TURBADIR%%/config/conf.php >X%%TURBADIR%%/config/conf.php.dist >X%%TURBADIR%%/config/conf.php.dist.orig >X%%TURBADIR%%/config/html.php >X%%TURBADIR%%/config/html.php.dist >X%%TURBADIR%%/config/menu.php >X%%TURBADIR%%/config/menu.php.dist >X%%TURBADIR%%/config/prefs.php >X%%TURBADIR%%/config/prefs.php.dist >X%%TURBADIR%%/config/prefs.php.dist.orig >X%%TURBADIR%%/config/sources.php >X%%TURBADIR%%/config/sources.php.dist >X%%TURBADIR%%/config/sources.php.dist.orig >X%%TURBADIR%%/config/turba.dt >X%%TURBADIR%%/data.php >X%%TURBADIR%%/deleteobject.php >X%%TURBADIR%%/displayobject.php >X%%TURBADIR%%/editobject.php >X%%TURBADIR%%/editobjectaction.php >X%%TURBADIR%%/graphics/add.gif >X%%TURBADIR%%/graphics/group.gif >X%%TURBADIR%%/graphics/search.gif >X%%TURBADIR%%/graphics/turba.gif >X%%TURBADIR%%/index.php >X%%TURBADIR%%/lib/AbstractObject.php >X%%TURBADIR%%/lib/Driver.php >X%%TURBADIR%%/lib/Driver/ldap.php >X%%TURBADIR%%/lib/Driver/sql.php >X%%TURBADIR%%/lib/Group.php >X%%TURBADIR%%/lib/List.php >X%%TURBADIR%%/lib/List/Plain.php >X%%TURBADIR%%/lib/List/Tree.php >X%%TURBADIR%%/lib/ListView.php >X%%TURBADIR%%/lib/ListView/Rolodex.php >X%%TURBADIR%%/lib/ListView/Tree.php >X%%TURBADIR%%/lib/Object.php >X%%TURBADIR%%/lib/ObjectView.php >X%%TURBADIR%%/lib/ObjectView/List.php >X%%TURBADIR%%/lib/ObjectView/PhotoID.php >X%%TURBADIR%%/lib/Source.php >X%%TURBADIR%%/lib/Turba.php >X%%TURBADIR%%/lib/api.php >X%%TURBADIR%%/lib/base.php >X%%TURBADIR%%/lib/version.php >X%%TURBADIR%%/locale/cs_CZ/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/de_DE/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/es_ES/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/fr_FR/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/it_IT/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/nl_NL/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/pl_PL/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/ru_koi/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/ru_win/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/zh_CN/LC_MESSAGES/turba.mo >X%%TURBADIR%%/locale/zh_TW/LC_MESSAGES/turba.mo >X%%TURBADIR%%/menu.php >X%%TURBADIR%%/po/Makefile >X%%TURBADIR%%/po/README >X%%TURBADIR%%/po/cs_CZ.po >X%%TURBADIR%%/po/de_DE.po >X%%TURBADIR%%/po/es_ES.po >X%%TURBADIR%%/po/extract.pl >X%%TURBADIR%%/po/fr_FR.po >X%%TURBADIR%%/po/it_IT.po >X%%TURBADIR%%/po/nl_NL.po >X%%TURBADIR%%/po/pl_PL.po >X%%TURBADIR%%/po/ru_koi.po >X%%TURBADIR%%/po/ru_win.po >X%%TURBADIR%%/po/shtool >X%%TURBADIR%%/po/xgettext.sh >X%%TURBADIR%%/po/zh_CN.po >X%%TURBADIR%%/po/zh_TW.po >X%%TURBADIR%%/scripts/drivers/turba.sql >X%%TURBADIR%%/search.php >X%%TURBADIR%%/status.php >X%%TURBADIR%%/templates/add/add.inc >X%%TURBADIR%%/templates/add/noadd.inc >X%%TURBADIR%%/templates/add/select.inc >X%%TURBADIR%%/templates/advanced/criteria.inc >X%%TURBADIR%%/templates/advanced/foot.inc >X%%TURBADIR%%/templates/advanced/head.inc >X%%TURBADIR%%/templates/advanced/results_head.inc >X%%TURBADIR%%/templates/common-footer.inc >X%%TURBADIR%%/templates/common-header.inc >X%%TURBADIR%%/templates/data/export.inc >X%%TURBADIR%%/templates/data/import.inc >X%%TURBADIR%%/templates/display/display.inc >X%%TURBADIR%%/templates/edit/edit.inc >X%%TURBADIR%%/templates/index/css.inc >X%%TURBADIR%%/templates/index/notconfigured.inc >X%%TURBADIR%%/templates/menu/menu.inc >X%%TURBADIR%%/templates/search/foot.inc >X%%TURBADIR%%/templates/search/head.inc >X%%TURBADIR%%/templates/search/oldrow.inc >X%%TURBADIR%%/templates/search/row.inc >X%%TURBADIR%%/templates/wml/common-footer.inc >X%%TURBADIR%%/templates/wml/common-header.inc >X%%TURBADIR%%/templates/wml/menu/menu.inc >X%%TURBADIR%%/templates/wml/search/foot.inc >X%%TURBADIR%%/templates/wml/search/head.inc >X%%TURBADIR%%/templates/wml/search/row.inc >X%%PORTDOCS%%@dirrm share/doc/turba >X@dirrm %%TURBADIR%%/config >X@dirrm %%TURBADIR%%/graphics >X@dirrm %%TURBADIR%%/lib/Driver >X@dirrm %%TURBADIR%%/lib/List >X@dirrm %%TURBADIR%%/lib/ListView >X@dirrm %%TURBADIR%%/lib/ObjectView >X@dirrm %%TURBADIR%%/lib >X@dirrm %%TURBADIR%%/locale/cs_CZ/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/cs_CZ >X@dirrm %%TURBADIR%%/locale/de_DE/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/de_DE >X@dirrm %%TURBADIR%%/locale/es_ES/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/es_ES >X@dirrm %%TURBADIR%%/locale/fr_FR/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/fr_FR >X@dirrm %%TURBADIR%%/locale/it_IT/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/it_IT >X@dirrm %%TURBADIR%%/locale/nl_NL/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/nl_NL >X@dirrm %%TURBADIR%%/locale/pl_PL/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/pl_PL >X@dirrm %%TURBADIR%%/locale/ru_koi/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/ru_koi >X@dirrm %%TURBADIR%%/locale/ru_win/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/ru_win >X@dirrm %%TURBADIR%%/locale/zh_CN/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/zh_CN >X@dirrm %%TURBADIR%%/locale/zh_TW/LC_MESSAGES >X@dirrm %%TURBADIR%%/locale/zh_TW >X@dirrm %%TURBADIR%%/locale >X@dirrm %%TURBADIR%%/po >X@dirrm %%TURBADIR%%/scripts/drivers >X@dirrm %%TURBADIR%%/scripts >X@dirrm %%TURBADIR%%/templates/add >X@dirrm %%TURBADIR%%/templates/advanced >X@dirrm %%TURBADIR%%/templates/data >X@dirrm %%TURBADIR%%/templates/display >X@dirrm %%TURBADIR%%/templates/edit >X@dirrm %%TURBADIR%%/templates/index >X@dirrm %%TURBADIR%%/templates/menu >X@dirrm %%TURBADIR%%/templates/search >X@dirrm %%TURBADIR%%/templates/wml/menu >X@dirrm %%TURBADIR%%/templates/wml/search >X@dirrm %%TURBADIR%%/templates/wml >X@dirrm %%TURBADIR%%/templates >X@dirrm %%TURBADIR%% >END-of-mail/turba/pkg-plist >echo x - mail/turba/pkg-message >sed 's/^X//' >mail/turba/pkg-message << 'END-of-mail/turba/pkg-message' >X************************************************************************ >XTurba has been installed in %%TURBADIR%% with your blank >Xconfiguration files. >X >XHorde must be configured; if not, see >X%%PORTSDIR%%/www/horde-devel/pkg-message. >X >XThen, you will have to tune the configuration files located in >X%%CONFDIR%%/, specially the files conf.php and >Xsources.php. >X >XYou have to create a table in your database; please see >X%%TURBADIR%%/scripts/drivers. >X >XIf %%APACHE_CONF%% has been updated, >Xyou have to restart Apache. >X************************************************************************ >END-of-mail/turba/pkg-message >echo x - mail/turba/pkg-deinstall >sed 's/^X//' >mail/turba/pkg-deinstall << 'END-of-mail/turba/pkg-deinstall' >X#!/bin/sh >X# Try to restore httpd.conf when deinstalling Turba >X >Xif [ x$2 != xDEINSTALL ]; then >X exit >Xfi >X >Xif [ -f ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ] ; then >X echo "Restoring httpd.conf..." >X cp ${PKG_PREFIX}/etc/apache/httpd.conf ${PKG_PREFIX}/etc/apache/httpd.conf.deinstTurba >X mv ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ${PKG_PREFIX}/etc/apache/httpd.conf >Xfi >END-of-mail/turba/pkg-deinstall >echo x - mail/turba/pkg-descr >sed 's/^X//' >mail/turba/pkg-descr << 'END-of-mail/turba/pkg-descr' >XTurba is the Horde contact management application. It is currently in >Xthe development stages, and makes heavy use of the Horde framework to >Xprovide integration with other applications. >X >XRight now, Turba is a fairly complete basic contact management >Xapplication. SQL and LDAP backends are available and fairly well tested. >XYou can define the fields in your addressbooks in a very flexible way, >Xjust by changing the config files. >XAnd there are Horde API functions to add and search for contacts. >X >XWWW: http://horde.org/turba/ >END-of-mail/turba/pkg-descr >echo c - mail/turba/files >mkdir -p mail/turba/files > /dev/null 2>&1 >echo x - mail/turba/files/patch-aa >sed 's/^X//' >mail/turba/files/patch-aa << 'END-of-mail/turba/files/patch-aa' >X--- config/conf.php.dist.orig Fri Sep 28 23:29:55 2001 >X+++ config/conf.php.dist Sat Nov 17 21:38:00 2001 >X@@ -29,5 +29,6 @@ >X // example providing a link to IMP (an email program) would be: >X // $conf['menu']['apps'] = array('imp'); >X $conf['menu']['apps'] = array(); >X+//UNCOMMENTWHENINSTIMP$conf['menu']['apps'] = array('imp'); >X >X ?> >END-of-mail/turba/files/patch-aa >echo x - mail/turba/files/patch-ab >sed 's/^X//' >mail/turba/files/patch-ab << 'END-of-mail/turba/files/patch-ab' >X--- config/sources.php.dist.orig Sun Nov 4 01:42:12 2001 >X+++ config/sources.php.dist Sun Nov 18 17:25:08 2001 >X@@ -83,21 +83,25 @@ >X 'title' => 'Local SQL', >X 'type' => 'sql', >X 'params' => array( >X- 'phptype' => 'pgsql', >X- 'hostspec' => '', >X- 'username' => '', >X- 'password' => '', >X+// 'phptype' => 'pgsql', >X+ 'phptype' => 'mysql', >X+ 'hostspec' => 'localhost', >X+ 'username' => 'hordemgr', >X+ 'password' => 'hordemgr', >X 'database' => 'horde', >X 'options' => '', >X- 'tty' => '', >X- 'port' => '5432', >X- 'protocol' => 'unix', >X+// 'tty' => '', >X+// Default port: 5432 for pgsql (PostGres), 3306 for mysql >X+// 'port' => '5432', >X+// 'port' => '3306', >X+// 'protocol' => 'unix', >X 'table' => 'turba_objects' >X ), >X 'map' => array( >X '__key' => 'object_id', >X '__owner' => 'owner_id', >X 'name' => 'object_name', >X+ 'alias' => 'object_alias', >X 'email' => 'object_email', >X 'homeAddress' => 'object_homeAddress', >X 'workAddress' => 'object_workAddress', >END-of-mail/turba/files/patch-ab >echo x - mail/turba/files/patch-ac >sed 's/^X//' >mail/turba/files/patch-ac << 'END-of-mail/turba/files/patch-ac' >X--- config/prefs.php.dist.orig Mon Oct 22 09:09:23 2001 >X+++ config/prefs.php.dist Sun Nov 18 01:21:42 2001 >X@@ -16,4 +16,13 @@ >X 'type' => 'select', >X 'desc' => _("Select your preferred language:") >X ); >X+ >X+// Addressbook >X+$_prefs['searchsource'] = array( >X+ 'value' => 'localsql', >X+ 'locked' => false, >X+ 'shared' => true, >X+ 'type' => 'select', >X+ 'desc' => _("from") >X+); >X ?> >END-of-mail/turba/files/patch-ac >echo x - mail/turba/httpd.conf.turba >sed 's/^X//' >mail/turba/httpd.conf.turba << 'END-of-mail/turba/httpd.conf.turba' >X >X# Added for Turba >X# >X# For security, don't serve pages from the Turba configuration and >X# library directories. >X# >X<Directory "/home/httpd/html/horde/turba/config"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/turba/lib"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/turba/locale"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/turba/po"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/turba/scripts"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/turba/templates"> >X order deny,allow >X deny from all >X</Directory> >X# End of Turba configuration ================ >X >END-of-mail/turba/httpd.conf.turba >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 32089
: 17717