Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2009 06:15:14 GMT
From:      Dmitry <dmitry2006@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/137716: [patch] Update port ports/databases/pgbouncer to 1.3.1 
Message-ID:  <200908130615.n7D6FEGX042606@www.freebsd.org>
Resent-Message-ID: <200908130620.n7D6K5bG018847@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         137716
>Category:       ports
>Synopsis:       [patch] Update port ports/databases/pgbouncer to 1.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 13 06:20:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry
>Release:        FreeBSD 7.2-STABLE amd64
>Organization:
>Environment:
>Description:
PgBouncer 1.3.1 - fix some bugs:


2009-07-06 - PgBouncer 1.3.1 - "Now fully conforming to NSA monitoring requirements"

= Fixes =

* Fix problem with sbuf_loopcnt which could make connections hang.
If query or result length is nearby of multiple of (pktlen*sbuf_loopcnt)
[10k by default], it could stay waiting for more data which will not
appear.

* Make database reconfigure immediate. Currently old connections
could be reused after SIGHUP.

* Fix SHOW DATABASES which was broken due to column addition.

* Console access was disabled when "auth_mode=any" as pgbouncer dropped username.
Fix: if "auth_mode=any", allow any user to console as admin.

* Fix bad CUSTOM_ALIGN macro. Luckily it's unused if OS already
defines ALIGN macro thus seems the bug has not happened in wild.

* win32: call WSAStartup() always, not only in daemon mode
as config parsing wants to resolve hosts.

* win32: put quotes around config filename in service
cmdline to allow spaces in paths. Executable path
does not seem to need it due to some win32 magic.

* Add STATS to SHOW HELP text.

* doc/usage.txt: the time units in console results are in
microseconds, not milliseconds.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/databases/pgbouncer/Makefile	2009-02-23 14:02:24.000000000 +0000
+++ Makefile	2009-08-11 07:28:34.000000000 +0000
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	pgbouncer
-PORTVERSION=	1.3
+PORTVERSION=	1.3.1
 CATEGORIES=	databases
-MASTER_SITES=	http://pgfoundry.org/frs/download.php/2092/
+MASTER_SITES=	http://pgfoundry.org/frs/download.php/2284/
 
 MAINTAINER=	skv@FreeBSD.org
 COMMENT=	Lightweight connection pooler for PostgreSQL

--- /usr/ports/databases/pgbouncer/distinfo	2009-02-23 14:02:24.000000000 +0000
+++ distinfo	2009-08-11 07:28:35.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (pgbouncer-1.3.tar.gz) = 95f79289ccb8322758c608015e31f1f5
-SHA256 (pgbouncer-1.3.tar.gz) = 87b489e173d7e66c440218e7b026943789da66c2b5bd6ef85f5a354a92a66cae
-SIZE (pgbouncer-1.3.tar.gz) = 160154
+MD5 (pgbouncer-1.3.1.tar.gz) = ccb2dbe8b6ce505e14762712c478982e
+SHA256 (pgbouncer-1.3.1.tar.gz) = 64559d85b5b07e5a98c0918c7111afb61114462f9ee1d6af79047024c134440a
+SIZE (pgbouncer-1.3.1.tar.gz) = 161518


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908130615.n7D6FEGX042606>