summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2019-11-19 06:20:33 -0500
committerAaron W. Swenson <titanofold@gentoo.org>2019-11-19 06:20:39 -0500
commit3cdab020ee0ccfc2da1f41ea18edb2550e313ba3 (patch)
treee3c90445ddcdcffd19104ceaffe674d8851e46ba /dev-db/pgbouncer/files
parentapp-admin/sysklogd: Introduced "logger" USE flag (diff)
downloadgentoo-3cdab020ee0ccfc2da1f41ea18edb2550e313ba3.tar.gz
gentoo-3cdab020ee0ccfc2da1f41ea18edb2550e313ba3.tar.bz2
gentoo-3cdab020ee0ccfc2da1f41ea18edb2550e313ba3.zip
dev-db/pgbouncer: Bump to 1.12.0
Closes: https://bugs.gentoo.org/696820 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'dev-db/pgbouncer/files')
-rw-r--r--dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch
new file mode 100644
index 000000000000..29d63d875fbc
--- /dev/null
+++ b/dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch
@@ -0,0 +1,31 @@
+--- a/etc/pgbouncer.ini
++++ b/etc/pgbouncer.ini
+@@ -43,7 +43,9 @@
+ ;;;
+
+ logfile = /var/log/pgbouncer/pgbouncer.log
+-pidfile = /var/run/pgbouncer/pgbouncer.pid
++
++; Leave unset. This is handled in the initscript.
++;pidfile =
+
+ ;;;
+ ;;; Where to wait for clients
+@@ -53,11 +55,12 @@
+ listen_addr = 127.0.0.1
+ listen_port = 6432
+
+-;; Unix socket is also used for -R.
+-;; On Debian it should be /var/run/postgresql
+-;unix_socket_dir = /tmp
+-;unix_socket_mode = 0777
+-;unix_socket_group =
++; Unix socket is also used for -R (online restart), but the
++; initscripts can't do that. Generally, you'll want to leave these
++; alone. System-wide default is: /run/postgresql
++unix_socket_dir = /run/postgresql
++unix_socket_mode = 0777
++unix_socket_group = postgres
+
+ ;;;
+ ;;; TLS settings for accepting clients