ports/110245: [PATCH] mail/dbmail: update to 2.2.4

Larry Rosenman ler at lerctr.org
Tue Mar 13 00:40:10 UTC 2007


>Number:         110245
>Category:       ports
>Synopsis:       [PATCH] mail/dbmail: update to 2.2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 13 00:40:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Larry Rosenman
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD thebighonker.lerctr.org 6.2-STABLE FreeBSD 6.2-STABLE #9: Mon Mar 12 07:02:32 CST 2007
>Description:
- Update to 2.2.4

Removed file(s):
- files/patch-rfc822_headername_case

Port maintainer (mark_sf at kikg.ifmo.ru) is cc'd.

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

--- dbmail-2.2.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/dbmail/Makefile /usr/home/ler/ports/mail/dbmail/Makefile
--- /usr/ports/mail/dbmail/Makefile	Thu Mar  1 13:32:00 2007
+++ /usr/home/ler/ports/mail/dbmail/Makefile	Mon Mar 12 19:27:09 2007
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	dbmail
-PORTVERSION=	2.2.2
-PORTREVISION=	1
+PORTVERSION=	2.2.4
 CATEGORIES=	mail
 MASTER_SITES=	http://www.dbmail.org/download/2.2/
 
diff -ruN --exclude=CVS /usr/ports/mail/dbmail/distinfo /usr/home/ler/ports/mail/dbmail/distinfo
--- /usr/ports/mail/dbmail/distinfo	Wed Feb 14 12:31:39 2007
+++ /usr/home/ler/ports/mail/dbmail/distinfo	Mon Mar 12 19:27:54 2007
@@ -1,3 +1,3 @@
-MD5 (dbmail-2.2.2.tar.gz) = 7a1a0940d3ec07dc55c7e49412298b0a
-SHA256 (dbmail-2.2.2.tar.gz) = fdf8327addcd6edb379debffe56584020e7e477a3d101e8c8d0d5d992e00b4c2
-SIZE (dbmail-2.2.2.tar.gz) = 855310
+MD5 (dbmail-2.2.4.tar.gz) = b7f56437df764e7046438f81f4b7df18
+SHA256 (dbmail-2.2.4.tar.gz) = 2fdf2f22e9d0437e8331d33a956f12ca85d7370651c943f09f8886e94a93f379
+SIZE (dbmail-2.2.4.tar.gz) = 873538
diff -ruN --exclude=CVS /usr/ports/mail/dbmail/files/patch-rfc822_headername_case /usr/home/ler/ports/mail/dbmail/files/patch-rfc822_headername_case
--- /usr/ports/mail/dbmail/files/patch-rfc822_headername_case	Sun Feb 25 09:35:31 2007
+++ /usr/home/ler/ports/mail/dbmail/files/patch-rfc822_headername_case	Wed Dec 31 18:00:00 1969
@@ -1,26 +0,0 @@
---- dbmail-message.c
-+++ dbmail-message.c
-@@ -885,9 +885,13 @@ static int _header_get_id(const struct D
- 	u64_t tmp;
- 	gpointer cacheid;
- 	gchar *safe_header;
-+	gchar *tmpheader;
- 
--	if (! (safe_header = dm_strnesc(header,CACHE_WIDTH_NAME)))
-+	// rfc822 headernames are case-insensitive
-+	if (! (tmpheader = dm_strnesc(header,CACHE_WIDTH_NAME)))
- 		return -1;
-+	safe_header = g_ascii_strdown(tmpheader,-1);
-+	g_free(tmpheader);
- 
- 	cacheid = g_hash_table_lookup(self->header_dict, (gconstpointer)safe_header);
- 	if (cacheid) {
-@@ -897,7 +901,7 @@ static int _header_get_id(const struct D
- 	}
- 		
- 	GString *q = g_string_new("");
--	g_string_printf(q, "SELECT id FROM %sheadername WHERE headername='%s'", DBPFX, safe_header);
-+	g_string_printf(q, "SELECT id FROM %sheadername WHERE lower(headername)='%s'", DBPFX, safe_header);
- 	if (db_query(q->str) == -1) {
- 		g_string_free(q,TRUE);
- 		g_free(safe_header);
--- dbmail-2.2.4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list