From root@Seattle.tamama.org  Fri May 12 10:57:02 2006
Return-Path: <root@Seattle.tamama.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EA65B16A400;
	Fri, 12 May 2006 10:57:02 +0000 (UTC)
	(envelope-from root@Seattle.tamama.org)
Received: from Seattle.tamama.org (mpc02.csie.nctu.edu.tw [140.113.214.12])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0E82043D5D;
	Fri, 12 May 2006 10:57:01 +0000 (GMT)
	(envelope-from root@Seattle.tamama.org)
Received: by Seattle.tamama.org (Postfix, from userid 0)
	id 2A079CA08; Fri, 12 May 2006 18:57:01 +0800 (CST)
Message-Id: <20060512105701.2A079CA08@Seattle.tamama.org>
Date: Fri, 12 May 2006 18:57:01 +0800 (CST)
From: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc: leeym@FreeBSD.org
Subject: [PATCH] mail/openwebmail: htmltext::str2html error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97171
>Category:       ports
>Synopsis:       [PATCH] mail/openwebmail: htmltext::str2html error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 12 11:00:36 GMT 2006
>Closed-Date:    Fri May 12 14:50:41 GMT 2006
>Last-Modified:  Fri May 12 14:50:41 GMT 2006
>Originator:     Jui-Nan Lin
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD Seattle.tamama.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #5: Sun Mar 26 14:53:23 CST 2006
>Description:

Ref: http://openwebmail.acatysmoof.com/archive/html/owm-users/owm-users.200605/msg00028.html

After logging into owm, I get the following error:

Undefined subroutine &ow::htmltext::str2html called at
/var/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1283.

Patch Ref: http://openwebmail.acatysmoof.com/archive/html/owm-users/owm-users.200605/msg00030.html

Since they don't fix in the 2.52 tarball, I added a patch for it.

Added file(s):
- files/patch-cgi-bin:openwebmail.pl

Port maintainer (leeym@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- openwebmail-2.52_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/openwebmail/Makefile /home/jnlin/ports/openwebmail/Makefile
--- /usr/ports/mail/openwebmail/Makefile	Wed May  3 13:47:54 2006
+++ /home/jnlin/ports/openwebmail/Makefile	Fri May 12 18:12:53 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	openwebmail
 PORTVERSION?=	2.52
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://openwebmail.acatysmoof.com/download/%SUBDIR%/ \
 		http://openwebmail.org/openwebmail/download/%SUBDIR%/
diff -ruN --exclude=CVS /usr/ports/mail/openwebmail/files/patch-cgi-bin:openwebmail.pl /home/jnlin/ports/openwebmail/files/patch-cgi-bin:openwebmail.pl
--- /usr/ports/mail/openwebmail/files/patch-cgi-bin:openwebmail.pl	Thu Jan  1 08:00:00 1970
+++ /home/jnlin/ports/openwebmail/files/patch-cgi-bin:openwebmail.pl	Fri May 12 18:36:00 2006
@@ -0,0 +1,10 @@
+--- openwebmail.pl.old	Fri May 12 18:35:27 2006
++++ openwebmail.pl	Fri May 12 18:35:41 2006
+@@ -41,6 +41,7 @@
+ require "modules/datetime.pl";
+ require "modules/lang.pl";
+ require "modules/mime.pl";
++require "modules/htmltext.pl";
+ require "auth/auth.pl";
+ require "quota/quota.pl";
+ require "shares/ow-shared.pl";
--- openwebmail-2.52_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 12 11:04:10 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97171 
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Fri May 12 14:50:39 UTC 2006 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97171 
>Unformatted:
