Update freetds to version 0.63.

Main changes since 0.61 besides general bug fixes:
* BCP support for db-lib and ct-lib
* many ODBC fixes
* added support for TDS 8.0
* iconv changes (better collation, improve error reporting)
This commit is contained in:
jdolecek 2005-10-09 12:58:59 +00:00
parent 87a9501e09
commit b9e06bf157
6 changed files with 208 additions and 30 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.23 2005/05/22 20:07:45 jlam Exp $
# $NetBSD: Makefile,v 1.24 2005/10/09 12:58:59 jdolecek Exp $
DISTNAME= freetds-0.61.2
PKGREVISION= 1
DISTNAME= freetds-0.63
PKGREVISION= # empty
CATEGORIES= databases
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/
@ -16,9 +16,13 @@ USE_TOOLS+= gmake
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/freetds
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-tdsver=7.0
# no thread-safe resolver functions on NetBSD
CONFIGURE_ARGS+= --disable-threadsafe
EGDIR= ${PREFIX}/share/examples/freetds
CONF_FILES= ${EGDIR}/freetds.conf ${PKG_SYSCONFDIR}/freetds.conf
CONF_FILES+= ${EGDIR}/locales.conf ${PKG_SYSCONFDIR}/locales.conf

View file

@ -1,13 +1,13 @@
@comment $NetBSD: PLIST,v 1.7 2004/09/22 08:09:22 jlam Exp $
@comment $NetBSD: PLIST,v 1.8 2005/10/09 12:58:59 jdolecek Exp $
freetds/bin/bsqldb
freetds/bin/defncopy
freetds/bin/freebcp
freetds/bin/tdspool
freetds/bin/tsql
freetds/include/bkpublic.h
freetds/include/cspublic.h
freetds/include/cstypes.h
freetds/include/ctlib.h
freetds/include/ctpublic.h
freetds/include/dblib.h
freetds/include/sqldb.h
freetds/include/sqlfront.h
freetds/include/sybdb.h
@ -22,12 +22,186 @@ freetds/lib/libct.la
freetds/lib/libsybdb.la
freetds/lib/libtds.la
freetds/lib/libtdssrv.la
freetds/man/man1/bsqldb.1
freetds/man/man1/defncopy.1
freetds/man/man1/freebcp.1
freetds/man/man1/tsql.1
share/doc/freetds-0.63/images/important.gif
share/doc/freetds-0.63/images/note.gif
share/doc/freetds-0.63/images/tip.gif
share/doc/freetds-0.63/reference/a00064.html
share/doc/freetds-0.63/reference/a00075.html
share/doc/freetds-0.63/reference/a00081.html
share/doc/freetds-0.63/reference/a00082.html
share/doc/freetds-0.63/reference/a00083.html
share/doc/freetds-0.63/reference/a00085.html
share/doc/freetds-0.63/reference/a00087.html
share/doc/freetds-0.63/reference/a00156.html
share/doc/freetds-0.63/reference/a00159.html
share/doc/freetds-0.63/reference/a00194.html
share/doc/freetds-0.63/reference/a00197.html
share/doc/freetds-0.63/reference/a00198.html
share/doc/freetds-0.63/reference/a00213.html
share/doc/freetds-0.63/reference/a00217.html
share/doc/freetds-0.63/reference/a00232.html
share/doc/freetds-0.63/reference/a00255.html
share/doc/freetds-0.63/reference/a00307.html
share/doc/freetds-0.63/reference/a00310.html
share/doc/freetds-0.63/reference/a00336.html
share/doc/freetds-0.63/reference/a00337.html
share/doc/freetds-0.63/reference/a00338.html
share/doc/freetds-0.63/reference/a00339.html
share/doc/freetds-0.63/reference/a00340.html
share/doc/freetds-0.63/reference/a00341.html
share/doc/freetds-0.63/reference/a00342.html
share/doc/freetds-0.63/reference/a00343.html
share/doc/freetds-0.63/reference/a00344.html
share/doc/freetds-0.63/reference/a00345.html
share/doc/freetds-0.63/reference/a00346.html
share/doc/freetds-0.63/reference/a00347.html
share/doc/freetds-0.63/reference/a00348.html
share/doc/freetds-0.63/reference/a00349.html
share/doc/freetds-0.63/reference/a00350.html
share/doc/freetds-0.63/reference/a00351.html
share/doc/freetds-0.63/reference/a00352.html
share/doc/freetds-0.63/reference/a00353.html
share/doc/freetds-0.63/reference/a00354.html
share/doc/freetds-0.63/reference/a00356.html
share/doc/freetds-0.63/reference/a00358.html
share/doc/freetds-0.63/reference/a00359.html
share/doc/freetds-0.63/reference/a00360.html
share/doc/freetds-0.63/reference/a00361.html
share/doc/freetds-0.63/reference/a00362.html
share/doc/freetds-0.63/reference/a00363.html
share/doc/freetds-0.63/reference/a00364.html
share/doc/freetds-0.63/reference/a00365.html
share/doc/freetds-0.63/reference/a00366.html
share/doc/freetds-0.63/reference/a00367.html
share/doc/freetds-0.63/reference/a00368.html
share/doc/freetds-0.63/reference/a00369.html
share/doc/freetds-0.63/reference/a00370.html
share/doc/freetds-0.63/reference/a00371.html
share/doc/freetds-0.63/reference/a00372.html
share/doc/freetds-0.63/reference/a00373.html
share/doc/freetds-0.63/reference/a00374.html
share/doc/freetds-0.63/reference/a00375.html
share/doc/freetds-0.63/reference/a00376.html
share/doc/freetds-0.63/reference/a00377.html
share/doc/freetds-0.63/reference/a00378.html
share/doc/freetds-0.63/reference/a00379.html
share/doc/freetds-0.63/reference/a00380.html
share/doc/freetds-0.63/reference/a00381.html
share/doc/freetds-0.63/reference/a00382.html
share/doc/freetds-0.63/reference/a00383.html
share/doc/freetds-0.63/reference/a00384.html
share/doc/freetds-0.63/reference/a00385.html
share/doc/freetds-0.63/reference/a00386.html
share/doc/freetds-0.63/reference/a00387.html
share/doc/freetds-0.63/reference/a00388.html
share/doc/freetds-0.63/reference/a00389.html
share/doc/freetds-0.63/reference/a00391.html
share/doc/freetds-0.63/reference/a00393.html
share/doc/freetds-0.63/reference/a00394.html
share/doc/freetds-0.63/reference/a00395.html
share/doc/freetds-0.63/reference/a00396.html
share/doc/freetds-0.63/reference/a00397.html
share/doc/freetds-0.63/reference/a00398.html
share/doc/freetds-0.63/reference/a00399.html
share/doc/freetds-0.63/reference/annotated.html
share/doc/freetds-0.63/reference/bug.html
share/doc/freetds-0.63/reference/doxygen.css
share/doc/freetds-0.63/reference/doxygen.png
share/doc/freetds-0.63/reference/files.html
share/doc/freetds-0.63/reference/functions.html
share/doc/freetds-0.63/reference/globals.html
share/doc/freetds-0.63/reference/index.html
share/doc/freetds-0.63/reference/modules.html
share/doc/freetds-0.63/reference/pages.html
share/doc/freetds-0.63/reference/todo.html
share/doc/freetds-0.63/userguide/about.htm
share/doc/freetds-0.63/userguide/aboutunicode.htm
share/doc/freetds-0.63/userguide/acknowledgments.htm
share/doc/freetds-0.63/userguide/advocacy.htm
share/doc/freetds-0.63/userguide/apireference.htm
share/doc/freetds-0.63/userguide/appendmode.htm
share/doc/freetds-0.63/userguide/askingforhelp.htm
share/doc/freetds-0.63/userguide/build.htm
share/doc/freetds-0.63/userguide/choosingtdsprotocol.htm
share/doc/freetds-0.63/userguide/config.htm
share/doc/freetds-0.63/userguide/configs.htm
share/doc/freetds-0.63/userguide/configurations.htm
share/doc/freetds-0.63/userguide/confirminstall.htm
share/doc/freetds-0.63/userguide/contrib.htm
share/doc/freetds-0.63/userguide/contributors.htm
share/doc/freetds-0.63/userguide/ctlib.api.summary.htm
share/doc/freetds-0.63/userguide/dblib.api.summary.htm
share/doc/freetds-0.63/userguide/domains.htm
share/doc/freetds-0.63/userguide/dsnless.htm
share/doc/freetds-0.63/userguide/envvar.htm
share/doc/freetds-0.63/userguide/freetdsconf.htm
share/doc/freetds-0.63/userguide/freetdshistory.htm
share/doc/freetds-0.63/userguide/gfdl-1.htm
share/doc/freetds-0.63/userguide/gfdl-10.htm
share/doc/freetds-0.63/userguide/gfdl-11.htm
share/doc/freetds-0.63/userguide/gfdl-2.htm
share/doc/freetds-0.63/userguide/gfdl-3.htm
share/doc/freetds-0.63/userguide/gfdl-4.htm
share/doc/freetds-0.63/userguide/gfdl-5.htm
share/doc/freetds-0.63/userguide/gfdl-6.htm
share/doc/freetds-0.63/userguide/gfdl-7.htm
share/doc/freetds-0.63/userguide/gfdl-8.htm
share/doc/freetds-0.63/userguide/gfdl-9.htm
share/doc/freetds-0.63/userguide/gfdl.htm
share/doc/freetds-0.63/userguide/help.htm
share/doc/freetds-0.63/userguide/index.htm
share/doc/freetds-0.63/userguide/index.html
share/doc/freetds-0.63/userguide/install.htm
share/doc/freetds-0.63/userguide/interfacesfile.htm
share/doc/freetds-0.63/userguide/interfacesformat.htm
share/doc/freetds-0.63/userguide/interfaceslocation.htm
share/doc/freetds-0.63/userguide/interfacespurpose.htm
share/doc/freetds-0.63/userguide/iso8859.htm
share/doc/freetds-0.63/userguide/locales.htm
share/doc/freetds-0.63/userguide/logging.htm
share/doc/freetds-0.63/userguide/mailinglist.htm
share/doc/freetds-0.63/userguide/nonwestern.htm
share/doc/freetds-0.63/userguide/odbc.api.summary.htm
share/doc/freetds-0.63/userguide/odbcconnattr.htm
share/doc/freetds-0.63/userguide/odbcdiagnose.htm
share/doc/freetds-0.63/userguide/odbcinionly.htm
share/doc/freetds-0.63/userguide/odbcombo.htm
share/doc/freetds-0.63/userguide/osissues.htm
share/doc/freetds-0.63/userguide/packages.htm
share/doc/freetds-0.63/userguide/pagenodata.htm
share/doc/freetds-0.63/userguide/perl.htm
share/doc/freetds-0.63/userguide/php.htm
share/doc/freetds-0.63/userguide/prepodbc.htm
share/doc/freetds-0.63/userguide/programming.htm
share/doc/freetds-0.63/userguide/projects.htm
share/doc/freetds-0.63/userguide/python.htm
share/doc/freetds-0.63/userguide/samplecode.htm
share/doc/freetds-0.63/userguide/seemtooslow.htm
share/doc/freetds-0.63/userguide/serverthere.htm
share/doc/freetds-0.63/userguide/software.htm
share/doc/freetds-0.63/userguide/stunnel.htm
share/doc/freetds-0.63/userguide/sybsql.htm
share/doc/freetds-0.63/userguide/tdshistory.htm
share/doc/freetds-0.63/userguide/tdspool.htm
share/doc/freetds-0.63/userguide/troubleshooting.htm
share/doc/freetds-0.63/userguide/unicode.htm
share/doc/freetds-0.63/userguide/unicodefreetds.htm
share/doc/freetds-0.63/userguide/unicodegoodbad.htm
share/doc/freetds-0.63/userguide/unicodeutf.htm
share/doc/freetds-0.63/userguide/what.htm
share/examples/freetds/freetds.conf
share/examples/freetds/locales.conf
share/examples/freetds/pool.conf
@dirrm share/examples/freetds
@dirrm share/doc/freetds-0.63/userguide
@dirrm share/doc/freetds-0.63/reference
@dirrm share/doc/freetds-0.63/images
@dirrm share/doc/freetds-0.63
@dirrm freetds/man/man1
@dirrm freetds/man
@dirrm freetds/lib

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.3 2004/10/03 00:13:18 tv Exp $
# $NetBSD: buildlink3.mk,v 1.4 2005/10/09 12:58:59 jdolecek Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREETDS_BUILDLINK3_MK:= ${FREETDS_BUILDLINK3_MK}+
@ -12,7 +12,7 @@ BUILDLINK_PACKAGES+= freetds
.if !empty(FREETDS_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.freetds+= freetds>=0.61.2
BUILDLINK_RECOMMENDED.freetds+= freetds>=0.61.2nb1
BUILDLINK_RECOMMENDED.freetds+= freetds>=0.63
BUILDLINK_PKGSRCDIR.freetds?= ../../databases/freetds
BUILDLINK_INCDIRS.freetds+= freetds/include
BUILDLINK_LIBDIRS.freetds+= freetds/lib

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.11 2005/02/23 16:33:05 agc Exp $
$NetBSD: distinfo,v 1.12 2005/10/09 12:58:59 jdolecek Exp $
SHA1 (freetds-0.61.2.tar.gz) = 0803baeb09707c4e2ba822c7c3b0379b67e362eb
RMD160 (freetds-0.61.2.tar.gz) = 9baa0a0ed061ff0049711fbd637f2fe9fc86acfc
Size (freetds-0.61.2.tar.gz) = 749650 bytes
SHA1 (patch-aa) = e0f358dec17b9735686bc7859312497de2908624
SHA1 (freetds-0.63.tar.gz) = b95e630524800155af8fa04e78b5b834120cf48f
RMD160 (freetds-0.63.tar.gz) = ee132f757f698cfc8dabc612012eb8f2486e66dd
Size (freetds-0.63.tar.gz) = 1321466 bytes
SHA1 (patch-aa) = 1fd449d758b9791bac8561bf3831b548b649fa3f
SHA1 (patch-ab) = 6634d7358481d8a89cdf1112c7e1173b4206d448
SHA1 (patch-ac) = f757e56e3229ba268af73ac4779887a47b70cbef
SHA1 (patch-ad) = ac4e41062a65a46f01e853ab7d6ae63abc87f4de
SHA1 (patch-ad) = ad1fc12de87f459583ce4916bf22be28c3db0722

View file

@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.4 2003/06/11 13:24:09 wiz Exp $
$NetBSD: patch-aa,v 1.5 2005/10/09 12:58:59 jdolecek Exp $
--- Makefile.in.orig Wed Jun 11 14:41:58 2003
+++ Makefile.in
@@ -538,13 +538,6 @@ uninstall-info: uninstall-info-recursive
--- Makefile.in.orig 2005-03-30 02:51:55.000000000 +0200
+++ Makefile.in 2005-10-09 14:20:14.000000000 +0200
@@ -576,13 +576,6 @@
install-data-local:
@ -14,5 +14,5 @@ $NetBSD: patch-aa,v 1.4 2003/06/11 13:24:09 wiz Exp $
- $(INSTALL_DATA) $(srcdir)/locales.conf $(ETC)/locales.conf; \
- fi
# for default we do not uninstall configuration (they can be changed)
# do not uninstall configuration files (they may have been changed)
@DISTCHECK_BUILD_TRUE@uninstall-local:

View file

@ -1,22 +1,22 @@
$NetBSD: patch-ad,v 1.1 2004/05/23 18:23:51 danw Exp $
$NetBSD: patch-ad,v 1.2 2005/10/09 12:58:59 jdolecek Exp $
--- src/replacements/Makefile.in.orig Sat Aug 2 11:24:35 2003
+++ src/replacements/Makefile.in
@@ -138,7 +138,7 @@ tds_sysdep_int64_type = @tds_sysdep_int6
tds_sysdep_real32_type = @tds_sysdep_real32_type@
tds_sysdep_real64_type = @tds_sysdep_real64_type@
--- src/replacements/Makefile.in.orig 2005-03-30 02:51:58.000000000 +0200
+++ src/replacements/Makefile.in 2005-10-09 14:21:59.000000000 +0200
@@ -172,7 +172,7 @@
# $Id: patch-ad,v 1.2 2005/10/09 12:58:59 jdolecek Exp $
noinst_LTLIBRARIES = libreplacements.la
-libreplacements_la_SOURCES =
+libreplacements_la_SOURCES = dummy.c
-libreplacements_la_SOURCES = iconv.c
+libreplacements_la_SOURCES = iconv.c dummy.c
libreplacements_la_LDFLAGS =
libreplacements_la_LIBADD = @LTLIBOBJS@
INCLUDES = -I$(top_srcdir)/include
@@ -150,7 +150,7 @@ CONFIG_CLEAN_FILES =
@@ -184,7 +184,7 @@
LTLIBRARIES = $(noinst_LTLIBRARIES)
libreplacements_la_DEPENDENCIES = @LTLIBOBJS@
-am_libreplacements_la_OBJECTS =
+am_libreplacements_la_OBJECTS = dummy.lo
-am_libreplacements_la_OBJECTS = iconv.lo
+am_libreplacements_la_OBJECTS = iconv.lo dummy.lo
libreplacements_la_OBJECTS = $(am_libreplacements_la_OBJECTS)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include