Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 23:30:43 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/35870: mail/turba: upgrade from 1.0 to 1.1 RC1.
Message-ID:  <20020313223043.888E2750F@graf.pompo.net>

next in thread | raw e-mail | index | archive | help

>Number:         35870
>Category:       ports
>Synopsis:       mail/turba: upgrade from 1.0 to 1.1 RC1.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 13 14:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar 9 11:54:44 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386


	
>Description:
	This patch upgrades Turba from 1.0 to 1.1 RC1.

>How-To-Repeat:
	N/A.

>Fix:

	Pre-requisite: this patch must be applied after PR ports/35869.

	Then, apply the following patch (and after that, please commit
	the upgrade of mail/imp to 3.1).


diff -urN /usr/ports/mail/turba.orig/Makefile /usr/ports/mail/turba/Makefile
--- /usr/ports/mail/turba.orig/Makefile	Sun Feb 17 14:10:34 2002
+++ /usr/ports/mail/turba/Makefile	Wed Mar 13 00:25:14 2002
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	turba
-PORTVERSION=	1.0
-PORTREVISION=	1
+PORTVERSION=	1.1
 CATEGORIES=	mail www
 MASTER_SITES=	ftp://ftp.horde.org/pub/turba/tarballs/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-RC1
 
 MAINTAINER=	thierry@pompo.net
 
@@ -42,6 +42,7 @@
 		docs/INSTALL docs/turba.dia docs/turba.pdf
 CONFFILE=	attributes.php conf.php html.php menu.php \
 		prefs.php sources.php
+SUB_DIRS=	config graphics lib locale scripts templates po
 
 LHORDEDIR?=	www/horde
 LTURBADIR?=	${LHORDEDIR}/turba
@@ -95,9 +96,9 @@
 
 do-install:
 	@${MKDIR}  ${TURBADIR}
-	@${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${TURBADIR}
-	@${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${TURBADIR}
-	@${CP} -Rp ${WRKSRC}/templates ${WRKSRC}/po ${TURBADIR}
+.for REP in ${SUB_DIRS}
+	@${CP} -Rp ${WRKSRC}/${REP} ${TURBADIR}
+.endfor
 	@${CP} -p  ${WRKSRC}/*.php ${TURBADIR}
 .for FILE in ${CONFFILE}
 	@if [ ! -f ${CONFDIR}/${FILE} ]; then \
diff -urN /usr/ports/mail/turba.orig/distinfo /usr/ports/mail/turba/distinfo
--- /usr/ports/mail/turba.orig/distinfo	Sat Jan 19 17:58:09 2002
+++ /usr/ports/mail/turba/distinfo	Tue Mar 12 23:56:27 2002
@@ -1 +1 @@
-MD5 (turba-1.0.tar.gz) = 8d70570cd66f9921a7466c699e58f5be
+MD5 (turba-1.1-RC1.tar.gz) = ba254f2ac27bba4a0ba6c55eeffbe946
diff -urN /usr/ports/mail/turba.orig/files/patch-lib_api.php /usr/ports/mail/turba/files/patch-lib_api.php
--- /usr/ports/mail/turba.orig/files/patch-lib_api.php	Sat Jan 19 18:03:33 2002
+++ /usr/ports/mail/turba/files/patch-lib_api.php	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- lib/api.php.orig	Tue Dec 25 20:01:35 2001
-+++ lib/api.php	Thu Jan 17 23:46:58 2002
-@@ -90,7 +90,7 @@
- 
-     $driver = Turba_Source::factory($addressbook, $cfgSources[$addressbook]);
-     $res = $driver->search(array('name' => $name, 'email' => $address), LASTNAME, TURBA_SEARCH_AND);
--    if (PEAR::isError($res) || count($res) > 0) {
-+    if (PEAR::isError($res) || count($res->objects) > 0) {
-         return PEAR::raiseError(_("This person is already in your addressbook."), HORDE_MESSAGE);
-     }
- 
diff -urN /usr/ports/mail/turba.orig/pkg-plist /usr/ports/mail/turba/pkg-plist
--- /usr/ports/mail/turba.orig/pkg-plist	Sat Jan 19 21:30:45 2002
+++ /usr/ports/mail/turba/pkg-plist	Wed Mar 13 00:15:45 2002
@@ -8,6 +8,7 @@
 %%TURBADIR%%/addobject.php
 %%TURBADIR%%/addobjectaction.php
 %%TURBADIR%%/advanced.php
+%%TURBADIR%%/browse.php
 %%TURBADIR%%/config/.htaccess
 %%TURBADIR%%/config/attributes.php
 %%TURBADIR%%/config/attributes.php.dist
@@ -30,9 +31,13 @@
 %%TURBADIR%%/editobject.php
 %%TURBADIR%%/editobjectaction.php
 %%TURBADIR%%/graphics/add.gif
+%%TURBADIR%%/graphics/down.gif
 %%TURBADIR%%/graphics/group.gif
+%%TURBADIR%%/graphics/lhand.gif
+%%TURBADIR%%/graphics/rhand.gif
 %%TURBADIR%%/graphics/search.gif
 %%TURBADIR%%/graphics/turba.gif
+%%TURBADIR%%/graphics/up.gif
 %%TURBADIR%%/index.php
 %%TURBADIR%%/lib/.htaccess
 %%TURBADIR%%/lib/AbstractObject.php
@@ -53,25 +58,28 @@
 %%TURBADIR%%/lib/Source.php
 %%TURBADIR%%/lib/Turba.php
 %%TURBADIR%%/lib/api.php
-%%TURBADIR%%/lib/api.php.orig
 %%TURBADIR%%/lib/base.php
 %%TURBADIR%%/lib/version.php
 %%TURBADIR%%/locale/.htaccess
 %%TURBADIR%%/locale/cs_CZ/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/da_DK/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/de_DE/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/el_GR/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/es_ES/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/et_EE/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/fi_FI/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/fr_FR/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/it_IT/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/ko_KR/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/nl_NL/LC_MESSAGES/turba.mo
-%%TURBADIR%%/locale/no_BOK/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/nb_NO/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/pl_PL/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/pt_BR/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/ru_koi/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/ru_win/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/sk_SK/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/sv_SE/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/uk_UA/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/zh_CN/LC_MESSAGES/turba.mo
 %%TURBADIR%%/locale/zh_TW/LC_MESSAGES/turba.mo
 %%TURBADIR%%/menu.php
@@ -79,25 +87,30 @@
 %%TURBADIR%%/po/Makefile
 %%TURBADIR%%/po/README
 %%TURBADIR%%/po/cs_CZ.po
+%%TURBADIR%%/po/da_DK.po
 %%TURBADIR%%/po/de_DE.po
 %%TURBADIR%%/po/el_GR.po
 %%TURBADIR%%/po/es_ES.po
+%%TURBADIR%%/po/et_EE.po
 %%TURBADIR%%/po/extract.pl
 %%TURBADIR%%/po/fi_FI.po
 %%TURBADIR%%/po/fr_FR.po
 %%TURBADIR%%/po/it_IT.po
 %%TURBADIR%%/po/ko_KR.po
 %%TURBADIR%%/po/nl_NL.po
-%%TURBADIR%%/po/no_BOK.po
+%%TURBADIR%%/po/nb_NO.po
 %%TURBADIR%%/po/pl_PL.po
 %%TURBADIR%%/po/pt_BR.po
 %%TURBADIR%%/po/ru_koi.po
 %%TURBADIR%%/po/ru_win.po
 %%TURBADIR%%/po/shtool
+%%TURBADIR%%/po/sk_SK.po
 %%TURBADIR%%/po/sv_SE.po
+%%TURBADIR%%/po/uk_UA.po
 %%TURBADIR%%/po/xgettext.sh
 %%TURBADIR%%/po/zh_CN.po
 %%TURBADIR%%/po/zh_TW.po
+%%TURBADIR%%/prefs.php
 %%TURBADIR%%/scripts/.htaccess
 %%TURBADIR%%/scripts/drivers/turba.sql
 %%TURBADIR%%/search.php
@@ -110,6 +123,8 @@
 %%TURBADIR%%/templates/advanced/foot.inc
 %%TURBADIR%%/templates/advanced/head.inc
 %%TURBADIR%%/templates/advanced/results_head.inc
+%%TURBADIR%%/templates/browse/foot.inc
+%%TURBADIR%%/templates/browse/head.inc
 %%TURBADIR%%/templates/common-footer.inc
 %%TURBADIR%%/templates/common-header.inc
 %%TURBADIR%%/templates/data/export.inc
@@ -119,9 +134,9 @@
 %%TURBADIR%%/templates/index/css.inc
 %%TURBADIR%%/templates/index/notconfigured.inc
 %%TURBADIR%%/templates/menu/menu.inc
+%%TURBADIR%%/templates/prefs/columnselect.inc
 %%TURBADIR%%/templates/search/foot.inc
 %%TURBADIR%%/templates/search/head.inc
-%%TURBADIR%%/templates/search/oldrow.inc
 %%TURBADIR%%/templates/search/row.inc
 %%TURBADIR%%/templates/wml/common-footer.inc
 %%TURBADIR%%/templates/wml/common-header.inc
@@ -140,12 +155,16 @@
 @dirrm %%TURBADIR%%/lib
 @dirrm %%TURBADIR%%/locale/cs_CZ/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/cs_CZ
+@dirrm %%TURBADIR%%/locale/da_DK/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/da_DK
 @dirrm %%TURBADIR%%/locale/de_DE/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/de_DE
 @dirrm %%TURBADIR%%/locale/el_GR/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/el_GR
 @dirrm %%TURBADIR%%/locale/es_ES/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/es_ES
+@dirrm %%TURBADIR%%/locale/et_EE/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/et_EE
 @dirrm %%TURBADIR%%/locale/fi_FI/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/fi_FI
 @dirrm %%TURBADIR%%/locale/fr_FR/LC_MESSAGES
@@ -156,8 +175,8 @@
 @dirrm %%TURBADIR%%/locale/ko_KR
 @dirrm %%TURBADIR%%/locale/nl_NL/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/nl_NL
-@dirrm %%TURBADIR%%/locale/no_BOK/LC_MESSAGES
-@dirrm %%TURBADIR%%/locale/no_BOK
+@dirrm %%TURBADIR%%/locale/nb_NO/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/nb_NO
 @dirrm %%TURBADIR%%/locale/pl_PL/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/pl_PL
 @dirrm %%TURBADIR%%/locale/pt_BR/LC_MESSAGES
@@ -166,8 +185,12 @@
 @dirrm %%TURBADIR%%/locale/ru_koi
 @dirrm %%TURBADIR%%/locale/ru_win/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/ru_win
+@dirrm %%TURBADIR%%/locale/sk_SK/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/sk_SK
 @dirrm %%TURBADIR%%/locale/sv_SE/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/sv_SE
+@dirrm %%TURBADIR%%/locale/uk_UA/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/uk_UA
 @dirrm %%TURBADIR%%/locale/zh_CN/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/zh_CN
 @dirrm %%TURBADIR%%/locale/zh_TW/LC_MESSAGES
@@ -178,11 +201,13 @@
 @dirrm %%TURBADIR%%/scripts
 @dirrm %%TURBADIR%%/templates/add
 @dirrm %%TURBADIR%%/templates/advanced
+@dirrm %%TURBADIR%%/templates/browse
 @dirrm %%TURBADIR%%/templates/data
 @dirrm %%TURBADIR%%/templates/display
 @dirrm %%TURBADIR%%/templates/edit
 @dirrm %%TURBADIR%%/templates/index
 @dirrm %%TURBADIR%%/templates/menu
+@dirrm %%TURBADIR%%/templates/prefs
 @dirrm %%TURBADIR%%/templates/search
 @dirrm %%TURBADIR%%/templates/wml/menu
 @dirrm %%TURBADIR%%/templates/wml/search
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313223043.888E2750F>