--- rodbc-1.1.7.orig/debian/changelog +++ rodbc-1.1.7/debian/changelog @@ -0,0 +1,118 @@ +rodbc (1.1.7-1) unstable; urgency=low + + * New upstream release + + * debian/rules: Simplified to cdbs-based one-liner sourcing r-cran.mk + * debian/control: Hence Build-Depends: updated to r-base-dev (>= 2.3.1) + + * debian/post{inst,rm}: No longer call R to update html index + + * debian/control: Standards-Version: increased to 3.7.2 + + -- Dirk Eddelbuettel Wed, 30 Aug 2006 22:24:43 -0500 + +rodbc (1.1.6-2) unstable; urgency=low + + * Rebuilt with -sa to force upload of the upstream orig.tar.gz + which got missed last time due to an incorrectly named file + + -- Dirk Eddelbuettel Tue, 4 Apr 2006 20:22:22 -0500 + +rodbc (1.1.6-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 4 Apr 2006 19:25:18 -0500 + +rodbc (1.1.5-2) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * With thanks to Steve Langasek, this releases fixes an 64-bit bug + on amd64 that was noticed by Johannes Ranke (Closes: #354723) + + [ Steve Langasek ] + * RODBC.c: Fix a handful of SQL types for 64-bit compatibility + * debian/rules: Define -DBUILD_REAL_64_BIT_MODE + + -- Dirk Eddelbuettel Sat, 4 Mar 2006 16:56:05 -0600 + +rodbc (1.1.5-1) unstable; urgency=low + + * New upstream release + * debian/post{inst,rm}: No longer call /usr/bin/R + + -- Dirk Eddelbuettel Tue, 10 Jan 2006 15:01:45 -0600 + +rodbc (1.1.4-1) unstable; urgency=low + + * New upstream release + * debian/post{inst,rm}: Call /usr/bin/R with explicitly (thanks, Kurt Hornik) + * debian/control: Upgraded Standards-Version: to 3.6.2.1 + * debian/watch: Corrected regular expression with (thanks, Rafael Laboissier) + + * configure.ac: Revert back from AC_INIT([RODBC]) to AC_INIT(DESCRIPTION) + as building inside the source failed with this new change, report upstream + + -- Dirk Eddelbuettel Fri, 5 Aug 2005 20:27:49 -0500 + +rodbc (1.1.3-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 7 Feb 2005 20:55:59 -0600 + +rodbc (1.1.2-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Wed, 27 Oct 2004 20:58:49 -0500 + +rodbc (1.1.1-2) unstable; urgency=low + + * Rebuilt under R 2.0.0 + * debian/control: Updated Build-Depends: and Depends: accordingly + * debian/watch: Added watch file + + -- Dirk Eddelbuettel Thu, 7 Oct 2004 22:48:10 -0500 + +rodbc (1.1.1-1) unstable; urgency=low + + * New upstream release + * debian/control: Expanded Description text (Closes: #209923) + * debian/control: Increased Standards-Version to 3.6.1.1 + * debian/control: Increased Build-Depends to current R version + * debian/post{inst,rm}: Call build-help.pl to update package.html list + + -- Dirk Eddelbuettel Wed, 15 Sep 2004 20:57:52 -0500 + +rodbc (1.0.4-1) unstable; urgency=low + + * New upstream release + * debian/rules: Rewritten using (invariant) cdbs template + * debian/control: Increased Standards-Version to 3.6.0 + * debian/control: Added cdbs to Build-Depends + + -- Dirk Eddelbuettel Mon, 28 Jul 2003 21:01:04 -0500 + +rodbc (1.0.3-1) unstable; urgency=low + + * New upstream release + * debian/control: Build-Depends simplified in line with R 1.7.1 + * debian/control: Increased Standards-Version to 3.5.10 + + -- Dirk Eddelbuettel Thu, 19 Jun 2003 21:16:01 -0500 + +rodbc (1.0.2-1) unstable; urgency=low + + * New upstream release + * debian/rules: Install into $R_HOME/site-library + + -- Dirk Eddelbuettel Thu, 15 May 2003 21:51:13 -0500 + +rodbc (1.0.1-1) unstable; urgency=low + + * Initial Debian Release + + -- Dirk Eddelbuettel Sun, 2 Mar 2003 09:02:03 -0600 + + --- rodbc-1.1.7.orig/debian/control +++ rodbc-1.1.7/debian/control @@ -0,0 +1,24 @@ +Source: rodbc +Section: math +Priority: optional +Maintainer: Dirk Eddelbuettel +Build-Depends: debhelper (>>4.1.0), cdbs, r-base-dev (>= 2.3.1), unixodbc-dev +Standards-Version: 3.7.2 + +Package: r-cran-rodbc +Architecture: any +Depends: ${shlibs:Depends}, r-base-core (>= 2.3.1) +Suggests: odbc-postgresql, libmyodbc +Description: GNU R package for ODBC database access + This CRAN package provides access to any Open DataBase Connectivity (ODBC) + accessible database. + . + The package should be platform independent and provide access to any + database for which a driver exists. It has been tested with MySQL + and PostgreSQL on both Linux and Windows (and to those DBMSs on Linux + hosts from R under Windows), Microsoft Access, SQL Server and Excel + spreadsheets (read-only), and users have reported success with + connections to Oracle and DBase. + . + Usage is covered in the R Data Import/Export manual (available via the + r-doc-pdf, r-doc-html and r-doc-info packages). --- rodbc-1.1.7.orig/debian/copyright +++ rodbc-1.1.7/debian/copyright @@ -0,0 +1,31 @@ +This is the Debian GNU/Linux r-cran-rodbc package of rodbc, an ODBC +database access package for GNU R. RODBC was originally written by +Michael Lapsley and is now maintained +by B. D. Ripley . + +This package was created by Dirk Eddelbuettel . +The sources were downloaded from + http://cran.us.r-project.org/src/contrib/ + +The package was renamed from its upstream name 'RODBC' to 'r-cran-rodbc' +to highlight the fact that is it a CRAN package for R, and to match +Debian's convention of lowercase package names. + +RODBC is copyright Michael Lapsley and Brian D. Ripley and released under +(version 2 or higher of) the GNU General Public License (GPL). + +On a Debian GNU/Linux system, the GPL license is included in the file +/usr/share/common-licenses/GPL. + +For reference, the upstream DESCRIPTION file is included below: + + Package: RODBC + Version: 1.0-1 + Date: 2003-01-20 + Author: Originally Michael Lapsley , + later B. D. Ripley + Maintainer: B. D. Ripley + Title: ODBC database access + Description: An ODBC database interface + Depends: R (>= 1.6.0) + License: GPL2 --- rodbc-1.1.7.orig/debian/postinst +++ rodbc-1.1.7/debian/postinst @@ -0,0 +1,25 @@ +#!/bin/sh +# -*- makefile -*- +# debian/postinst file for the Debian/GNU Linux r-cran-rodbc package +# Copyright 2004, 2005 by Dirk Eddelbuettel + +set -e + +#DEBHELPER# + +case "$1" in + configure) +# if test -x /usr/bin/R; then +# /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists +# fi + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + ;; +esac + + +exit 0 + --- rodbc-1.1.7.orig/debian/postrm +++ rodbc-1.1.7/debian/postrm @@ -0,0 +1,25 @@ +#!/bin/sh +# -*- makefile -*- +# debian/postrm file for the Debian/GNU Linux r-cran-rodbc package +# Copyright 2004, 2005 by Dirk Eddelbuettel + +set -e + +#DEBHELPER# + +case "$1" in + upgrade|remove|purge) +# if test -x /usr/bin/R; then +# /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists +# fi + ;; + failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + ;; +esac + + +exit 0 + --- rodbc-1.1.7.orig/debian/patch_20060304_steve.patch +++ rodbc-1.1.7/debian/patch_20060304_steve.patch @@ -0,0 +1,57 @@ +diff -Nru /tmp/KeP9uZ3ItY/rodbc-1.1.5/debian/changelog /tmp/W7l6P0uH3P/rodbc-1.1.5/debian/changelog +--- /tmp/KeP9uZ3ItY/rodbc-1.1.5/debian/changelog 2006-03-04 12:45:05.000000000 -0800 ++++ /tmp/W7l6P0uH3P/rodbc-1.1.5/debian/changelog 2006-03-04 12:45:07.000000000 -0800 +@@ -1,3 +1,10 @@ ++rodbc (1.1.5-1.1) unstable; urgency=low ++ ++ * Non-maintainer upload. ++ * Fix a handful of SQL types for 64-bit compatibility ++ ++ -- Steve Langasek Sat, 4 Mar 2006 02:09:39 -0800 ++ + rodbc (1.1.5-1) unstable; urgency=low + + * New upstream release +diff -Nru /tmp/KeP9uZ3ItY/rodbc-1.1.5/debian/rules /tmp/W7l6P0uH3P/rodbc-1.1.5/debian/rules +--- /tmp/KeP9uZ3ItY/rodbc-1.1.5/debian/rules 2006-03-04 12:45:05.000000000 -0800 ++++ /tmp/W7l6P0uH3P/rodbc-1.1.5/debian/rules 2006-03-04 12:45:07.000000000 -0800 +@@ -6,6 +6,9 @@ + include /usr/share/cdbs/1/rules/debhelper.mk + include /usr/share/cdbs/1/class/langcore.mk + ++CPPFLAGS := -DBUILD_REAL_64_BIT_MODE ++export CPPFLAGS ++ + ## We need the CRAN (upstream) name + cranName := $(shell grep Package: DESCRIPTION | cut -f2 -d" ") + ## and we need to build a Debian Policy-conformant lower-case package name +diff -Nru /tmp/KeP9uZ3ItY/rodbc-1.1.5/src/RODBC.c /tmp/W7l6P0uH3P/rodbc-1.1.5/src/RODBC.c +--- /tmp/KeP9uZ3ItY/rodbc-1.1.5/src/RODBC.c 2005-08-05 23:32:57.000000000 -0700 ++++ /tmp/W7l6P0uH3P/rodbc-1.1.5/src/RODBC.c 2006-03-04 12:45:07.000000000 -0800 +@@ -53,7 +53,7 @@ + SQLCHAR ColName[256]; + SQLSMALLINT NameLength; + SQLSMALLINT DataType; +- SQLUINTEGER ColSize; ++ SQLULEN ColSize; + SQLSMALLINT DecimalDigits; + SQLSMALLINT Nullable; + char *pData; +@@ -61,7 +61,7 @@ + SQLREAL R4Data; + SQLINTEGER IData; + SQLSMALLINT I2Data; +- SQLINTEGER IndPtr; ++ SQLLEN IndPtr; + } COLUMNS; + + typedef struct mess { +@@ -74,7 +74,7 @@ + SQLHDBC hDbc; + SQLHSTMT hStmt; + int fStmt; +- SQLINTEGER nRows; ++ SQLLEN nRows; + SQLSMALLINT nColumns; + int channel; + int id; --- rodbc-1.1.7.orig/debian/rules +++ rodbc-1.1.7/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules file for the Debian/GNU Linux r-cran-rodbc package +# Copyright 2003-2006 by Dirk Eddelbuettel + +include /usr/share/R/debian/r-cran.mk + +## this was introduced to fix Debian bug report #354723 +CPPFLAGS := -DBUILD_REAL_64_BIT_MODE +export CPPFLAGS + +include /usr/share/R/debian/r-cran.mk + + + + --- rodbc-1.1.7.orig/debian/watch +++ rodbc-1.1.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://cran.r-project.org/src/contrib/RODBC_([\d\.]*)-(\d+)\.tar.gz