Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  9 Apr 2002 00:30:10 +0200 (CEST)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36904: mail/turba: upgrade from 1.0 to 1.1 RC2.
Message-ID:  <20020408223010.044BE750D@graf.pompo.net>

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

>Number:         36904
>Category:       ports
>Synopsis:       mail/turba: upgrade from 1.0 to 1.1 RC2.
>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:   Mon Apr 08 15:40:01 PDT 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 RC2.

	N.B.: this PR supersedes PR ports/35870.

>How-To-Repeat:
	N/A.

>Fix:

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

	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	Mon Apr  8 20:56:01 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}-RC2
 
 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	Mon Apr  8 22:13:58 2002
@@ -1 +1 @@
-MD5 (turba-1.0.tar.gz) = 8d70570cd66f9921a7466c699e58f5be
+MD5 (turba-1.1-RC2.tar.gz) = 5104518019bdc527baf241b1adc9d618
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	Mon Apr  8 22:19:08 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,30 @@
 %%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/ja_JP/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/pt_PT/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_RU/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_RU.KOI8-R/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 +89,32 @@
 %%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/ja_JP.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/pt_PT.po
+%%TURBADIR%%/po/ru_RU.po
+%%TURBADIR%%/po/ru_RU.KOI8-R.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 +127,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 +138,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,34 +159,46 @@
 @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
 @dirrm %%TURBADIR%%/locale/fr_FR
 @dirrm %%TURBADIR%%/locale/it_IT/LC_MESSAGES
 @dirrm %%TURBADIR%%/locale/it_IT
+@dirrm %%TURBADIR%%/locale/ja_JP/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ja_JP
 @dirrm %%TURBADIR%%/locale/ko_KR/LC_MESSAGES
 @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
 @dirrm %%TURBADIR%%/locale/pt_BR
-@dirrm %%TURBADIR%%/locale/ru_koi/LC_MESSAGES
-@dirrm %%TURBADIR%%/locale/ru_koi
-@dirrm %%TURBADIR%%/locale/ru_win/LC_MESSAGES
-@dirrm %%TURBADIR%%/locale/ru_win
+@dirrm %%TURBADIR%%/locale/pt_PT/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/pt_PT
+@dirrm %%TURBADIR%%/locale/ru_RU/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_RU
+@dirrm %%TURBADIR%%/locale/ru_RU.KOI8-R/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_RU.KOI8-R
+@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 +209,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?20020408223010.044BE750D>