libpgsql-ruby (0.8.0-1.1) debian-dir only changes

Summary

 debian/NEWS                                      |    9 
 debian/README.source                             |    1 
 debian/changelog                                 |  222 +++++++++++++++++++++++
 debian/compat                                    |    1 
 debian/control                                   |   46 ++++
 debian/copyright                                 |  106 ++++++++++
 debian/libpgsql-ruby-doc.docs                    |    5 
 debian/libpgsql-ruby-doc.examples                |    6 
 debian/libpgsql-ruby1.8.docs                     |    2 
 debian/libpgsql-ruby1.9.1.docs                   |    2 
 debian/patches/declare_pg_encoding_to_char.patch |   15 +
 debian/patches/series                            |    1 
 debian/rules                                     |  102 ++++++++++
 debian/watch                                     |    3 
 14 files changed, 521 insertions(+)

    
download this patch

Patch contents

--- libpgsql-ruby-0.8.0.orig/debian/libpgsql-ruby1.8.docs
+++ libpgsql-ruby-0.8.0/debian/libpgsql-ruby1.8.docs
@@ -0,0 +1,2 @@
+README
+README.ja
--- libpgsql-ruby-0.8.0.orig/debian/NEWS
+++ libpgsql-ruby-0.8.0/debian/NEWS
@@ -0,0 +1,9 @@
+libpgsql-ruby (0.7.9.2008.03.18-1) unstable; urgency=low
+
+  * As of this version, libpgsql-ruby package switched from ruby-postgres to
+    ruby-pg upstream source. If you are using this driver directly, you will
+    have to migrate your programs (library name has changed from "postgres" to
+    "pg", and there are API changes). If you are using Ruby/DBI, all you have
+    to do is upgrade your libdbi-ruby to version 0.2.0 or later.
+
+ -- Dmitry Borodaenko <angdraug@debian.org>  Thu, 10 Apr 2008 01:28:31 +0300
--- libpgsql-ruby-0.8.0.orig/debian/copyright
+++ libpgsql-ruby-0.8.0/debian/copyright
@@ -0,0 +1,106 @@
+Authors:
+  * Yukihiro Matsumoto <matz@ruby-lang.org>
+      Author of Ruby.
+  * Eiji Matsumoto <usagi@ruby.club.or.jp>
+      One of users who loves Ruby.
+  * Jeff Davis <ruby-pg@j-davis.com>
+
+Thanks to:
+  * Noboru Saitou <noborus@netlab.jp>
+      Past maintainer.
+  * Dave Lee
+      Past maintainer.
+  * Guy Decoux   ts <decoux@moulon.inra.fr> 
+  
+Maintainer:
+  Jeff Davis <ruby-pg@j-davis.com>
+
+Copying:
+  You may redistribute this software under the terms of the Ruby license,
+  included in the file "LICENSE". The Ruby license also allows distribution
+  under the terms of the GPL, included in the file "COPYING.txt" and the
+  file "GPL".
+
+  Portions of the code are from the PostgreSQL project, and are distributed
+  under the terms of the BSD license, included in the file "BSD".
+
+------------------------------------------------------------------------
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL-2, complete text of the
+BSD license can be found in /usr/share/common-licenses/BSD.
+
+The Ruby license is included below.
+
+------------------------------------------------------------------------
+
+Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
+You can redistribute it and/or modify it under either the terms of the GPL
+(see COPYING.txt file), or the conditions below:
+
+  1. You may make and give away verbatim copies of the source form of the
+     software without restriction, provided that you duplicate all of the
+     original copyright notices and associated disclaimers.
+
+  2. You may modify your copy of the software in any way, provided that
+     you do at least ONE of the following:
+
+       a) place your modifications in the Public Domain or otherwise
+          make them Freely Available, such as by posting said
+	  modifications to Usenet or an equivalent medium, or by allowing
+	  the author to include your modifications in the software.
+
+       b) use the modified software only within your corporation or
+          organization.
+
+       c) rename any non-standard executables so the names do not conflict
+	  with standard executables, which must also be provided.
+
+       d) make other distribution arrangements with the author.
+
+  3. You may distribute the software in object code or executable
+     form, provided that you do at least ONE of the following:
+
+       a) distribute the executables and library files of the software,
+	  together with instructions (in the manual page or equivalent)
+	  on where to get the original distribution.
+
+       b) accompany the distribution with the machine-readable source of
+	  the software.
+
+       c) give non-standard executables non-standard names, with
+          instructions on where to get the original software distribution.
+
+       d) make other distribution arrangements with the author.
+
+  4. You may modify and include the part of the software into any other
+     software (possibly commercial).  But some files in the distribution
+     are not written by the author, so that they are not under this terms.
+
+     They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
+     files under the ./missing directory.  See each file for the copying
+     condition.
+
+  5. The scripts and library files supplied as input to or produced as 
+     output from the software do not automatically fall under the
+     copyright of the software, but belong to whomever generated them, 
+     and may be sold commercially, and may be aggregated with this
+     software.
+
+  6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+     IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+     PURPOSE.
+
+------------------------------------------------------------------------
+
+Packaged for Debian by: Dmitry Borodaenko <angdraug@debian.org>, based
+on libpgsql-ruby package by Taku YASUI and Aurélien GÉRÔME
+
+Copyright (c) 2008  Dmitry Borodaenko <angdraug@debian.org>
+
+ruby-postgres was first debianized by Taku YASUI <tach@debian.or.jp> on
+Thu,  1 Feb 2001 19:33:32 +0900.
+
+Obtained from: http://rubyforge.org/projects/ruby-pg
+
--- libpgsql-ruby-0.8.0.orig/debian/libpgsql-ruby1.9.1.docs
+++ libpgsql-ruby-0.8.0/debian/libpgsql-ruby1.9.1.docs
@@ -0,0 +1,2 @@
+README
+README.ja
--- libpgsql-ruby-0.8.0.orig/debian/compat
+++ libpgsql-ruby-0.8.0/debian/compat
@@ -0,0 +1 @@
+5
--- libpgsql-ruby-0.8.0.orig/debian/rules
+++ libpgsql-ruby-0.8.0/debian/rules
@@ -0,0 +1,102 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+include /usr/share/quilt/quilt.make
+
+tmp = debian/tmp
+libdir18 = $(shell ruby1.8 -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
+archdir18 = $(shell ruby1.8 -r rbconfig -e 'print Config::CONFIG["archdir"]')
+libdir19 = $(shell ruby1.9.1 -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
+archdir19 = $(shell ruby1.9.1 -r rbconfig -e 'print Config::CONFIG["archdir"]')
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	-cd ext && $(MAKE) distclean
+	-rm -rf rdoc
+	rm -f build-ruby1.8-stamp build-ruby1.9.1-stamp debian/*.install
+
+	dh_clean
+
+build: build-ruby1.8-stamp build-ruby1.9.1-stamp
+
+build-ruby1.8-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+
+	# build
+	cd ext && ruby1.8 extconf.rb
+	cd ext && $(MAKE) CFLAGS="-fPIC -O2 -g -Wall"
+
+	rdoc1.8 -o rdoc --main PGconn --title "Ruby interface to PostgreSQL RDBMS" ext/pg.c
+
+	# install
+	install -d $(tmp)$(libdir18) $(tmp)$(archdir18)
+	install -m 644 ext/pg.so $(tmp)$(archdir18)/pg.so
+
+	echo $(tmp)$(archdir18) > debian/libpgsql-ruby1.8.install
+
+	# clean
+	cd ext && $(MAKE) clean
+
+	touch build-ruby1.8-stamp
+
+build-ruby1.9.1-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+
+	# build
+	cd ext && ruby1.9.1 extconf.rb
+	cd ext && $(MAKE) CFLAGS="-fPIC -O2 -g -Wall"
+
+	rdoc1.9.1 -o rdoc --main PGconn --title "Ruby interface to PostgreSQL RDBMS" ext/pg.c
+
+	# install
+	install -d $(tmp)$(libdir18) $(tmp)$(archdir19)
+	install -m 644 ext/pg.so $(tmp)$(archdir19)/pg.so
+
+	echo $(tmp)$(archdir19) > debian/libpgsql-ruby1.9.1.install
+
+	# clean
+	cd ext && $(MAKE) clean
+
+	touch build-ruby1.9.1-stamp
+
+binary-indep: build
+	dh_testdir -i
+	dh_testroot -i
+
+	dh_install -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installchangelogs ChangeLog -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -X.rb -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build
+	dh_testdir -a
+	dh_testroot -a
+
+	dh_install -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installchangelogs ChangeLog -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -X.rb -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-arch binary-indep
+.PHONY: clean binary-arch binary-indep binary build install
--- libpgsql-ruby-0.8.0.orig/debian/watch
+++ libpgsql-ruby-0.8.0/debian/watch
@@ -0,0 +1,3 @@
+version=2
+http://rubyforge.org/frs/?group_id=3214 \
+  .*/ruby-pg-([\d\.]*).tar.gz
--- libpgsql-ruby-0.8.0.orig/debian/libpgsql-ruby-doc.examples
+++ libpgsql-ruby-0.8.0/debian/libpgsql-ruby-doc.examples
@@ -0,0 +1,6 @@
+sample/psql.rb
+sample/psqlHelp.rb
+sample/test1.rb
+sample/test2.rb
+sample/test4.rb
+sample/losample.rb
--- libpgsql-ruby-0.8.0.orig/debian/control
+++ libpgsql-ruby-0.8.0/debian/control
@@ -0,0 +1,46 @@
+Source: libpgsql-ruby
+Maintainer: Dmitry Borodaenko <angdraug@debian.org>
+Section: ruby
+Priority: optional
+Homepage: http://rubyforge.org/projects/ruby-pg
+Build-Depends: debhelper (>= 5), quilt, libpq-dev, ruby1.8, ruby1.8-dev, rdoc1.8, ruby1.9.1, ruby1.9.1-dev, rdoc1.9.1
+Standards-Version: 3.8.1
+
+Package: libpgsql-ruby
+Architecture: all
+Depends: libpgsql-ruby1.8
+Description: PostgreSQL interface for Ruby
+ ruby-pg module allows Ruby programs to interface with the PostgreSQL
+ database engine. It supports the functions defined in libpq library.
+ .
+ This package is a dependency package, which depends on the package
+ containing actual ruby-pg module for the default Ruby version (currently 1.8).
+
+Package: libpgsql-ruby-doc
+Section: doc
+Architecture: all
+Description: Documentation for PostgreSQL interface for Ruby
+ ruby-pg module allows Ruby programs to interface with the PostgreSQL
+ database engine. It supports the functions defined in libpq library.
+ .
+ This package contains documentation and examples for ruby-pg module.
+
+Package: libpgsql-ruby1.8
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: libpgsql-ruby-doc
+Description: PostgreSQL interface for Ruby 1.8
+ ruby-pg module allows Ruby programs to interface with the PostgreSQL
+ database engine. It supports the functions defined in libpq library.
+ .
+ This package contains ruby-pg module for Ruby 1.8.
+
+Package: libpgsql-ruby1.9.1
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: libpgsql-ruby-doc
+Description: PostgreSQL interface for Ruby 1.9.1
+ ruby-pg module allows Ruby programs to interface with the PostgreSQL
+ database engine. It supports the functions defined in libpq library.
+ .
+ This package contains ruby-pg module for Ruby 1.9.1.
--- libpgsql-ruby-0.8.0.orig/debian/libpgsql-ruby-doc.docs
+++ libpgsql-ruby-0.8.0/debian/libpgsql-ruby-doc.docs
@@ -0,0 +1,5 @@
+README
+README.ja
+doc/postgres.html
+doc/postgres.jp.html
+rdoc
--- libpgsql-ruby-0.8.0.orig/debian/changelog
+++ libpgsql-ruby-0.8.0/debian/changelog
@@ -0,0 +1,222 @@
+libpgsql-ruby (0.8.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Switch from Ruby 1.9 to 1.9.1. Closes: #565832.
+
+ -- Lucas Nussbaum <lucas@lucas-nussbaum.net>  Sat, 13 Feb 2010 09:52:11 +0100
+
+libpgsql-ruby (0.8.0-1) unstable; urgency=low
+
+  * New upstream version
+  * Changed Section from interpreters to ruby.
+  * Debhelper compat level upgraded to 5.
+  * Standards-Version upgraded to 3.8.1.
+
+ -- Dmitry Borodaenko <angdraug@debian.org>  Thu, 09 Apr 2009 14:11:24 +0300
+
+libpgsql-ruby (0.7.9.2008.10.13-2) unstable; urgency=low
+
+  * Upload to unstable (Closes: #405420).
+
+ -- Dmitry Borodaenko <angdraug@debian.org>  Sat, 21 Feb 2009 12:31:59 +0200
+
+libpgsql-ruby (0.7.9.2008.10.13-1) experimental; urgency=low
+
+  * New upstream version.
+
+ -- Dmitry Borodaenko <angdraug@debian.org>  Sun, 26 Oct 2008 15:08:47 +0200
+
+libpgsql-ruby (0.7.9.2008.08.17-1) experimental; urgency=low
+
+  * New upstream version.
+  * Build a module for Ruby 1.9 in libpgsql-ruby1.9.
+  * Added build-depends on ruby1.9, ruby1.9-dev, rdoc1.9.
+  * Replaced dpatch with quilt.
+
+ -- Dmitry Borodaenko <angdraug@debian.org>  Sun, 28 Sep 2008 18:46:56 +0300
+
+libpgsql-ruby (0.7.9.2008.03.18-2) unstable; urgency=low
+
+  * Generate RDoc documentation (Closes: #476448).
+  * Split documentation into libpgsql-ruby-doc package.
+  * Updated to Standards-Version 3.8.0:
+    - Homepage: field added to control file
+    - README.source added.
+
+ -- Dmitry Borodaenko <angdraug@debian.org>  Sun, 29 Jun 2008 18:41:22 +0300
+
+libpgsql-ruby (0.7.9.2008.03.18-1) unstable; urgency=low
+
+  * New maintainer.
+  * Switched upstream source from ruby-postgres to ruby-pg (Closes: #474748).
+  * Bumped standards version to 3.7.3.
+
+ -- Dmitry Borodaenko <angdraug@debian.org>  Thu, 10 Apr 2008 01:28:50 +0300
+
+libpgsql-ruby (0.7.1-10) unstable; urgency=low
+
+  * Add dpatch support.
+  * Dummy package is now architecture all.
+  * Rework debian/rules.
+  * Conform to policy by using "-O2 -g -Wall" as CFLAGS.
+  * Include pg_encoding_to_char() declaration from pg_wchar.h which
+    is not included directly, because it makes libpgsql-ruby FTBFS
+    due to a non-existing bool type. (Closes: #318858)
+
+ -- Aurélien GÉRÔME <ag@roxor.cx>  Mon, 16 Oct 2006 00:28:58 +0200
+
+libpgsql-ruby (0.7.1-9) unstable; urgency=low
+
+  * Adopt the package (closes: 379991).
+  * Remove libpgsql-ruby1.6 leftovers.
+  * Remove watch file, because evenif the URL exists, uscan cannot
+    get it.
+
+ -- Aurélien GÉRÔME <ag@roxor.cx>  Sat, 29 Jul 2006 00:09:28 +0200
+
+libpgsql-ruby (0.7.1-8) unstable; urgency=low
+
+  * Orphan package
+    - Change maintainer to Debian QA Group <packages@qa.debian.org>
+  * Remove package for ruby1.6
+    (closes: #366577)
+
+ -- Taku YASUI <tach@debian.or.jp>  Sun, 15 Jan 2006 23:48:53 +0900
+
+libpgsql-ruby (0.7.1-7) unstable; urgency=low
+
+  * debian/rules: Determine correct PostgreSQL includes using pg_config
+    (closes: #335972)
+  * Add debian/compat file and remove DH_COMPAT line from debian/rules
+
+ -- Taku YASUI <tach@debian.or.jp>  Sun, 15 Jan 2006 23:47:26 +0900
+
+libpgsql-ruby (0.7.1-6) unstable; urgency=low
+
+  * Followup-to new standard version: 3.6.2.1
+  * Fix depends/suggests duplication
+
+ -- Taku YASUI <tach@debian.or.jp>  Mon, 18 Jul 2005 06:52:44 +0900
+
+libpgsql-ruby (0.7.1-5) unstable; urgency=low
+
+  * Change Upstream Maintainer to Dave Lee <dave@cherryville.org>
+
+ -- Taku YASUI <tach@debian.or.jp>  Mon, 18 Jul 2005 06:50:53 +0900
+
+libpgsql-ruby (0.7.1-4) unstable; urgency=low
+
+  * Rebuild for posgres 8.0
+
+ -- Taku YASUI <tach@debian.or.jp>  Mon, 18 Jul 2005 06:41:07 +0900
+
+libpgsql-ruby (0.7.1-3) unstable; urgency=low
+
+  * Make compliant with new Debian Ruby Policy
+
+ -- Taku YASUI <tach@debian.or.jp>  Sun, 21 Sep 2003 00:55:48 +0900
+
+libpgsql-ruby (0.7.1-2) unstable; urgency=low
+
+  * Change debian/watch file
+  * Make compliant with Debian Ruby Policy
+  * Write more details to long description
+    (closes: #209589)
+
+ -- Taku YASUI <tach@debian.or.jp>  Wed, 10 Sep 2003 19:53:39 +0900
+
+libpgsql-ruby (0.7.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Rebuild with postgresql 7.3.1
+    (closes: #176816)
+
+ -- Taku YASUI <tach@debian.or.jp>  Wed, 15 Jan 2003 23:09:19 +0900
+
+libpgsql-ruby (0.7.0-pre2-4) unstable; urgency=low
+
+  * Re-package for new ruby release.
+
+ -- Taku YASUI <tach@debian.or.jp>  Fri, 27 Dec 2002 12:01:21 +0900
+
+libpgsql-ruby (0.7.0-pre2-3) unstable; urgency=low
+
+  * Fix: get_notify doesn't get relname properly (closes: #163779)
+
+ -- Taku YASUI <tach@debian.or.jp>  Thu, 10 Oct 2002 13:13:26 +0900
+
+libpgsql-ruby (0.7.0-pre2-2) unstable; urgency=low
+
+  * Add debian/watch file
+  * Change upstream download URL
+
+ -- Taku YASUI <tach@debian.or.jp>  Tue,  3 Sep 2002 05:20:40 +0900
+
+libpgsql-ruby (0.7.0-pre2-1) unstable; urgency=low
+
+  * New upstream release
+  * Moved from non-US to main
+
+ -- Taku YASUI <tach@debian.or.jp>  Tue,  3 Sep 2002 04:43:19 +0900
+
+libpgsql-ruby (0.6.5-3) unstable; urgency=low
+
+  * Maintainer Release.
+
+ -- Taku YASUI <tach@debian.or.jp>  Fri, 12 Apr 2002 02:28:47 +0900
+
+libpgsql-ruby (0.6.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Tighten ruby build-dependencies (closes: #141689).
+  * Similarly, tighten build-dependency on postgresql-dev for the libpgsql2
+    transition.
+
+ -- Colin Watson <cjwatson@debian.org>  Thu, 11 Apr 2002 13:01:26 +0100
+
+libpgsql-ruby (0.6.5-2) unstable; urgency=low
+
+  * recompile for new version of ruby and libpgsql.
+    (closes: #136504, #136507)
+
+ -- Taku YASUI <tach@debian.or.jp>  Thu,  7 Mar 2002 03:03:53 +0900
+
+libpgsql-ruby (0.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * recompile for new version of ruby.
+    (closes: #126597) 
+
+ -- Taku YASUI <tach@debian.or.jp>  Fri, 28 Dec 2001 01:31:25 +0900
+
+libpgsql-ruby (0.6.4-3) unstable; urgency=low
+
+  * recompile for new version of ruby.
+    (closes: #112882)
+
+ -- Taku YASUI <tach@debian.or.jp>  Thu, 20 Sep 2001 22:41:42 +0900
+
+libpgsql-ruby (0.6.4-2) unstable; urgency=low
+
+  * Re-package for new postgres release.
+  * Depends on same version of libruby.
+
+ -- Taku YASUI <tach@debian.or.jp>  Sun, 22 Jul 2001 16:56:36 +0900
+
+libpgsql-ruby (0.6.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Taku YASUI <tach@debian.or.jp>  Thu, 17 May 2001 12:38:01 +0900
+
+libpgsql-ruby (0.6.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Taku YASUI <tach@debian.or.jp>  Fri,  9 Feb 2001 01:30:37 +0900
+
+libpgsql-ruby (0.6.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Taku YASUI <tach@debian.or.jp>  Thu,  1 Feb 2001 19:33:32 +0900
--- libpgsql-ruby-0.8.0.orig/debian/README.source
+++ libpgsql-ruby-0.8.0/debian/README.source
@@ -0,0 +1 @@
+Uses quilt. See quilt(1).
--- libpgsql-ruby-0.8.0.orig/debian/patches/series
+++ libpgsql-ruby-0.8.0/debian/patches/series
@@ -0,0 +1 @@
+declare_pg_encoding_to_char.patch
--- libpgsql-ruby-0.8.0.orig/debian/patches/declare_pg_encoding_to_char.patch
+++ libpgsql-ruby-0.8.0/debian/patches/declare_pg_encoding_to_char.patch
@@ -0,0 +1,15 @@
+Declare pg_encoding_to_char() to avoid an implicit declaration (by Aurélien
+GÉRÔME <ag@roxor.cx>).
+
+diff -urNad ruby-pg-0.7.9.2008.03.18~/ext/pg.c ruby-pg-0.7.9.2008.03.18/ext/pg.c
+--- ruby-pg-0.7.9.2008.03.18~/ext/pg.c	2006-10-16 01:38:23.000000000 +0200
++++ ruby-pg-0.7.9.2008.03.18/ext/pg.c	2006-10-16 01:38:38.000000000 +0200
+@@ -25,6 +25,8 @@
+ 
+ #define rb_define_singleton_alias(klass,new,old) rb_define_alias(rb_singleton_class(klass),new,old)
+ 
++extern const char *pg_encoding_to_char(int encoding); /* Taken from mb/pg_wchar.h. */
++
+ static VALUE rb_cPGconn;
+ static VALUE rb_cPGresult;
+