Priority: extra
Maintainer: Marko Kreen <marko.kreen@skype.net>
Standards-Version: 3.6.2
-Build-Depends: cdbs, debhelper (>= 7), libevent-dev (>= 1.3b), asciidoc, xmlto, make (>= 3.81)
+Build-Depends: debhelper (>= 9), libevent-dev (>= 2.0), python-docutils, make (>= 3.81), libssl-dev (>= 1.0.1), libc-ares-dev
Package: pgbouncer
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
Description: Lightweight connection pooler for PostgreSQL
+ PgBouncer is a PostgreSQL connection pooler. Any target application can be
+ connected to pgbouncer as if it were a PostgreSQL server, and pgbouncer will
+ create a connection to the actual server, or it will reuse one of its existing
+ connections.
.
+ The aim of pgbouncer is to lower the performance impact of opening new connections to PostgreSQL.
#! /usr/bin/make -f
-DH_VERBOSE = 1
+export V=1
+export DH_VERBOSE = 1
+export DEB_BUILD_OPTIONS = nostrip
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-DEB_BUILD_OPTIONS = nostrip
-export DEB_BUILD_OPTIONS
+%:
+ dh $@
-override DEB_CONFIGURE_EXTRA_FLAGS = --enable-debug
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+override_dh_auto_clean:
+ if test -f config.mak; then $(MAKE) clean; fi