[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Monday, December 14, 2020 @ 23:53:05 Author: anthraxx Revision: 404332 upgpkg: pgbouncer 1.15.0-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-14 23:33:27 UTC (rev 404331) +++ PKGBUILD2020-12-14 23:53:05 UTC (rev 404332) @@ -2,13 +2,13 @@ # Contributor: Dan McGee pkgname=pgbouncer -pkgver=1.13.0 +pkgver=1.15.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') +depends=('glibc' 'libevent' 'c-ares' 'libcares.so' 'systemd' 'pam' 'libpam.so' 'openssl') makedepends=('asciidoc' 'xmlto') checkdepends=('postgresql-libs' 'postgresql') backup=('etc/pgbouncer/pgbouncer.ini' @@ -19,7 +19,7 @@ pgbouncer.service pgbouncer.tmpfiles.conf pgbouncer.sysusers) -sha512sums=('7fa05eebcfe827849a30e33c8f6e6332f5e12300712bbfec865bfa97a6f0132f82eb4bc44ac2dc5db87836c5049337db8619a1d4af7e51696c99d59c3223d9d7' +sha512sums=('5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6' '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f' '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a' '2b4b7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7'
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Friday, May 15, 2020 @ 19:09:03 Author: anthraxx Revision: 383720 upgpkg: pgbouncer 1.13.0-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-15 18:55:18 UTC (rev 383719) +++ PKGBUILD2020-05-15 19:09:03 UTC (rev 383720) @@ -2,7 +2,7 @@ # Contributor: Dan McGee pkgname=pgbouncer -pkgver=1.11.0 +pkgver=1.13.0 pkgrel=1 pkgdesc='Lightweight connection pooler for PostgreSQL' url='https://pgbouncer.github.io/' @@ -10,7 +10,7 @@ license=('BSD') depends=('libevent>=2.0' 'c-ares' 'systemd' 'pam') makedepends=('asciidoc' 'xmlto') -checkdepends=('postgresql-libs') +checkdepends=('postgresql-libs' 'postgresql') backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer') source=(https://pgbouncer.github.io/downloads/files/${pkgver}/pgbouncer-${pkgver}.tar.gz @@ -19,7 +19,7 @@ pgbouncer.service pgbouncer.tmpfiles.conf pgbouncer.sysusers) -sha512sums=('2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115' +sha512sums=('7fa05eebcfe827849a30e33c8f6e6332f5e12300712bbfec865bfa97a6f0132f82eb4bc44ac2dc5db87836c5049337db8619a1d4af7e51696c99d59c3223d9d7' '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f' '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a' '2b4b7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7' @@ -37,7 +37,7 @@ check() { cd ${pkgname}-${pkgver} - make -C test run_test + make -C test check } package() {
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Wednesday, December 25, 2019 @ 23:29:47 Author: felixonmars Revision: 372272 upgpkg: pgbouncer 1.11.0-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-25 23:18:44 UTC (rev 372271) +++ PKGBUILD2019-12-25 23:29:47 UTC (rev 372272) @@ -2,8 +2,8 @@ # Contributor: Dan McGee pkgname=pgbouncer -pkgver=1.10.0 -pkgrel=3 +pkgver=1.11.0 +pkgrel=1 pkgdesc='Lightweight connection pooler for PostgreSQL' url='https://pgbouncer.github.io/' arch=('x86_64') @@ -19,7 +19,7 @@ pgbouncer.service pgbouncer.tmpfiles.conf pgbouncer.sysusers) -sha512sums=('8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d' +sha512sums=('2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115' '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f' '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a' '2b4b7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7'
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD pgbouncer.tmpfiles.conf)
Date: Monday, August 12, 2019 @ 07:42:35 Author: heftig Revision: 359747 1.10.0-3: Fix tmpfiles syntax Modified: pgbouncer/trunk/PKGBUILD pgbouncer/trunk/pgbouncer.tmpfiles.conf -+ PKGBUILD|4 ++-- pgbouncer.tmpfiles.conf |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-08-12 07:42:34 UTC (rev 359746) +++ PKGBUILD2019-08-12 07:42:35 UTC (rev 359747) @@ -3,7 +3,7 @@ pkgname=pgbouncer pkgver=1.10.0 -pkgrel=2 +pkgrel=3 pkgdesc='Lightweight connection pooler for PostgreSQL' url='https://pgbouncer.github.io/' arch=('x86_64') @@ -23,7 +23,7 @@ '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f' '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a' '2b4b7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7' - '3d339e84b3ba426cfbbba406ef65a59aacaf68650afd2b3c6096e8babd2c8d39eaad13f60cd2718d7cdc8dc10eeba569da537b25f67c0a1a2884c885b2bc7136' + '0757205e5cb5f679bab00bdbed2c828a536239f380d537498bc893c77162e0978308a5f38fae4cb6470f18d6ed0fe4a3ce8f00e85aef89b14bcf6e2eab05a696' '05551189022bd160ca0d64831d2559480ae2dcfe8a489aa4c22cc375c3def31d1169e48e17e6502ccd18237d79afef5bc4587f3cf14274c125eb71311d00503b') build() { Modified: pgbouncer.tmpfiles.conf === --- pgbouncer.tmpfiles.conf 2019-08-12 07:42:34 UTC (rev 359746) +++ pgbouncer.tmpfiles.conf 2019-08-12 07:42:35 UTC (rev 359747) @@ -1,4 +1,4 @@ d /run/pgbouncer 755 pgbouncer pgbouncer d /var/lib/postgres/data 700 postgres postgres -h /var/lib/postgres/data - - - +C +h /var/lib/postgres/data - - - - +C z /var/log/pgbouncer 750 pgbouncer pgbouncer
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD pgbouncer.tmpfiles.conf)
Date: Monday, August 12, 2019 @ 04:20:18 Author: heftig Revision: 359739 1.10.0-2: On BtrFS, disable cow on the data directory Modified: pgbouncer/trunk/PKGBUILD pgbouncer/trunk/pgbouncer.tmpfiles.conf -+ PKGBUILD|4 ++-- pgbouncer.tmpfiles.conf |7 --- 2 files changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-08-12 04:20:17 UTC (rev 359738) +++ PKGBUILD2019-08-12 04:20:18 UTC (rev 359739) @@ -3,7 +3,7 @@ pkgname=pgbouncer pkgver=1.10.0 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight connection pooler for PostgreSQL' url='https://pgbouncer.github.io/' arch=('x86_64') @@ -23,7 +23,7 @@ '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f' '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a' '2b4b7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7' - '421d10fd3b77fc4bec18122f39d237f5eed5130b059dddee5243b17a5a76894ae9262b6f584f5d872ead5028a431a30ce66c8c8e662607573352e739e578bede' + '3d339e84b3ba426cfbbba406ef65a59aacaf68650afd2b3c6096e8babd2c8d39eaad13f60cd2718d7cdc8dc10eeba569da537b25f67c0a1a2884c885b2bc7136' '05551189022bd160ca0d64831d2559480ae2dcfe8a489aa4c22cc375c3def31d1169e48e17e6502ccd18237d79afef5bc4587f3cf14274c125eb71311d00503b') build() { Modified: pgbouncer.tmpfiles.conf === --- pgbouncer.tmpfiles.conf 2019-08-12 04:20:17 UTC (rev 359738) +++ pgbouncer.tmpfiles.conf 2019-08-12 04:20:18 UTC (rev 359739) @@ -1,3 +1,4 @@ -d /run/pgbouncer 0755 pgbouncer pgbouncer - -d /var/lib/postgres/data 700 postgres postgres -z /var/log/pgbouncer 0750 pgbouncer pgbouncer +d /run/pgbouncer 755 pgbouncer pgbouncer +d /var/lib/postgres/data 700 postgres postgres +h /var/lib/postgres/data - - - +C +z /var/log/pgbouncer 750 pgbouncer pgbouncer
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Tuesday, August 6, 2019 @ 04:06:25 Author: foutrelis Revision: 359218 libevent 2.1.11 rebuild Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-08-06 04:05:34 UTC (rev 359217) +++ PKGBUILD2019-08-06 04:06:25 UTC (rev 359218) @@ -3,7 +3,7 @@ pkgname=pgbouncer pkgver=1.9.0 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight connection pooler for PostgreSQL' url='https://pgbouncer.github.io/' arch=('x86_64')
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Friday, November 9, 2018 @ 21:15:58 Author: felixonmars Revision: 338545 upgpkg: pgbouncer 1.9.0-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-11-09 21:15:21 UTC (rev 338544) +++ PKGBUILD2018-11-09 21:15:58 UTC (rev 338545) @@ -2,7 +2,7 @@ # Contributor: Dan McGee pkgname=pgbouncer -pkgver=1.8.1 +pkgver=1.9.0 pkgrel=1 pkgdesc='Lightweight connection pooler for PostgreSQL' url='https://pgbouncer.github.io/' @@ -19,11 +19,11 @@ pgbouncer.logrotate pgbouncer.service pgbouncer.tmpfiles.conf) -sha256sums=('fa8bde2a2d2c8c80d53a859f8e48bc6713cf127e31c77d8f787bbc1d673e8dc8' -'4f30e4a3eb76acdd233ebc7dd099dff6976299ba958e40a8429b74112e804b05' -'8da38746d9c9dfc2433a8cfe22fdaf517e14492672d09e3c48cd4745fc03e9bd' -'274a3d447c151323f2d297aae881ec69be1477f16e30b0bba469afe68c2d122a' -'476ea0400ba063e932a58f1f49ae401d65b22add521894872c09ec6985e0960d') +sha512sums=('b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9' + '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f' + '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a' + '2b4b7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7' + '4e5bcb7690335b43a017795b377857c241ce571465363e01e35829c2c210781fefd6880d085e5928db417b69458d1e79069b5494f6be6f0ae19e0894522e7971') build() { cd ${pkgname}-${pkgver}
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Wednesday, January 24, 2018 @ 01:13:08 Author: anthraxx Revision: 315346 upgpkg: pgbouncer 1.8.1-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD | 65 - 1 file changed, 35 insertions(+), 30 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-23 23:07:03 UTC (rev 315345) +++ PKGBUILD2018-01-24 01:13:08 UTC (rev 315346) @@ -1,49 +1,54 @@ -# Maintainer: Dan McGee+# Maintainer: Levente Polyak +# Contributor: Dan McGee pkgname=pgbouncer -pkgver=1.7.2 -pkgrel=3 -pkgdesc="A lightweight connection pooler for PostgreSQL" +pkgver=1.8.1 +pkgrel=1 +pkgdesc='Lightweight connection pooler for PostgreSQL' +url='https://pgbouncer.github.io/' arch=('x86_64') -url="https://wiki.postgresql.org/wiki/PgBouncer; license=('BSD') -depends=('libevent>=2.0' 'c-ares' 'systemd') +depends=('libevent>=2.0' 'c-ares' 'systemd' 'pam') makedepends=('asciidoc' 'xmlto') -backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer') -install=$pkgname.install -source=("https://pgbouncer.github.io/downloads/files/$pkgver/$pkgname-$pkgver.tar.gz; +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 -usual-openssl.patch) -sha256sums=('de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba' +pgbouncer.tmpfiles.conf) +sha256sums=('fa8bde2a2d2c8c80d53a859f8e48bc6713cf127e31c77d8f787bbc1d673e8dc8' '4f30e4a3eb76acdd233ebc7dd099dff6976299ba958e40a8429b74112e804b05' '8da38746d9c9dfc2433a8cfe22fdaf517e14492672d09e3c48cd4745fc03e9bd' '274a3d447c151323f2d297aae881ec69be1477f16e30b0bba469afe68c2d122a' -'476ea0400ba063e932a58f1f49ae401d65b22add521894872c09ec6985e0960d' -'46d2d1c421ccd9893af4f6fde28d796b7910d2385efd3e27cca118d8e484ca7b') +'476ea0400ba063e932a58f1f49ae401d65b22add521894872c09ec6985e0960d') -prepare() { - cd "$srcdir/$pkgname-$pkgver/lib" - patch -Np1 -i ../../usual-openssl.patch -} - build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --disable-debug + cd ${pkgname}-${pkgver} + ./configure \ +--prefix=/usr \ +--disable-debug \ +--with-pam make } +check() { + cd ${pkgname}-${pkgver} + make -C test run_test +} + 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" + 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:set ts=2 sw=2 et: +# vim: ts=2 sw=2 et:
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Tuesday, June 13, 2017 @ 21:29:31 Author: anthraxx Revision: 298781 upgpkg: pgbouncer 1.7.2-3 (libevent rebuild) Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-06-13 20:36:35 UTC (rev 298780) +++ PKGBUILD2017-06-13 21:29:31 UTC (rev 298781) @@ -2,7 +2,7 @@ pkgname=pgbouncer pkgver=1.7.2 -pkgrel=2 +pkgrel=3 pkgdesc="A lightweight connection pooler for PostgreSQL" arch=('i686' 'x86_64') url="https://wiki.postgresql.org/wiki/PgBouncer;
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD usual-openssl.patch)
Date: Thursday, March 16, 2017 @ 13:02:58 Author: jgc Revision: 290931 upgpkg: pgbouncer 1.7.2-2 OpenSSL 1.1 Added: pgbouncer/trunk/usual-openssl.patch Modified: pgbouncer/trunk/PKGBUILD -+ PKGBUILD| 15 ++- usual-openssl.patch | 242 ++ 2 files changed, 253 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-16 12:45:44 UTC (rev 290930) +++ PKGBUILD2017-03-16 13:02:58 UTC (rev 290931) @@ -2,12 +2,12 @@ pkgname=pgbouncer pkgver=1.7.2 -pkgrel=1 +pkgrel=2 pkgdesc="A lightweight connection pooler for PostgreSQL" arch=('i686' 'x86_64') url="https://wiki.postgresql.org/wiki/PgBouncer; license=('BSD') -depends=('libevent>=2.0' 'c-ares') +depends=('libevent>=2.0' 'c-ares' 'systemd') makedepends=('asciidoc' 'xmlto') backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer') install=$pkgname.install @@ -15,13 +15,20 @@ pgbouncer.ini pgbouncer.logrotate pgbouncer.service -pgbouncer.tmpfiles.conf) +pgbouncer.tmpfiles.conf +usual-openssl.patch) sha256sums=('de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba' '4f30e4a3eb76acdd233ebc7dd099dff6976299ba958e40a8429b74112e804b05' '8da38746d9c9dfc2433a8cfe22fdaf517e14492672d09e3c48cd4745fc03e9bd' '274a3d447c151323f2d297aae881ec69be1477f16e30b0bba469afe68c2d122a' -'476ea0400ba063e932a58f1f49ae401d65b22add521894872c09ec6985e0960d') +'476ea0400ba063e932a58f1f49ae401d65b22add521894872c09ec6985e0960d' +'46d2d1c421ccd9893af4f6fde28d796b7910d2385efd3e27cca118d8e484ca7b') +prepare() { + cd "$srcdir/$pkgname-$pkgver/lib" + patch -Np1 -i ../../usual-openssl.patch +} + build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --disable-debug Added: usual-openssl.patch === --- usual-openssl.patch (rev 0) +++ usual-openssl.patch 2017-03-16 13:02:58 UTC (rev 290931) @@ -0,0 +1,242 @@ +From 0e56f729d74e4af6c19fe60f6e2b47f5e717dcac Mon Sep 17 00:00:00 2001 +From: Marko Kreen+Date: Tue, 6 Dec 2016 20:05:17 +0200 +Subject: [PATCH] tls: additional openssl 1.1 compat + +Fixes: #15 +--- + test/connect-tls.c | 2 +- + usual/tls/tls.c| 2 ++ + usual/tls/tls_cert.c | 12 ++-- + usual/tls/tls_compat.h | 45 + + usual/tls/tls_ocsp.c | 28 +--- + usual/tls/tls_util.c | 2 +- + usual/tls/tls_verify.c | 8 + 7 files changed, 76 insertions(+), 23 deletions(-) + +diff --git a/usual/tls/tls.c b/usual/tls/tls.c +index 3377cb4..1843e44 100644 +--- a/usual/tls/tls.c b/usual/tls/tls.c +@@ -67,7 +67,9 @@ tls_deinit(void) + CRYPTO_cleanup_all_ex_data(); + BIO_sock_cleanup(); + ERR_clear_error(); ++#ifdef USE_LIBSSL_INTERNALS + ERR_remove_thread_state(NULL); ++#endif + ERR_free_strings(); + + tls_initialised = 0; +diff --git a/usual/tls/tls_cert.c b/usual/tls/tls_cert.c +index ca6668a..9a81e2f 100644 +--- a/usual/tls/tls_cert.c b/usual/tls/tls_cert.c +@@ -86,7 +86,7 @@ tls_parse_bigint(struct tls *ctx, const ASN1_INTEGER *asn1int, const char **dst_ + */ + + static int +-check_invalid_bytes(struct tls *ctx, unsigned char *data, unsigned int len, ++check_invalid_bytes(struct tls *ctx, const unsigned char *data, unsigned int len, + int ascii_only, const char *desc) + { + unsigned int i, c; +@@ -125,7 +125,7 @@ static int + tls_parse_asn1string(struct tls *ctx, ASN1_STRING *a1str, const char **dst_p, int minchars, int maxchars, const char *desc) + { + int format, len, ret = -1; +- unsigned char *data; ++ const unsigned char *data; + ASN1_STRING *a1utf = NULL; + int ascii_only = 0; + char *cstr = NULL; +@@ -134,7 +134,7 @@ tls_parse_asn1string(struct tls *ctx, ASN1_STRING *a1str, const char **dst_p, in + *dst_p = NULL; + + format = ASN1_STRING_type(a1str); +- data = ASN1_STRING_data(a1str); ++ data = ASN1_STRING_get0_data(a1str); + len = ASN1_STRING_length(a1str); + if (len < minchars) { + tls_set_errorx(ctx, "invalid %s: string too short", desc); +@@ -188,7 +188,7 @@ tls_parse_asn1string(struct tls *ctx, ASN1_STRING *a1str, const char **dst_p, in + tls_set_errorx(ctx, "multibyte conversion failed: expected UTF8 result"); + goto failed; + } +- data = ASN1_STRING_data(a1utf); ++ data = ASN1_STRING_get0_data(a1utf); + len = ASN1_STRING_length(a1utf); + } + +@@ -275,12 +275,12 @@ static int + tls_load_alt_ipaddr(struct tls *ctx,
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Wednesday, March 16, 2016 @ 01:14:48 Author: dan Revision: 261684 upgpkg: pgbouncer 1.7.2-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-15 23:15:24 UTC (rev 261683) +++ PKGBUILD2016-03-16 00:14:48 UTC (rev 261684) @@ -1,8 +1,8 @@ # Maintainer: Dan McGeepkgname=pgbouncer -pkgver=1.7.1 -pkgrel=2 +pkgver=1.7.2 +pkgrel=1 pkgdesc="A lightweight connection pooler for PostgreSQL" arch=('i686' 'x86_64') url="https://wiki.postgresql.org/wiki/PgBouncer; @@ -16,7 +16,7 @@ pgbouncer.logrotate pgbouncer.service pgbouncer.tmpfiles.conf) -sha256sums=('f72bcdfd8a8d1ee22f509cebc59fb50d394063ce0175f0deea07b5fb2849e8a1' +sha256sums=('de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba' '4f30e4a3eb76acdd233ebc7dd099dff6976299ba958e40a8429b74112e804b05' '8da38746d9c9dfc2433a8cfe22fdaf517e14492672d09e3c48cd4745fc03e9bd' '274a3d447c151323f2d297aae881ec69be1477f16e30b0bba469afe68c2d122a'
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Thursday, March 3, 2016 @ 13:31:14 Author: foutrelis Revision: 260625 OpenSSL 1.0.2g rebuild Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-03-03 12:30:22 UTC (rev 260624) +++ PKGBUILD2016-03-03 12:31:14 UTC (rev 260625) @@ -2,7 +2,7 @@ pkgname=pgbouncer pkgver=1.7.1 -pkgrel=1 +pkgrel=2 pkgdesc="A lightweight connection pooler for PostgreSQL" arch=('i686' 'x86_64') url="https://wiki.postgresql.org/wiki/PgBouncer;
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD pgbouncer.install)
Date: Sunday, February 21, 2016 @ 04:57:13 Author: dan Revision: 260107 upgpkg: pgbouncer 1.7.1-1 Modified: pgbouncer/trunk/PKGBUILD pgbouncer/trunk/pgbouncer.install ---+ PKGBUILD |8 pgbouncer.install | 14 -- 2 files changed, 16 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-21 03:42:29 UTC (rev 260106) +++ PKGBUILD2016-02-21 03:57:13 UTC (rev 260107) @@ -1,22 +1,22 @@ # Maintainer: Dan McGeepkgname=pgbouncer -pkgver=1.6 +pkgver=1.7.1 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' 'c-ares' 'postgresql') +depends=('libevent>=2.0' 'c-ares') 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; +source=("https://pgbouncer.github.io/downloads/files/$pkgver/$pkgname-$pkgver.tar.gz; pgbouncer.ini pgbouncer.logrotate pgbouncer.service pgbouncer.tmpfiles.conf) -sha256sums=('d0aec755afcdcff0538b513f71ba4de03041f21ed5548171df9de53099efa916' +sha256sums=('f72bcdfd8a8d1ee22f509cebc59fb50d394063ce0175f0deea07b5fb2849e8a1' '4f30e4a3eb76acdd233ebc7dd099dff6976299ba958e40a8429b74112e804b05' '8da38746d9c9dfc2433a8cfe22fdaf517e14492672d09e3c48cd4745fc03e9bd' '274a3d447c151323f2d297aae881ec69be1477f16e30b0bba469afe68c2d122a' Modified: pgbouncer.install === --- pgbouncer.install 2016-02-21 03:42:29 UTC (rev 260106) +++ pgbouncer.install 2016-02-21 03:57:13 UTC (rev 260107) @@ -1,4 +1,14 @@ 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 @@ -8,9 +18,9 @@ fi chown pgbouncer:pgbouncer /var/log/pgbouncer systemd-tmpfiles --create pgbouncer.conf - post_upgrade + gpasswd -a pgbouncer postgres } post_upgrade() { - gpasswd -a pgbouncer postgres + post_install $1 }
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Sunday, August 23, 2015 @ 22:34:41 Author: dan Revision: 244756 upgpkg: pgbouncer 1.6-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-08-23 20:27:15 UTC (rev 244755) +++ PKGBUILD2015-08-23 20:34:41 UTC (rev 244756) @@ -1,13 +1,13 @@ # Maintainer: Dan McGee d...@archlinux.org pkgname=pgbouncer -pkgver=1.5.5 +pkgver=1.6 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') +depends=('libevent=2.0' 'c-ares' 'postgresql') makedepends=('asciidoc' 'xmlto') backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer') install=$pkgname.install @@ -16,11 +16,11 @@ pgbouncer.logrotate pgbouncer.service pgbouncer.tmpfiles.conf) -md5sums=('e332e41956f9a2d48c4b38fa96d6e0f0' - '810813b9ef8891be382be9ffdd425edc' - '6c65fe91821591bde0b5bcf70f23e959' - 'eede238f5ff3709dbfeef6dad3fbefc7' - '472659f4c5de2b59a420f5ca42327ec1') +sha256sums=('d0aec755afcdcff0538b513f71ba4de03041f21ed5548171df9de53099efa916' +'4f30e4a3eb76acdd233ebc7dd099dff6976299ba958e40a8429b74112e804b05' +'8da38746d9c9dfc2433a8cfe22fdaf517e14492672d09e3c48cd4745fc03e9bd' +'274a3d447c151323f2d297aae881ec69be1477f16e30b0bba469afe68c2d122a' +'476ea0400ba063e932a58f1f49ae401d65b22add521894872c09ec6985e0960d') build() { cd $srcdir/$pkgname-$pkgver
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Sunday, May 24, 2015 @ 16:00:04 Author: dan Revision: 239708 upgpkg: pgbouncer 1.5.5-1 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-05-24 13:56:46 UTC (rev 239707) +++ PKGBUILD2015-05-24 14:00:04 UTC (rev 239708) @@ -1,22 +1,22 @@ # Maintainer: Dan McGee d...@archlinux.org pkgname=pgbouncer -pkgver=1.5.4 -pkgrel=6 +pkgver=1.5.5 +pkgrel=1 pkgdesc=A lightweight connection pooler for PostgreSQL arch=('i686' 'x86_64') -url=http://pgfoundry.org/projects/pgbouncer; +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=(http://ftp.postgresql.org/pub/projects/pgFoundry/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz; +source=(https://pgbouncer.github.io/downloads/$pkgname-$pkgver.tar.gz; pgbouncer.ini pgbouncer.logrotate pgbouncer.service pgbouncer.tmpfiles.conf) -md5sums=('9ffaf2e6232e18e676651429813732df' +md5sums=('e332e41956f9a2d48c4b38fa96d6e0f0' '810813b9ef8891be382be9ffdd425edc' '6c65fe91821591bde0b5bcf70f23e959' 'eede238f5ff3709dbfeef6dad3fbefc7'
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD)
Date: Monday, June 30, 2014 @ 23:30:48 Author: dan Revision: 215910 upgpkg: pgbouncer 1.5.4-6 Modified: pgbouncer/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-06-30 21:29:59 UTC (rev 215909) +++ PKGBUILD2014-06-30 21:30:48 UTC (rev 215910) @@ -2,7 +2,7 @@ pkgname=pgbouncer pkgver=1.5.4 -pkgrel=5 +pkgrel=6 pkgdesc=A lightweight connection pooler for PostgreSQL arch=('i686' 'x86_64') url=http://pgfoundry.org/projects/pgbouncer;
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD pgbouncer.logrotate)
Date: Tuesday, January 29, 2013 @ 05:18:58 Author: dan Revision: 176304 upgpkg: pgbouncer 1.5.4-5 Fix stupid install file issue; add logrotate file. Added: pgbouncer/trunk/pgbouncer.logrotate Modified: pgbouncer/trunk/PKGBUILD -+ PKGBUILD| 10 ++ pgbouncer.logrotate |8 2 files changed, 14 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-01-29 04:01:44 UTC (rev 176303) +++ PKGBUILD2013-01-29 04:18:58 UTC (rev 176304) @@ -1,23 +1,24 @@ # Maintainer: Dan McGee d...@archlinux.org pkgname=pgbouncer -_dlid=3393 pkgver=1.5.4 -pkgrel=4 +pkgrel=5 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') +backup=('etc/pgbouncer/pgbouncer.ini' 'etc/logrotate.d/pgbouncer') install=$pkgname.install -source=(http://pgfoundry.org/frs/download.php/${_dlid}/${pkgname}-${pkgver}.tar.gz; +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') @@ -32,6 +33,7 @@ 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 Added: pgbouncer.logrotate === --- pgbouncer.logrotate (rev 0) +++ pgbouncer.logrotate 2013-01-29 04:18:58 UTC (rev 176304) @@ -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 +}
[arch-commits] Commit in pgbouncer/trunk (PKGBUILD pgbouncer.tmpfiles.conf)
Date: Tuesday, January 15, 2013 @ 10:06:34 Author: dan Revision: 175153 upgpkg: pgbouncer 1.5.4-3 New package for [extra] for PostgreSQL connection pooling. Modified: pgbouncer/trunk/PKGBUILD pgbouncer/trunk/pgbouncer.tmpfiles.conf -+ PKGBUILD|6 +++--- pgbouncer.tmpfiles.conf |1 - 2 files changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-01-15 11:44:42 UTC (rev 175152) +++ PKGBUILD2013-01-15 15:06:34 UTC (rev 175153) @@ -3,12 +3,12 @@ pkgname=pgbouncer _dlid=3393 pkgver=1.5.4 -pkgrel=2 +pkgrel=3 pkgdesc=A lightweight connection pooler for PostgreSQL arch=('i686' 'x86_64') url=http://pgfoundry.org/projects/pgbouncer; license=('BSD') -depends=('libevent=2.0') +depends=('libevent=2.0' 'postgresql') makedepends=('asciidoc' 'xmlto') backup=('etc/pgbouncer/pgbouncer.ini') install=$pkgname.install @@ -19,7 +19,7 @@ md5sums=('9ffaf2e6232e18e676651429813732df' '810813b9ef8891be382be9ffdd425edc' '9036ba469f700d52fc49ed406da089a2' - 'ca2ced4d7616bab13c3209823778816a') + '472659f4c5de2b59a420f5ca42327ec1') build() { cd $srcdir/$pkgname-$pkgver Modified: pgbouncer.tmpfiles.conf === --- pgbouncer.tmpfiles.conf 2013-01-15 11:44:42 UTC (rev 175152) +++ pgbouncer.tmpfiles.conf 2013-01-15 15:06:34 UTC (rev 175153) @@ -1,2 +1 @@ d /run/pgbouncer 0755 pgbouncer pgbouncer - -d /run/postgresql 0755 8888-