Bug 85763 - [update] mail/dbmail: update to 2.0.7
Summary: [update] mail/dbmail: update to 2.0.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sean Chittenden
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-05 21:40 UTC by Mark Starovoytov
Modified: 2005-09-13 21:27 UTC (History)
0 users

See Also:


Attachments
dbmail207.tar.gz (14.73 KB, text/plain)
2005-09-05 21:40 UTC, Mark Starovoytov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Starovoytov 2005-09-05 21:40:18 UTC
      Update dbmail to the latest stable 2.0.7 version.
      See http://www.dbmail.org/ for more info.
Comment 1 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-09-05 22:24:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->seanc

Over to maintainer.
Comment 2 Mark Starovoytov 2005-09-12 01:22:24 UTC
diff -urN ./dbmail207/Makefile ./dbmail/Makefile
--- ./dbmail207/Makefile        Tue Sep  6 00:19:22 2005
+++ ./dbmail/Makefile   Mon Sep 12 04:13:49 2005
@@ -7,12 +7,12 @@
 
 PORTNAME=      dbmail
 PORTVERSION=   2.0.7
-#PORTREVISION= 1
+PORTREVISION=  1
 CATEGORIES=    mail
 MASTER_SITES=  http://www.dbmail.org/download/2.0/
 PKGNAMESUFFIX= -${DATABASE}
 
-MAINTAINER=    seanc@FreeBSD.org
+MAINTAINER=    mark_sf@kikg.ifmo.ru
 COMMENT=       An SQL database-based mail system (POP3 and IMAP)
 
 USE_REINPLACE= YES
diff -urN ./dbmail207/files/patch-2.0.7_bug266_server.c ./dbmail/files/patch-2.0.7_bug266_server.c
--- ./dbmail207/files/patch-2.0.7_bug266_server.c       Thu Jan  1 03:00:00 1970
+++ ./dbmail/files/patch-2.0.7_bug266_server.c  Mon Sep 12 04:10:16 2005
@@ -0,0 +1,31 @@
+Index: server.c
+===================================================================
+--- server.c   (revision 1882)
++++ server.c   (revision 1883)
+@@ -119,7 +119,7 @@
+   
+       trace(TRACE_DEBUG, "StartServer(): children created, starting main service loop");
+       while (!GeneralStopRequested) {
+-              if (db_connect() != 0) {
++              if (db_check_connection() != 0) {
+                       
+                       if (! stopped) 
+                               manage_stop_children();
+@@ -128,14 +128,12 @@
+                       sleep(10);
+                       
+               } else {
+-                      if (stopped) 
++                      if (stopped) { 
++                              manage_restart_children();
+                               stopped=0;
+-                      
+-                      db_disconnect();
++                      }
+ 
+-                      manage_restart_children();
+                       manage_spare_children();
+-
+                       sleep(1);
+               }
+       }
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2005-09-13 21:27:49 UTC
State Changed
From-To: open->closed

Committed, thanks!