Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2012 13:28:29 GMT
From:      Pierre DAVID <pdagog@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164478: Upgrade database/pgtcl to 2.0.0 (patch included)
Message-ID:  <201201251328.q0PDSTD4097152@red.freebsd.org>
Resent-Message-ID: <201201251330.q0PDUB5X084046@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164478
>Category:       ports
>Synopsis:       Upgrade database/pgtcl to 2.0.0 (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 25 13:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pierre DAVID
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD vagabond.ma.maison 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Upgrade database/pgtcl from 1.9.0 to 2.0.0
and allow Tcl 8.6 use.
Since pgtcl 2.0.0 uses the Tcl dict command, minimum
Tcl version is this 8.5.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -rud pgtcl.orig/Makefile pgtcl/Makefile
--- pgtcl.orig/Makefile	2012-01-25 08:48:10.000000000 +0100
+++ pgtcl/Makefile	2012-01-25 13:36:16.000000000 +0100
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	pgtcl
-PORTVERSION=	1.9.0
+PORTVERSION=	2.0.0
 CATEGORIES=	databases tcl
 MASTER_SITES=	SF/pgtclng/pgtclng/${PORTVERSION}:src	\
-		SF/pgtclng/Manual/20110321:doc
+		SF/pgtclng/Manual/20110918:doc
 MASTER_SITE_SUBDIR=	pgtclng
 DISTNAME=	${PORTNAME}${PORTVERSION}
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:src
@@ -19,7 +19,7 @@
 
 LICENSE=	BSD
 
-USE_TCL=	yes
+USE_TCL=	85+
 USE_PGSQL=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR}
@@ -27,7 +27,7 @@
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
 .if !defined(NOPORTDOCS)
 EXTRACT_ONLY=	${_DISTFILES:M*tar.gz}
-DISTFILES+=	pgtcldocs-20110321.zip:doc
+DISTFILES+=	pgtcldocs-20110918.zip:doc
 MASTER_SITES+=	http://pgfoundry.org/frs/download.php/2836/:doc
 BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
 .endif
diff -rud pgtcl.orig/distinfo pgtcl/distinfo
--- pgtcl.orig/distinfo	2011-07-11 06:35:49.000000000 +0200
+++ pgtcl/distinfo	2012-01-25 13:37:32.000000000 +0100
@@ -1,4 +1,4 @@
-SHA256 (pgtcl1.9.0.tar.gz) = b637955c1a6e0353c9308231935f83495c95f59901535a2a3f0bcdc42ac383a1
-SIZE (pgtcl1.9.0.tar.gz) = 189531
-SHA256 (pgtcldocs-20110321.zip) = 0e7eac560db6fbe772b1bfcde35a05ca2c2a3f6ccee730817b84b4bbc1f5260e
-SIZE (pgtcldocs-20110321.zip) = 148280
+SHA256 (pgtcl2.0.0.tar.gz) = f3d8195ecc140837f77985186b8618bb0e9f00a2e1681a46afd8af065ff35db2
+SIZE (pgtcl2.0.0.tar.gz) = 193257
+SHA256 (pgtcldocs-20110918.zip) = 1a86f0909b19358f4ade768f850ad02b27bc06b4cec32486783e133e37e8f344
+SIZE (pgtcldocs-20110918.zip) = 152847
diff -rud pgtcl.orig/pkg-plist pgtcl/pkg-plist
--- pgtcl.orig/pkg-plist	2011-07-11 06:35:49.000000000 +0200
+++ pgtcl/pkg-plist	2012-01-25 13:45:59.000000000 +0100
@@ -3,6 +3,7 @@
 @dirrm lib/pgtcl
 %%PORTDOCS%%%%DOCSDIR%%/index.html
 %%PORTDOCS%%%%DOCSDIR%%/legalnotice.html
+%%PORTDOCS%%%%DOCSDIR%%/pg-backend-pid.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-blocking.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-cancelrequest.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-conndefaults.html
@@ -39,8 +40,9 @@
 %%PORTDOCS%%%%DOCSDIR%%/pg-result.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-select.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-sendquery-params.html
-%%PORTDOCS%%%%DOCSDIR%%/pg-sendquery.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-sendquery-prepared.html
+%%PORTDOCS%%%%DOCSDIR%%/pg-sendquery.html
+%%PORTDOCS%%%%DOCSDIR%%/pg-server-version.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-transaction-status.html
 %%PORTDOCS%%%%DOCSDIR%%/pg-unescape-bytea.html
 %%PORTDOCS%%%%DOCSDIR%%/pgtcl-example-async.html


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201251328.q0PDSTD4097152>