Hi,

Small diff to update pgbouncer to it's latest version (1.7.2).
Tested on @amd64.

Comments, ok ?

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/pgbouncer/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- Makefile	1 Jun 2017 19:18:56 -0000	1.23
+++ Makefile	7 Dec 2017 14:18:14 -0000
@@ -2,9 +2,8 @@
 
 COMMENT = 	lightweight connection pooler for PostgreSQL
 
-V = 		1.6.1
+V = 		1.7.2
 DISTNAME = 	pgbouncer-${V}
-REVISION =	0
 
 CATEGORIES = 	databases
 
@@ -15,7 +14,7 @@ MAINTAINER = 	Pierre-Emmanuel Andre <pea
 # BSD
 PERMIT_PACKAGE_CDROM = 	Yes
 
-WANTLIB = 	c event
+WANTLIB = 	c event crypto ssl
 
 MASTER_SITES = 	https://pgbouncer.github.io/downloads/files/${V}/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/pgbouncer/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo	11 Sep 2015 12:39:27 -0000	1.9
+++ distinfo	7 Dec 2017 14:18:14 -0000
@@ -1,2 +1,2 @@
-SHA256 (pgbouncer-1.6.1.tar.gz) = QP9c2EOZtNo7qGStZU/hVaDtCFJh5o8+MbEReBKxcFY=
-SIZE (pgbouncer-1.6.1.tar.gz) = 431076
+SHA256 (pgbouncer-1.7.2.tar.gz) = 3jazGP5KLyCl9g0cXqYsHKMx9oE9LEhIZuy1kmWhYLo=
+SIZE (pgbouncer-1.7.2.tar.gz) = 462374
Index: patches/patch-lib_usual_tls_tls_c
===================================================================
RCS file: patches/patch-lib_usual_tls_tls_c
diff -N patches/patch-lib_usual_tls_tls_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_usual_tls_tls_c	7 Dec 2017 14:18:14 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: lib/usual/tls/tls.c
+--- lib/usual/tls/tls.c.orig
++++ lib/usual/tls/tls.c
+@@ -287,7 +287,7 @@ tls_info_callback(const SSL *ssl, int where, int rc)
+ {
+ 	struct tls *ctx = SSL_get_app_data(ssl);
+ 
+-#ifdef USE_LIBSSL_INTERNALS
++#if defined(USE_LIBSSL_INTERNALS) && (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2050100fL)
+ 	if (!(ctx->state & TLS_HANDSHAKE_COMPLETE) && ssl->s3) {
+ 		/* steal info about used DH key */
+ 		if (ssl->s3->tmp.dh && !ctx->used_dh_bits) {
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/pgbouncer/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 PLIST
--- pkg/PLIST	17 Jan 2012 13:57:24 -0000	1.5
+++ pkg/PLIST	7 Dec 2017 14:18:14 -0000
@@ -9,8 +9,8 @@
 @sample ${SYSCONFDIR}/pgbouncer/
 @owner
 share/doc/pgbouncer/
-share/doc/pgbouncer/NEWS
-share/doc/pgbouncer/README
+share/doc/pgbouncer/NEWS.rst
+share/doc/pgbouncer/README.rst
 share/doc/pkg-readmes/${FULLPKGNAME}
 @mode 640
 @group _pgbouncer

Reply via email to