ports/56099: mail/imp3: upgrading to 3.2.2 - includes security fixes.

Thierry Thomas thierry at pompo.net
Thu Aug 28 20:50:19 UTC 2003


>Number:         56099
>Category:       ports
>Synopsis:       mail/imp3: upgrading to 3.2.2 - includes security fixes.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 28 13:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Aug 19 18:22:37 CEST 2003 thierry at graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	Upgrading to the latests stable release. This includes several
	security fixes.

	The full list of changes (from 3.2.1) can be viewed here:
	http://cvs.horde.org/diff.php/imp/docs/CHANGES?r1=1.389.2.83&r2=1.389.2.94&ty=h

	Remark: this supersedes PR ports/54656.

>How-To-Repeat:
	N/A.

>Fix:
	Please apply the following patch.

--- imp3.diff begins here ---
diff -urN mail/imp3.orig/Makefile mail/imp3/Makefile
--- mail/imp3.orig/Makefile	Sat Aug 16 21:44:37 2003
+++ mail/imp3/Makefile	Thu Aug 28 21:44:19 2003
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	imp
-PORTVERSION=	3.2.1
-PORTREVISION=	2
+PORTVERSION=	3.2.2
 CATEGORIES=	mail www
 MASTER_SITES=	ftp://ftp.horde.org/pub/imp/				\
 		ftp://ftp.au.horde.org/pub/horde/imp/			\
@@ -65,11 +64,7 @@
 
 .if defined(WITHOUT_TURBA)
 .if !defined(WITHOUT_LDAP)
-.if exists(${LOCALBASE}/lib/libldap.so.1)
-LIB_DEPENDS+=	ldap.1:${PORTSDIR}/net/openldap12
-.else
-LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap21-client
-.endif
+USE_OPENLDAP=	yes
 .endif
 RUN_DEPENDS+=	${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2
 NOTURBA=	"@comment "
@@ -169,6 +164,10 @@
 	@${ECHO_MSG} ""
 .endif
 
+post-patch:
+	@${RM} ${WRKSRC}/config/prefs.php.dist.orig
+	@${RM} ${WRKSRC}/config/servers.php.dist.orig
+
 pre-install:
 # N.B.: database dependencies are binded with mod_php#, neither by Horde nor IMP.
 	@if [ -f ${IMPDIR}/index.php3 ]; then \
@@ -219,7 +218,7 @@
 	fi
 .endif
 .if !defined(WITHOUT_SUPPORTED_DB)
-	@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmysqlclient.so.10"; then \
+	@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmysqlclient.so"; then \
 	 if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libpq.so.3" ; then \
 	  if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libsybdb.so.1" ; then \
 	   if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libct.so.0" ; then \
diff -urN mail/imp3.orig/distinfo mail/imp3/distinfo
--- mail/imp3.orig/distinfo	Sun Mar 30 21:07:35 2003
+++ mail/imp3/distinfo	Thu Aug 28 00:19:15 2003
@@ -1 +1 @@
-MD5 (imp-3.2.1.tar.gz) = 0ab8edfcd1439e52b0f29e84fef0cf54
+MD5 (imp-3.2.2.tar.gz) = 757e4d3b6b1b7137712ed4c4a358e822
diff -urN mail/imp3.orig/pkg-plist mail/imp3/pkg-plist
--- mail/imp3.orig/pkg-plist	Sun Mar 30 21:07:35 2003
+++ mail/imp3/pkg-plist	Thu Aug 28 21:35:56 2003
@@ -21,10 +21,8 @@
 %%IMPDIR%%/config/motd.php.dist
 %%IMPDIR%%/config/prefs.php
 %%IMPDIR%%/config/prefs.php.dist
-%%IMPDIR%%/config/prefs.php.dist.orig
 %%IMPDIR%%/config/servers.php
 %%IMPDIR%%/config/servers.php.dist
-%%IMPDIR%%/config/servers.php.dist.orig
 %%IMPDIR%%/config/trailer.txt
 %%IMPDIR%%/config/trailer.txt.dist
 %%IMPDIR%%/contacts.php
@@ -108,6 +106,8 @@
 %%IMPDIR%%/lib/constants.php
 %%IMPDIR%%/lib/version.php
 %%IMPDIR%%/locale/.htaccess
+%%IMPDIR%%/locale/ar_OM/LC_MESSAGES/imp.mo
+%%IMPDIR%%/locale/ar_SY/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/bg_BG/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/ca_ES/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/ca_ES/help.xml
@@ -130,6 +130,8 @@
 %%IMPDIR%%/locale/fr_FR/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/fr_FR/help.xml
 %%IMPDIR%%/locale/hu_HU/LC_MESSAGES/imp.mo
+%%IMPDIR%%/locale/hu_HU/help.xml
+%%IMPDIR%%/locale/is_IS/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/it_IT/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/it_IT/help.xml
 %%IMPDIR%%/locale/ja_JP/LC_MESSAGES/imp.mo
@@ -137,6 +139,7 @@
 %%IMPDIR%%/locale/ko_KR/help.xml
 %%IMPDIR%%/locale/lt_LT/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/lv_LV/LC_MESSAGES/imp.mo
+%%IMPDIR%%/locale/mk_MK/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/nb_NO/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/nb_NO/help.xml
 %%IMPDIR%%/locale/nl_NL/LC_MESSAGES/imp.mo
@@ -159,6 +162,7 @@
 %%IMPDIR%%/locale/sr_YU/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/sv_SE/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/sv_SE/help.xml
+%%IMPDIR%%/locale/th_TH/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/uk_UA/LC_MESSAGES/imp.mo
 %%IMPDIR%%/locale/uk_UA/help.xml
 %%IMPDIR%%/locale/zh_CN/LC_MESSAGES/imp.mo
@@ -172,6 +176,8 @@
 %%IMPDIR%%/po/.htaccess
 %%IMPDIR%%/po/Makefile
 %%IMPDIR%%/po/README
+%%IMPDIR%%/po/ar_OM.po
+%%IMPDIR%%/po/ar_SY.po
 %%IMPDIR%%/po/bg_BG.po
 %%IMPDIR%%/po/ca_ES.po
 %%IMPDIR%%/po/cs_CZ.po
@@ -184,12 +190,14 @@
 %%IMPDIR%%/po/fi_FI.po
 %%IMPDIR%%/po/fr_FR.po
 %%IMPDIR%%/po/hu_HU.po
+%%IMPDIR%%/po/is_IS.po
 %%IMPDIR%%/po/imp.pot
 %%IMPDIR%%/po/it_IT.po
 %%IMPDIR%%/po/ja_JP.po
 %%IMPDIR%%/po/ko_KR.po
 %%IMPDIR%%/po/lt_LT.po
 %%IMPDIR%%/po/lv_LV.po
+%%IMPDIR%%/po/mk_MK.po
 %%IMPDIR%%/po/nb_NO.po
 %%IMPDIR%%/po/nl_NL.po
 %%IMPDIR%%/po/nn_NO.po
@@ -204,6 +212,7 @@
 %%IMPDIR%%/po/sl_SI.po
 %%IMPDIR%%/po/sr_YU.po
 %%IMPDIR%%/po/sv_SE.po
+%%IMPDIR%%/po/th_TH.po
 %%IMPDIR%%/po/uk_UA.po
 %%IMPDIR%%/po/xgettext.sh
 %%IMPDIR%%/po/zh_CN.po
@@ -288,6 +297,10 @@
 @dirrm %%IMPDIR%%/lib/Maintenance/Task
 @dirrm %%IMPDIR%%/lib/Maintenance
 @dirrm %%IMPDIR%%/lib
+ at dirrm %%IMPDIR%%/locale/ar_OM/LC_MESSAGES
+ at dirrm %%IMPDIR%%/locale/ar_OM
+ at dirrm %%IMPDIR%%/locale/ar_SY/LC_MESSAGES
+ at dirrm %%IMPDIR%%/locale/ar_SY
 @dirrm %%IMPDIR%%/locale/bg_BG/LC_MESSAGES
 @dirrm %%IMPDIR%%/locale/bg_BG
 @dirrm %%IMPDIR%%/locale/ca_ES/LC_MESSAGES
@@ -312,6 +325,8 @@
 @dirrm %%IMPDIR%%/locale/fr_FR
 @dirrm %%IMPDIR%%/locale/hu_HU/LC_MESSAGES
 @dirrm %%IMPDIR%%/locale/hu_HU
+ at dirrm %%IMPDIR%%/locale/is_IS/LC_MESSAGES
+ at dirrm %%IMPDIR%%/locale/is_IS
 @dirrm %%IMPDIR%%/locale/it_IT/LC_MESSAGES
 @dirrm %%IMPDIR%%/locale/it_IT
 @dirrm %%IMPDIR%%/locale/ja_JP/LC_MESSAGES
@@ -322,6 +337,8 @@
 @dirrm %%IMPDIR%%/locale/lt_LT
 @dirrm %%IMPDIR%%/locale/lv_LV/LC_MESSAGES
 @dirrm %%IMPDIR%%/locale/lv_LV
+ at dirrm %%IMPDIR%%/locale/mk_MK/LC_MESSAGES
+ at dirrm %%IMPDIR%%/locale/mk_MK
 @dirrm %%IMPDIR%%/locale/nb_NO/LC_MESSAGES
 @dirrm %%IMPDIR%%/locale/nb_NO
 @dirrm %%IMPDIR%%/locale/nl_NL/LC_MESSAGES
@@ -348,6 +365,8 @@
 @dirrm %%IMPDIR%%/locale/sr_YU
 @dirrm %%IMPDIR%%/locale/sv_SE/LC_MESSAGES
 @dirrm %%IMPDIR%%/locale/sv_SE
+ at dirrm %%IMPDIR%%/locale/th_TH/LC_MESSAGES
+ at dirrm %%IMPDIR%%/locale/th_TH
 @dirrm %%IMPDIR%%/locale/uk_UA/LC_MESSAGES
 @dirrm %%IMPDIR%%/locale/uk_UA
 @dirrm %%IMPDIR%%/locale/zh_CN/LC_MESSAGES
--- imp3.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list