* v1.3rc1
- -- Marko Kreen <marko.kreen@skype.net> R, 16 jaan 2009 15:28:49 +0200
+ -- Marko Kreen <marko.kreen@skype.net> Fri, 16 jan 2009 15:28:49 +0200
pgbouncer (1.2.3-1) unstable; urgency=low
--- /dev/null
+Source: pgbouncer
+Section: database
+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
+
+Package: pgbouncer
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Lightweight connection pooler for PostgreSQL
+ .
--- /dev/null
+
+Copyright (C) 2007-2011 Marko Kreen, Skype Technologies
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+++ /dev/null
-## debian/packages for pgbouncer
-
-Source: pgbouncer
-Section: contrib/misc
-Priority: extra
-Maintainer: Marko Kreen <marko.kreen@skype.net>
-Standards-Version: 3.6.2
-Description: Lightweight connection pooler for PostgreSQL
-Copyright: BSD
- Copyright 2007 Marko Kreen, Skype Technologies
-Clean: sh
- make clean || true
-Build-Depends: libevent-dev
-
-Package: pgbouncer
-Architecture: any
-Contains: unstripped
-Depends: []
-Description: Lightweight connection pooler for PostgreSQL
- .
-Install: sh
- # just in case, build with debugging options
- CFLAGS="-O -g" ./configure --prefix=/usr --enable-debug --enable-cassert --disable-evdns
- make V=1
- make install DESTDIR=$ROOT
- mv $ROOT/usr/bin/pgbouncer $ROOT/usr/bin/pgbouncer-dbg
- make clean
- # now without cassert
- ./configure --prefix=/usr --enable-debug --disable-evdns
- make V=1
- make install DESTDIR=$ROOT
--- /dev/null
+#! /usr/bin/make -f
+
+DH_VERBOSE = 1
+DEB_BUILD_OPTIONS = nostrip
+
+DEB_CONFIGURE_EXTRA_FLAGS = --enable-debug
+#DEB_CONFIGURE_EXTRA_FLAGS = --enable-debug --with-udns
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+