Commit a9d38391 authored by Marco Nenciarini's avatar Marco Nenciarini

Generate -dbg packages on older distibutions

parent d12cae64
......@@ -42,3 +42,21 @@ Description: lightweight connection pooler for PostgreSQL
can reside on different hosts.
* Supports online reconfiguration for most of the settings.
* Supports online restart/upgrade.
#dbg#Package: pgbouncer-dbg
#dbg#Section: debug
#dbg#Architecture: any
#dbg#Depends: pgbouncer (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
#dbg#Description: debug symbols for pgbouncer
#dbg# PgBouncer is a lightweight connection pooler for PostgreSQL providing the
#dbg# following features:
#dbg# .
#dbg# * Several levels of brutality when rotating connections: session pooling,
#dbg# transaction pooling, statement pooling.
#dbg# * Low memory requirements.
#dbg# * It is not tied to one backend server, the destination databases
#dbg# can reside on different hosts.
#dbg# * Supports online reconfiguration for most of the settings.
#dbg# * Supports online restart/upgrade.
#dbg# .
#dbg# This package contains debug symbols for pgbouncer.
......@@ -20,10 +20,13 @@ override_dh_auto_configure:
--with-pam
override_dh_auto_install:
dh_auto_install
dh_auto_install --destdir=debian/pgbouncer
rm -f $(addprefix $(CURDIR)/debian/pgbouncer/usr/share/doc/pgbouncer/,pgbouncer.ini userlist.txt)
mkdir -p $(CURDIR)/debian/pgbouncer/etc/pgbouncer
touch $(CURDIR)/debian/pgbouncer/etc/pgbouncer/userlist.txt
override_dh_installinit:
dh_installinit -R
#dbg#override_dh_strip:
#dbg# dh_strip --dbg-package=pgbouncer-dbg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment