[arch-commits] Commit in pgbouncer/repos (24 files)

Dan McGee dan at archlinux.org
Sun May 24 14:06:28 UTC 2015


    Date: Sunday, May 24, 2015 @ 16:06:27
  Author: dan
Revision: 239709

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  pgbouncer/repos/extra-i686/PKGBUILD
    (from rev 239708, pgbouncer/trunk/PKGBUILD)
  pgbouncer/repos/extra-i686/pgbouncer.ini
    (from rev 239708, pgbouncer/trunk/pgbouncer.ini)
  pgbouncer/repos/extra-i686/pgbouncer.install
    (from rev 239708, pgbouncer/trunk/pgbouncer.install)
  pgbouncer/repos/extra-i686/pgbouncer.logrotate
    (from rev 239708, pgbouncer/trunk/pgbouncer.logrotate)
  pgbouncer/repos/extra-i686/pgbouncer.service
    (from rev 239708, pgbouncer/trunk/pgbouncer.service)
  pgbouncer/repos/extra-i686/pgbouncer.tmpfiles.conf
    (from rev 239708, pgbouncer/trunk/pgbouncer.tmpfiles.conf)
  pgbouncer/repos/extra-x86_64/PKGBUILD
    (from rev 239708, pgbouncer/trunk/PKGBUILD)
  pgbouncer/repos/extra-x86_64/pgbouncer.ini
    (from rev 239708, pgbouncer/trunk/pgbouncer.ini)
  pgbouncer/repos/extra-x86_64/pgbouncer.install
    (from rev 239708, pgbouncer/trunk/pgbouncer.install)
  pgbouncer/repos/extra-x86_64/pgbouncer.logrotate
    (from rev 239708, pgbouncer/trunk/pgbouncer.logrotate)
  pgbouncer/repos/extra-x86_64/pgbouncer.service
    (from rev 239708, pgbouncer/trunk/pgbouncer.service)
  pgbouncer/repos/extra-x86_64/pgbouncer.tmpfiles.conf
    (from rev 239708, pgbouncer/trunk/pgbouncer.tmpfiles.conf)
Deleted:
  pgbouncer/repos/extra-i686/PKGBUILD
  pgbouncer/repos/extra-i686/pgbouncer.ini
  pgbouncer/repos/extra-i686/pgbouncer.install
  pgbouncer/repos/extra-i686/pgbouncer.logrotate
  pgbouncer/repos/extra-i686/pgbouncer.service
  pgbouncer/repos/extra-i686/pgbouncer.tmpfiles.conf
  pgbouncer/repos/extra-x86_64/PKGBUILD
  pgbouncer/repos/extra-x86_64/pgbouncer.ini
  pgbouncer/repos/extra-x86_64/pgbouncer.install
  pgbouncer/repos/extra-x86_64/pgbouncer.logrotate
  pgbouncer/repos/extra-x86_64/pgbouncer.service
  pgbouncer/repos/extra-x86_64/pgbouncer.tmpfiles.conf

--------------------------------------+
 /PKGBUILD                            |   84 ++++++++++++++++++++++++++
 /pgbouncer.ini                       |  104 +++++++++++++++++++++++++++++++++
 /pgbouncer.install                   |   50 +++++++++++++++
 /pgbouncer.logrotate                 |   16 +++++
 /pgbouncer.service                   |   22 ++++++
 /pgbouncer.tmpfiles.conf             |    2 
 extra-i686/PKGBUILD                  |   42 -------------
 extra-i686/pgbouncer.ini             |   52 ----------------
 extra-i686/pgbouncer.install         |   25 -------
 extra-i686/pgbouncer.logrotate       |    8 --
 extra-i686/pgbouncer.service         |   11 ---
 extra-i686/pgbouncer.tmpfiles.conf   |    1 
 extra-x86_64/PKGBUILD                |   42 -------------
 extra-x86_64/pgbouncer.ini           |   52 ----------------
 extra-x86_64/pgbouncer.install       |   25 -------
 extra-x86_64/pgbouncer.logrotate     |    8 --
 extra-x86_64/pgbouncer.service       |   11 ---
 extra-x86_64/pgbouncer.tmpfiles.conf |    1 
 18 files changed, 278 insertions(+), 278 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-i686/PKGBUILD	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,42 +0,0 @@
-# Maintainer: Dan McGee <dan at archlinux.org>
-
-pkgname=pgbouncer
-pkgver=1.5.4
-pkgrel=6
-pkgdesc="A lightweight connection pooler for PostgreSQL"
-arch=('i686' 'x86_64')
-url="http://pgfoundry.org/projects/pgbouncer"
-license=('BSD')
-depends=('libevent>=2.0' 'postgresql')
-makedepends=('asciidoc' 'xmlto')
-backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer')
-install=$pkgname.install
-source=("http://ftp.postgresql.org/pub/projects/pgFoundry/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
-        pgbouncer.ini
-        pgbouncer.logrotate
-        pgbouncer.service
-        pgbouncer.tmpfiles.conf)
-md5sums=('9ffaf2e6232e18e676651429813732df'
-         '810813b9ef8891be382be9ffdd425edc'
-         '6c65fe91821591bde0b5bcf70f23e959'
-         'eede238f5ff3709dbfeef6dad3fbefc7'
-         '472659f4c5de2b59a420f5ca42327ec1')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  install -D -m644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -D -m644 ../pgbouncer.ini "$pkgdir/etc/pgbouncer/pgbouncer.ini"
-  install -D -m644 ../pgbouncer.logrotate "$pkgdir/etc/logrotate.d/pgbouncer"
-  install -D -m644 ../pgbouncer.service "$pkgdir/usr/lib/systemd/system/pgbouncer.service"
-  install -D -m644 ../pgbouncer.tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/pgbouncer.conf"
-  mkdir -p "$pkgdir/var/log/pgbouncer"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pgbouncer/repos/extra-i686/PKGBUILD (from rev 239708, pgbouncer/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,42 @@
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=pgbouncer
+pkgver=1.5.5
+pkgrel=1
+pkgdesc="A lightweight connection pooler for PostgreSQL"
+arch=('i686' 'x86_64')
+url="https://wiki.postgresql.org/wiki/PgBouncer"
+license=('BSD')
+depends=('libevent>=2.0' 'postgresql')
+makedepends=('asciidoc' 'xmlto')
+backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer')
+install=$pkgname.install
+source=("https://pgbouncer.github.io/downloads/$pkgname-$pkgver.tar.gz"
+        pgbouncer.ini
+        pgbouncer.logrotate
+        pgbouncer.service
+        pgbouncer.tmpfiles.conf)
+md5sums=('e332e41956f9a2d48c4b38fa96d6e0f0'
+         '810813b9ef8891be382be9ffdd425edc'
+         '6c65fe91821591bde0b5bcf70f23e959'
+         'eede238f5ff3709dbfeef6dad3fbefc7'
+         '472659f4c5de2b59a420f5ca42327ec1')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  install -D -m644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -D -m644 ../pgbouncer.ini "$pkgdir/etc/pgbouncer/pgbouncer.ini"
+  install -D -m644 ../pgbouncer.logrotate "$pkgdir/etc/logrotate.d/pgbouncer"
+  install -D -m644 ../pgbouncer.service "$pkgdir/usr/lib/systemd/system/pgbouncer.service"
+  install -D -m644 ../pgbouncer.tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/pgbouncer.conf"
+  mkdir -p "$pkgdir/var/log/pgbouncer"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: extra-i686/pgbouncer.ini
===================================================================
--- extra-i686/pgbouncer.ini	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-i686/pgbouncer.ini	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,52 +0,0 @@
-[pgbouncer]
-logfile = /var/log/pgbouncer/pgbouncer.log
-pidfile = /run/pgbouncer/pgbouncer.pid
-
-;; ip address or * which means all ip-s
-;listen_addr = 127.0.0.1
-;listen_port = 6432
-
-unix_socket_dir = /run/postgresql
-unix_socket_mode = 0777
-
-; any, trust, plain, crypt, md5
-auth_type = trust
-auth_file = /etc/pgbouncer/userlist.txt
-
-; comma-separated list of users, who are allowed to change settings
-admin_users = postgres
-
-; comma-separated list of users who are just allowed to use SHOW command
-stats_users = stats, postgres
-
-; total number of clients that can connect
-max_client_conn = 100
-
-; default pool size.  20 is good number when transaction pooling
-; is in use, in session pooling it needs to be the number of
-; max clients you want to handle at any moment
-default_pool_size = 20
-
-
-;; database name = connect string
-;;
-;; connect string params:
-;;   dbname= host= port= user= password=
-;;   client_encoding= datestyle= timezone=
-;;   pool_size= connect_query=
-[databases]
-
-; foodb over unix socket
-;foodb =
-
-; redirect bardb to bazdb on localhost
-;bardb = host=localhost dbname=bazdb
-
-; acceess to dest database will go with single user
-;forcedb = host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1'
-
-; use custom pool sizes
-;nondefaultdb = pool_size=50 reserve_pool=10
-
-; fallback connect string
-;* = host=testserver

Copied: pgbouncer/repos/extra-i686/pgbouncer.ini (from rev 239708, pgbouncer/trunk/pgbouncer.ini)
===================================================================
--- extra-i686/pgbouncer.ini	                        (rev 0)
+++ extra-i686/pgbouncer.ini	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,52 @@
+[pgbouncer]
+logfile = /var/log/pgbouncer/pgbouncer.log
+pidfile = /run/pgbouncer/pgbouncer.pid
+
+;; ip address or * which means all ip-s
+;listen_addr = 127.0.0.1
+;listen_port = 6432
+
+unix_socket_dir = /run/postgresql
+unix_socket_mode = 0777
+
+; any, trust, plain, crypt, md5
+auth_type = trust
+auth_file = /etc/pgbouncer/userlist.txt
+
+; comma-separated list of users, who are allowed to change settings
+admin_users = postgres
+
+; comma-separated list of users who are just allowed to use SHOW command
+stats_users = stats, postgres
+
+; total number of clients that can connect
+max_client_conn = 100
+
+; default pool size.  20 is good number when transaction pooling
+; is in use, in session pooling it needs to be the number of
+; max clients you want to handle at any moment
+default_pool_size = 20
+
+
+;; database name = connect string
+;;
+;; connect string params:
+;;   dbname= host= port= user= password=
+;;   client_encoding= datestyle= timezone=
+;;   pool_size= connect_query=
+[databases]
+
+; foodb over unix socket
+;foodb =
+
+; redirect bardb to bazdb on localhost
+;bardb = host=localhost dbname=bazdb
+
+; acceess to dest database will go with single user
+;forcedb = host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1'
+
+; use custom pool sizes
+;nondefaultdb = pool_size=50 reserve_pool=10
+
+; fallback connect string
+;* = host=testserver

Deleted: extra-i686/pgbouncer.install
===================================================================
--- extra-i686/pgbouncer.install	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-i686/pgbouncer.install	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,25 +0,0 @@
-post_install() {
-  if ! getent group pgbouncer >/dev/null; then
-    groupadd -r pgbouncer
-  fi
-  if ! getent passwd pgbouncer >/dev/null; then
-    useradd -c 'PGBouncer user' -r -g pgbouncer -d '/etc/pgbouncer' -s /bin/bash pgbouncer
-    passwd -l pgbouncer >/dev/null
-  fi
-  chown pgbouncer:pgbouncer /var/log/pgbouncer
-  systemd-tmpfiles --create pgbouncer.conf
-  post_upgrade
-}
-
-post_upgrade() {
-  gpasswd -a pgbouncer postgres
-}
-
-post_remove() {
-  if getent passwd pgbouncer >/dev/null; then
-    userdel pgbouncer
-  fi
-  if getent group pgbouncer >/dev/null; then
-    groupdel pgbouncer
-  fi
-}

Copied: pgbouncer/repos/extra-i686/pgbouncer.install (from rev 239708, pgbouncer/trunk/pgbouncer.install)
===================================================================
--- extra-i686/pgbouncer.install	                        (rev 0)
+++ extra-i686/pgbouncer.install	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,25 @@
+post_install() {
+  if ! getent group pgbouncer >/dev/null; then
+    groupadd -r pgbouncer
+  fi
+  if ! getent passwd pgbouncer >/dev/null; then
+    useradd -c 'PGBouncer user' -r -g pgbouncer -d '/etc/pgbouncer' -s /bin/bash pgbouncer
+    passwd -l pgbouncer >/dev/null
+  fi
+  chown pgbouncer:pgbouncer /var/log/pgbouncer
+  systemd-tmpfiles --create pgbouncer.conf
+  post_upgrade
+}
+
+post_upgrade() {
+  gpasswd -a pgbouncer postgres
+}
+
+post_remove() {
+  if getent passwd pgbouncer >/dev/null; then
+    userdel pgbouncer
+  fi
+  if getent group pgbouncer >/dev/null; then
+    groupdel pgbouncer
+  fi
+}

Deleted: extra-i686/pgbouncer.logrotate
===================================================================
--- extra-i686/pgbouncer.logrotate	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-i686/pgbouncer.logrotate	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,8 +0,0 @@
-/var/log/pgbouncer/pgbouncer.log {
-   copytruncate
-   missingok
-   notifempty
-   postrotate
-      /bin/kill -HUP $(cat /run/pgbouncer/pgbouncer.pid 2>/dev/null) 2> /dev/null || true
-   endscript
-}

Copied: pgbouncer/repos/extra-i686/pgbouncer.logrotate (from rev 239708, pgbouncer/trunk/pgbouncer.logrotate)
===================================================================
--- extra-i686/pgbouncer.logrotate	                        (rev 0)
+++ extra-i686/pgbouncer.logrotate	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,8 @@
+/var/log/pgbouncer/pgbouncer.log {
+   copytruncate
+   missingok
+   notifempty
+   postrotate
+      /bin/kill -HUP $(cat /run/pgbouncer/pgbouncer.pid 2>/dev/null) 2> /dev/null || true
+   endscript
+}

Deleted: extra-i686/pgbouncer.service
===================================================================
--- extra-i686/pgbouncer.service	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-i686/pgbouncer.service	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,11 +0,0 @@
-[Unit]
-Description=A lightweight connection pooler for PostgreSQL
-After=network.target
-
-[Service]
-User=pgbouncer
-ExecStart=/usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target

Copied: pgbouncer/repos/extra-i686/pgbouncer.service (from rev 239708, pgbouncer/trunk/pgbouncer.service)
===================================================================
--- extra-i686/pgbouncer.service	                        (rev 0)
+++ extra-i686/pgbouncer.service	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,11 @@
+[Unit]
+Description=A lightweight connection pooler for PostgreSQL
+After=network.target
+
+[Service]
+User=pgbouncer
+ExecStart=/usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-i686/pgbouncer.tmpfiles.conf
===================================================================
--- extra-i686/pgbouncer.tmpfiles.conf	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-i686/pgbouncer.tmpfiles.conf	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1 +0,0 @@
-d /run/pgbouncer  0755 pgbouncer pgbouncer -

Copied: pgbouncer/repos/extra-i686/pgbouncer.tmpfiles.conf (from rev 239708, pgbouncer/trunk/pgbouncer.tmpfiles.conf)
===================================================================
--- extra-i686/pgbouncer.tmpfiles.conf	                        (rev 0)
+++ extra-i686/pgbouncer.tmpfiles.conf	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1 @@
+d /run/pgbouncer  0755 pgbouncer pgbouncer -

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-x86_64/PKGBUILD	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,42 +0,0 @@
-# Maintainer: Dan McGee <dan at archlinux.org>
-
-pkgname=pgbouncer
-pkgver=1.5.4
-pkgrel=6
-pkgdesc="A lightweight connection pooler for PostgreSQL"
-arch=('i686' 'x86_64')
-url="http://pgfoundry.org/projects/pgbouncer"
-license=('BSD')
-depends=('libevent>=2.0' 'postgresql')
-makedepends=('asciidoc' 'xmlto')
-backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer')
-install=$pkgname.install
-source=("http://ftp.postgresql.org/pub/projects/pgFoundry/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
-        pgbouncer.ini
-        pgbouncer.logrotate
-        pgbouncer.service
-        pgbouncer.tmpfiles.conf)
-md5sums=('9ffaf2e6232e18e676651429813732df'
-         '810813b9ef8891be382be9ffdd425edc'
-         '6c65fe91821591bde0b5bcf70f23e959'
-         'eede238f5ff3709dbfeef6dad3fbefc7'
-         '472659f4c5de2b59a420f5ca42327ec1')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  install -D -m644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -D -m644 ../pgbouncer.ini "$pkgdir/etc/pgbouncer/pgbouncer.ini"
-  install -D -m644 ../pgbouncer.logrotate "$pkgdir/etc/logrotate.d/pgbouncer"
-  install -D -m644 ../pgbouncer.service "$pkgdir/usr/lib/systemd/system/pgbouncer.service"
-  install -D -m644 ../pgbouncer.tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/pgbouncer.conf"
-  mkdir -p "$pkgdir/var/log/pgbouncer"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pgbouncer/repos/extra-x86_64/PKGBUILD (from rev 239708, pgbouncer/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,42 @@
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=pgbouncer
+pkgver=1.5.5
+pkgrel=1
+pkgdesc="A lightweight connection pooler for PostgreSQL"
+arch=('i686' 'x86_64')
+url="https://wiki.postgresql.org/wiki/PgBouncer"
+license=('BSD')
+depends=('libevent>=2.0' 'postgresql')
+makedepends=('asciidoc' 'xmlto')
+backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer')
+install=$pkgname.install
+source=("https://pgbouncer.github.io/downloads/$pkgname-$pkgver.tar.gz"
+        pgbouncer.ini
+        pgbouncer.logrotate
+        pgbouncer.service
+        pgbouncer.tmpfiles.conf)
+md5sums=('e332e41956f9a2d48c4b38fa96d6e0f0'
+         '810813b9ef8891be382be9ffdd425edc'
+         '6c65fe91821591bde0b5bcf70f23e959'
+         'eede238f5ff3709dbfeef6dad3fbefc7'
+         '472659f4c5de2b59a420f5ca42327ec1')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  install -D -m644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -D -m644 ../pgbouncer.ini "$pkgdir/etc/pgbouncer/pgbouncer.ini"
+  install -D -m644 ../pgbouncer.logrotate "$pkgdir/etc/logrotate.d/pgbouncer"
+  install -D -m644 ../pgbouncer.service "$pkgdir/usr/lib/systemd/system/pgbouncer.service"
+  install -D -m644 ../pgbouncer.tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/pgbouncer.conf"
+  mkdir -p "$pkgdir/var/log/pgbouncer"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: extra-x86_64/pgbouncer.ini
===================================================================
--- extra-x86_64/pgbouncer.ini	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-x86_64/pgbouncer.ini	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,52 +0,0 @@
-[pgbouncer]
-logfile = /var/log/pgbouncer/pgbouncer.log
-pidfile = /run/pgbouncer/pgbouncer.pid
-
-;; ip address or * which means all ip-s
-;listen_addr = 127.0.0.1
-;listen_port = 6432
-
-unix_socket_dir = /run/postgresql
-unix_socket_mode = 0777
-
-; any, trust, plain, crypt, md5
-auth_type = trust
-auth_file = /etc/pgbouncer/userlist.txt
-
-; comma-separated list of users, who are allowed to change settings
-admin_users = postgres
-
-; comma-separated list of users who are just allowed to use SHOW command
-stats_users = stats, postgres
-
-; total number of clients that can connect
-max_client_conn = 100
-
-; default pool size.  20 is good number when transaction pooling
-; is in use, in session pooling it needs to be the number of
-; max clients you want to handle at any moment
-default_pool_size = 20
-
-
-;; database name = connect string
-;;
-;; connect string params:
-;;   dbname= host= port= user= password=
-;;   client_encoding= datestyle= timezone=
-;;   pool_size= connect_query=
-[databases]
-
-; foodb over unix socket
-;foodb =
-
-; redirect bardb to bazdb on localhost
-;bardb = host=localhost dbname=bazdb
-
-; acceess to dest database will go with single user
-;forcedb = host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1'
-
-; use custom pool sizes
-;nondefaultdb = pool_size=50 reserve_pool=10
-
-; fallback connect string
-;* = host=testserver

Copied: pgbouncer/repos/extra-x86_64/pgbouncer.ini (from rev 239708, pgbouncer/trunk/pgbouncer.ini)
===================================================================
--- extra-x86_64/pgbouncer.ini	                        (rev 0)
+++ extra-x86_64/pgbouncer.ini	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,52 @@
+[pgbouncer]
+logfile = /var/log/pgbouncer/pgbouncer.log
+pidfile = /run/pgbouncer/pgbouncer.pid
+
+;; ip address or * which means all ip-s
+;listen_addr = 127.0.0.1
+;listen_port = 6432
+
+unix_socket_dir = /run/postgresql
+unix_socket_mode = 0777
+
+; any, trust, plain, crypt, md5
+auth_type = trust
+auth_file = /etc/pgbouncer/userlist.txt
+
+; comma-separated list of users, who are allowed to change settings
+admin_users = postgres
+
+; comma-separated list of users who are just allowed to use SHOW command
+stats_users = stats, postgres
+
+; total number of clients that can connect
+max_client_conn = 100
+
+; default pool size.  20 is good number when transaction pooling
+; is in use, in session pooling it needs to be the number of
+; max clients you want to handle at any moment
+default_pool_size = 20
+
+
+;; database name = connect string
+;;
+;; connect string params:
+;;   dbname= host= port= user= password=
+;;   client_encoding= datestyle= timezone=
+;;   pool_size= connect_query=
+[databases]
+
+; foodb over unix socket
+;foodb =
+
+; redirect bardb to bazdb on localhost
+;bardb = host=localhost dbname=bazdb
+
+; acceess to dest database will go with single user
+;forcedb = host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1'
+
+; use custom pool sizes
+;nondefaultdb = pool_size=50 reserve_pool=10
+
+; fallback connect string
+;* = host=testserver

Deleted: extra-x86_64/pgbouncer.install
===================================================================
--- extra-x86_64/pgbouncer.install	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-x86_64/pgbouncer.install	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,25 +0,0 @@
-post_install() {
-  if ! getent group pgbouncer >/dev/null; then
-    groupadd -r pgbouncer
-  fi
-  if ! getent passwd pgbouncer >/dev/null; then
-    useradd -c 'PGBouncer user' -r -g pgbouncer -d '/etc/pgbouncer' -s /bin/bash pgbouncer
-    passwd -l pgbouncer >/dev/null
-  fi
-  chown pgbouncer:pgbouncer /var/log/pgbouncer
-  systemd-tmpfiles --create pgbouncer.conf
-  post_upgrade
-}
-
-post_upgrade() {
-  gpasswd -a pgbouncer postgres
-}
-
-post_remove() {
-  if getent passwd pgbouncer >/dev/null; then
-    userdel pgbouncer
-  fi
-  if getent group pgbouncer >/dev/null; then
-    groupdel pgbouncer
-  fi
-}

Copied: pgbouncer/repos/extra-x86_64/pgbouncer.install (from rev 239708, pgbouncer/trunk/pgbouncer.install)
===================================================================
--- extra-x86_64/pgbouncer.install	                        (rev 0)
+++ extra-x86_64/pgbouncer.install	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,25 @@
+post_install() {
+  if ! getent group pgbouncer >/dev/null; then
+    groupadd -r pgbouncer
+  fi
+  if ! getent passwd pgbouncer >/dev/null; then
+    useradd -c 'PGBouncer user' -r -g pgbouncer -d '/etc/pgbouncer' -s /bin/bash pgbouncer
+    passwd -l pgbouncer >/dev/null
+  fi
+  chown pgbouncer:pgbouncer /var/log/pgbouncer
+  systemd-tmpfiles --create pgbouncer.conf
+  post_upgrade
+}
+
+post_upgrade() {
+  gpasswd -a pgbouncer postgres
+}
+
+post_remove() {
+  if getent passwd pgbouncer >/dev/null; then
+    userdel pgbouncer
+  fi
+  if getent group pgbouncer >/dev/null; then
+    groupdel pgbouncer
+  fi
+}

Deleted: extra-x86_64/pgbouncer.logrotate
===================================================================
--- extra-x86_64/pgbouncer.logrotate	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-x86_64/pgbouncer.logrotate	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,8 +0,0 @@
-/var/log/pgbouncer/pgbouncer.log {
-   copytruncate
-   missingok
-   notifempty
-   postrotate
-      /bin/kill -HUP $(cat /run/pgbouncer/pgbouncer.pid 2>/dev/null) 2> /dev/null || true
-   endscript
-}

Copied: pgbouncer/repos/extra-x86_64/pgbouncer.logrotate (from rev 239708, pgbouncer/trunk/pgbouncer.logrotate)
===================================================================
--- extra-x86_64/pgbouncer.logrotate	                        (rev 0)
+++ extra-x86_64/pgbouncer.logrotate	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,8 @@
+/var/log/pgbouncer/pgbouncer.log {
+   copytruncate
+   missingok
+   notifempty
+   postrotate
+      /bin/kill -HUP $(cat /run/pgbouncer/pgbouncer.pid 2>/dev/null) 2> /dev/null || true
+   endscript
+}

Deleted: extra-x86_64/pgbouncer.service
===================================================================
--- extra-x86_64/pgbouncer.service	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-x86_64/pgbouncer.service	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1,11 +0,0 @@
-[Unit]
-Description=A lightweight connection pooler for PostgreSQL
-After=network.target
-
-[Service]
-User=pgbouncer
-ExecStart=/usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target

Copied: pgbouncer/repos/extra-x86_64/pgbouncer.service (from rev 239708, pgbouncer/trunk/pgbouncer.service)
===================================================================
--- extra-x86_64/pgbouncer.service	                        (rev 0)
+++ extra-x86_64/pgbouncer.service	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1,11 @@
+[Unit]
+Description=A lightweight connection pooler for PostgreSQL
+After=network.target
+
+[Service]
+User=pgbouncer
+ExecStart=/usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-x86_64/pgbouncer.tmpfiles.conf
===================================================================
--- extra-x86_64/pgbouncer.tmpfiles.conf	2015-05-24 14:00:04 UTC (rev 239708)
+++ extra-x86_64/pgbouncer.tmpfiles.conf	2015-05-24 14:06:27 UTC (rev 239709)
@@ -1 +0,0 @@
-d /run/pgbouncer  0755 pgbouncer pgbouncer -

Copied: pgbouncer/repos/extra-x86_64/pgbouncer.tmpfiles.conf (from rev 239708, pgbouncer/trunk/pgbouncer.tmpfiles.conf)
===================================================================
--- extra-x86_64/pgbouncer.tmpfiles.conf	                        (rev 0)
+++ extra-x86_64/pgbouncer.tmpfiles.conf	2015-05-24 14:06:27 UTC (rev 239709)
@@ -0,0 +1 @@
+d /run/pgbouncer  0755 pgbouncer pgbouncer -



More information about the arch-commits mailing list