~dricottone/huttese-apk

d2ee789268d92e66694c967d3cc4c3104a46675d — Drew DeVault 4 years ago 4aab09b
pgbouncer: more fixes for this shitty package
M sr.ht/pgbouncer/APKBUILD => sr.ht/pgbouncer/APKBUILD +1 -1
@@ 2,7 2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=pgbouncer
pkgver=1.14.0
pkgrel=2
pkgrel=3
pkgdesc="A lightweight connection pooler for PostgreSQL"
url="https://wiki.postgresql.org/wiki/PgBouncer"
arch="all"

M sr.ht/pgbouncer/pgbouncer.initd => sr.ht/pgbouncer/pgbouncer.initd +1 -1
@@ 87,6 87,6 @@ get_config() {
		  s/\s*$//;                            # trim trailing whitespaces
		  s/^['\"](.*)['\"]$/\1/;              # remove delimiting quotes
		  p
		}" "$conffile" \
		}" "$cfgfile" \
		| grep . || printf '%s\n' "$default"
}

M sr.ht/pgbouncer/pgbouncer.pre-install => sr.ht/pgbouncer/pgbouncer.pre-install +2 -2
@@ 1,3 1,3 @@
#!/bin/sh
addgroup -S postgres || true 2>/dev/null
adduser -S -D -H -h /dev/null -s /sbin/nologin -G postgres -g pgbouncer pgbouncer 2>/dev/null
addgroup -S postgres || true
adduser -SDH -s /sbin/nologin -G postgres -g pgbouncer pgbouncer || true