debian/0000755000000000000000000000000012151331543007164 5ustar debian/watch0000644000000000000000000000033612071567720010230 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|HDBC-odbc-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/HDBC-odbc \ ([\d\.]*\d)/ debian/rules0000755000000000000000000000023412071567625010260 0ustar #!/usr/bin/make -f # Standard way of building Haskell libraries . include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/copyright0000644000000000000000000000320012071570056011117 0ustar This is hdbc-odbc, written and maintained by John Goerzen The original source can always be found at: http://software.complete.org/hdbc-odbc Copyright (c) 2005-2011, John Goerzen All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of John Goerzen nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/docs0000644000000000000000000000001212104777123010036 0ustar README.md debian/source/0000755000000000000000000000000012147720503010467 5ustar debian/source/format0000644000000000000000000000001412147720503011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012104776513010623 5ustar debian/patches/avoid-haddock-confusion0000644000000000000000000000326612104776513015253 0ustar Index: hdbc-odbc-2.3.1.1/Database/HDBC/ODBC/Statement.hsc =================================================================== --- hdbc-odbc-2.3.1.1.orig/Database/HDBC/ODBC/Statement.hsc 2012-12-01 19:12:26.000000000 +0100 +++ hdbc-odbc-2.3.1.1/Database/HDBC/ODBC/Statement.hsc 2013-02-07 20:14:20.339820784 +0100 @@ -489,9 +489,9 @@ -- This struct, and the ones which follow, are described here: -- http://msdn.microsoft.com/en-us/library/ms714556(v=VS.85).aspx data StructDate = StructDate - #{type SQLSMALLINT} -- ^ year - #{type SQLUSMALLINT} -- ^ month - #{type SQLUSMALLINT} -- ^ day + #{type SQLSMALLINT} + #{type SQLUSMALLINT} + #{type SQLUSMALLINT} deriving Show instance Storable StructDate where @@ -509,9 +509,9 @@ -- | StructTime is used to marshals the TIME_STRUCT: data StructTime = StructTime - #{type SQLUSMALLINT} -- ^ hour - #{type SQLUSMALLINT} -- ^ minute - #{type SQLUSMALLINT} -- ^ second + #{type SQLUSMALLINT} + #{type SQLUSMALLINT} + #{type SQLUSMALLINT} instance Storable StructTime where sizeOf _ = #{size TIME_STRUCT} @@ -527,13 +527,13 @@ -- | StructTimestamp is used to marshal the TIMESTAMP_STRUCT; data StructTimestamp = StructTimestamp - #{type SQLSMALLINT} -- ^ year - #{type SQLUSMALLINT} -- ^ month - #{type SQLUSMALLINT} -- ^ day - #{type SQLUSMALLINT} -- ^ hour - #{type SQLUSMALLINT} -- ^ minute - #{type SQLUSMALLINT} -- ^ second - #{type SQLUINTEGER} -- ^ fraction + #{type SQLSMALLINT} + #{type SQLUSMALLINT} + #{type SQLUSMALLINT} + #{type SQLUSMALLINT} + #{type SQLUSMALLINT} + #{type SQLUSMALLINT} + #{type SQLUINTEGER} instance Storable StructTimestamp where sizeOf _ = #{size TIMESTAMP_STRUCT} debian/patches/series0000644000000000000000000000003012104776513012031 0ustar avoid-haddock-confusion debian/compat0000644000000000000000000000000212147616377010402 0ustar 9 debian/control0000644000000000000000000000544012147621377010606 0ustar Source: hdbc-odbc Priority: extra Section: haskell Uploaders: John Goerzen Maintainer: Debian Haskell Group Build-Depends: debhelper (>= 9), ghc, ghc-prof, haskell-devscripts (>= 0.8.13), cdbs, cpphs, libghc-hdbc-dev (>= 2.2.0-2), libghc-hdbc-prof (>= 2.2.0-2), unixodbc-dev (>= 2.2.11), libghc-mtl-dev, libghc-hunit-dev, libghc-time-dev, libghc-convertible-dev, libghc-mtl-prof, libghc-hunit-prof, libghc-time-prof, libghc-convertible-prof Build-Depends-Indep: libghc-hdbc-doc, libghc-mtl-doc, libghc-hunit-doc, libghc-time-doc, libghc-convertible-doc Standards-Version: 3.9.4 Vcs-Darcs: http://darcs.debian.org/pkg-haskell/hdbc-odbc Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/hdbc-odbc Package: libghc-hdbc-odbc-dev Architecture: any Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends}, unixodbc-dev (>= 2.2.11) Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: unixODBC HDBC (Haskell Database Connectivity) Driver for GHC HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) . This package provides the ODBC database driver for HDBC under GHC. Package: libghc-hdbc-odbc-prof Architecture: any Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: unixODBC Haskell Database Connectivity Driver; profiling libraries HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) . This package provides the ODBC database driver for HDBC under GHC compiled for profiling. Package: libghc-hdbc-odbc-doc Replaces: haskell-hdbc-odbc-doc (<< 2.2.3.0-2) Conflicts: haskell-hdbc-odbc-doc (<< 2.2.3.0-2) Provides: haskell-hdbc-odbc-doc, ${haskell:Provides} Section: doc Architecture: all Depends: ${haskell:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: unixODBC HDBC (Haskell Database Connectivity) Documentation HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) . This package provides documentation for the ODBC database driver for HDBC under GHC. debian/gbp.conf0000644000000000000000000000003612071567625010617 0ustar [DEFAULT] pristine-tar = True debian/changelog0000644000000000000000000001600612151331543011041 0ustar hdbc-odbc (2.3.1.1-2build1) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Wed, 29 May 2013 08:50:59 +0100 hdbc-odbc (2.3.1.1-2) unstable; urgency=low * Enable compat level 9 * Bump standards version to 3.9.4 -- Joachim Breitner Fri, 24 May 2013 12:52:43 +0200 hdbc-odbc (2.3.1.1-1) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this package is built against experimental * Change Vcs headers to Darcs * Add watch file * New upstream release * debian/patches/avoid-haddock-confusion: Avoid a bug(?) in haddock * Fix -doc build dependencies -- Joachim Breitner Thu, 07 Feb 2013 20:19:54 +0100 hdbc-odbc (2.2.3.0-5) unstable; urgency=low * Bump to Standards-Version 3.9.3. -- Clint Adams Tue, 06 Mar 2012 11:04:28 -0500 hdbc-odbc (2.2.3.0-4) unstable; urgency=low * [4e01c9f] Standards-Version → 3.9.2, no changes required * [ca5d2bf] Rename {lib,}ghc6* to {lib,}ghc* * [46c3b78] Add missing substvars, particularly haskell:Provides * [f63f9d6] Add prof package -- Iain Lane Mon, 30 May 2011 16:14:46 +0100 hdbc-odbc (2.2.3.0-3) unstable; urgency=low * control: Use versioned Replaces: and Conflicts: -- Marco Túlio Gontijo e Silva Wed, 05 May 2010 23:13:57 -0300 hdbc-odbc (2.2.3.0-2) unstable; urgency=low * debian/control: Rename -doc package. -- Marco Túlio Gontijo e Silva Wed, 17 Mar 2010 19:45:16 -0300 hdbc-odbc (2.2.3.0-1) unstable; urgency=low * Rebuilt with latest GHC 6.12. * New upstream release. * from Joachim Breitner: Fix wrong description; said "Sqlite v3", thx to Josh Triplett for spotting it. (Closes: #560909) -- John Goerzen Wed, 17 Feb 2010 15:26:09 -0600 hdbc-odbc (2.2.0.0-3) unstable; urgency=low * Forgot hscolour dependency -- Joachim Breitner Sun, 06 Dec 2009 21:22:25 +0100 hdbc-odbc (2.2.0.0-2) unstable; urgency=low * Use hlibrary.mk (Closes: 559653) -- Joachim Breitner Sun, 06 Dec 2009 21:04:56 +0100 hdbc-odbc (2.2.0.0-1) unstable; urgency=low * New upstream release with better support for binary fields. * Switch to team maintenance. -- John Goerzen Tue, 03 Nov 2009 09:46:18 -0600 hdbc-odbc (2.1.0.0-3) unstable; urgency=low * Rebuild for newer utf8-string. -- John Goerzen Thu, 02 Jul 2009 15:23:54 -0500 hdbc-odbc (2.1.0.0-2) unstable; urgency=low * Rebuild for GHC 6.10. -- John Goerzen Wed, 11 Mar 2009 15:13:55 -0500 hdbc-odbc (2.1.0.0-1) unstable; urgency=low * New upstream release. -- John Goerzen Wed, 04 Feb 2009 14:11:16 -0600 hdbc-odbc (2.0.0.0-2) unstable; urgency=low * Added missing build-deps. Closes: #513694. -- John Goerzen Sat, 31 Jan 2009 09:35:29 -0600 hdbc-odbc (2.0.0.0-1) unstable; urgency=low * New upstream release. -- John Goerzen Fri, 30 Jan 2009 14:47:21 -0600 hdbc-odbc (1.1.6.0.1) unstable; urgency=high * Rebuild with newer GHC. -- John Goerzen Mon, 19 Jan 2009 16:15:40 -0600 hdbc-odbc (1.1.6.0.0) unstable; urgency=low * GHC 6.10 patch from Brian Bloniarz. * Use dh_haskell_depends. -- John Goerzen Tue, 30 Dec 2008 09:19:10 -0600 hdbc-odbc (1.1.4.4.1) unstable; urgency=low * Re-built against newer HDBC. -- John Goerzen Thu, 26 Jun 2008 09:17:04 -0500 hdbc-odbc (1.1.4.4.0) unstable; urgency=low * This version not uploaded to Debian. * Linking fix for Windows users. -- John Goerzen Tue, 03 Jun 2008 14:54:45 -0500 hdbc-odbc (1.1.4.3.0) unstable; urgency=low * Applied patch from Satoshi Nakamura to correct an error when loading UTF-8 data from MySQL that contains NULLs. -- John Goerzen Mon, 14 Apr 2008 13:42:18 -0500 hdbc-odbc (1.1.4.2.0) unstable; urgency=low * Fix two behaviors in the Statement binding that caused trouble for Progress databases. -- John Goerzen Tue, 08 Apr 2008 13:34:26 -0500 hdbc-odbc (1.1.4.1.0) unstable; urgency=low * New release that fixes OS detection for Windows. -- John Goerzen Wed, 02 Apr 2008 13:19:20 -0500 hdbc-odbc (1.1.4.0.1) unstable; urgency=low * Removed dep on parsec in cabal file. -- John Goerzen Tue, 29 Jan 2008 14:13:59 -0600 hdbc-odbc (1.1.4.0.0) unstable; urgency=low * Update for GHC 6.8. -- John Goerzen Fri, 11 Jan 2008 11:12:57 -0600 hdbc-odbc (1.1.3.1.0) unstable; urgency=low * Removed include of HsBase.h in helper file to assist with Hugs builds. Closes: #458644. -- John Goerzen Thu, 03 Jan 2008 09:41:25 -0600 hdbc-odbc (1.1.3.0.0) unstable; urgency=low * Strictified -- John Goerzen Wed, 31 Oct 2007 13:33:19 -0500 hdbc-odbc (1.1.2.2) unstable; urgency=low * Added missing line to Cabal file. -- John Goerzen Fri, 12 Oct 2007 16:00:53 -0500 hdbc-odbc (1.1.2.1) unstable; urgency=low * Rebuild for GHC 6.6.1. -- John Goerzen Wed, 06 Jun 2007 07:01:33 -0500 hdbc-odbc (1.1.2.0) unstable; urgency=low * Rebuild for HDBC 1.1.2. -- John Goerzen Thu, 03 May 2007 04:50:41 -0500 hdbc-odbc (1.1.0.0) unstable; urgency=low * New API thanks to patch from Peter Thiemann. -- John Goerzen Wed, 02 May 2007 05:58:54 -0500 hdbc-odbc (1.0.1.1) unstable; urgency=low * Fix some comments in which the # character confused Haddock * Change SQL_DRIVER_COMPLETE to SQL_DRIVER_NOPROMPT. Thanks to Ben Kavanagh for the fix. * Rebuilt against GHC 6.6. -- John Goerzen Thu, 19 Oct 2006 22:00:36 -0500 hdbc-odbc (1.0.1.0) unstable; urgency=low * Rebuild against HDBC 1.0.1. -- John Goerzen Sat, 22 Jul 2006 07:23:51 -0500 hdbc-odbc (1.0.0.1) unstable; urgency=low * Updated to now build on Windows. -- John Goerzen Tue, 18 Jul 2006 03:21:57 -0500 hdbc-odbc (1.0.0.0) unstable; urgency=low * Blessing as 1.0.0.0 * Rebuilding with GHC 6.4.2 for Debian -- John Goerzen Thu, 29 Jun 2006 19:03:05 -0500 hdbc-odbc (0.99.2.1) unstable; urgency=low * Give wrapobj a unique name so ODBC and PostgreSQL can coexist in a single binary. -- John Goerzen Tue, 28 Mar 2006 22:21:47 -0600 hdbc-odbc (0.99.2.0) unstable; urgency=low * Updated to 0.99.2: implemented new memory management system, optional transaction support, and metadata inquiry features. -- John Goerzen Tue, 28 Mar 2006 05:40:07 -0600 hdbc-odbc (0.99.0.0) unstable; urgency=low * Initial Release. -- John Goerzen Mon, 09 Jan 2006 05:31:21 -0600