From: Marko Kreen Date: Fri, 26 Feb 2016 10:24:19 +0000 (+0200) Subject: deb: turn on full hardening, needs v9 dh X-Git-Tag: pgbouncer_1_7_2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e8d72ee6019ff4683416a961c457a5a36e945a6;p=pgbouncer deb: turn on full hardening, needs v9 dh --- diff --git a/debian/compat b/debian/compat index 7ed6ff8..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +9 diff --git a/debian/control b/debian/control index ab161a7..fc8290e 100644 --- a/debian/control +++ b/debian/control @@ -3,10 +3,15 @@ Section: database Priority: extra Maintainer: Marko Kreen 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. diff --git a/debian/rules b/debian/rules index 0df2aa7..19af87b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,13 @@ #! /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