--- freetds-0.91.orig/PWD +++ freetds-0.91/PWD @@ -0,0 +1,19 @@ +# $Id: PWD.in,v 1.1 2002/09/12 15:24:20 castellano Exp $ +# +# This file was taken from DBD::Sybase :-) It is used by 'make check' to test +# the installation +# +# UID: the username of a user to connect with +# PWD: the password for that user +# SRV: the symbolic server name from the freetds.conf (or interfaces) file. +# Note: if you use a hostname/IP here instead, freetds will attempt to +# connect using the compiletime default port (4000 for TDS 5.0, 1433 for +# 4.2 or 7.0) which is usually not right. +# DB: Database in which to create tables used in the tests. For those new to +# Sybase or MS SQL server, there may be many database per server. tempdb +# is a good default choice if unsure. +# +UID=guest +PWD=sybase +SRV=JDBC +DB=tempdb --- freetds-0.91.orig/debian/README.debian +++ freetds-0.91/debian/README.debian @@ -0,0 +1,10 @@ +freetds for Debian +---------------------- + +FreeTDS is a project to document and implement the TDS (Tabular DataStream) +protocol. TDS is used by Sybase and Microsoft for client to database server +communications. The FreeTDS project will implement many call level +interfaces, including DB-Lib, CT-Lib, ODBC, JDBC, and Perl DBI. See +http://www.freetds.org/ for more information. + +Steve Langasek , Tue, 7 Nov 2000 09:15:40 -0600 --- freetds-0.91.orig/debian/TODO +++ freetds-0.91/debian/TODO @@ -0,0 +1 @@ +Package the user manual (freetds-doc?) --- freetds-0.91.orig/debian/changelog +++ freetds-0.91/debian/changelog @@ -0,0 +1,544 @@ +freetds (0.91-6) unstable; urgency=low + + * Build against libgnutls28, now that license compatibility issues + with GPLv2-only software have been resolved. This includes patching + the upstream source to not look for gcrypt, which is no longer needed. + Thanks to Dimitri Ledkov for the patch. + Closes: #747449. + + -- Steve Langasek Thu, 08 May 2014 15:25:40 -0700 + +freetds (0.91-5) unstable; urgency=low + + * Add Kerberos support. LP: #1223567. + * Stop overriding CPPFLAGS in debian/rules, giving us full proper + hardening support. Closes: #665268. + * src/odbc/odbc.c: cherry-pick upstream fix for a segfault due to an + uninitialized value. Thanks to Lionel Elie Mamane + for the fix. Closes: #650422. + * Allow parallel builds. Closes: #650421. + * Drop manual autotools patching for dh-autoreconf, fixing builds on + x32 et al. Closes: #699069. + * Properly bump the build-dep on debhelper to 9. + * Bump to Standards-Version 3.9.4, no changes required. + * Convert copyright file to copyright-format 1.0. + * src/apps/bsqldb.c, src/apps/bsqlodbc.c: fix wrong getopt() option + strings so that arguments to -d are parsed correctly. + Closes: #715697, #715698. + * src/apps/datacopy.c: handle a lack of login/password information + without segfaulting. Closes: #715785. + + -- Steve Langasek Wed, 11 Sep 2013 06:37:14 +0000 + +freetds (0.91-4) unstable; urgency=low + + * Version the breaks: on libiodbc2 now that a fixed version is available + in unstable. + + -- Steve Langasek Sun, 26 May 2013 19:01:28 -0700 + +freetds (0.91-3) unstable; urgency=low + + * configure.ac: check for libgcrypt in addition to libgnutls, since we + use it directly and will need to link to it in future versions of gcc. + Thanks to Logan Rosen for reporting. Closes: #704572. + * Also, build-depend explicitly on libgcrypt-dev. + + -- Steve Langasek Wed, 03 Apr 2013 04:55:10 +0000 + +freetds (0.91-2) unstable; urgency=low + + * Don't both breaks and recommends libiodbc2, this confuses apt. + Closes: #645726. + + -- Steve Langasek Fri, 12 Oct 2012 15:14:28 +0000 + +freetds (0.91-1) unstable; urgency=low + + * New upstream release. Closes: #852069, LP: #887374. + - Built with new libtool, so should be compatible with binutils-gold. + Closes: #558548. + - Includes fix for upstream corruption seen with Hebrew strings. + Closes: #500451. + - drop patch to src/tds/locale.c; upstream seems to now support fairly + complete autodetection of the client locale. + - update symbols files for two new symbols. + * Pass -DDBLIB_UNIMPLEMENTED=1 so we get a full set of symbols in + libsybdb, even if some functions are not yet implemented. + * Switch to using dpkg-buildflags for hardening. + * src/apps/bsqldb.c: fix a build failure with -Werror=format-security. + * Build-depend on libgnutls-dev for TLS support. LP: #406468. + * Build-depend on libreadline-dev, which makes freetds-bin a bit more + useful. + + -- Steve Langasek Mon, 14 Nov 2011 21:20:25 -0800 + +freetds (0.82-8) unstable; urgency=low + + * Move freetds-bin to section database. Closes: #609788. + * Point Vcs-Bzr, Vcs-Browser at alioth. + * Install to /usr/lib/$(DEB_HOST_MULTIARCH)/odbc, use a relative path in + odbcinst.ini, and mark the packages as ready for multiarch. + * Drop debian/*.dirs, dating back to when I didn't know how multiarch + worked + * Drop the unneeded .la files from freetds-dev. + * Mark tdsodbc.config set -e - thanks, lintian + * Add ${misc:Depends} for debhelper. + * Bump Standards-Version to 3.9.2 (no changes required). + * Don't ship a broken link to our odbcinst.ini in + /usr/share/doc/freetds-common/examples. + * Add Danish debconf translation, thanks to Joe Dalton + . Closes: #621362. + + -- Steve Langasek Sat, 20 Aug 2011 21:09:01 -0700 + +freetds (0.82-7) unstable; urgency=low + + * Bump debhelper compat to 7. + * Convert from dh_movefiles to the currently supported dh_install. + * Convert debian/rules to dh, which along the way fixes the missing + install of the freetds.conf manpage. Closes: #546947. + + -- Steve Langasek Tue, 22 Sep 2009 01:31:04 -0700 + +freetds (0.82-6) unstable; urgency=low + + * Provide a new freetds-bin package, containing the freebcp, tsql, tdspool, + bsqlodbc, fisql, osql, bsqldb, defncopy, and datacopy tools. Thanks to + Jens Jorgensen for the patch. + Closes: #196000, LP: #298875. + * Fix txt2man invocation in doc/Makefile.am so that manpages get sensible + sections and titles, per lintian. + + -- Steve Langasek Tue, 04 Aug 2009 03:56:38 -0700 + +freetds (0.82-5) unstable; urgency=low + + * Maintainer FAIL: fix up the /usr/share/doc directories, which would get + left symlinked to libct3 on upgrade even though libct3 no longer exists + + -- Steve Langasek Wed, 01 Apr 2009 03:02:08 -0700 + +freetds (0.82-4) unstable; urgency=low + + * Fix a typo in the freetds-common description, ugh + * Versioned replaces of libct4 by freetds-common, since the current one + obviously doesn't have overlapping files. + * tdsodbc: check for /var/lib/odbc existence before removing it in the + postinst, since there are cases where it won't exist on upgrade (i.e., + if the driver was never enabled in the first place). Closes: #493303. + + -- Steve Langasek Sat, 02 Aug 2008 11:49:53 -0700 + +freetds (0.82-3) unstable; urgency=low + + * Add the GFDL to debian/copyright, to satisfy ftp team demands. No files + shipped in the binary packages are covered by this license. + * Update the list of authors in debian/copyright, from the current AUTHORS + file. + + -- Steve Langasek Sat, 19 Jul 2008 18:45:43 -0700 + +freetds (0.82-2) unstable; urgency=low + + * Add a provisional Vcs-Bzr tag. + * Upload to unstable. + + -- Steve Langasek Tue, 01 Jul 2008 16:16:38 -0700 + +freetds (0.82-1) experimental; urgency=low + + * New upstream release (closes: #392459). + - soname bump for libct3 -> libct4. + - fix support for quoted identifiers. Closes: #487516. + - fix for buffer overflow issues with datetime fields and long format + strings. Closes: #400269, #353735. + - fix for dbresults() return value following a NO_MORE_RESULTS + return. Closes: #486249. + * Acknowledge NMUs. + * Drop debian/{libsybdb5,libct3}.manifest, which are now superseded by the + new dpkg-gensymbols setup + * Add locales.conf to the libct4 examples directory, to show proper + configuration of server charsets when this is needed. Closes: #390131. + * Don't install ODBC-related files in freetds-dev. Closes: #360345, + LP: #68239. + * Simplify the debconf handling for tdsodbc: one removal in the prerm, + one addition in the postinst, and we should always get a correct + reference count for the driver. + * Add a new package freetds-common to contain the config files, so that + we're future-proofed against further soname changes in libct. + - install the freetds.conf.5 manpage here now that there's a suitable + place for it + - now that our -common package is arch: all, don't symlink doc + directories; necessary in order to preserve binNMU changelogs + - create the /etc/freetds directory in our postinst if it's missing, + to make the script more robust against previous versions of libct + being purged. Closes: #317677. + * Miscellaneous clean-up of debian/rules: + - drop commented-out lines + - `pwd` == ick + - use DESTDIR when installing + - clean up the separation between install and binary targets + - don't override CFLAGS when building, unixodbc-dev now correctly + takes care of this for us + - drop obsolete get-orig-source target, which only knew about an old + source version anyway; debian/watch works better here. + - don't ignore failures on make distclean; instead, only invoke it + when a Makefile is present. + * Bump Standards-Version to 3.8.0 (no changes required). + * Pass -V to dh_makeshlibs, so that any packages that build against + libsybdb5 with an old dpkg-dev don't end up with broken dependencies. + * Bump debhelper compat level from 3 to 6 + + -- Steve Langasek Sun, 22 Jun 2008 23:27:54 -0700 + +freetds (0.63-3.4) unstable; urgency=low + + * Non-maintainer upload. + * "I brake it, I fix it" + * Don't use -v flag for dpkg-gensymbols, closes: #479526 + * Add finnish debconf translation, closes: #476723 + + -- Riku Voipio Mon, 05 May 2008 17:44:35 +0300 + +freetds (0.63-3.3) unstable; urgency=low + + * Non-maintainer upload. + * Migrate to dpkg-shlibdeps symbols file, + closes: #441736, #470807 + * Fix build-dependency on virtual package: closes: #433557 + * Patch configure to allow builds on kfreebsd/hurd, closes: #366440 + * Make package binNMUable + * Add homepage field + + -- Riku Voipio Sat, 05 Apr 2008 15:11:17 +0300 + +freetds (0.63-3.2) unstable; urgency=low + + * Non-maintainer upload to fix pending l10n issues. + * Debconf translations: + - Galician. Closes: #412654 + - Portuguese. Closes: #409959 + + -- Christian Perrier Sat, 10 Mar 2007 12:29:53 +0100 + +freetds (0.63-3.1) unstable; urgency=low + + * Non-maintainer upload to fix pending l10n issues. + * Debconf translations: + - Dutch. Closes: #402202 + - Italian. Closes: #368336 + - German. Closes: #406551 + + -- Christian Perrier Tue, 6 Feb 2007 08:55:09 +0100 + +freetds (0.63-3) unstable; urgency=low + + * Added Swedish translation, thanks to Daniel Nylander + (closes: #331477). + * Depend on ${misc:Depends} instead of on debconf directly, to allow + installations of other implementations of the debconf-2.0 protocol + (closes: #331826). + * Rework locale patch to allow overriding locale environment via + /etc/freetds/locales.conf; support "client charset" options on a + per-locale basis, not just on a per-server basis; and don't pull + date formats from nl_langinfo(), because the locale defaults are + apparently insane. Closes: #324869. + * Update the prototype of SQLParamOptions so we build correctly + against UnixODBC on 64-bit platforms + + -- Steve Langasek Wed, 24 May 2006 19:17:00 -0700 + +freetds (0.63-2) unstable; urgency=low + + * Fix an issue with the SQLParamOptions implementation not being + 64-bit-clean wrt UnixODBC's implementation; this will need to be + chased up with iODBC as well as with freetds upstream, to get + everyone on the same page. + * Remove a spurious redefine of SQLULEN in src/odbc/odbc.c, as + tdsodbc.h already includes an appropriate check for SQLULEN + + -- Steve Langasek Tue, 5 Jul 2005 02:43:00 -0700 + +freetds (0.63-1) unstable; urgency=low + + * New upstream release (closes: #230024, #236564). + - includes support for UTF-8 locales (closes: #316236). + - new sonames libct3, libsybdb5 + - break tdsodbc into its own package, to avoid future + conflicts/replaces nonsense + * Acknowledge NMUs; thanks to Christian Perrier and Frank Lichtenheld. + * Rebuild against unixodbc 2.2.11. + * Drop ancient migration code for /etc/freetds/interfaces, which was + pre-woody and never in a stable release + * Move freetds.conf.pl to doc/examples, since it's no longer needed + for upgrades + * Fix dependencies on libct3 to be strictly versioned, to avoid + invalid /usr/share/doc symlinks + * Add debian/update-manifest.sh and debian/dh_makeshlibs, to + future-proof against incorrect shlibs + * Added Vietnamese translation, thanks to Clytie Siddal + (closes: #311749). + * Added Japanese translation, thanks to Hideki Yamane + (closes: #310234). + + -- Steve Langasek Sun, 5 Jun 2005 19:34:33 -0700 + +freetds (0.61-6.2) unstable; urgency=low + + * Non-maintainer upload with maintainer's agreement in order to complete + the switch to po-debconf + * Switch to po-debconf for debconf tempaltes translation handling + Closes: #234606 + * New translations: + - Czech, thanks to Miroslav Kure + - Brazilian Portuguese, thanks to Felipe Augusto van de Wiel + Closes: #301615 + - French, thanks to Jean-Luc Coulon + + -- Christian Perrier Mon, 4 Apr 2005 19:48:55 +0200 + +freetds (0.61-6.1) unstable; urgency=high + + * Non-maintainer upload. + * Add AM_MAINTAINER_MODE and rerun autogen.sh. This hopefully + fixes the FTBFS (closes: #276851) + * Sync debhelper build-depends with DH_COMPAT level (3) + + -- Frank Lichtenheld Fri, 29 Oct 2004 22:33:07 +0200 + +freetds (0.61-6) unstable; urgency=medium + + * Add myself to Uploaders, closing Steve's RFH (closes: #263165) + * Work around buggy handling of results from stored procedures in all + versions of libct below 0.62.5 (clsoes: #260261) + * freetds-dev now conflicts with crystalspace-dev, as we have a header + (/usr/include/cstypes.h) by the same name (closes: #259105) + * Update debian/watch to actually work properly with upstream. + + -- Adam Conrad Thu, 2 Sep 2004 23:30:26 -0600 + +freetds (0.61-5) unstable; urgency=low + + * Since we depend on the odbcinst package, always ask about ODBC + support at configure time. Also, allow dpkg-reconfigure to change + the ODBC handling preference. (Closes: #198523) + + -- Steve Langasek Sun, 6 Jul 2003 01:19:49 -0500 + +freetds (0.61-4) unstable; urgency=low + + * Fix an out-of-range comparison error on unsigned char platforms + (closes: #161897). + + -- Steve Langasek Sat, 19 Apr 2003 22:51:21 -0500 + +freetds (0.61-3) unstable; urgency=low + + * After rerunning autotools, the name of the real library changed on + us again; copy the /real/ file into /usr/lib/odbc, not just a + symlink (closes: #185172). + + -- Steve Langasek Fri, 18 Apr 2003 14:02:05 -0500 + +freetds (0.61-2) unstable; urgency=low + + * Update the package to comply with v. 3.5.8 of policy. + * Rerun the autotools for mips/mipsel, because upstream is still using + libtool 1.4a (closes: #183792). + + -- Steve Langasek Sun, 2 Mar 2003 19:36:49 -0600 + +freetds (0.61-1) unstable; urgency=low + + * new upstream release. + * libct0 is now libct1. + * libsybdb2 is now libsybdb3. + * Work on the idempotency of the maintainer scripts, so that 1) we + never remove the driver on a running system, 2) our reference count + remains net-constant, and 3) we are calling odbcinst so that we can + provide tweaked driver settings in the package when needed. + + -- Steve Langasek Sun, 12 Jan 2003 13:40:28 -0600 + +freetds (0.60.1-3) unstable; urgency=low + + * incorporate changes from CVS to eliminate the dependency on + OpenSSL -- required for licensing reasons. + * use AM_MAINTAINER_MODE to make autobuilders happy (closes: #162924). + + -- Steve Langasek Sun, 29 Sep 2002 15:58:12 -0500 + +freetds (0.60.1-2) unstable; urgency=low + + * rerun libtoolize --force --copy; upstream built with an older + version, which doesn't work too well on some of our archs. + + -- Steve Langasek Sat, 21 Sep 2002 12:14:21 -0500 + +freetds (0.60.1-1) unstable; urgency=low + + * New upstream release + + -- Steve Langasek Fri, 20 Sep 2002 12:14:19 -0500 + +freetds (0.53-7) unstable; urgency=low + + * It's the bug that wouldn't die. Try one more time to get the postrm + right. (Closes: #139960) + + -- Steve Langasek Wed, 17 Apr 2002 10:21:13 -0500 + +freetds (0.53-6) unstable; urgency=low + + * Redirect output in the postrm, since debhelper is smarter than I am + (really closes: #139960). + + -- Steve Langasek Mon, 1 Apr 2002 21:53:33 -0600 + +freetds (0.53-5) unstable; urgency=low + + * Fix for possible debconf hang in postrm, due to spurious messages on + stderr (closes: #139960). + * Better handling for the case where we're reading from a closed + socket (closes: #138166). + * Quote the ldconfig call in our postinst, to work around the broken + shards of rectal thermometer that is the lintian check. + + -- Steve Langasek Wed, 27 Mar 2002 12:16:50 -0600 + +freetds (0.53-4) unstable; urgency=low + + * Merge in Russian debconf templates, thanks to Ilgiz Kalmetev + . (Closes: #137651) + + -- Steve Langasek Sun, 10 Mar 2002 12:38:09 -0600 + +freetds (0.53-3) unstable; urgency=low + + * patch from upstream CVS to address segfaults w/ null server names + (closes: #132775) + + -- Steve Langasek Tue, 12 Feb 2002 17:36:38 -0600 + +freetds (0.53-2) unstable; urgency=low + + * Fix build-dependencies to get the proper version of unixodbc-dev. + * Fix the numerous build-time warnings that mean real problems on + non-i386 archen (closes: #129608). Remaining warnings are either + ones that should be left in place as reminders to upstream, or in + the unused tdssrv library that's included only as a reference for + future application developers. + + -- Steve Langasek Wed, 16 Jan 2002 22:57:37 -0600 + +freetds (0.53-1) unstable; urgency=low + + * New upstream release + * Move the ODBC driver into the /usr/lib/odbc subdirectory. + + -- Steve Langasek Mon, 14 Jan 2002 21:38:34 -0600 + +freetds (0.52+0.53rc2-1) unstable; urgency=low + + * New upstream release + * Build against unixodbc-dev instead of libiodbc2-dev, since unixodbc + is more current (ODBC 3.0) + * Include our own copy of the Sybase `interfaces' file; upstream no + longer ships it, but we keep a copy around for use in maintainer + scripts. + + -- Steve Langasek Sun, 16 Dec 2001 22:55:54 -0600 + +freetds (0.52+0.53pre2-2) unstable; urgency=low + + * Added missing calls to ldconfig, since we're not calling + dh_makeshlibs now. + + -- Steve Langasek Wed, 28 Nov 2001 22:19:54 -0600 + +freetds (0.52+0.53pre2-1) unstable; urgency=low + + * New upstream (pre)release. Fixes a number of serious bugs that + were present in the last release. + (closes: #117725) + + -- Steve Langasek Sat, 24 Nov 2001 13:43:19 -0600 + +freetds (0.52-3) unstable; urgency=low + + * Separate out templates.es into a separate file, for greater flexibility. + * Added German language localization for debconf, thanks to Michael + Bramer . (closes: #106517) + * Manually specify --build and --host options to configure, + eliminating the need for updated config.guess + + -- Steve Langasek Fri, 27 Jul 2001 09:11:33 -0500 + +freetds (0.52-2) unstable; urgency=low + + * Fixed Spanish-localized debconf template; previous version contained + an incomplete translation + * Add support for automatically registering the ODBC driver at + install-time (if /usr/bin/odbcinst is present) + * Add Build-Depend on libglib-dev for the odbc driver + (closes: #106437, #106442) + + -- Steve Langasek Tue, 24 Jul 2001 09:17:14 -0500 + +freetds (0.52-1) unstable; urgency=low + + * New upstream release (closes: #101135) + * new ODBC driver included in package + + -- Steve Langasek Sat, 21 Jul 2001 12:39:47 -0500 + +freetds (0.51-4) unstable; urgency=low + + * need up-to-date config.sub for the arm autobuilder. + * fixed the Section of the source package. + + -- Steve Langasek Sun, 4 Feb 2001 16:03:36 -0600 + +freetds (0.51-3) unstable; urgency=low + + * preliminary fixes for 64-bit architectures + * fixed shlibs file. Now auto-generated w/ debhelper. + + -- Steve Langasek Mon, 29 Jan 2001 22:39:14 -0600 + +freetds (0.51-2) unstable; urgency=low + + * Use dh_links to create doc symlinks + + -- Steve Langasek Mon, 15 Jan 2001 12:16:11 -0600 + +freetds (0.51-1) unstable; urgency=low + + * New upstream release + * /usr/lib/freetds directory no longer needed. Removed from package. + + -- Steve Langasek Sun, 26 Nov 2000 23:58:07 -0600 + +freetds (0.50-3) unstable; urgency=low + + * updated conf file handling with help from lintian + + -- Steve Langasek Wed, 8 Nov 2000 10:49:22 -0600 + +freetds (0.50-2) unstable; urgency=low + + * Fixed /usr/lib/freetds/interfaces to be a conffile + * added /usr/lib/freetds/include symlink, fixed to work as expected + + -- Steve Langasek Tue, 7 Nov 2000 22:12:24 -0600 + +freetds (0.50-1) unstable; urgency=low + + * Initial release. + + -- Steve Langasek Tue, 7 Nov 2000 09:15:40 -0600 + +Local variables: +mode: debian-changelog +End: --- freetds-0.91.orig/debian/clean +++ freetds-0.91/debian/clean @@ -0,0 +1,2 @@ +# cleaning up after autotools-dev +config.sub --- freetds-0.91.orig/debian/compat +++ freetds-0.91/debian/compat @@ -0,0 +1 @@ +9 --- freetds-0.91.orig/debian/control +++ freetds-0.91/debian/control @@ -0,0 +1,93 @@ +Source: freetds +Section: libs +Priority: optional +Maintainer: Steve Langasek +Uploaders: Adam Conrad +Standards-Version: 3.9.4 +Homepage: http://www.freetds.org/ +Vcs-Bzr: nosmart+http://bzr.debian.org/bzr/users/vorlon/freetds/trunk/ +Vcs-Browser: http://anonscm.debian.org/loggerhead/users/vorlon/freetds/trunk/ +Build-Depends: debhelper (>= 9), + autotools-dev, + unixodbc-dev (>= 2.2.11-10), + libglib2.0-dev | libglib-dev, + libgnutls28-dev, + libreadline-dev, + libkrb5-dev, + dh-autoreconf + +Package: freetds-common +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Replaces: libct3, libct4 (<< 0.82-1) +Description: configuration files for FreeTDS SQL client libraries + FreeTDS is an implementation of the Tabular DataStream protocol, used for + connecting to MS SQL and Sybase servers over TCP/IP. + . + This package manages the configuration files that are common to all of + the TDS client library implementations (CT-Lib, DB-Lib, and ODBC), + stored in /etc/freetds/. + +Package: libct4 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, freetds-common, ${misc:Depends} +Description: libraries for connecting to MS SQL and Sybase SQL servers + FreeTDS is an implementation of the Tabular DataStream protocol, used for + connecting to MS SQL and Sybase servers over TCP/IP. + . + This package includes the shared libraries for the Sybase CT-Lib API. + You will need this if you plan to connect to MS SQL or Sybase servers, or use + the PHP sybase or Perl DBD::Sybase extensions. + +Package: freetds-bin +Architecture: any +Section: database +Depends: ${shlibs:Depends}, freetds-common, ${misc:Depends} +Description: FreeTDS command-line utilities + FreeTDS is an implementation of the Tabular DataStream protocol, used for + connecting to MS SQL and Sybase servers over TCP/IP. + . + This package includes the command-line utilities shipped with FreeTDS. + +Package: tdsodbc +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends}, freetds-common +Recommends: libodbc1 +Conflicts: freetds0, libct0, unixodbc (<< 2.1.1-2) +Replaces: freetds0, libct0, libct1 +Breaks: unixodbc (<< 2.2.14p2-3), odbcinst1debian2 (<< 2.2.14p2-3), libiodbc2 (<< 3.52.7-3~) +Description: ODBC driver for connecting to MS SQL and Sybase SQL servers + FreeTDS is an implementation of the Tabular DataStream protocol, used for + connecting to MS SQL and Sybase servers over TCP/IP. + . + This package includes the ODBC driver for FreeTDS, for use with + UnixODBC or iODBC. + +Package: libsybdb5 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, freetds-common, ${misc:Depends} +Description: libraries for connecting to MS SQL and Sybase SQL servers + FreeTDS is an implementation of the Tabular DataStream protocol, used for + connecting to MS SQL and Sybase servers over TCP/IP. + . + This package includes the shared libraries for the Sybase DB-Lib API. + +Package: freetds-dev +Section: devel +Architecture: any +Depends: libct4 (= ${binary:Version}), libsybdb5 (= ${binary:Version}), ${misc:Depends} +Conflicts: crystalspace-dev +Description: MS SQL and Sybase client library (static libs and headers) + FreeTDS is an implementation of the Tabular DataStream protocol, used for + connecting to MS SQL and Sybase servers over TCP/IP. + . + This package includes the static libraries and header files for TDS, which + you will need to develop applications that connect to MS SQL servers. You + will also need this package if you are installing the Perl DBD::Sybase + module on your system using CPAN. --- freetds-0.91.orig/debian/copyright +++ freetds-0.91/debian/copyright @@ -0,0 +1,41 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: FreeTDS +Upstream-Contact: freetds@lists.ibiblio.org +Source: ftp://mirrors.ibiblio.org/freetds/ + +Files: * +Copyright: 1998-2013 Brian Bruns, James K. Lowden, Frediano Ziglio et al. +License: LGPL-2+ + +Files: debian/* +Copyright: 2000-2013 Steve Langasek +License: LGPL-2+ + +Files: doc/userguide* +Copyright: 2001-2013 James K. Lowden et al. +License: GFDL-NIV-1.1+ + Permission is granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation License, Version 1.1 or any later + version published by the Free Software Foundation; with no Invariant + Sections, with no Front-Cover Texts, and with no Back-Cover Texts. + . + On Debian systems, the complete text of the GNU Free Documentation License + can be found in `/usr/share/common-licenses/GFDL'. + +License: LGPL-2+ + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + . + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public + License for more details. + . + You should have received a copy of the GNU Library General Public License + along with this library; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the Library General Public License + can be found in `/usr/share/common-licenses/LGPL'. --- freetds-0.91.orig/debian/dirs +++ freetds-0.91/debian/dirs @@ -0,0 +1,4 @@ +etc/freetds +usr/lib +usr/lib/odbc +usr/include --- freetds-0.91.orig/debian/freetds-bin.install +++ freetds-0.91/debian/freetds-bin.install @@ -0,0 +1,2 @@ +usr/bin/* +usr/share/man/man1/* --- freetds-0.91.orig/debian/freetds-common.docs +++ freetds-0.91/debian/freetds-common.docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- freetds-0.91.orig/debian/freetds-common.examples +++ freetds-0.91/debian/freetds-common.examples @@ -0,0 +1,2 @@ +freetds.conf.pl +locales.conf --- freetds-0.91.orig/debian/freetds-common.install +++ freetds-0.91/debian/freetds-common.install @@ -0,0 +1,2 @@ +/etc/freetds/freetds.conf /usr/share/freetds + --- freetds-0.91.orig/debian/freetds-common.links +++ freetds-0.91/debian/freetds-common.links @@ -0,0 +1 @@ +usr/share/freetds/freetds.conf usr/share/doc/freetds-common/examples/freetds.conf --- freetds-0.91.orig/debian/freetds-common.manpages +++ freetds-0.91/debian/freetds-common.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man5/freetds.conf.5 --- freetds-0.91.orig/debian/freetds-common.postinst +++ freetds-0.91/debian/freetds-common.postinst @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +# If /etc/freetds has been removed, this is a special case, probably +# caused by purging a previous libct version. Unconditionally restore +# freetds.conf in this case. +if [ ! -d /etc/freetds ]; then + mkdir /etc/freetds + cp -a /usr/share/freetds/freetds.conf /etc/freetds/ +fi + +# Install a reasonable default on initial config + +if [ -z "$2" ] && [ ! -e /etc/freetds/freetds.conf ]; then + cp -a /usr/share/freetds/freetds.conf /etc/freetds/ +fi + +#DEBHELPER# --- freetds-0.91.orig/debian/freetds-common.postrm +++ freetds-0.91/debian/freetds-common.postrm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = purge ]; then + rm -f /etc/freetds/freetds.conf + rmdir /etc/freetds || true +fi + +#DEBHELPER# --- freetds-0.91.orig/debian/freetds-dev.install +++ freetds-0.91/debian/freetds-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/*/*.a +usr/lib/*/*.so --- freetds-0.91.orig/debian/freetds-dev.preinst +++ freetds-0.91/debian/freetds-dev.preinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +if [ -L /usr/share/doc/freetds-dev ]; then + rm -f /usr/share/doc/freetds-dev +fi + +#DEBHELPER# + --- freetds-0.91.orig/debian/libct4.install +++ freetds-0.91/debian/libct4.install @@ -0,0 +1 @@ +usr/lib/*/libct.so.4* --- freetds-0.91.orig/debian/libct4.symbols +++ freetds-0.91/debian/libct4.symbols @@ -0,0 +1,75 @@ +libct.so.4 libct4 #MINVER# + blk_alloc@Base 0.64 + blk_bind@Base 0.64 + blk_colval@Base 0.64 + blk_default@Base 0.64 + blk_describe@Base 0.64 + blk_done@Base 0.64 + blk_drop@Base 0.64 + blk_getrow@Base 0.64 + blk_gettext@Base 0.64 + blk_init@Base 0.64 + blk_props@Base 0.64 + blk_rowalloc@Base 0.64 + blk_rowdrop@Base 0.64 + blk_rowxfer@Base 0.64 + blk_rowxfer_mult@Base 0.64 + blk_sendrow@Base 0.64 + blk_sendtext@Base 0.64 + blk_srvinit@Base 0.64 + blk_textxfer@Base 0.64 + cs_calc@Base 0.64 + cs_cmp@Base 0.64 + cs_config@Base 0.64 + cs_conv_mult@Base 0.64 + cs_convert@Base 0.64 + cs_ctx_alloc@Base 0.64 + cs_ctx_drop@Base 0.64 + cs_ctx_global@Base 0.64 + cs_diag@Base 0.64 + cs_dt_crack@Base 0.64 + cs_dt_info@Base 0.64 + cs_loc_alloc@Base 0.64 + cs_loc_drop@Base 0.64 + cs_locale@Base 0.64 + cs_manage_convert@Base 0.64 + cs_objects@Base 0.64 + cs_prretcode@Base 0.91 + cs_set_convert@Base 0.64 + cs_setnull@Base 0.64 + cs_strbuild@Base 0.64 + cs_strcmp@Base 0.64 + cs_time@Base 0.64 + cs_will_convert@Base 0.64 + ct_bind@Base 0.64 + ct_callback@Base 0.64 + ct_cancel@Base 0.64 + ct_capability@Base 0.64 + ct_close@Base 0.64 + ct_cmd_alloc@Base 0.64 + ct_cmd_drop@Base 0.64 + ct_cmd_props@Base 0.64 + ct_command@Base 0.64 + ct_compute_info@Base 0.64 + ct_con_alloc@Base 0.64 + ct_con_drop@Base 0.64 + ct_con_props@Base 0.64 + ct_config@Base 0.64 + ct_connect@Base 0.64 + ct_cursor@Base 0.64 + ct_data_info@Base 0.64 + ct_describe@Base 0.64 + ct_diag@Base 0.64 + ct_dynamic@Base 0.64 + ct_exit@Base 0.64 + ct_fetch@Base 0.64 + ct_get_data@Base 0.64 + ct_init@Base 0.64 + ct_options@Base 0.64 + ct_param@Base 0.64 + ct_poll@Base 0.64 + ct_res_info@Base 0.64 + ct_results@Base 0.64 + ct_send@Base 0.64 + ct_send_data@Base 0.64 + ct_setparam@Base 0.64 --- freetds-0.91.orig/debian/libsybdb5.install +++ freetds-0.91/debian/libsybdb5.install @@ -0,0 +1 @@ +usr/lib/*/libsybdb.so.5* --- freetds-0.91.orig/debian/libsybdb5.preinst +++ freetds-0.91/debian/libsybdb5.preinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +if [ -L /usr/share/doc/libsybdb5 ]; then + rm -f /usr/share/doc/libsybdb5 +fi + +#DEBHELPER# + --- freetds-0.91.orig/debian/libsybdb5.symbols +++ freetds-0.91/debian/libsybdb5.symbols @@ -0,0 +1,186 @@ +libsybdb.so.5 libsybdb5 #MINVER# + abort_xact@Base 0.63 + bcp_batch@Base 0.63 + bcp_bind@Base 0.63 + bcp_colfmt@Base 0.63 + bcp_colfmt_ps@Base 0.63 + bcp_collen@Base 0.63 + bcp_colptr@Base 0.63 + bcp_columns@Base 0.63 + bcp_control@Base 0.63 + bcp_done@Base 0.63 + bcp_exec@Base 0.63 + bcp_getbatchsize@Base 0.82 + bcp_getl@Base 0.63 + bcp_init@Base 0.63 + bcp_moretext@Base 0.63 + bcp_options@Base 0.63 + bcp_readfmt@Base 0.63 + bcp_sendrow@Base 0.63 + bcp_writefmt@Base 0.63 + build_xact_string@Base 0.63 + close_commit@Base 0.63 + commit_xact@Base 0.63 + dbadata@Base 0.63 + dbadlen@Base 0.63 + dbaltbind@Base 0.63 + dbaltcolid@Base 0.63 + dbaltlen@Base 0.63 + dbaltop@Base 0.63 + dbalttype@Base 0.63 + dbaltutype@Base 0.63 + dbanullbind@Base 0.63 + dbbind@Base 0.63 + dbbylist@Base 0.63 + dbcancel@Base 0.63 + dbcanquery@Base 0.63 + dbchange@Base 0.63 + dbclose@Base 0.63 + dbclrbuf@Base 0.63 + dbclropt@Base 0.63 + dbcmd@Base 0.63 + dbcmdrow@Base 0.63 + dbcolinfo@Base 0.63 + dbcollen@Base 0.63 + dbcolname@Base 0.63 + dbcolsource@Base 0.63 + dbcoltype@Base 0.63 + dbcoltypeinfo@Base 0.63 + dbcolutype@Base 0.63 + dbconvert@Base 0.63 + dbconvert_ps@Base 0.63 + dbcount@Base 0.63 + dbcurcmd@Base 0.63 + dbcurrow@Base 0.63 + dbdata@Base 0.63 + dbdatecmp@Base 0.63 + dbdatecrack@Base 0.63 + dbdatlen@Base 0.63 + dbdead@Base 0.63 + dbiscount@Base 0.91 + dberrhandle@Base 0.63 + dbexit@Base 0.63 + dbfcmd@Base 0.63 + dbfirstrow@Base 0.63 + dbfreebuf@Base 0.63 + dbgetchar@Base 0.63 + dbgetmaxprocs@Base 0.63 + dbgetpacket@Base 0.63 + dbgetrow@Base 0.63 + dbgettime@Base 0.82 + dbgetuserdata@Base 0.63 + dbhasretstat@Base 0.63 + dbinit@Base 0.63 + dbiordesc@Base 0.63 + dbiowdesc@Base 0.63 + dbisavail@Base 0.63 + dbisopt@Base 0.63 + dblastrow@Base 0.63 + dblogin@Base 0.63 + dbloginfree@Base 0.63 + dbmny4add@Base 0.63 + dbmny4cmp@Base 0.63 + dbmny4copy@Base 0.63 + dbmny4divide@Base 0.63 + dbmny4minus@Base 0.63 + dbmny4mul@Base 0.63 + dbmny4sub@Base 0.63 + dbmny4zero@Base 0.63 + dbmnyadd@Base 0.63 + dbmnycmp@Base 0.63 + dbmnycopy@Base 0.63 + dbmnydec@Base 0.63 + dbmnydivide@Base 0.63 + dbmnydown@Base 0.63 + dbmnyinc@Base 0.63 + dbmnyinit@Base 0.63 + dbmnymaxneg@Base 0.63 + dbmnymaxpos@Base 0.63 + dbmnyminus@Base 0.63 + dbmnymul@Base 0.63 + dbmnyndigit@Base 0.63 + dbmnyscale@Base 0.63 + dbmnysub@Base 0.63 + dbmnyzero@Base 0.63 + dbmonthname@Base 0.63 + dbmorecmds@Base 0.63 + dbmoretext@Base 0.63 + dbmsghandle@Base 0.63 + dbname@Base 0.63 + dbnextrow@Base 0.63 + dbnullbind@Base 0.63 + dbnumalts@Base 0.63 + dbnumcols@Base 0.63 + dbnumcompute@Base 0.63 + dbnumrets@Base 0.63 + dbopen@Base 0.63 + dbpoll@Base 0.63 + dbprhead@Base 0.63 + dbprrow@Base 0.63 + dbprtype@Base 0.63 + dbreadtext@Base 0.63 + dbrecftos@Base 0.63 + dbregexec@Base 0.63 + dbreginit@Base 0.63 + dbreglist@Base 0.63 + dbregparam@Base 0.63 + dbresults@Base 0.63 + dbretdata@Base 0.63 + dbretlen@Base 0.63 + dbretname@Base 0.63 + dbretstatus@Base 0.63 + dbrettype@Base 0.63 + dbrows@Base 0.63 + dbrowtype@Base 0.63 + dbrpcinit@Base 0.63 + dbrpcparam@Base 0.63 + dbrpcsend@Base 0.63 + dbrpwclr@Base 0.63 + dbrpwset@Base 0.63 + dbsafestr@Base 0.63 + dbservcharset@Base 0.63 + dbsetavail@Base 0.63 + dbsetdefcharset@Base 0.63 + dbsetdeflang@Base 0.63 + dbsetifile@Base 0.63 + dbsetinterrupt@Base 0.63 + dbsetlbool@Base 0.63 + dbsetllong@Base 0.63 + dbsetlname@Base 0.63 + dbsetlogintime@Base 0.63 + dbsetlshort@Base 0.63 + dbsetlversion@Base 0.63 + dbsetmaxprocs@Base 0.63 + dbsetnull@Base 0.82 + dbsetopt@Base 0.63 + dbsetrow@Base 0.82 + dbsettime@Base 0.63 + dbsetuserdata@Base 0.63 + dbsetversion@Base 0.63 + dbspid@Base 0.63 + dbspr1row@Base 0.63 + dbspr1rowlen@Base 0.63 + dbsprhead@Base 0.63 + dbsprline@Base 0.63 + dbsqlexec@Base 0.63 + dbsqlok@Base 0.63 + dbsqlsend@Base 0.63 + dbstrbuild@Base 0.63 + dbstrcpy@Base 0.63 + dbstrlen@Base 0.63 + dbtablecolinfo@Base 0.82 + dbtds@Base 0.63 + dbtxptr@Base 0.63 + dbtxtimestamp@Base 0.63 + dbuse@Base 0.63 + dbvarylen@Base 0.63 + dbversion@Base 0.63 + dbwillconvert@Base 0.63 + dbwritetext@Base 0.63 + open_commit@Base 0.63 + remove_xact@Base 0.63 + scan_xact@Base 0.63 + start_xact@Base 0.63 + stat_xact@Base 0.63 + tdsdbopen@Base 0.63 + tdsdump_open@Base 0.63 --- freetds-0.91.orig/debian/odbcinst.ini +++ freetds-0.91/debian/odbcinst.ini @@ -0,0 +1,6 @@ +[FreeTDS] +Description = TDS driver (Sybase/MS SQL) +Driver = libtdsodbc.so +Setup = libtdsS.so +CPTimeout = +CPReuse = --- freetds-0.91.orig/debian/po/POTFILES.in +++ freetds-0.91/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] tdsodbc.templates --- freetds-0.91.orig/debian/po/cs.po +++ freetds-0.91/debian/po/cs.po @@ -0,0 +1,53 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2005-03-27 10:51+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Chcete registrovat FreeTDS jako ODBC ovlada?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Zd se, e mte v systmu nainstalovanho sprvce ODBC (unixodbc nebo " +"iODBC). FreeTDS nyn poskytuje ovlada Open DataBase Connectivity, kter " +"me bt zaregistrovn u sprvce ODBC nstrojem /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Pokud si pejete, FreeTDS bude nyn automaticky pidn jako ODBC ovlada a " +"pi odinstalaci balku freetds bude ze seznamu zase automaticky odstrann." --- freetds-0.91.orig/debian/po/da.po +++ freetds-0.91/debian/po/da.po @@ -0,0 +1,47 @@ +# Danish translation freetds. +# Copyright (C) 2011 freetds & nedenstående oversættere. +# This file is distributed under the same license as the freetds package. +# Joe Hansen , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-06-09 10:29+0200\n" +"PO-Revision-Date: 2011-04-03 17:30+01:00\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Ønsker du at FreeTDS skal registreres som en ODBC-driver?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Det ser ud til, at du har en ODBC-håndtering (unixodbc eller iODBC) " +"installeret på dit system. FreeTDS tilbyder nu en Open Database Connectivity-driver, " +"som kan registreres med håndteringer, der bruger redskabet /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Hvis du ønsker det vil FreeTDS automatisk blive tilføjet som en ODBC-driver " +"nu og automatisk blive slettet fra listen, når du fjerner pakken freetds." + + --- freetds-0.91.orig/debian/po/de.po +++ freetds-0.91/debian/po/de.po @@ -0,0 +1,47 @@ +# Translation of glpi debconf templates to German +# Copyright (C) Michael Bramer , 2004. +# Copyright (C) Helge Kreutzmann , 2006, 2007. +# This file is distributed under the same license as the glpi package. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds 0.63-3\n" +"Report-Msgid-Bugs-To: freetds@bugs.debian.org\n" +"POT-Creation-Date: 2006-10-19 00:31+0200\n" +"PO-Revision-Date: 2007-01-11 21:18+0100\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Mchten Sie, dass FreeTDS als ODBC-Treiber registriert wird?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Es scheint, dass Sie einen ODBC-Verwalter (Unixodbc oder iODBC) auf Ihrem " +"System installiert haben. FreeTDS stellt jetzt einen Open Database " +"Connectivity-Treiber bereit, der durch das /usr/bin/odbcinst-Hilfswerkzeug " +"beim Verwalter registriert werden kann." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Falls Sie mchten, wird FreeTDS jetzt automatisch als ODBC-Treiber " +"installiert und automatisch aus der Liste gelscht, wenn Sie das FreeTDS-" +"Paket entfernen." --- freetds-0.91.orig/debian/po/es.po +++ freetds-0.91/debian/po/es.po @@ -0,0 +1,53 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2004-02-24 11:25-0800\n" +"Last-Translator: Unknown \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Quiere que el FreeTDS se registre como driver de ODBC?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Parece que est instalado un gerente de ODBC (conectividad abierta de bases " +"de dados), como unixodbc o iODBC. FreeTDS contiene un driver de ODBC que " +"puede ser registrado con el sistema usando la herramienta /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Si lo desea, el FreeTDS se aadir automaticamente a la lista de drivers " +"ahora y luego se quitar al remover el paquete freetds." --- freetds-0.91.orig/debian/po/fi.po +++ freetds-0.91/debian/po/fi.po @@ -0,0 +1,33 @@ +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-03-11 04:31+0100\n" +"PO-Revision-Date: 2008-04-18 20:30+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n =! 1);\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Tulisiko FreeTDS rekisteröidä ODBC-ajuriksi?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "You appear to have an ODBC manager (unixodbc or iODBC) installed on your system. FreeTDS now provides an Open Database Connectivity driver that can be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "Järjestelmässä on ODBC-hallintaohjelma (unixodbc tai iODBC) asennettuna. FreeTDS tarjoaa nykyään Open Database Connectivity -ajurin, joka voidaan rekisteröidä hallintaohjelmaan työkalulla /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:1001 +msgid "If you wish, FreeTDS will be automatically added as an ODBC driver now and will be automatically deleted from the list when you remove the freetds package." +msgstr "FreeTDS voidaan nyt haluttaessa automaattisesti lisätä ODBC-ajuriksi. Tällöin se poistetaan automaattisesti listalta, kun paketti freetds poistetaan." + --- freetds-0.91.orig/debian/po/fr.po +++ freetds-0.91/debian/po/fr.po @@ -0,0 +1,53 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2005-03-26 14:57+0100\n" +"Last-Translator: Jean-Luc Coulon (f5ibh) \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Faut-il enregistrer FreeTDS comme pilote ODBC?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Un gestionnaire ODBC (Open Database Connectivity) est install sur votre " +"systme (il s'agit de unixodbc ou iODBC). FreeTDS fournit prsent un " +"pilote ODBC qui peut tre enregistr par ce gestionnaire avec l'utilitaire /" +"usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Si vous le dsirez, FreeTDS sera maintenant ajout automatiquement comme " +"pilote ODBC et sera automatiquement supprim de la liste lors de la " +"suppression du paquet freetds." --- freetds-0.91.orig/debian/po/gl.po +++ freetds-0.91/debian/po/gl.po @@ -0,0 +1,44 @@ +# Galician translation of freetds's debconf templates +# This file is distributed under the same license as the freetds package. +# Jacobo Tarrio , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2007-02-27 10:06+0100\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "¿Quere rexistrar FreeTDS coma controlador ODBC?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Semella que ten un xestor ODBC (unixodbc ou iODBC) instalado no sistema. " +"FreeTDS agora fornece un controlador ODBC que se pode rexistrar co xestor " +"mediante a utilidade /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Se quere, hase engadir automaticamente FreeTDS coma controlador ODBC, e " +"cando elimine o paquete hase quitar automaticamente da lista." --- freetds-0.91.orig/debian/po/it.po +++ freetds-0.91/debian/po/it.po @@ -0,0 +1,46 @@ +# Italian (it) translation of debconf templates for freetds +# Copyright (C) 2006 Software in the Public Interest +# This file is distributed under the same license as the freetds package. +# Luca Monducci , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds 0.63 italian debconf templates\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2006-05-20 15:28+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Si vuole che FreeTDS sia registrato come driver ODBC?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Sembra che sul sistema sia installato un gestore ODBC (unixodbc o iODBC). " +"FreeTDS fornisce un driver ODBC (Open Database Connectivity) che pu essere " +"registrato per il gestore ODBC tramite il programma /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Se si desidera, FreeTDS pu essere automaticamente aggiunto come driver " +"ODBC inoltre viene cancellato dall'elenco quando il pacchetto freetds verr " +"rimosso." --- freetds-0.91.orig/debian/po/ja.po +++ freetds-0.91/debian/po/ja.po @@ -0,0 +1,54 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: freetds 0.61-6.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2005-05-13 00:08+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "FreeTDS ODBC ɥ饤ФȤϿޤ?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"ODBC ޥ͡ (unixodbc iODBC) ƥ˥󥹥ȡ뤵Ƥ褦" +"FreeTDS ˤϡOpen Database Connectivity ɥ饤ФѰդƤޤ" +"ɥ饤Ф /usr/bin/odbcinst 桼ƥƥȤäƥޥ͡ϿǤޤ" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"˾СFreeTDS 򺣤˼ưŪ ODBC ɥ饤ФȤϿfreetds " +"ѥåݤϿꥹȤ鼫ưŪ˺褦ˤޤ" --- freetds-0.91.orig/debian/po/nl.po +++ freetds-0.91/debian/po/nl.po @@ -0,0 +1,56 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds 0.63-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2006-12-08 20:32+0000\n" +"Last-Translator: Vincent Zweije \n" +"Language-Team: Debian-Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "" +"Wilt u dat FreeTDS wordt geregistreerd als een ODBC stuurprogramma?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Zo te zien heeft u een ODBC beheerprogramma (unixodbc of iODBC) op uw computer " +"genstalleerd. FreeTDS voorziet nu in een \"Open Database Connectivity\" " +"stuurprogramma dat kan worden geregistreerd bij dit beheerprogramma door " +"middel van het /usr/sbin/odbcinst hulpprogramma." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Indien u dit wenst zal FreeTDS nu automatisch worden toegevoegd als een " +"ODBC stuurprogramma, en automatisch worden verwijderd van de lijst wanneer " +"u het freetds pakket verwijdert." --- freetds-0.91.orig/debian/po/pt.po +++ freetds-0.91/debian/po/pt.po @@ -0,0 +1,46 @@ +# Portuguese translation of freetds debconf messages. +# Copyright (C) 2007 Carlos Lisboa +# This file is distributed under the same license as the freetds package. +# Carlos Lisboa , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2007-02-06 10:50+0000\n" +"Last-Translator: Carlos Lisboa \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Deseja que o FreeTDS seja registado como um controlador ODBC?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Parece que possui um gestor ODBC (unixodbc ou iODBC) instalado no seu " +"sistema. O freetds providencia um controlador Open Database Connectivity que " +"pode ser registado com o gestor usando o utilitário /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Se desejar, o FreeTDS será automaticamente adicionado como um controlador " +"ODBC agora e será removido automaticamente da lista quando remover o pacote " +"do freetds." --- freetds-0.91.orig/debian/po/pt_BR.po +++ freetds-0.91/debian/po/pt_BR.po @@ -0,0 +1,55 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: freetds 0.61\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2005-03-27 03:42-0300\n" +"Last-Translator: Felipe Augusto van de Wiel (faw) \n" +"Language-Team: Portuguese/Brazil \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Voc gostaria que o FreeTDS fosse registrado como um driver ODBC?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Voc parece possuir um gerenciador ODBC (unixodbc ou iODBC) instalado em seu " +"sistema. FreeTDS agora fornece um driver de Conectividade para Bancos de " +"Dados Abertos (Open Database Connectivity) que pode ser registrado junto ao " +"gerenciador usando o utilitrio /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Se voc quiser, FreeTDS agora pode ser automaticamente adicionado como um " +"driver ODBC e ser automaticamente apagado da lista quando voc remover o " +"pacote freetds." --- freetds-0.91.orig/debian/po/ru.po +++ freetds-0.91/debian/po/ru.po @@ -0,0 +1,54 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2004-02-24 11:25-0800\n" +"Last-Translator: Ilgiz Kalmetev \n" +"Language-Team: Russian \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "Vill du att FreeTDS ska registreras som en ODBC-drivare?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Du verkar ha en ODBC-hanterare (unixodbc eller iODBC) installerat p ditt " +"system. FreeTDS erbjuder en Open Database Connectivity drivare som kan " +"registreras med hanteraren med verktyget /usr/bin/odbcinst." + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Om du nskar kan FreeTDS automatiskt lggas till som en ODBC-drivare nu och " +"kommer att automatiskt tas bort frn listan nr du tar bort freetds-paketet." + --- freetds-0.91.orig/debian/po/templates.pot +++ freetds-0.91/debian/po/templates.pot @@ -0,0 +1,49 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" --- freetds-0.91.orig/debian/po/vi.po +++ freetds-0.91/debian/po/vi.po @@ -0,0 +1,49 @@ +# Vietnamese Translation for freetds. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: freetds 0.61-6.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-04 13:39-0700\n" +"PO-Revision-Date: 2005-06-03 14:27+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "Do you want FreeTDS to be registered as an ODBC driver?" +msgstr "" +"Bạn có muốn đăng ký trình FreeTDS là một trình hỗ trợ thiết bị ODBC không?" + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"You appear to have an ODBC manager (unixodbc or iODBC) installed on your " +"system. FreeTDS now provides an Open Database Connectivity driver that can " +"be registered with the manager using the /usr/bin/odbcinst utility." +msgstr "" +"Hình như hệ thống bạn chứa một trình quản lý ODBC (unixodbc hay iODBC) rồi. " +"Vào lúc này, trình FreeTDS cung cấp một trình hỗ trợ thiết bị (driver) Khả " +"năng kết nối đến Cơ sở Dữ liệu Mở (Open Database Connectivity: ODBC) mà bạn " +"có thể đăng ký với trình quản lý ấy dùng trình tiến ích:\n" +"/usr/bin/odbcinst " + +#. Type: boolean +#. Description +#: ../tdsodbc.templates:4 +msgid "" +"If you wish, FreeTDS will be automatically added as an ODBC driver now and " +"will be automatically deleted from the list when you remove the freetds " +"package." +msgstr "" +"Nếu bạn muốn, lúc này sẽ tự động thêm trình FreeTDS là một trình hỗ trợ " +"thiết bị ODBC, và khi bạn loại bỏ gói tin freetds, sẽ tự động xóa bỏ nó ra " +"danh sách." --- freetds-0.91.orig/debian/rules +++ freetds-0.91/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +export DEB_CFLAGS_MAINT_APPEND = -Wall -DDBLIB_UNIMPLEMENTED=1 + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +%: + dh $@ --parallel --with=autoreconf + +override_dh_auto_configure: + dh_auto_configure -- --with-gnu-ld --with-tdsver=4.2 \ + --with-unixodbc=/usr --sysconfdir=/etc/freetds \ + --enable-sybase-compat --with-gnutls --enable-krb5 + +override_dh_auto_install: + dh_auto_install + mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/odbc + mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libtdsodbc.so.0.0.0 \ + $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/odbc/libtdsodbc.so + rm -f $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libtdsodbc* + +override_dh_makeshlibs: + dh_makeshlibs -Xtdsodbc -V --- freetds-0.91.orig/debian/tdsodbc.config +++ freetds-0.91/debian/tdsodbc.config @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +action=$1 +version=$2 + +# Source debconf library. +. /usr/share/debconf/confmodule +db_version 2.0 + +db_title "ODBC Setup" + +db_input medium freetds/addtoodbc || true +db_go + +exit 0 --- freetds-0.91.orig/debian/tdsodbc.install +++ freetds-0.91/debian/tdsodbc.install @@ -0,0 +1,2 @@ +/usr/lib/*/odbc/* +debian/odbcinst.ini /usr/share/tdsodbc --- freetds-0.91.orig/debian/tdsodbc.postinst +++ freetds-0.91/debian/tdsodbc.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_version 2.0 + +# Always add in the postinst, always delete in the prerm -- this way, +# we'll always have a good reference count in odbcinst.ini. +db_get freetds/addtoodbc || true +if [ "$RET" = "true" ]; then + odbcinst -i -d -f /usr/share/tdsodbc/odbcinst.ini 1>&2 +fi + +if dpkg --compare-versions "$2" lt-nl 0.82-1; then + # on upgrade from older versions, this file will be left around, + # preventing removal of the directory; do a one-time cleanup. + rm -f /var/lib/odbc/freetds.removed + [ ! -d /var/lib/odbc ] || rmdir --ignore-fail-on-non-empty /var/lib/odbc +fi + +#DEBHELPER# --- freetds-0.91.orig/debian/tdsodbc.preinst +++ freetds-0.91/debian/tdsodbc.preinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +if [ -L /usr/share/doc/tdsodbc ]; then + rm -f /usr/share/doc/tdsodbc +fi + +#DEBHELPER# + --- freetds-0.91.orig/debian/tdsodbc.prerm +++ freetds-0.91/debian/tdsodbc.prerm @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +# Source debconf library. +. /usr/share/debconf/confmodule +db_version 2.0 + +db_get freetds/addtoodbc || true +if [ "$RET" = "true" ]; then + odbcinst -u -d -n FreeTDS +fi + +#DEBHELPER# --- freetds-0.91.orig/debian/tdsodbc.templates +++ freetds-0.91/debian/tdsodbc.templates @@ -0,0 +1,11 @@ +Template: freetds/addtoodbc +Type: boolean +Default: false +_Description: Do you want FreeTDS to be registered as an ODBC driver? + You appear to have an ODBC manager (unixodbc or iODBC) installed on your + system. FreeTDS now provides an Open Database Connectivity driver that + can be registered with the manager using the /usr/bin/odbcinst utility. + . + If you wish, FreeTDS will be automatically added as an ODBC driver now and + will be automatically deleted from the list when you remove the freetds + package. --- freetds-0.91.orig/debian/watch +++ freetds-0.91/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/ freetds-([0-9].*)\.tar\.gz --- freetds-0.91.orig/doc/Makefile.am +++ freetds-0.91/doc/Makefile.am @@ -5,7 +5,7 @@ # $Id: Makefile.am,v 1.65.4.1 2011/04/09 13:57:58 jklowden Exp $ SHELL = /bin/sh -TXT2MAN = $(srcdir)/txt2man +TXT2MAN = txt2man DOCDIR = doc/freetds-$(VERSION) PRODUCT = FreeTDS TARGET_DOCDIR = $(DESTDIR)$(datadir)/$(DOCDIR) @@ -61,7 +61,7 @@ $(TARGET_DOCDIR)/images \ $(TARGET_DOCDIR)/images/callouts 2>&1 -MANOPTS = -I 'FreeTDS User Guide' -v 'FreeTDS Utilities' -t $(PRODUCT) -r $(VERSION) +MANOPTS = -I 'FreeTDS User Guide' -v 'FreeTDS Utilities' -p -r $(VERSION) freebcp.1: freebcp.txt $(TXT2MAN) $(MANOPTS) $(srcdir)/freebcp.txt >.$@ --- freetds-0.91.orig/doc/bsqldb.1 +++ freetds-0.91/doc/bsqldb.1 @@ -1,5 +1,5 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH bsqldb 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBbsqldb \fP- batch SQL script processor using DB-Library \fB @@ -7,8 +7,11 @@ .nf .fam C \fBbsqldb\fP [\fB-U\fP \fIusername\fP] [\fB-P\fP \fIpassword\fP] [\fB-S\fP \fIservername\fP] [\fB-D\fP \fIdatabase\fP] -[\fB-i\fP \fIinput_file\fP] [\fB-o\fP \fIoutput_file\fP] [\fB-e\fP \fIerror_file\fP] [\fB-H\fP \fIhostname\fP] -[\fB-t\fP \fIfield_term\fP] [\fB-hqv\fP] + [\fB-i\fP \fIinput_file\fP] [\fB-o\fP \fIoutput_file\fP] [\fB-e\fP \fIerror_file\fP] [\fB-H\fP \fIhostname\fP] + [\fB-t\fP \fIfield_term\fP] [\fB-hqv\fP] + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/doc/bsqlodbc.1 +++ freetds-0.91/doc/bsqlodbc.1 @@ -1,5 +1,5 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH bsqlodbc 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBbsqlodbc \fP- batch SQL script processor using ODBC \fB @@ -7,8 +7,11 @@ .nf .fam C \fBbsqlodbc\fP [\fB-U\fP \fIusername\fP] [\fB-P\fP \fIpassword\fP] [\fB-S\fP \fIserver\fP] [\fB-D\fP \fIdatabase\fP] -[\fB-i\fP \fIinput_file\fP] [\fB-o\fP \fIoutput_file\fP] [\fB-e\fP \fIerror_file\fP] -[\fB-t\fP \fIfield_term\fP] [\fB-qv\fP] + [\fB-i\fP \fIinput_file\fP] [\fB-o\fP \fIoutput_file\fP] [\fB-e\fP \fIerror_file\fP] + [\fB-t\fP \fIfield_term\fP] [\fB-qv\fP] + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/doc/datacopy.1 +++ freetds-0.91/doc/datacopy.1 @@ -1,13 +1,16 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH datacopy 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBdatacopy \fP- move table data between two servers .SH SYNOPSIS .nf .fam C \fBdatacopy\fP { \fB-t\fP | \fB-a\fP | \fB-c\fP \fIowner\fP } [\fB-b\fP \fIbatchsize\fP] [\fB-p\fP \fIpacketsize\fP] [\fB-v\fP] [\fB-d\fP] -[\fB-S\fP \fIserver/username/password/database/table_or_view\fP] -[\fB-D\fP \fIserver/username/password/database/table\fP] + [\fB-S\fP \fIserver/username/password/database/table_or_view\fP] + [\fB-D\fP \fIserver/username/password/database/table\fP] + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/doc/defncopy.1 +++ freetds-0.91/doc/defncopy.1 @@ -1,5 +1,5 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH defncopy 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBdefncopy \fP- extract procedures and views from a Microsoft server. \fB @@ -7,8 +7,11 @@ .nf .fam C \fBdefncopy\fP [\fB-U\fP \fIusername\fP] [\fB-P\fP \fIpassword\fP] [\fB-S\fP \fIserver\fP] [\fB-D\fP \fIdatabase\fP] -[\fB-i\fP \fIinput_file\fP] [\fB-o\fP \fIoutput_file\fP] [\fB-v\fP] -[owner.]object_name [[owner.]object_name\.\.\.] + [\fB-i\fP \fIinput_file\fP] [\fB-o\fP \fIoutput_file\fP] [\fB-v\fP] + [owner.]object_name [[owner.]object_name\.\.\.] + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/doc/fisql.1 +++ freetds-0.91/doc/fisql.1 @@ -1,5 +1,5 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH fisql 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBfisql \fP- interactive SQL shell \fB @@ -8,15 +8,18 @@ .fam C \fBfisql\fP [\fB-e\fP] [\fB-F\fP] [\fB-g\fP] [\fB-p\fP] [\fB-n\fP] [\fB-v\fP] [\fB-X\fP] [\fB-Y\fP] -\[a] [\fB-a\fP \fIdisplay_charset\fP] [\fB-c\fP \fIcmdend\fP] -\[a] [\fB-D\fP \fIdatabase\fP] [\fB-E\fP \fIeditor\fP] -\[a] [\fB-h\fP \fIheaders\fP] [\fB-H\fP \fIhostname\fP] [\fB-i\fP \fIinputfile\fP] -\[a] [\fB-I\fP \fIinterfaces_file\fP] [\fB-J\fP \fIclient_charset\fP] -\[a] [\fB-l\fP \fIlogin_timeout\fP] [\fB-m\fP \fIerrorlevel\fP] -\[a] [\fB-o\fP \fIoutputfile\fP] -\[a] [\fB-P\fP \fIpassword\fP] [\fB-s\fP \fIcolseparator\fP] [\fB-S\fP \fIserver\fP] -\[a] [\fB-t\fP \fItimeout\fP] [\fB-U\fP \fIusername\fP] [\fB-w\fP \fIwidth\fP] -\[a] [\fB-y\fP \fIsybase_dir\fP] [\fB-z\fP \fIlanguage\fP] + \[a] [\fB-a\fP \fIdisplay_charset\fP] [\fB-c\fP \fIcmdend\fP] + \[a] [\fB-D\fP \fIdatabase\fP] [\fB-E\fP \fIeditor\fP] + \[a] [\fB-h\fP \fIheaders\fP] [\fB-H\fP \fIhostname\fP] [\fB-i\fP \fIinputfile\fP] + \[a] [\fB-I\fP \fIinterfaces_file\fP] [\fB-J\fP \fIclient_charset\fP] + \[a] [\fB-l\fP \fIlogin_timeout\fP] [\fB-m\fP \fIerrorlevel\fP] + \[a] [\fB-o\fP \fIoutputfile\fP] + \[a] [\fB-P\fP \fIpassword\fP] [\fB-s\fP \fIcolseparator\fP] [\fB-S\fP \fIserver\fP] + \[a] [\fB-t\fP \fItimeout\fP] [\fB-U\fP \fIusername\fP] [\fB-w\fP \fIwidth\fP] + \[a] [\fB-y\fP \fIsybase_dir\fP] [\fB-z\fP \fIlanguage\fP] + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/doc/freebcp.1 +++ freetds-0.91/doc/freebcp.1 @@ -1,16 +1,19 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH freebcp 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBfreebcp \fP- bulk loading utility for Sybase and Microsoft databases .SH SYNOPSIS .nf .fam C \fBfreebcp\fP [[database.]owner.]object_name {in | [query]out} \fIdatafile\fP -{ \fB-c\fP | \fB-n\fP | \fB-f\fP \fIformatfile\fP } -[\fB-b\fP \fIbatchsize\fP] [\fB-F\fP \fIfirstrow\fP] [\fB-L\fP \fIlastrow\fP] [\fB-e\fP \fIerrfile\fP] -[\fB-I\fP \fIinterfaces\fP] [\fB-m\fP \fImaxerrors\fP] [\fB-t\fP \fIfield_term\fP] [\fB-r\fP \fIrow_term\fP] -[\fB-h\fP \fIhints\fP] [\fB-T\fP \fItextsize\fP] [\fB-A\fP \fIpacket_size\fP] [\fB-O\fP \fIoptions\fP] -[\fB-S\fP \fIservername\fP] [\fB-U\fP \fIusername\fP] [\fB-P\fP \fIpassword\fP] [\fB-EdVv\fP] + { \fB-c\fP | \fB-n\fP | \fB-f\fP \fIformatfile\fP } + [\fB-b\fP \fIbatchsize\fP] [\fB-F\fP \fIfirstrow\fP] [\fB-L\fP \fIlastrow\fP] [\fB-e\fP \fIerrfile\fP] + [\fB-I\fP \fIinterfaces\fP] [\fB-m\fP \fImaxerrors\fP] [\fB-t\fP \fIfield_term\fP] [\fB-r\fP \fIrow_term\fP] + [\fB-h\fP \fIhints\fP] [\fB-T\fP \fItextsize\fP] [\fB-A\fP \fIpacket_size\fP] [\fB-O\fP \fIoptions\fP] + [\fB-S\fP \fIservername\fP] [\fB-U\fP \fIusername\fP] [\fB-P\fP \fIpassword\fP] [\fB-EdVv\fP] + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/doc/osql.1 +++ freetds-0.91/doc/osql.1 @@ -1,15 +1,15 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH osql 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBosql \fP- utility to test FreeTDS connections and queries \fB .SH SYNOPSIS .nf .fam C -.TP -.B -\fBosql\fP -\fB-S\fP \fIdsn\fP \fB-U\fP \fIusername\fP \fB-P\fP \fIpassword\fP [\fB-I\fP \fIini_dir\fP] +\fBosql\fP \fB-S\fP \fIdsn\fP \fB-U\fP \fIusername\fP \fB-P\fP \fIpassword\fP [\fB-I\fP \fIini_dir\fP] + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/doc/tsql.1 +++ freetds-0.91/doc/tsql.1 @@ -1,19 +1,17 @@ -." Text automatically generated by txt2man-1.4.7 -.TH FreeTDS "May 14, 2011" "0.91RC2" "FreeTDS Utilities" +.\"Text automatically generated by txt2man +.TH tsql 1 "13 November 2011" "doc" "FreeTDS Utilities" .SH NAME \fBtsql \fP- utility to test FreeTDS connections and queries .SH SYNOPSIS .nf .fam C -.TP -.B -\fBtsql\fP -{ \fB-S\fP \fIservername\fP [\fB-I\fP \fIinterface\fP] | \fB-H\fP \fIhostname\fP \fB-p\fP \fIport\fP } -\fB-U\fP \fIusername\fP [\fB-P\fP \fIpassword\fP] [\fB-o\fP \fIoptions\fP] -.TP -.B -\fBtsql\fP -\fB-C\fP +\fBtsql\fP { \fB-S\fP \fIservername\fP [\fB-I\fP \fIinterface\fP] | \fB-H\fP \fIhostname\fP \fB-p\fP \fIport\fP } + \fB-U\fP \fIusername\fP [\fB-P\fP \fIpassword\fP] [\fB-o\fP \fIoptions\fP] + +\fBtsql\fP \fB-C\fP + +.fam T +.fi .fam T .fi .SH DESCRIPTION --- freetds-0.91.orig/freetds.conf.pl +++ freetds-0.91/freetds.conf.pl @@ -0,0 +1,92 @@ +#!/usr/bin/perl +# +# FreeTDS - Library of routines accessing Sybase and Microsoft databases +# Copyright (C) 2001 James K. Lowden +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +# This program converts entries in an interfaces file to the format +# of freetds.conf. + +if( @ARGV > 0 ) { + $interfaces = $ARGV[0]; + goto OPEN if( -e $interfaces && ! -d $interfaces ); + + # agument was only directory name? + $interfaces = "$interfaces/interfaces"; + goto OPEN if( -e $interfaces ); + + warn "Could not find 'interfaces' file using $ARGV[0].\n"; +} + +# is it in the current directory? +$interfaces = 'interfaces'; +goto OPEN if( -e $interfaces ); + +# is it in the $SYBASE directory? +$interfaces = "$ENV{SYBASE}/interfaces"; +goto OPEN if( -e $interfaces ); + +CROAK: # no input file found . +$searched = qq("$ARGV[0]", ) if $ARGV[0]; +$searched .= qq/\$SYBASE ("$SYBASE") /; +$searched .= ", " if $ARGV[0]; +$searched .= "or " . `pwd`; +die qq(No "interfaces" file found to convert in $searched); + + +OPEN: +open INTERFACES, $interfaces or die qq(Could not open "$interfaces" from `pwd`); +print qq(# The following lines were converted from "$interfaces":\n); + +$fPrintComments = 0; +while() { + # Print comments after finding some kind of data line + # (skip boilerplate explanatory comments in model interfaces file). + if( /^#/ ) { + print if $fPrintComments; + next; + } + + $fPrintComments = 1; # reached first non-commented line + + if( /^(\w+)/ ) { # new symbolic name found + chomp; + $SymbolicName = $1; + $hostname = $port = $tds = ''; + next; + } + + next unless $SymbolicName; + + # ignore "master" record + next if /^\s+master/; + + # if we know the symbolic name and we found a "query" line... + if( s/^\s+query//o ) { # found a live one + chomp; + ($tcp, $tds, $hostname, $port) = split; + $tds =~ s/tds//o; # strip off 'tds' if in form of 'tds4.2' + print qq([$SymbolicName]\n); + print qq(\thost = $hostname\n); + print qq(\tport = $port\n); + print qq(\ttds version = $tds\n) if $tds =~ /\d.*\d/; + print qq(\n); + + $SymbolicName = ''; + $hostname = $port = $tds = ''; + } +} --- freetds-0.91.orig/src/apps/bsqldb.c +++ freetds-0.91/src/apps/bsqldb.c @@ -545,7 +545,7 @@ perror("could not write to output file"); exit(EXIT_FAILURE); } - fprintf(stdout, metadata[c].format_string); /* col/row separator */ + fprintf(stdout, "%s", metadata[c].format_string); /* col/row separator */ continue; } switch (data[c].status) { /* handle nulls */ @@ -824,7 +824,7 @@ options->servername = getenv("DSQUERY"); - while ((ch = getopt(argc, argv, "U:P:S:dD:i:o:e:t:H:hqv")) != -1) { + while ((ch = getopt(argc, argv, "U:P:S:d:D:i:o:e:t:H:hqv")) != -1) { switch (ch) { case 'U': username = strdup(optarg); --- freetds-0.91.orig/src/apps/bsqlodbc.c +++ freetds-0.91/src/apps/bsqlodbc.c @@ -838,7 +838,7 @@ perror("unable to get hostname"); } - while ((ch = getopt(argc, argv, "U:P:S:dD:i:o:e:t:V:hqv")) != -1) { + while ((ch = getopt(argc, argv, "U:P:S:d:D:i:o:e:t:V:hqv")) != -1) { char *p; switch (ch) { case 'U': --- freetds-0.91.orig/src/apps/datacopy.c +++ freetds-0.91/src/apps/datacopy.c @@ -455,8 +455,10 @@ slogin = dblogin(); - DBSETLUSER(slogin, pdata->suser); - DBSETLPWD(slogin, pdata->spass); + if (pdata->suser) + DBSETLUSER(slogin, pdata->suser); + if (pdata->spass) + DBSETLPWD(slogin, pdata->spass); DBSETLAPP(slogin, "Migrate Data"); /* if packet size specified, set in login record */ @@ -481,8 +483,10 @@ dlogin = dblogin(); - DBSETLUSER(dlogin, pdata->duser); - DBSETLPWD(dlogin, pdata->dpass); + if (pdata->duser) + DBSETLUSER(dlogin, pdata->duser); + if (pdata->dpass) + DBSETLPWD(dlogin, pdata->dpass); DBSETLAPP(dlogin, "Migrate Data"); /* Enable bulk copy for this connection. */ --- freetds-0.91.orig/src/odbc/odbc.c +++ freetds-0.91/src/odbc/odbc.c @@ -7047,7 +7047,7 @@ ¶ms[i].value) + 3; if (begin[0] == '.' && strstr(params[i].name, "qualifier")) { len += tds_quote_id(stmt->dbc->tds_socket, NULL, - tds_dstr_cstr(¶ms[param_qualifier].value), tds_dstr_len(¶ms[param_qualifier].value)); + tds_dstr_cstr(¶ms[i].value), tds_dstr_len(¶ms[i].value)); param_qualifier = i; } } --- freetds-0.91.orig/src/tds/net.c +++ freetds-0.91/src/tds/net.c @@ -94,11 +94,13 @@ #include #ifdef HAVE_GNUTLS +#include #if defined(_THREAD_SAFE) && defined(TDS_HAVE_PTHREAD_MUTEX) #include "tdsthread.h" +#if GNUTLS_VERSION_NUMBER <= 0x020b00 #include #endif -#include +#endif #elif defined(HAVE_OPENSSL) #include #endif @@ -1268,7 +1270,7 @@ } #endif -#if defined(_THREAD_SAFE) && defined(TDS_HAVE_PTHREAD_MUTEX) +#if defined(_THREAD_SAFE) && defined(TDS_HAVE_PTHREAD_MUTEX) && GNUTLS_VERSION_NUMBER <= 0x020b00 GCRY_THREAD_OPTION_PTHREAD_IMPL; #define tds_gcry_init() gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread) #else