From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 24 20:40:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0477106566C for ; Sun, 24 Oct 2010 20:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A19768FC13 for ; Sun, 24 Oct 2010 20:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9OKeASE055278 for ; Sun, 24 Oct 2010 20:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9OKeAhD055277; Sun, 24 Oct 2010 20:40:10 GMT (envelope-from gnats) Resent-Date: Sun, 24 Oct 2010 20:40:10 GMT Resent-Message-Id: <201010242040.o9OKeAhD055277@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pierre David Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6DB7106566B for ; Sun, 24 Oct 2010 20:32:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AA4D68FC16 for ; Sun, 24 Oct 2010 20:32:37 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9OKWbVT042627 for ; Sun, 24 Oct 2010 20:32:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o9OKWaSF042626; Sun, 24 Oct 2010 20:32:36 GMT (envelope-from nobody) Message-Id: <201010242032.o9OKWaSF042626@www.freebsd.org> Date: Sun, 24 Oct 2010 20:32:36 GMT From: Pierre David To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/151703: Upgrade database/pgtcl (patch included) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2010 20:40:11 -0000 >Number: 151703 >Category: ports >Synopsis: Upgrade database/pgtcl (patch included) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Oct 24 20:40:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Pierre David >Release: 99.0-CURRENT >Organization: >Environment: FreeBSD vagabond.ma.maison 9.0-CURRENT FreeBSD 9.0-CURRENT #11: Fri Oct 8 21:37:54 CEST 2010 pda@vagabond:/usr/obj/usr/src/sys/VAGABOND amd64 >Description: Here is a patch to upgrade database/pgtcl port from 1.6.2 to 1.8.0 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN pgtcl/Makefile pgtcl.bak/Makefile --- pgtcl/Makefile 2010-10-24 21:43:11.404701846 +0200 +++ pgtcl.bak/Makefile 2009-09-08 23:08:41.000000000 +0200 @@ -6,18 +6,16 @@ # PORTNAME= pgtcl -PORTVERSION= 1.8.0 -# PORTREVISION= 0 +PORTVERSION= 1.6.2 +PORTREVISION= 1 CATEGORIES= databases tcl DISTNAME= ${PORTNAME}${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src -MASTER_SITES= http://pgfoundry.org/frs/download.php/2835/:src +MASTER_SITES= http://pgfoundry.org/frs/download.php/1545/:src MAINTAINER= mi@aldan.algebra.com COMMENT= TCL extension for accessing a PostgreSQL server (PGTCL-NG) -LICENSE= BSD - USE_TCL= yes USE_PGSQL= yes GNU_CONFIGURE= yes @@ -26,8 +24,8 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION} .if !defined(NOPORTDOCS) EXTRACT_ONLY= ${_DISTFILES:M*tar.gz} -DISTFILES+= pgtcldocs-20101010.zip:doc -MASTER_SITES+= http://pgfoundry.org/frs/download.php/2836/:doc +DISTFILES+= pgtcldocs-20070115.zip:doc +MASTER_SITES+= http://pgfoundry.org/frs/download.php/1228/:doc BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip .endif diff -ruN pgtcl/distinfo pgtcl.bak/distinfo --- pgtcl/distinfo 2010-10-24 21:43:44.575704026 +0200 +++ pgtcl.bak/distinfo 2009-01-20 19:10:53.000000000 +0100 @@ -1,6 +1,6 @@ -MD5 (pgtcl1.8.0.tar.gz) = 42e680b85919f9ac8e8ebe5ae71293e7 -SHA256 (pgtcl1.8.0.tar.gz) = 172dc1e5efd614b4cec3a4fa6070e123973ea1c578ba731219f984b5b0a218bb -SIZE (pgtcl1.8.0.tar.gz) = 187842 -MD5 (pgtcldocs-20101010.zip) = fb94579210a7a7f2ae5fd58f14b2f58c -SHA256 (pgtcldocs-20101010.zip) = f15643de16063099236cc60394a387ac4d0a5ede79e12158145d9cc245eb3b5a -SIZE (pgtcldocs-20101010.zip) = 154201 +MD5 (pgtcl1.6.2.tar.gz) = abf26e3cd7f8229f468045ed1fb7e748 +SHA256 (pgtcl1.6.2.tar.gz) = a84af34330b6de8db72e1c63c9db908b92244973e27e7b185aa7c4d34ad3de08 +SIZE (pgtcl1.6.2.tar.gz) = 180664 +MD5 (pgtcldocs-20070115.zip) = 8ce98e93b238c3329d0fe43810442c44 +SHA256 (pgtcldocs-20070115.zip) = c5bcab2f0169041bcf8a10ff80bb39500ef3d068d960cf8d10c1e48b2c1c49de +SIZE (pgtcldocs-20070115.zip) = 128754 diff -ruN pgtcl/files/patch-size_t pgtcl.bak/files/patch-size_t --- pgtcl/files/patch-size_t 1970-01-01 01:00:00.000000000 +0100 +++ pgtcl.bak/files/patch-size_t 2007-06-18 22:45:59.000000000 +0200 @@ -0,0 +1,13 @@ +size_t is the right type to use, but Tcl's core is not prepared for it. + + -mi + +--- pgtclCmds.c Mon Jan 15 21:41:07 2007 ++++ pgtclCmds.c Mon Jun 18 16:28:31 2007 +@@ -3644,5 +3644,5 @@ + { + unsigned char *from_binary; +- size_t from_len; ++ int from_len; + unsigned char *to_string; + size_t to_len; diff -ruN pgtcl/pkg-plist pgtcl.bak/pkg-plist --- pgtcl/pkg-plist 2010-10-24 22:05:44.068694616 +0200 +++ pgtcl.bak/pkg-plist 2007-06-18 22:45:59.000000000 +0200 @@ -1,17 +1,13 @@ lib/pgtcl/libpgtcl%%PORTVERSION%%.so lib/pgtcl/pkgIndex.tcl @dirrm lib/pgtcl -%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html %%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/legalnotice.html +%%PORTDOCS%%%%DOCSDIR%%/ln-legalnotice.html %%PORTDOCS%%%%DOCSDIR%%/pg-blocking.html %%PORTDOCS%%%%DOCSDIR%%/pg-cancelrequest.html %%PORTDOCS%%%%DOCSDIR%%/pg-conndefaults.html %%PORTDOCS%%%%DOCSDIR%%/pg-connect.html -%%PORTDOCS%%%%DOCSDIR%%/pg-describe-cursor.html -%%PORTDOCS%%%%DOCSDIR%%/pg-describe-prepared.html %%PORTDOCS%%%%DOCSDIR%%/pg-disconnect.html -%%PORTDOCS%%%%DOCSDIR%%/pg-encrypt-password.html %%PORTDOCS%%%%DOCSDIR%%/pg-escape-bytea.html %%PORTDOCS%%%%DOCSDIR%%/pg-escape-string.html %%PORTDOCS%%%%DOCSDIR%%/pg-exec-params.html @@ -29,7 +25,6 @@ %%PORTDOCS%%%%DOCSDIR%%/pg-lo-open.html %%PORTDOCS%%%%DOCSDIR%%/pg-lo-read.html %%PORTDOCS%%%%DOCSDIR%%/pg-lo-tell.html -%%PORTDOCS%%%%DOCSDIR%%/pg-lo-truncate.html %%PORTDOCS%%%%DOCSDIR%%/pg-lo-unlink.html %%PORTDOCS%%%%DOCSDIR%%/pg-lo-write.html %%PORTDOCS%%%%DOCSDIR%%/pg-notice-handler.html @@ -54,16 +49,15 @@ %%PORTDOCS%%%%DOCSDIR%%/pgtcl-example-picstore-pq.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-example-picview-esc.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-example-picview-lo.html +%%PORTDOCS%%%%DOCSDIR%%/pgtcl-make.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-example-picview-pq.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-example-results.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-examples.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-load-static.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-loading-load.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-loading.html -%%PORTDOCS%%%%DOCSDIR%%/pgtcl-make-bcc.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-make-macos.html -%%PORTDOCS%%%%DOCSDIR%%/pgtcl-make-mingw.html -%%PORTDOCS%%%%DOCSDIR%%/pgtcl-make.html +%%PORTDOCS%%%%DOCSDIR%%/pgtcl-make-win.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-overview.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-preface.html %%PORTDOCS%%%%DOCSDIR%%/pgtcl-ref-async.html >Release-Note: >Audit-Trail: >Unformatted: