From 5f149f63fdd13601c458eca88005e1296197f80e Mon Sep 17 00:00:00 2001 From: Felippe de Meirelles Motta Date: Wed, 4 Nov 2009 21:11:51 +0000 Subject: [PATCH] - Update to 08.04.0100. PR: ports/137046 Submitted by: Alex Goncharov (maintainer) --- databases/postgresql-odbc/Makefile | 30 ++++++++++++++++++++--------- databases/postgresql-odbc/distinfo | 6 +++--- databases/postgresql-odbc/pkg-descr | 14 ++++---------- 3 files changed, 28 insertions(+), 22 deletions(-) diff --git a/databases/postgresql-odbc/Makefile b/databases/postgresql-odbc/Makefile index f3f2c4d00b54..1895cc216cb6 100644 --- a/databases/postgresql-odbc/Makefile +++ b/databases/postgresql-odbc/Makefile @@ -7,21 +7,33 @@ # $FreeBSD$ # -# PostgreSQL ODBC driver should work under either unixODBC or iODBC -# driver manager, when compliled against one. (Important: Do not try -# to have both installed -- they have overlapping files). +# -- 2009-07-23 -- Alex Goncharov --> -# It looks like most people are using unixODBC these days, rather than -# iODBC, so let's make unixODBC the default choice: to select iODBC, -# set WITH_IODBC, without setting WITH_UNIXODBC. When the latter is -# set or when neither is set, we go with WITH_UNIXODBC. +# The driver has to be built against a driver manager; there is no +# reason to expect that it can be built against *any* driver manager. +# In days old, iODBC was the common choice of a driver manager on +# Unix. Today, everybody builds and tests against another driver +# manager, unixODBC. + +# When I took over this port, I made the build against unixODBC to be +# the default, and introduced the WITH_IODBC variable to build against +# iODBC. At that point (2008-08-30), the i0DBC build worked and +# produced a workable driver. + +# Starting from the new driver release, 08.04.0100, I am no longer +# trying to build the WITH_IODBC=yes case. I keep this switch here, +# but you should really never use it -- iODBC has long been +# unmaintained and ODBC driver developers use unixODBC for builds and +# tests. + +# -- 2008-08-30 -- Alex Goncharov -> # Following the existing convention, and other postgresql-* pieces, # this is considered to be a part of the `postgresql' port. PORTNAME= postgresql -PORTVERSION= 08.03.0400 -PORTREVISION= 1 +PORTVERSION= 08.04.0100 +PORTREVISION= 0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR= odbc/versions/src diff --git a/databases/postgresql-odbc/distinfo b/databases/postgresql-odbc/distinfo index 5a1e4350f1f7..77c4d3553b05 100644 --- a/databases/postgresql-odbc/distinfo +++ b/databases/postgresql-odbc/distinfo @@ -1,3 +1,3 @@ -MD5 (postgresql/psqlodbc-08.03.0400.tar.gz) = 3df18f71ef44783bc6d02060aef718f8 -SHA256 (postgresql/psqlodbc-08.03.0400.tar.gz) = f807f5e5d0801d72dc165465c1f5a10a40a947d44fe6d5ae645f53ed1cfc3174 -SIZE (postgresql/psqlodbc-08.03.0400.tar.gz) = 730701 +MD5 (postgresql/psqlodbc-08.04.0100.tar.gz) = 2328c3e97e6a376620a5d317137515ff +SHA256 (postgresql/psqlodbc-08.04.0100.tar.gz) = 57bb143d5d20804c5ce96214227e6e65dc16520efce7ac25ddb7cc4c8aa0db0a +SIZE (postgresql/psqlodbc-08.04.0100.tar.gz) = 736714 diff --git a/databases/postgresql-odbc/pkg-descr b/databases/postgresql-odbc/pkg-descr index fb53adbb05be..10f009936231 100644 --- a/databases/postgresql-odbc/pkg-descr +++ b/databases/postgresql-odbc/pkg-descr @@ -1,11 +1,5 @@ -Support connecting to a postgresql database from a unix client -application using ODBC. +The official ODBC driver for connecting to PostgreSQL Database; not a +part of the PostgreSQL Database distribution, though -- developed and +maintained separately. -Note: You do not need this port installed on unix if you want to use -ODBC to connect a Windows machine to PostgreSQL. - -Since there is an ambition to slim the PostgreSQL distribution, this -software is no longer a part thereof. It is still the offical ODBC -implementation, though. - -WWW: http://pgfoundry.org/projects/psqlodbc/ +WWW: http://www.postgresql.org/ftp/odbc/versions/