From: Marko Kreen Date: Tue, 13 Dec 2011 13:09:55 +0000 (+0200) Subject: debian/: drop yada, use simple cdbs packaging X-Git-Tag: pgbouncer_1_5_rc1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ac1dab6b0ccbc96f174a118a7b6ac748e4b9a49;p=pgbouncer debian/: drop yada, use simple cdbs packaging --- diff --git a/debian/changelog b/debian/changelog index ebb9d54..c8b128c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -146,7 +146,7 @@ pgbouncer (1.3rc1-0) unstable; urgency=low * v1.3rc1 - -- Marko Kreen R, 16 jaan 2009 15:28:49 +0200 + -- Marko Kreen Fri, 16 jan 2009 15:28:49 +0200 pgbouncer (1.2.3-1) unstable; urgency=low diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f3c9347 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: pgbouncer +Section: database +Priority: extra +Maintainer: Marko Kreen +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 + . diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3c19f48 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,15 @@ + +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. + diff --git a/debian/packages b/debian/packages deleted file mode 100644 index 80b0e25..0000000 --- a/debian/packages +++ /dev/null @@ -1,31 +0,0 @@ -## debian/packages for pgbouncer - -Source: pgbouncer -Section: contrib/misc -Priority: extra -Maintainer: Marko Kreen -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 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9b7f3e6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#! /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 +