debian/0000755000000000000000000000000012254420373007170 5ustar debian/rules0000755000000000000000000000116612254412213010246 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_strip: dh_strip --dbg-package=ruby-odbc-dbg override_dh_auto_install: dh_auto_install -O--buildsystem=ruby rm -rf debian/ruby-odbc/usr/lib/ruby/vendor_ruby/cqgen.rb debian/watch0000644000000000000000000000030111635725537010227 0ustar # Run the "uscan" command to check for upstream updates and more. # Site Directory Pattern Version Script version=2 http://www.ch-werner.de/rubyodbc/ ruby-odbc-(.*)\.tar\.gz debian uupdate debian/source/0000755000000000000000000000000012254412213010462 5ustar debian/source/format0000644000000000000000000000001411635725537011712 0ustar 3.0 (quilt) debian/ruby-odbc.examples0000644000000000000000000000000512254412213012603 0ustar test debian/ruby-odbc.docs0000644000000000000000000000002512254412213011717 0ustar README doc/odbc.html debian/README.Debian0000644000000000000000000000156211635725537011251 0ustar Note for dynamic loading of ODBC Managers ========================================= Most platforms support dynamic loading of libraries using the dlopen() mechanism, which the libraries in this package tries to use. Therefore, any ODBC Managers such as iODBC, unixODBC or others which are installed in your machine are available to use with the libraries. You can specify a particular one by using environment variables: RUBY_ODBC_DM, RUBY_ODBC_INST. For example, $ RUBY_ODBC_DM=libodbc.so RUBY_ODBC_INST=libodbc.so ruby test.rb Note for the UTF-8 version ========================== If you use the UTF-8 version, require 'odbc_utf8' must be called before loading DBI::ODBC Driver, which tries to bind 'odbc'. This way leads to getting the module name 'ODBC' and 'ODBC_NONE' for 'odbc_utf8' and 'odbc' respectively. -- Daigo Moriwaki Tue, 25 Mar 2009 debian/copyright0000644000000000000000000000706112254420373011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ruby-odbc Upstream-Contact: Christian Werner Source: http://www.ch-werner.de/rubyodbc/ Files: ext/init.c ext/utf8/init.c Copyright: 2006-2007 Christian Werner License: GPL-2 or other Files: ext/odbc.c Copyright: 2001-2013 Christian Werner 2004 Ryszard Niewisiewicz 2006 Carl Blakeley License: GPL-2 or other Files: ext/utf8/odbc.c Copyright: 2001-2011 Christian Werner License: GPL-2 or other Files: debian/* Copyright: 2004-2009 Daigo Moriwaki 2013 Jonas Genannt License: GPL-2+ License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2. . On Debian systems the full text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 or later. . On Debian systems the full text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. License: other 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) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: . a) distribute the binaries 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 binaries 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). . 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. debian/control0000644000000000000000000000352112254412213010566 0ustar Source: ruby-odbc Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Daigo Moriwaki , Deepak Tripathi , Paul van Tilburg Build-Depends: debhelper (>= 7.0.0), libiodbc2-dev, gem2deb (>= 0.3.0~) Standards-Version: 3.9.5 Homepage: http://www.ch-werner.de/rubyodbc/ Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-odbc.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-odbc.git;a=summary XS-Ruby-Versions: all Package: ruby-odbc Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, libiodbc2 | unixodbc, ruby | ruby-interpreter Suggests: libdbi-ruby1.8, libdbi-ruby1.9 Description: ODBC Binding for Ruby ODBC is a standard API for connecting to ODBC data sources such as Relational Database Management Systems (RDBMSs). For accessing ODBC data sources from the Ruby language, an ODBC binding library and Ruby interface are required. This package provides them for both Ruby 1.8 and 1.9.1. . This package includes both UTF-8 and non-UTF-8 versions. Package: ruby-odbc-dbg Section: debug Architecture: any XB-Ruby-Versions: ${ruby:Versions} Priority: extra Depends: ruby-odbc (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: ODBC Binding for Ruby (debugging symbols) ODBC is a standard API for connecting to ODBC data sources such as Relational Database Management Systems (RDBMSs). For accessing ODBC data sources from the Ruby language, an ODBC binding library and Ruby interface are required. This package provides them for both Ruby 1.8 and 1.9.1. . This package includes both UTF-8 and non-UTF-8 versions. . This package allows developers to interpret core dumps by providing backtrace names for debuggers debian/patches/0000755000000000000000000000000012254412213010611 5ustar debian/patches/series0000644000000000000000000000006012254412213012022 0ustar ext_enable_dlopen.patch 001extconf_dlopen.patch debian/patches/ext_enable_dlopen.patch0000644000000000000000000000115412254412213015302 0ustar Description: enable "--enable-dlopen" Author: Jonas Genannt Forwarded: not-needed --- a/ext/extconf.rb +++ b/ext/extconf.rb @@ -28,7 +28,7 @@ puts "ERROR: sqlext.h not found" exit 1 end -testdlopen = enable_config("dlopen", false) +testdlopen = true begin if PLATFORM !~ /(mingw|cygwin)/ then header = "sqltypes.h" --- a/ext/utf8/extconf.rb +++ b/ext/utf8/extconf.rb @@ -48,7 +48,7 @@ puts "ERROR: sqlext.h not found" exit 1 end -testdlopen = enable_config("dlopen", false) +testdlopen = true begin if PLATFORM !~ /(mingw|cygwin)/ then header = "sqltypes.h" debian/patches/001extconf_dlopen.patch0000644000000000000000000000245612254412213015071 0ustar Description: this enables a dlopen check process. Author: Daigo Moriwaki Forwarded: not-needed --- a/ext/extconf.rb +++ b/ext/extconf.rb @@ -93,7 +93,7 @@ have_library("odbc32", "") have_library("odbccp32", "") have_library("user32", "") -elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && CONFIG["CC"] =~ /gcc/ && have_func("dlopen", "dlfcn.h") && have_library("dl", "dlopen")) then +elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && have_func("dlopen", "dlfcn.h") && have_library("dl", "dlopen")) then $LDFLAGS+=" -Wl,-init -Wl,ruby_odbc_init -Wl,-fini -Wl,ruby_odbc_fini" $CPPFLAGS+=" -DHAVE_SQLCONFIGDATASOURCE" $CPPFLAGS+=" -DHAVE_SQLINSTALLERERROR" --- a/ext/utf8/extconf.rb +++ b/ext/utf8/extconf.rb @@ -122,7 +122,7 @@ have_func("SQLReadFileDSNW", header) have_func("SQLInstallerError", header) have_func("SQLInstallerErrorW", header) -elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && CONFIG["CC"] =~ /gcc/ && have_func("dlopen", "dlfcn.h") && have_library("dl", "dlopen")) then +elsif (testdlopen && PLATFORM !~ /(macos|darwin)/ && have_func("dlopen", "dlfcn.h") && have_library("dl", "dlopen")) then $LDFLAGS+=" -Wl,-init -Wl,ruby_odbc_init -Wl,-fini -Wl,ruby_odbc_fini" $CPPFLAGS+=" -DHAVE_SQLCONFIGDATASOURCE" $CPPFLAGS+=" -DHAVE_SQLINSTALLERERROR" debian/compat0000644000000000000000000000000211635725537010402 0ustar 7 debian/ruby-odbc.doc-base0000644000000000000000000000041612254412213012450 0ustar Document: ruby-odbc Title: Documentation of ODBC binding for Ruby Author: Christian Werner Abstract: API Documentation for ODBC bindings for Ruby Section: Programming/Ruby Format: HTML Index: /usr/share/doc/ruby-odbc/odbc.html Files: /usr/share/doc/ruby-odbc/odbc.html debian/changelog0000644000000000000000000001761212254420373011051 0ustar ruby-odbc (0.99995-1) unstable; urgency=low * Team upload. [ Cédric Boutillier ] * debian/control: remove obsolete DM-Upload-Allowed flag * debian/control: fix Vcs-* fields [ Jonas Genannt ] * Switched package to gem2deb helper - added docbase for html file * Imported Upstream version 0.99995 * refreshed patch 001exitconf_dlopen * d/control - removed transitional packages (removed lintian override) - bumped standards version to 3.9.5 (no changes needed) - * updated short description of -dbg, added dh_strip override * d/copyright - update to format 1.0 - added myself to copyright - updated copyright year of ext/odbc.c entry * added patch to enable extconf option -- Jonas Genannt Wed, 18 Dec 2013 20:53:56 +0100 ruby-odbc (0.99994-4) unstable; urgency=low * debian/control: - Changed depend to ruby | ruby-interpreter instead of ruby1.8 | ruby-interpreter. -- Paul van Tilburg Tue, 29 May 2012 20:54:21 +0200 ruby-odbc (0.99994-3) unstable; urgency=low * debian/rules: install in $prefix/lib/ruby/vendor instead of $prefix/lib/ruby as per Ruby policy. -- Paul van Tilburg Fri, 11 May 2012 19:38:06 +0200 ruby-odbc (0.99994-2) unstable; urgency=low * debian/control: - Bumped standards version to 3.9.3; no changes required. - Switched the Maintainer/Uploaders fields (as per team convention). - Added myself to Uploaders. - Added the missing libodbc-ruby-doc transitional package. - Updated the replaces/breaks/provides fields of the main package. - Ensure that the lib*-ruby packages are priority "extra". * debian/source/lintian-overrides: the libodbc-*-dbg packages are transitional packages, not debug packages. -- Paul van Tilburg Tue, 08 May 2012 15:32:26 +0200 ruby-odbc (0.99994-1) unstable; urgency=low * New upstream release. * debian/control: Bumped up Standards-Version to 3.9.2. * Renamed packages to fit the new Debian Ruby Policy. - Deprecated: libodbc-ruby, libodbc-ruby1.8, libodbc-ruby1.9.1, libodbc-ruby1.8-dbg, libodbc-ruby1.9.1-dbg, libodbc-ruby-doc - New: ruby-odbc, ruby-odbc-dbg. * Removed debian/libodbc-ruby-doc.docs, debian/libodbc-ruby-doc.examples , which are merged into debian/rules. * Updated debian/copyright. -- Daigo Moriwaki Thu, 19 May 2011 00:03:04 +0900 libodbc-ruby (0.99991-2) unstable; urgency=low [ Deepak Tripathi ] * NOT RELEASED YET * debian/control + added a dummy package. ( Closes: #584220) -- Daigo Moriwaki Sat, 05 Jun 2010 09:41:57 +0900 libodbc-ruby (0.99991-1) unstable; urgency=low * New upstream release * Switch to dpkg-source 3.0 (quilt) format + Added debian/source * Bumped Standard Version to 3.8.4 * Updated debian/patches + Added quilt patch, removed dpatch because upstream has new directory structure * Updated .example. no test.rb is available with new release * Updated debian/control + Added Build-Depends for ruby1.9.1 + Removed dpatch from Build-Depends + Added myself to Uploaders * Updated debian/rules + Port to ruby1.9.1 (Closes: #507695) + Changed the directory structure for make + Removed dpatch.mk [ Lucas Nussbaum ] * Fixed Vcs-* fields after pkg-ruby-extras SVN layout change. -- Daigo Moriwaki Fri, 07 May 2010 16:50:04 +0900 libodbc-ruby (0.9997-2) unstable; urgency=low * debian/copyright: - Changed the GPL reference to /usr/share/common-licenses/GPL-2, which is what the upstream includes in its package. - Changed the file format. -- Daigo Moriwaki Sun, 14 Jun 2009 22:42:16 +0900 libodbc-ruby (0.9997-1) unstable; urgency=low * New upstream release. -- Daigo Moriwaki Sun, 14 Jun 2009 22:34:23 +0900 libodbc-ruby (0.9996-2) unstable; urgency=low * The libraries load a ODBC manager dynamically (i.e. runtime). Consult debina/README.Debian in details. * debian/control: - Separate a documentation package. - Add a debug package. - Bump up Standards-Version to 3.8.1. * debian/rules - Move to the CDBS style. - The upstream's chanelog is now installed. * debian/compat - Bump up the compatibility level to 7. * Added debian/patches/20090325_extconf_dlopen.dpatch: this enables a dlopen check process. -- Daigo Moriwaki Tue, 24 Mar 2009 12:14:43 +0900 libodbc-ruby (0.9996-1) unstable; urgency=low * New upstream release * debian/rules: Fixed a lintian error debian-rules-ignores-make-clean-error. * debian/control: Bumped up the Standards-Version to 3.8.0. -- Daigo Moriwaki Sun, 22 Feb 2009 18:52:46 +0900 libodbc-ruby (0.9995-2) unstable; urgency=low [ Lucas Nussbaum ] * Use new Homepage dpkg header. -- Lucas Nussbaum Sat, 08 Dec 2007 00:33:24 +0100 libodbc-ruby (0.9995-1) unstable; urgency=low * New upstream release. * Stopped specifying each member of the team in `Uploaders' in debian/control. -- Daigo Moriwaki Fri, 20 Apr 2007 19:13:47 +0900 libodbc-ruby (0.9993-1) unstable; urgency=low * New upstream release. -- Daigo Moriwaki Sat, 16 Sep 2006 22:49:26 +0900 libodbc-ruby (0.9991-1) unstable; urgency=low * New upstream release. -- Daigo Moriwaki Wed, 9 Aug 2006 21:47:19 +0900 libodbc-ruby (0.999-2) unstable; urgency=low * debian/README.Debian : added -- Daigo Moriwaki Fri, 7 Jul 2006 19:01:35 +0900 libodbc-ruby (0.999-1) unstable; urgency=low * New upstream release. * Now unixODBC driver is also available. The upstream supports dynamic linking (dlopen(3)) to load a shared library from iODBC or unixODBC driver. -- Daigo Moriwaki Fri, 7 Jul 2006 19:14:52 +0900 libodbc-ruby (0.998-1) unstable; urgency=low * New upstream release. * debian/cotrol: upgrade standard varsion to the currnet version, 3.7.2. -- Daigo Moriwaki Mon, 5 Jun 2006 22:36:14 +0900 libodbc-ruby (0.997-2) unstable; urgency=low * Remove libodbc-ruby1.6 package because ruby1.6 is scheduled to be dropped from the archive before the release of etch. Thanks to Stefan Huehner. (Closes: #366575) * This package is now managed by Debian/Ruby Extras team. http://pkg-ruby-extras.alioth.debian.org/ -- Daigo Moriwaki Wed, 10 May 2006 22:37:18 +0900 libodbc-ruby (0.997-1) unstable; urgency=low * New upstream release -- Daigo Moriwaki Wed, 11 Jan 2006 21:14:04 +0900 libodbc-ruby (0.996-3) unstable; urgency=low * Remove debian/README.Debian because it repeats explanation in the descriptions. * debian/control: rewrite long descriptions and add `Suggests' lines. * Refactored debian/rules. -- Daigo Moriwaki Sat, 30 Apr 2005 17:04:05 +0900 libodbc-ruby (0.996-2) unstable; urgency=low * Refactored debian/rules to use `build-*-stamp'. -- Daigo Moriwaki Wed, 27 Apr 2005 12:41:10 +0900 libodbc-ruby (0.996-1) unstable; urgency=low * New upstream release * Correct debian/watch. -- Daigo Moriwaki Sun, 2 Jan 2005 17:35:21 +0900 libodbc-ruby (0.994-1) unstable; urgency=low * New upstream release -- Daigo Moriwaki Sat, 17 Jul 2004 11:43:41 +0900 libodbc-ruby (0.992-1) unstable; urgency=low * New upstream release -- Daigo Moriwaki Fri, 23 Apr 2004 22:52:04 +0900 libodbc-ruby (0.991-2) unstable; urgency=low * Add "Uploaders" in the control file. -- Daigo Moriwaki Sat, 27 Mar 2004 18:32:14 +0900 libodbc-ruby (0.991-1) unstable; urgency=low * Initial Release. -- Daigo Moriwaki Sat, 13 Mar 2004 12:47:03 +0900