From owner-freebsd-ports Sat Nov 30 12:10: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86A2F37B401 for ; Sat, 30 Nov 2002 12:10:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6B9D43EC2 for ; Sat, 30 Nov 2002 12:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAUKA1x3025477 for ; Sat, 30 Nov 2002 12:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAUKA1kP025476; Sat, 30 Nov 2002 12:10:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F385637B401 for ; Sat, 30 Nov 2002 12:00:22 -0800 (PST) Received: from amsfep15-int.chello.nl (amsfep15-int.chello.nl [213.46.243.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id D485743EAF for ; Sat, 30 Nov 2002 12:00:21 -0800 (PST) (envelope-from girgen@smtp.chello.se) Received: from palle.girgensohn.se ([213.89.136.93]) by amsfep15-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20021130200021.TGZD12111.amsfep15-int.chello.nl@palle.girgensohn.se> for ; Sat, 30 Nov 2002 21:00:21 +0100 Received: from palle.girgensohn.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.12.6/8.12.6) with ESMTP id gAUK0Kxg092902 for ; Sat, 30 Nov 2002 21:00:20 +0100 (CET) (envelope-from girgen@palle.girgensohn.se) Received: (from girgen@localhost) by palle.girgensohn.se (8.12.6/8.12.6/Submit) id gAUK0Kbb092901; Sat, 30 Nov 2002 21:00:20 +0100 (CET) (envelope-from girgen) Message-Id: <200211302000.gAUK0Kbb092901@palle.girgensohn.se> Date: Sat, 30 Nov 2002 21:00:20 +0100 (CET) From: Palle Girgensohn Reply-To: Palle Girgensohn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/45882: Update of postgresql-odbc to version 7.2.5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45882 >Category: ports >Synopsis: Update of postgresql-odbc to version 7.2.5 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 30 12:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: PING PONG >Environment: System: FreeBSD palle.girgensohn.se 4.7-RC FreeBSD 4.7-RC #0: Sun Sep 29 17:21:22 CEST 2002 root@palle.girgensohn.se:/usr/local/obj/usr/src/sys/STORDATAN i386 >Description: This patch brings postgresql's odbc port to sync with postgresql-7.3. The src has been split from the main distribution, hence the version number is not the same as for the postgresql dist. This PR fixes the problems mentioned in PR ports/41739, credits to Dave Chapeskie >How-To-Repeat: >Fix: Index: postgresql-odbc/Makefile =================================================================== RCS file: /home/ncvs/ports/databases/postgresql-odbc/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- postgresql-odbc/Makefile 11 Apr 2002 05:08:34 -0000 1.2 +++ postgresql-odbc/Makefile 30 Nov 2002 17:48:27 -0000 @@ -1,22 +1,19 @@ -# New ports collection makefile for: PostgreSQL JDBC +# New ports collection makefile for: PostgreSQL ODBC # Date created: January 14, 2002 # Whom: Palle Girgensohn # # $FreeBSD: ports/databases/postgresql-odbc/Makefile,v 1.2 2002/04/11 05:08:34 ijliao Exp $ # -PORTNAME= postgresql-odbc +PORTNAME= postgresql +PORTVERSION= 7.2.5 CATEGORIES= databases +MASTER_SITES= http://odbc.postgresql.org/ftpsite/odbc/versions/src/ +PKGNAMESUFFIX?= -odbc +DISTNAME= psqlodbc-${PORTVERSION} +DIST_SUBDIR= postgresql -MAINTAINER= girgen@partitur.se - -POSTGRESQL_SUBPORT=YES -.include <${.CURDIR}/../postgresql7/Makefile> - -CONFIGURE_ARGS= --with-libdir=${LOCALBASE}/lib \ - --with-includes=${LOCALBASE}/include -LDFLAGS= -L${LOCALBASE}/lib -MAKE_ARGS= LDFLAGS=${LDFLAGS} +MAINTAINER= girgen@pingpong.net # PostgreSQL ODBC support needs an ODBC driver manager to be # installed, and it supports both iODBC and unixODBC. The following @@ -30,16 +27,21 @@ # folks say their is the best, so you might be better off removing # the others? .if ${DRIVER_MANAGER} == "unixodbc" +PKGNAMESUFFIX= -unixodbc CONFIGURE_ARGS+= --with-unixodbc LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC -PLIST_SUB+=UNIXODBC="" IODBC="@comment " .else # assume we're using iodbc LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc CONFIGURE_ARGS+= --with-iodbc --with-odbcinst=${LOCALBASE}/etc/libiodbc -PLIST_SUB+=UNIXODBC="@comment " IODBC="" .endif -MAKEFILE= GNUmakefile -MAKE_ARGS+= -C src/interfaces/odbc +USE_GMAKE= YES +GNU_CONFIGURE= YES +CONFIGURE_ARGS= --with-libdir=${LOCALBASE}/lib --enable-pthreads \ + --with-includes=${LOCALBASE}/include + +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" .include Index: postgresql-odbc/pkg-descr =================================================================== RCS file: /home/ncvs/ports/databases/postgresql-odbc/pkg-descr,v retrieving revision 1.1 diff -u -u -r1.1 pkg-descr --- postgresql-odbc/pkg-descr 19 Feb 2002 08:37:32 -0000 1.1 +++ postgresql-odbc/pkg-descr 30 Nov 2002 17:22:50 -0000 @@ -2,8 +2,10 @@ application using ODBC. Note: You do not need this port installed on unix if you want to use -ODBC to connect a Windows machine with PostgreSQL. +ODBC to connect a Windows machine to PostgreSQL. -This software is part of the standard PostgreSQL distribution. +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://www.postgresql.org/ +WWW: http://odbc.postgresql.org/ Index: postgresql-odbc/pkg-plist =================================================================== RCS file: /home/ncvs/ports/databases/postgresql-odbc/pkg-plist,v retrieving revision 1.1 diff -u -u -r1.1 pkg-plist --- postgresql-odbc/pkg-plist 19 Feb 2002 08:37:32 -0000 1.1 +++ postgresql-odbc/pkg-plist 30 Nov 2002 17:12:41 -0000 @@ -1,9 +1,5 @@ -%%IODBC%%lib/libpsqlodbc.so -%%IODBC%%lib/libpsqlodbc.a -%%IODBC%%lib/libpsqlodbc.so.0 -%%UNIXODBC%%lib/libodbcpsql.so -%%UNIXODBC%%lib/libodbcpsql.a -%%UNIXODBC%%lib/libodbcpsql.so.0 +lib/psqlodbc.so +lib/psqlodbc.la share/postgresql/odbc.sql share/postgresql/odbc-drop.sql -@unexec rmdir %D/share/postgresql 2>/dev/null || true +@dirrm share/psqlodbc --- /dev/null Sat Nov 30 19:36:35 2002 +++ postgresql-odbc/distinfo Sat Nov 30 17:40:13 2002 @@ -0,0 +1 @@ +MD5 (postgresql/psqlodbc-7.2.5.tar.gz) = 701c7c55831652d35937c2efaeaab26d >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message