git: 644cbbab127d - main - databases/pgbouncer: update to 1.16.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Oct 2021 14:05:21 UTC
The branch main has been updated by mizhka (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=644cbbab127d6ef8a4d2026f496aa03511771e6a commit 644cbbab127d6ef8a4d2026f496aa03511771e6a Author: Michael Zhilin <mizhka@FreeBSD.org> AuthorDate: 2021-10-24 06:59:31 +0000 Commit: Michael Zhilin <mizhka@FreeBSD.org> CommitDate: 2021-10-24 14:00:31 +0000 databases/pgbouncer: update to 1.16.0 - Update to 1.16.0 - Remove an unneeded patch (merged upstream) Submitted by: m.tsatsenko@gmail.com (maintainer) --- databases/pgbouncer/Makefile | 3 +-- databases/pgbouncer/distinfo | 6 +++--- databases/pgbouncer/files/patch-src_pooler.c | 25 ------------------------- 3 files changed, 4 insertions(+), 30 deletions(-) diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile index fbe2855b598e..430486806c35 100644 --- a/databases/pgbouncer/Makefile +++ b/databases/pgbouncer/Makefile @@ -1,8 +1,7 @@ # Created by: Sergey Skvortsov <skv@protey.ru> PORTNAME= pgbouncer -PORTVERSION= 1.14.0 -PORTREVISION= 1 +PORTVERSION= 1.16.0 CATEGORIES= databases MASTER_SITES= https://pgbouncer.github.io/downloads/files/${PORTVERSION}/ \ http://pgbouncer.github.io/downloads/files/${PORTVERSION}/ diff --git a/databases/pgbouncer/distinfo b/databases/pgbouncer/distinfo index b490dccd8afa..56326eeeb9e9 100644 --- a/databases/pgbouncer/distinfo +++ b/databases/pgbouncer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1592427794 -SHA256 (pgbouncer-1.14.0.tar.gz) = a0c13d10148f557e36ff7ed31793abb7a49e1f8b09aa2d4695d1c28fa101fee7 -SIZE (pgbouncer-1.14.0.tar.gz) = 578955 +TIMESTAMP = 1635022010 +SHA256 (pgbouncer-1.16.0.tar.gz) = a4a391618bb83caaee2a8cd9653974f4c1b98b95987d5cabbbeb801da6342652 +SIZE (pgbouncer-1.16.0.tar.gz) = 592136 diff --git a/databases/pgbouncer/files/patch-src_pooler.c b/databases/pgbouncer/files/patch-src_pooler.c deleted file mode 100644 index 6ea7b0c1dc0c..000000000000 --- a/databases/pgbouncer/files/patch-src_pooler.c +++ /dev/null @@ -1,25 +0,0 @@ ---- src/pooler.c.orig 2020-05-26 09:38:55 UTC -+++ src/pooler.c -@@ -127,16 +127,16 @@ static bool add_listen(int af, const struct sockaddr * - * unportable, so perhaps better to avoid it.) - */ - if (af != AF_UNIX && cf_so_reuseport) { --#if defined(SO_REUSEPORT) -+#if defined(SO_REUSEPORT_LB) - int val = 1; -- errpos = "setsockopt/SO_REUSEPORT"; -- res = setsockopt(sock, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val)); -+ errpos = "setsockopt/SO_REUSEPORT_LB"; -+ res = setsockopt(sock, SOL_SOCKET, SO_REUSEPORT_LB, &val, sizeof(val)); - if (res < 0) - goto failed; --#elif defined(SO_REUSEPORT_LB) -+#elif defined(SO_REUSEPORT) - int val = 1; -- errpos = "setsockopt/SO_REUSEPORT_LB"; -- res = setsockopt(sock, SOL_SOCKET, SO_REUSEPORT_LB, &val, sizeof(val)); -+ errpos = "setsockopt/SO_REUSEPORT"; -+ res = setsockopt(sock, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val)); - if (res < 0) - goto failed; - #else