]> granicus.if.org Git - pgbouncer/commitdiff
debian/: drop yada, use simple cdbs packaging
authorMarko Kreen <markokr@gmail.com>
Tue, 13 Dec 2011 13:09:55 +0000 (15:09 +0200)
committerMarko Kreen <markokr@gmail.com>
Tue, 13 Dec 2011 13:09:55 +0000 (15:09 +0200)
debian/changelog
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/packages [deleted file]
debian/rules [new file with mode: 0755]

index ebb9d54f05ee910469ccc5887258b914edfb6875..c8b128c368ba0ddbc9b6dd79c80b1caa978cb186 100644 (file)
@@ -146,7 +146,7 @@ pgbouncer (1.3rc1-0) unstable; urgency=low
 
   * 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
 
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..f3c9347
--- /dev/null
@@ -0,0 +1,12 @@
+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
+ .
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..3c19f48
--- /dev/null
@@ -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 (file)
index 80b0e25..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-## 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
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..9b7f3e6
--- /dev/null
@@ -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
+