Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 13:33:05 +0200 (CEST)
From:      Palle Girgensohn <girgen@partitur.se>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        andreas@FreeBSD.ORG
Subject:   ports/13855: pgaccess updated to 0.98
Message-ID:  <199909201133.NAA02882@elbas.partitur.se>

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

>Number:         13855
>Category:       ports
>Synopsis:       pgaccess updated to 0.98
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 20 04:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        pingpong-2.5
>Organization:
partitur
>Environment:

FreeBSD elbas.partitur.se 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Mon Sep 20 02:25:47 CEST 1999     girgen@tb303.partitur.se:/usr/src/sys/compile/WORKSTATION.palle  i386

tcl-8.0.5
tk-8.0.5
postgresql-6.5.2

	

>Description:
This patch updates pgaccess.

The installation is quite different from previous versions, with a
small shell script starting up the right version of wish. Since the
tcl code is platform independent, I've put it in
${PREFIX}/share/pgaccess.

I've removed the post-configure script, since the port works fine
without it. The script hard codes the path for the shared library
pgtcl.so, but at least my tcl finds it anyway. I may have missed
something here, so feel free to put it back if it breaks something.
	

>How-To-Repeat:

	

>Fix:
diff -urN pgaccess/Makefile pgaccess.new/Makefile
--- pgaccess/Makefile	Tue Sep  7 00:54:00 1999
+++ pgaccess.new/Makefile	Mon Sep 20 00:15:57 1999
@@ -6,9 +6,10 @@
 # $FreeBSD: ports/databases/pgaccess/Makefile,v 1.20 1999/08/31 06:41:21 mharo Exp $
 #
 
-DISTNAME=	pgaccess-0.96
+DISTNAME=	pgaccess-0.98
 CATEGORIES=	databases
-MASTER_SITES=	http://www.flex.ro/pgaccess/
+MASTER_SITES=	ftp://speedy.flex.ro/pub/pgaccess/ \
+		ftp://ftp.flex.ro/pub/pgaccess/
 
 MAINTAINER=	andreas@FreeBSD.org
 
@@ -20,6 +21,12 @@
 FETCH_BEFORE_ARGS=	-b
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/pgaccess.tcl ${PREFIX}/bin/pgaccess
-
+	@${MKDIR} ${PREFIX}/share/pgaccess
+	@cd ${WRKSRC} && /bin/pax -rwp p copyright.html main.tcl lib images ${PREFIX}/share/pgaccess
+.if !defined(NOPORTDOCS)
+	@cd ${WRKSRC} && /bin/pax -rwp p README demo doc ${PREFIX}/share/pgaccess
+.endif
+	@${SED} -e 's:!!LOCALBASE!!:${LOCALBASE}:' ${WRKSRC}/pgaccess |\
+	 ${SED} -e 's:!!PREFIX!!:${PREFIX}:' > ${PREFIX}/bin/pgaccess
+	@${CHMOD} 555 ${PREFIX}/bin/pgaccess
 .include <bsd.port.mk>
diff -urN pgaccess/files/md5 pgaccess.new/files/md5
--- pgaccess/files/md5	Tue Apr 13 02:23:35 1999
+++ pgaccess.new/files/md5	Sun Sep 19 22:19:44 1999
@@ -1 +1 @@
-MD5 (pgaccess-0.96.tar.gz) = 37487f0d1dc6451bd1d84da9c3484f91
+MD5 (pgaccess-0.98.tar.gz) = cd41e557ccba682b28376eda6be55aa7
diff -urN pgaccess/patches/patch-aa pgaccess.new/patches/patch-aa
--- pgaccess/patches/patch-aa	Sun Oct 12 15:03:04 1997
+++ pgaccess.new/patches/patch-aa	Sun Sep 19 23:43:41 1999
@@ -1,8 +1,12 @@
---- pgaccess.tcl.orig	Sun Oct 12 14:45:16 1997
-+++ pgaccess.tcl	Sun Oct 12 14:45:25 1997
-@@ -1,4 +1,4 @@
--#!/usr/bin/wish
-+#! /usr/local/bin/wish8.0
- #############################################################################
- # Visual Tcl v1.10 Project
- #
+--- pgaccess.orig	Sun Sep 19 23:43:12 1999
++++ pgaccess	Sun Sep 19 23:43:18 1999
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ 
+-PATH_TO_WISH=/usr/bin/wish
+-PGACCESS_HOME=/usr/local/pgaccess
++PATH_TO_WISH=!!LOCALBASE!!/bin/wish8.0
++PGACCESS_HOME=!!PREFIX!!/share/pgaccess
+ 
+ export PATH_TO_WISH
+ export PGACCESS_HOME
diff -urN pgaccess/pkg/PLIST pgaccess.new/pkg/PLIST
--- pgaccess/pkg/PLIST	Sun Oct  5 01:31:00 1997
+++ pgaccess.new/pkg/PLIST	Mon Sep 20 00:12:50 1999
@@ -1 +1,190 @@
 bin/pgaccess
+share/pgaccess/copyright.html
+share/pgaccess/main.tcl
+share/pgaccess/lib/help/index.hlp
+share/pgaccess/lib/help/postgresql.hlp
+share/pgaccess/lib/help/tables.hlp
+share/pgaccess/lib/help/keywords.hlp
+share/pgaccess/lib/help/history.hlp
+share/pgaccess/lib/help/y2k.hlp
+share/pgaccess/lib/help/create_table.hlp
+share/pgaccess/lib/help/data_types.hlp
+share/pgaccess/lib/help/sql_guide.hlp
+share/pgaccess/lib/help/copyrights.hlp
+share/pgaccess/lib/help/author.hlp
+share/pgaccess/lib/help/mathfunc.hlp
+share/pgaccess/lib/help/pgfunctions.hlp
+share/pgaccess/lib/help/sqlfunc.hlp
+share/pgaccess/lib/help/stringfunc.hlp
+share/pgaccess/lib/help/datefunc.hlp
+share/pgaccess/lib/help/geomfunc.hlp
+share/pgaccess/lib/help/mvcc.hlp
+share/pgaccess/lib/help/ipv4func.hlp
+share/pgaccess/lib/help/isolation.hlp
+share/pgaccess/lib/help/inheritance.hlp
+share/pgaccess/lib/help/vacuum.hlp
+share/pgaccess/lib/help/alter_table.hlp
+share/pgaccess/lib/help/open_table.hlp
+share/pgaccess/lib/help/new_table.hlp
+share/pgaccess/lib/help/add_records.hlp
+share/pgaccess/lib/help/view_table_structure.hlp
+share/pgaccess/lib/help/queries.hlp
+share/pgaccess/lib/help/visual_designer.hlp
+share/pgaccess/lib/help/open_query.hlp
+share/pgaccess/lib/help/new_query.hlp
+share/pgaccess/lib/help/sequences.hlp
+share/pgaccess/lib/help/views.hlp
+share/pgaccess/lib/help/functions.hlp
+share/pgaccess/lib/help/reports.hlp
+share/pgaccess/lib/help/forms.hlp
+share/pgaccess/lib/help/scripts.hlp
+share/pgaccess/lib/help/users.hlp
+share/pgaccess/lib/help/schema.hlp
+share/pgaccess/lib/help/abort.hlp
+share/pgaccess/lib/help/create_function.hlp
+share/pgaccess/lib/help/drop_function.hlp
+share/pgaccess/lib/help/begin.hlp
+share/pgaccess/lib/help/create_sequence.hlp
+share/pgaccess/lib/help/form_design.hlp
+share/pgaccess/lib/help/alter_user.hlp
+share/pgaccess/lib/help/close.hlp
+share/pgaccess/lib/help/cluster.hlp
+share/pgaccess/lib/help/commit.hlp
+share/pgaccess/lib/help/copy.hlp
+share/pgaccess/lib/help/create_aggregate.hlp
+share/pgaccess/lib/help/create_database.hlp
+share/pgaccess/lib/help/create_index.hlp
+share/pgaccess/lib/help/create_language.hlp
+share/pgaccess/lib/help/create_operator.hlp
+share/pgaccess/lib/help/create_rule.hlp
+share/pgaccess/lib/help/create_table_as.hlp
+share/pgaccess/lib/help/create_trigger.hlp
+share/pgaccess/lib/help/create_type.hlp
+share/pgaccess/lib/help/create_user.hlp
+share/pgaccess/lib/help/create_view.hlp
+share/pgaccess/lib/help/declare.hlp
+share/pgaccess/lib/help/delete.hlp
+share/pgaccess/lib/help/explain.hlp
+share/pgaccess/lib/help/drop_aggregate.hlp
+share/pgaccess/lib/help/drop_database.hlp
+share/pgaccess/lib/help/drop_index.hlp
+share/pgaccess/lib/help/drop_language.hlp
+share/pgaccess/lib/help/drop_operator.hlp
+share/pgaccess/lib/help/drop_rule.hlp
+share/pgaccess/lib/help/drop_sequence.hlp
+share/pgaccess/lib/help/drop_table.hlp
+share/pgaccess/lib/help/drop_trigger.hlp
+share/pgaccess/lib/help/drop_type.hlp
+share/pgaccess/lib/help/drop_user.hlp
+share/pgaccess/lib/help/drop_view.hlp
+share/pgaccess/lib/help/fetch.hlp
+share/pgaccess/lib/help/grant.hlp
+share/pgaccess/lib/help/insert.hlp
+share/pgaccess/lib/help/listen.hlp
+share/pgaccess/lib/help/load.hlp
+share/pgaccess/lib/help/lock.hlp
+share/pgaccess/lib/help/move.hlp
+share/pgaccess/lib/help/notify.hlp
+share/pgaccess/lib/help/reset.hlp
+share/pgaccess/lib/help/revoke.hlp
+share/pgaccess/lib/help/rollback.hlp
+share/pgaccess/lib/help/select.hlp
+share/pgaccess/lib/help/set.hlp
+share/pgaccess/lib/help/select_into.hlp
+share/pgaccess/lib/help/show.hlp
+share/pgaccess/lib/help/unlisten.hlp
+share/pgaccess/lib/help/update.hlp
+share/pgaccess/lib/visualqb.tcl
+share/pgaccess/lib/forms.tcl
+share/pgaccess/lib/reports.tcl
+share/pgaccess/lib/languages/italiano
+share/pgaccess/lib/languages/romana
+share/pgaccess/lib/languages/magyar
+share/pgaccess/lib/languages/francais
+share/pgaccess/lib/schema.tcl
+share/pgaccess/lib/help.tcl
+share/pgaccess/lib/users.tcl
+share/pgaccess/lib/database.tcl
+share/pgaccess/lib/sequences.tcl
+share/pgaccess/lib/functions.tcl
+share/pgaccess/lib/tables.tcl
+share/pgaccess/lib/scripts.tcl
+share/pgaccess/lib/preferences.tcl
+share/pgaccess/lib/queries.tcl
+share/pgaccess/lib/views.tcl
+share/pgaccess/lib/mainlib.tcl
+share/pgaccess/lib/qed
+share/pgaccess/images/icon_button.gif
+share/pgaccess/images/icon_checkbutton.gif
+share/pgaccess/images/icon_entry.gif
+share/pgaccess/images/icon_frame.gif
+share/pgaccess/images/icon_label.gif
+share/pgaccess/images/icon_listbox.gif
+share/pgaccess/images/icon_radiobutton.gif
+share/pgaccess/images/icon_text.gif
+share/pgaccess/images/icon_query.gif
+share/pgaccess/README
+share/pgaccess/demo/formdemo.sql
+share/pgaccess/doc/html/a_right.gif
+share/pgaccess/doc/html/copyright.html
+share/pgaccess/doc/html/forms.html
+share/pgaccess/doc/html/index.html
+share/pgaccess/doc/html/irix.html
+share/pgaccess/doc/html/maillist.html
+share/pgaccess/doc/html/pg93patch.html
+share/pgaccess/doc/html/pga-rad.html
+share/pgaccess/doc/html/qbtclet.html
+share/pgaccess/doc/html/specialchars.html
+share/pgaccess/doc/html/qbtclet.tcl
+share/pgaccess/doc/html/old_index.html
+share/pgaccess/doc/html/whatsnew.html
+share/pgaccess/doc/html/contents.html
+share/pgaccess/doc/html/main.html
+share/pgaccess/doc/html/linux1.gif
+share/pgaccess/doc/html/download.html
+share/pgaccess/doc/html/ball.gif
+share/pgaccess/doc/html/vdesigner.gif
+share/pgaccess/doc/html/screenshots.html
+share/pgaccess/doc/html/mainwindow.gif
+share/pgaccess/doc/html/newtable.gif
+share/pgaccess/doc/html/newuser.gif
+share/pgaccess/doc/html/function.gif
+share/pgaccess/doc/html/forms.gif
+share/pgaccess/doc/html/features.html
+share/pgaccess/doc/html/todo.html
+share/pgaccess/doc/html/documentation.html
+share/pgaccess/doc/html/win32.html
+share/pgaccess/doc/html/faq.html
+share/pgaccess/doc/html/api.html
+share/pgaccess/doc/html/tutorial/addref.jpg
+share/pgaccess/doc/html/tutorial/altern_q.jpg
+share/pgaccess/doc/html/tutorial/altern_v.jpg
+share/pgaccess/doc/html/tutorial/copyright.html
+share/pgaccess/doc/html/tutorial/index.html
+share/pgaccess/doc/html/tutorial/intro.html
+share/pgaccess/doc/html/tutorial/irix.html
+share/pgaccess/doc/html/tutorial/newref.txt
+share/pgaccess/doc/html/tutorial/newtable.jpg
+share/pgaccess/doc/html/tutorial/newtable.tga
+share/pgaccess/doc/html/tutorial/problems.html
+share/pgaccess/doc/html/tutorial/screen1.jpg
+share/pgaccess/doc/html/tutorial/sel_tbl.jpg
+share/pgaccess/doc/html/tutorial/start.html
+share/pgaccess/doc/html/tutorial/tut.html
+share/pgaccess/doc/html/tutorial/tut_edit.html
+share/pgaccess/doc/html/tutorial/tut_new.html
+share/pgaccess/doc/html/tutorial/tut_sel1.html
+share/pgaccess/doc/html/tutorial/tut_user.html
+share/pgaccess/doc/html/formdemo.sql
+share/pgaccess/doc/html/help.gif
+share/pgaccess/doc/html/permissions.gif
+share/pgaccess/doc/html/addindex.gif
+@dirrm share/pgaccess/lib/help
+@dirrm share/pgaccess/lib/languages
+@dirrm share/pgaccess/lib
+@dirrm share/pgaccess/images
+@dirrm share/pgaccess/demo
+@dirrm share/pgaccess/doc/html/tutorial
+@dirrm share/pgaccess/doc/html
+@dirrm share/pgaccess/doc
+@dirrm share/pgaccess
diff -urN pgaccess/scripts/post-configure pgaccess.new/scripts/post-configure
--- pgaccess/scripts/post-configure	Sun Oct 12 15:03:07 1997
+++ pgaccess.new/scripts/post-configure	Thu Jan  1 01:00:00 1970
@@ -1,9 +0,0 @@
-#! /bin/sh
-
-mv ${WRKSRC}/pgaccess.tcl ${WRKSRC}/pgaccess.tcl.$$
-
-sed -e "s|load libpgtcl.so|load ${PREFIX}/pgsql/lib/libpgtcl.so|" \
-	< ${WRKSRC}/pgaccess.tcl.$$ \
-	> ${WRKSRC}/pgaccess.tcl
-
-rm -f ${WRKSRC}/pgaccess.tcl.$$

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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