diff options
author | ghen <ghen> | 2007-04-18 17:06:16 +0000 |
---|---|---|
committer | ghen <ghen> | 2007-04-18 17:06:16 +0000 |
commit | 263336e104e0f6908b75c315a8a927685c022b9c (patch) | |
tree | 8b17665a5131c7362f90bb138ec82498c67c87e9 | |
parent | 86f66e293ef967160e5372953d16b4bea553879d (diff) | |
download | pkgsrc-263336e104e0f6908b75c315a8a927685c022b9c.tar.gz |
Update to gld-1.7. Only one change over 1.6:
Removed the KEEPDBOPEN option as it could lead to multiple instance of gld
running when mail traffic is low and thus father process MYSQL connection
timeout. Furthermore, after tests, efficency is the same.
KEEPDBOPEN option is now silently ignored to forced to NO.
-rw-r--r-- | mail/gld/Makefile | 5 | ||||
-rw-r--r-- | mail/gld/distinfo | 10 | ||||
-rw-r--r-- | mail/gld/patches/patch-ad | 14 |
3 files changed, 14 insertions, 15 deletions
diff --git a/mail/gld/Makefile b/mail/gld/Makefile index 836530e4151..508c69a3f06 100644 --- a/mail/gld/Makefile +++ b/mail/gld/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.21 2007/02/22 19:26:41 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2007/04/18 17:06:16 ghen Exp $ # -DISTNAME= gld-1.6 -PKGREVISION= 2 +DISTNAME= gld-1.7 CATEGORIES= mail MASTER_SITES= http://www.gasmi.net/down/ EXTRACT_SUFX= .tgz diff --git a/mail/gld/distinfo b/mail/gld/distinfo index aa9ce7a7d97..3f36fd4a769 100644 --- a/mail/gld/distinfo +++ b/mail/gld/distinfo @@ -1,12 +1,12 @@ -$NetBSD: distinfo,v 1.13 2006/07/10 20:32:59 sketch Exp $ +$NetBSD: distinfo,v 1.14 2007/04/18 17:06:16 ghen Exp $ -SHA1 (gld-1.6.tgz) = 09a87119b376e370c63444e2bcd1111288b78267 -RMD160 (gld-1.6.tgz) = 72ff4363f3813f421e64e7644142cf227a43885d -Size (gld-1.6.tgz) = 40333 bytes +SHA1 (gld-1.7.tgz) = e3a792f6992d063e9d93ce4183f821d78f6cb29f +RMD160 (gld-1.7.tgz) = 0e8190a668ecd88e19c22aa1f80d9a442d1101cf +Size (gld-1.7.tgz) = 40241 bytes SHA1 (patch-aa) = 2dcd261ff37dc6ab8343060ad711d98427d10d7f SHA1 (patch-ab) = 9622bd744acd326a679e9c25007bffff9241dd2e SHA1 (patch-ac) = 876f896412a48d18c0ca314af59f82b4c9d915e2 -SHA1 (patch-ad) = 7d810a935677022953d01b7a146881d8cf86162b +SHA1 (patch-ad) = 5699aeb5a3f423e3dc401a7b83f52e982336beb9 SHA1 (patch-ae) = e610e20acee890ae9a53eb84382fb1d741736bb3 SHA1 (patch-af) = 9d5a06fa399963937fc8a0c94a80ac85528f872d SHA1 (patch-ag) = ef1b5acca6ba4cfc75ffd553624693b83b4f73ab diff --git a/mail/gld/patches/patch-ad b/mail/gld/patches/patch-ad index 5ff878ff85a..4d01aa07a1c 100644 --- a/mail/gld/patches/patch-ad +++ b/mail/gld/patches/patch-ad @@ -1,17 +1,17 @@ -$NetBSD: patch-ad,v 1.2 2006/03/02 21:03:39 wiz Exp $ +$NetBSD: patch-ad,v 1.3 2007/04/18 17:06:16 ghen Exp $ ---- server.c.orig 2005-09-16 12:17:59.000000000 +0200 +--- server.c.orig 2006-05-01 22:43:10.000000000 +0200 +++ server.c -@@ -208,7 +208,7 @@ long ts; - int pid; +@@ -210,7 +210,7 @@ if(SQLConnect(cnf->sqlhost,cnf->sqluser, + return(-1); + } - pid=getpid(); -GetPeerIp(s,ip,buff); +GetPeerIp(s,ip,BLEN,buff,BLEN); // // We check if this IP is authorized to connect to us -@@ -261,21 +261,34 @@ while(1==1) +@@ -265,21 +265,34 @@ while(1==1) // Now, we are sure our buffer string length is no more than BLEN // as all parameters are defined also as buffers with a BLEN size // no buffer overflow is possible using strcpy . @@ -50,7 +50,7 @@ $NetBSD: patch-ad,v 1.2 2006/03/02 21:03:39 wiz Exp $ } -@@ -300,7 +313,11 @@ Quote(sender); +@@ -304,7 +317,11 @@ Quote(sender); // Now, we can safely use, str** functions // |