Edit

IABSD.fr/ports/databases/iodbc/patches/patch-etc_odbc_ini_sample

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2011-06-16 01:29:57
    Hash : b13f5eb0
    Message : update iodbc to 3.52.7, maintainer timeout - while there, tweak the sample installed ini files to give examples that can work with ODBC drivers available in ports - take maintainer

  • databases/iodbc/patches/patch-etc_odbc_ini_sample
  • $OpenBSD: patch-etc_odbc_ini_sample,v 1.1 2011/06/16 01:29:57 sthen Exp $
    --- etc/odbc.ini.sample.orig	Mon Jan 18 23:37:33 1999
    +++ etc/odbc.ini.sample	Thu Jun 16 02:23:15 2011
    @@ -1,22 +1,20 @@
     ;
     ;  odbc.ini
     ;
    +[ODBC]
    +Trace         = 0
    +TraceAutoStop = 0
    +TraceFile     = sql.log
    +
     [ODBC Data Sources]
    -OpenLink = OpenLink (MT)
    +ExampleTDS = example MS server
     
    -[OpenLink]
    -Driver          = /home/openlink/lib/oplodbc.so.1
    -Description     = Sample OpenLink MT DSN
    -Host            = localhost
    -ServerType      = Oracle 8
    -FetchBufferSize = 99
    -UserName        = 
    -Password        = 
    -Database        = 
    -ServerOptions   = 
    -ConnectOptions  = 
    -Options         = 
    -ReadOnly        = no
    +[ExampleTDS]
    +Description = test ODBC for MSSQL
    +Driver      = FreeTDS
    +Servername  = <name of freetds.conf section>
    +TDS_Version = 7.0
    +language    = us_english
     
     [Default]
    -Driver = /home/openlink/lib/oplodbc.so.1
    +Driver = FreeTDS