[arch-commits] Commit in pgbouncer/repos/extra-x86_64 (12 files)

Levente Polyak anthraxx at archlinux.org
Sun Aug 11 08:23:48 UTC 2019


    Date: Sunday, August 11, 2019 @ 08:23:48
  Author: anthraxx
Revision: 359441

archrelease: copy trunk to extra-x86_64

Added:
  pgbouncer/repos/extra-x86_64/PKGBUILD
    (from rev 359440, pgbouncer/trunk/PKGBUILD)
  pgbouncer/repos/extra-x86_64/pgbouncer.ini
    (from rev 359440, pgbouncer/trunk/pgbouncer.ini)
  pgbouncer/repos/extra-x86_64/pgbouncer.logrotate
    (from rev 359440, pgbouncer/trunk/pgbouncer.logrotate)
  pgbouncer/repos/extra-x86_64/pgbouncer.service
    (from rev 359440, pgbouncer/trunk/pgbouncer.service)
  pgbouncer/repos/extra-x86_64/pgbouncer.sysusers
    (from rev 359440, pgbouncer/trunk/pgbouncer.sysusers)
  pgbouncer/repos/extra-x86_64/pgbouncer.tmpfiles.conf
    (from rev 359440, pgbouncer/trunk/pgbouncer.tmpfiles.conf)
Deleted:
  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                |  109 +++++++++++++++++++++++-----------------------
 pgbouncer.ini           |  104 +++++++++++++++++++++----------------------
 pgbouncer.install       |   25 ----------
 pgbouncer.logrotate     |   16 +++---
 pgbouncer.service       |   22 ++++-----
 pgbouncer.sysusers      |    3 +
 pgbouncer.tmpfiles.conf |    4 +
 7 files changed, 132 insertions(+), 151 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-11 08:23:40 UTC (rev 359440)
+++ PKGBUILD	2019-08-11 08:23:48 UTC (rev 359441)
@@ -1,54 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Dan McGee <dan at archlinux.org>
-
-pkgname=pgbouncer
-pkgver=1.9.0
-pkgrel=2
-pkgdesc='Lightweight connection pooler for PostgreSQL'
-url='https://pgbouncer.github.io/'
-arch=('x86_64')
-license=('BSD')
-depends=('libevent>=2.0' 'c-ares' 'systemd' 'pam')
-makedepends=('asciidoc' 'xmlto')
-checkdepends=('postgresql-libs')
-backup=('etc/pgbouncer/pgbouncer.ini'
-        'etc/logrotate.d/pgbouncer')
-install=${pkgname}.install
-source=(https://pgbouncer.github.io/downloads/files/${pkgver}/pgbouncer-${pkgver}.tar.gz
-        pgbouncer.ini
-        pgbouncer.logrotate
-        pgbouncer.service
-        pgbouncer.tmpfiles.conf)
-sha512sums=('b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9'
-            '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f'
-            '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a'
-            '2b4baaaa7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7'
-            '4e5bcb7690335b43a017795b377857c241ce571465363e01e35829c2c210781fefd6880d085e5928db417b69458d1e79069b5494f6be6f0ae19e0894522e7971')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr \
-    --disable-debug \
-    --with-pam
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make -C test run_test
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 NEWS.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 ../pgbouncer.ini "${pkgdir}/etc/pgbouncer/pgbouncer.ini"
-  install -Dm 644 ../pgbouncer.logrotate "${pkgdir}/etc/logrotate.d/pgbouncer"
-  install -Dm 644 ../pgbouncer.service "${pkgdir}/usr/lib/systemd/system/pgbouncer.service"
-  install -Dm 644 ../pgbouncer.tmpfiles.conf "${pkgdir}/usr/lib/tmpfiles.d/pgbouncer.conf"
-  install -d "${pkgdir}/var/log/pgbouncer"
-}
-
-# vim: ts=2 sw=2 et:

Copied: pgbouncer/repos/extra-x86_64/PKGBUILD (from rev 359440, pgbouncer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-11 08:23:48 UTC (rev 359441)
@@ -0,0 +1,55 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Dan McGee <dan at archlinux.org>
+
+pkgname=pgbouncer
+pkgver=1.10.0
+pkgrel=1
+pkgdesc='Lightweight connection pooler for PostgreSQL'
+url='https://pgbouncer.github.io/'
+arch=('x86_64')
+license=('BSD')
+depends=('libevent>=2.0' 'c-ares' 'systemd' 'pam')
+makedepends=('asciidoc' 'xmlto')
+checkdepends=('postgresql-libs')
+backup=('etc/pgbouncer/pgbouncer.ini'
+        'etc/logrotate.d/pgbouncer')
+source=(https://pgbouncer.github.io/downloads/files/${pkgver}/pgbouncer-${pkgver}.tar.gz
+        pgbouncer.ini
+        pgbouncer.logrotate
+        pgbouncer.service
+        pgbouncer.tmpfiles.conf
+        pgbouncer.sysusers)
+sha512sums=('8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d'
+            '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f'
+            '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a'
+            '2b4baaaa7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7'
+            '421d10fd3b77fc4bec18122f39d237f5eed5130b059dddee5243b17a5a76894ae9262b6f584f5d872ead5028a431a30ce66c8c8e662607573352e739e578bede'
+            '05551189022bd160ca0d64831d2559480ae2dcfe8a489aa4c22cc375c3def31d1169e48e17e6502ccd18237d79afef5bc4587f3cf14274c125eb71311d00503b')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --disable-debug \
+    --with-pam
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make -C test run_test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 NEWS.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 ../pgbouncer.ini "${pkgdir}/etc/pgbouncer/pgbouncer.ini"
+  install -Dm 644 ../pgbouncer.logrotate "${pkgdir}/etc/logrotate.d/pgbouncer"
+  install -Dm 644 ../pgbouncer.service "${pkgdir}/usr/lib/systemd/system/pgbouncer.service"
+  install -Dm 644 ../pgbouncer.tmpfiles.conf "${pkgdir}/usr/lib/tmpfiles.d/pgbouncer.conf"
+  install -Dm 644 ../pgbouncer.sysusers "${pkgdir}/usr/lib/sysusers.d/pgbouncer.conf"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: pgbouncer.ini
===================================================================
--- pgbouncer.ini	2019-08-11 08:23:40 UTC (rev 359440)
+++ pgbouncer.ini	2019-08-11 08:23:48 UTC (rev 359441)
@@ -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 359440, pgbouncer/trunk/pgbouncer.ini)
===================================================================
--- pgbouncer.ini	                        (rev 0)
+++ pgbouncer.ini	2019-08-11 08:23:48 UTC (rev 359441)
@@ -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: pgbouncer.install
===================================================================
--- pgbouncer.install	2019-08-11 08:23:40 UTC (rev 359440)
+++ pgbouncer.install	2019-08-11 08:23:48 UTC (rev 359441)
@@ -1,25 +0,0 @@
-post_install() {
-  if [ ! -d '/var/lib/postgres' ]; then
-    mkdir -p '/var/lib/postgres'
-  fi
-  if ! getent group postgres >/dev/null; then
-    groupadd -g 88 postgres
-  fi
-  if ! getent passwd postgres >/dev/null; then
-    useradd -c 'PostgreSQL user' -u 88 -g postgres -d '/var/lib/postgres' -s /bin/bash postgres
-    passwd -l postgres >/dev/null
-  fi
-  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
-  gpasswd -a pgbouncer postgres
-}
-
-post_upgrade() {
-  post_install $1
-}

Deleted: pgbouncer.logrotate
===================================================================
--- pgbouncer.logrotate	2019-08-11 08:23:40 UTC (rev 359440)
+++ pgbouncer.logrotate	2019-08-11 08:23:48 UTC (rev 359441)
@@ -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 359440, pgbouncer/trunk/pgbouncer.logrotate)
===================================================================
--- pgbouncer.logrotate	                        (rev 0)
+++ pgbouncer.logrotate	2019-08-11 08:23:48 UTC (rev 359441)
@@ -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: pgbouncer.service
===================================================================
--- pgbouncer.service	2019-08-11 08:23:40 UTC (rev 359440)
+++ pgbouncer.service	2019-08-11 08:23:48 UTC (rev 359441)
@@ -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 359440, pgbouncer/trunk/pgbouncer.service)
===================================================================
--- pgbouncer.service	                        (rev 0)
+++ pgbouncer.service	2019-08-11 08:23:48 UTC (rev 359441)
@@ -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

Copied: pgbouncer/repos/extra-x86_64/pgbouncer.sysusers (from rev 359440, pgbouncer/trunk/pgbouncer.sysusers)
===================================================================
--- pgbouncer.sysusers	                        (rev 0)
+++ pgbouncer.sysusers	2019-08-11 08:23:48 UTC (rev 359441)
@@ -0,0 +1,3 @@
+u pgbouncer - "PGBouncer user" /etc/pgbouncer /bin/bash
+u postgres - "PostgreSQL user" /var/lib/postgres /bin/bash
+m pgbouncer postgres

Deleted: pgbouncer.tmpfiles.conf
===================================================================
--- pgbouncer.tmpfiles.conf	2019-08-11 08:23:40 UTC (rev 359440)
+++ pgbouncer.tmpfiles.conf	2019-08-11 08:23:48 UTC (rev 359441)
@@ -1 +0,0 @@
-d /run/pgbouncer  0755 pgbouncer pgbouncer -

Copied: pgbouncer/repos/extra-x86_64/pgbouncer.tmpfiles.conf (from rev 359440, pgbouncer/trunk/pgbouncer.tmpfiles.conf)
===================================================================
--- pgbouncer.tmpfiles.conf	                        (rev 0)
+++ pgbouncer.tmpfiles.conf	2019-08-11 08:23:48 UTC (rev 359441)
@@ -0,0 +1,3 @@
+d /run/pgbouncer  0755 pgbouncer pgbouncer -
+d /var/lib/postgres/data 700 postgres postgres
+z /var/log/pgbouncer 0750 pgbouncer pgbouncer


More information about the arch-commits mailing list