Remove PostgreSQL 7.3 and pgaccess.

This commit is contained in:
joerg 2006-06-06 19:17:05 +00:00
parent d1de29fc9c
commit 6cfcc80369
68 changed files with 0 additions and 2925 deletions

View file

@ -1,9 +0,0 @@
Import databases/jdbc-postgresql73 to replace databases/jdbc-postgresql
This is a pure Java (Type IV) JDBC driver for the PostgreSQL
database. It allows Java programs to connect to a PostgreSQL
database using standard, database independent Java code.
The driver provides a reasonably complete implementation of the
JDBC 3 specification in addition to some PostgreSQL specific
extensions.

View file

@ -1,29 +0,0 @@
# $NetBSD: Makefile,v 1.1.1.1 2006/02/27 14:47:08 abs Exp $
#
DISTNAME= ${JARDIST}
PKGNAME= jdbc-postgresql73-${PGBUILD}
DISTFILES+= ${JARDIST}
CATEGORIES= databases
MASTER_SITES= http://jdbc.postgresql.org/download/
MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://jdbc.postgresql.org/
COMMENT= PostgreSQL 7.3 JDBC3 driver
PGBUILD= 113
JARDIST= pg73jdbc3.jar
JARFILE= postgresql73.jar
EXTRACT_ONLY=
USE_JAVA2= 1.4
NO_BUILD= YES
PLIST_SUBST+= JARFILE=${JARFILE:Q}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/java
${INSTALL_DATA} ${DISTDIR}/${JARDIST} ${PREFIX}/lib/java/${JARFILE}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,2 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/27 14:47:08 abs Exp $
lib/java/${JARFILE}

View file

@ -1,5 +0,0 @@
$NetBSD: distinfo,v 1.1.1.1 2006/02/27 14:47:08 abs Exp $
SHA1 (pg73jdbc3.jar) = c93ce8f1dc859c36bbf0f47a0308ca6c774f8834
RMD160 (pg73jdbc3.jar) = 2eec842b0256493f28ceb214292f50f1979abc47
Size (pg73jdbc3.jar) = 184505 bytes

View file

@ -1,4 +0,0 @@
PgAccess is a free graphical database management tool for PostgreSQL. It
supports table operations, queries, sequence manipulation, function
definitions for PL/PgSQL and PgTCL, form and report design, and scripting
-- all within a Tcl/Tk GUI.

View file

@ -1,48 +0,0 @@
# $NetBSD: Makefile,v 1.19 2006/03/04 21:29:10 jlam Exp $
#
DISTNAME= pgaccess-0.98.8
PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.pgaccess.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pgaccess.org/
COMMENT= Graphical database management tool for PostgreSQL
DEPENDS+= tk-postgresql73>=7.3.6:../../databases/tk-postgresql73
NO_BUILD= yes
.include "../../mk/bsd.prefs.mk"
PGTKSH= ${PREFIX}/bin/pgtksh
PGACCESS_HOME= ${PREFIX}/share/pgaccess
HTMLDIR= ${PREFIX}/share/doc/html/pgaccess
EGDIR= ${PREFIX}/share/examples/pgaccess
INSTALLATION_DIRS= bin
do-configure:
for file in ${WRKSRC}/pgaccess.tcl; do \
${SED} -e "s|@PGTKSH@|${PGTKSH}|g" \
-e "s|@PGACCESS_HOME@|${PGACCESS_HOME}|g" \
$$file > $$file.new; \
${MV} -f $$file.new $$file; \
done
do-install:
${INSTALL_DATA_DIR} ${PGACCESS_HOME}
${INSTALL_SCRIPT} ${WRKSRC}/pgaccess.tcl ${PGACCESS_HOME}
${LN} -sf ${PGACCESS_HOME}/pgaccess.tcl ${PREFIX}/bin/pgaccess
${CP} -R ${WRKSRC}/images ${PGACCESS_HOME}
${CP} -R ${WRKSRC}/lib ${PGACCESS_HOME}
${INSTALL_DATA_DIR} ${HTMLDIR}
${CP} -R ${WRKSRC}/doc/html/* ${HTMLDIR}
${INSTALL_DATA_DIR} ${EGDIR}
for file in ${WRKSRC}/demo/*; do \
${INSTALL_DATA} $$file ${EGDIR}; \
done
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PGACCESS_HOME} ${HTMLDIR} ${EGDIR}
.include "../../mk/bsd.pkg.mk"

View file

@ -1,300 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2003/01/11 23:04:11 jlam Exp $
bin/pgaccess
share/doc/html/pgaccess/a_right.gif
share/doc/html/pgaccess/addindex.gif
share/doc/html/pgaccess/api.html
share/doc/html/pgaccess/ball.gif
share/doc/html/pgaccess/contents.html
share/doc/html/pgaccess/copyright.html
share/doc/html/pgaccess/documentation.html
share/doc/html/pgaccess/download.html
share/doc/html/pgaccess/faq.html
share/doc/html/pgaccess/features.html
share/doc/html/pgaccess/formdemo.sql
share/doc/html/pgaccess/forms.gif
share/doc/html/pgaccess/forms.html
share/doc/html/pgaccess/function.gif
share/doc/html/pgaccess/help.gif
share/doc/html/pgaccess/index.html
share/doc/html/pgaccess/irix.html
share/doc/html/pgaccess/linux1.gif
share/doc/html/pgaccess/maillist.html
share/doc/html/pgaccess/main.html
share/doc/html/pgaccess/mainwindow.gif
share/doc/html/pgaccess/newtable.gif
share/doc/html/pgaccess/newuser.gif
share/doc/html/pgaccess/old_index.html
share/doc/html/pgaccess/permissions.gif
share/doc/html/pgaccess/pg93patch.html
share/doc/html/pgaccess/pga-rad.html
share/doc/html/pgaccess/qbtclet.html
share/doc/html/pgaccess/qbtclet.tcl
share/doc/html/pgaccess/screenshots.html
share/doc/html/pgaccess/specialchars.html
share/doc/html/pgaccess/todo.html
share/doc/html/pgaccess/tutorial/addref.jpg
share/doc/html/pgaccess/tutorial/altern_q.jpg
share/doc/html/pgaccess/tutorial/altern_v.jpg
share/doc/html/pgaccess/tutorial/copyright.html
share/doc/html/pgaccess/tutorial/index.html
share/doc/html/pgaccess/tutorial/intro.html
share/doc/html/pgaccess/tutorial/irix.html
share/doc/html/pgaccess/tutorial/newref.txt
share/doc/html/pgaccess/tutorial/newtable.jpg
share/doc/html/pgaccess/tutorial/newtable.tga
share/doc/html/pgaccess/tutorial/problems.html
share/doc/html/pgaccess/tutorial/screen1.jpg
share/doc/html/pgaccess/tutorial/sel_tbl.jpg
share/doc/html/pgaccess/tutorial/start.html
share/doc/html/pgaccess/tutorial/tut.html
share/doc/html/pgaccess/tutorial/tut_edit.html
share/doc/html/pgaccess/tutorial/tut_new.html
share/doc/html/pgaccess/tutorial/tut_sel1.html
share/doc/html/pgaccess/tutorial/tut_user.html
share/doc/html/pgaccess/vdesigner.gif
share/doc/html/pgaccess/whatsnew.html
share/doc/html/pgaccess/win32.html
share/examples/pgaccess/README.demo
share/examples/pgaccess/formdemo72.sql
share/examples/pgaccess/formdemo73.sql
share/pgaccess/images/icon_button.gif
share/pgaccess/images/icon_checkbutton.gif
share/pgaccess/images/icon_combobox.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_query.gif
share/pgaccess/images/icon_radiobutton.gif
share/pgaccess/images/icon_spinbox.gif
share/pgaccess/images/icon_text.gif
share/pgaccess/lib/connections.tcl
share/pgaccess/lib/database.tcl
share/pgaccess/lib/diagrams.tcl
share/pgaccess/lib/forms.tcl
share/pgaccess/lib/functions.tcl
share/pgaccess/lib/graphs.tcl
share/pgaccess/lib/help.tcl
share/pgaccess/lib/help/abort.hlp
share/pgaccess/lib/help/add_records.hlp
share/pgaccess/lib/help/alter_table.hlp
share/pgaccess/lib/help/alter_user.hlp
share/pgaccess/lib/help/author.hlp
share/pgaccess/lib/help/begin.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/copyrights.hlp
share/pgaccess/lib/help/create_aggregate.hlp
share/pgaccess/lib/help/create_database.hlp
share/pgaccess/lib/help/create_function.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_sequence.hlp
share/pgaccess/lib/help/create_table.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/data_types.hlp
share/pgaccess/lib/help/datefunc.hlp
share/pgaccess/lib/help/declare.hlp
share/pgaccess/lib/help/delete.hlp
share/pgaccess/lib/help/diagrams.hlp
share/pgaccess/lib/help/drop_aggregate.hlp
share/pgaccess/lib/help/drop_database.hlp
share/pgaccess/lib/help/drop_function.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/explain.hlp
share/pgaccess/lib/help/fetch.hlp
share/pgaccess/lib/help/form_design.hlp
share/pgaccess/lib/help/forms.hlp
share/pgaccess/lib/help/functions.hlp
share/pgaccess/lib/help/geomfunc.hlp
share/pgaccess/lib/help/grant.hlp
share/pgaccess/lib/help/graphs.hlp
share/pgaccess/lib/help/history.hlp
share/pgaccess/lib/help/index.hlp
share/pgaccess/lib/help/inheritance.hlp
share/pgaccess/lib/help/insert.hlp
share/pgaccess/lib/help/ipv4func.hlp
share/pgaccess/lib/help/isolation.hlp
share/pgaccess/lib/help/keywords.hlp
share/pgaccess/lib/help/listen.hlp
share/pgaccess/lib/help/load.hlp
share/pgaccess/lib/help/lock.hlp
share/pgaccess/lib/help/mathfunc.hlp
share/pgaccess/lib/help/move.hlp
share/pgaccess/lib/help/mvcc.hlp
share/pgaccess/lib/help/new_query.hlp
share/pgaccess/lib/help/new_table.hlp
share/pgaccess/lib/help/newteam.hlp
share/pgaccess/lib/help/notify.hlp
share/pgaccess/lib/help/open_database.hlp
share/pgaccess/lib/help/open_query.hlp
share/pgaccess/lib/help/open_table.hlp
share/pgaccess/lib/help/pgfunctions.hlp
share/pgaccess/lib/help/postgresql.hlp
share/pgaccess/lib/help/queries.hlp
share/pgaccess/lib/help/reports.hlp
share/pgaccess/lib/help/reset.hlp
share/pgaccess/lib/help/revoke.hlp
share/pgaccess/lib/help/rollback.hlp
share/pgaccess/lib/help/scripts.hlp
share/pgaccess/lib/help/select.hlp
share/pgaccess/lib/help/select_into.hlp
share/pgaccess/lib/help/sequences.hlp
share/pgaccess/lib/help/set.hlp
share/pgaccess/lib/help/show.hlp
share/pgaccess/lib/help/sql_guide.hlp
share/pgaccess/lib/help/sqlfunc.hlp
share/pgaccess/lib/help/stringfunc.hlp
share/pgaccess/lib/help/tables.hlp
share/pgaccess/lib/help/unlisten.hlp
share/pgaccess/lib/help/update.hlp
share/pgaccess/lib/help/users.hlp
share/pgaccess/lib/help/vacuum.hlp
share/pgaccess/lib/help/view_table_structure.hlp
share/pgaccess/lib/help/views.hlp
share/pgaccess/lib/help/visual_designer.hlp
share/pgaccess/lib/help/y2k.hlp
share/pgaccess/lib/importexport.tcl
share/pgaccess/lib/languages/chinese_big5
share/pgaccess/lib/languages/chinese_gb
share/pgaccess/lib/languages/czech
share/pgaccess/lib/languages/deutsch
share/pgaccess/lib/languages/euskara
share/pgaccess/lib/languages/francais
share/pgaccess/lib/languages/italiano
share/pgaccess/lib/languages/japanese
share/pgaccess/lib/languages/magyar
share/pgaccess/lib/languages/nederlands
share/pgaccess/lib/languages/portugues
share/pgaccess/lib/languages/romana
share/pgaccess/lib/languages/russian.koi8r
share/pgaccess/lib/languages/russian_win
share/pgaccess/lib/languages/spanish
share/pgaccess/lib/mainlib.tcl
share/pgaccess/lib/plugins/pgmonitor.tcl
share/pgaccess/lib/preferences.tcl
share/pgaccess/lib/printer.tcl
share/pgaccess/lib/queries.tcl
share/pgaccess/lib/reports.tcl
share/pgaccess/lib/scripts.tcl
share/pgaccess/lib/sequences.tcl
share/pgaccess/lib/stack.tcl
share/pgaccess/lib/syntax.tcl
share/pgaccess/lib/tables.tcl
share/pgaccess/lib/users.tcl
share/pgaccess/lib/views.tcl
share/pgaccess/lib/visualqb.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/arrow.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/bitmap.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/button.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/buttonbox.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/color.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/combobox.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/dialog.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/dragsite.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/dropsite.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/dynhelp.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/entry.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/font.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/images/bold.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/copy.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/cut.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/dragfile.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/dragicon.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/error.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/file.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/folder.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/hourglass.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/info.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/italic.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/minus.xbm
share/pgaccess/lib/widgets/BWidget-1.4.1/images/new.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/opcopy.xbm
share/pgaccess/lib/widgets/BWidget-1.4.1/images/open.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/openfold.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/oplink.xbm
share/pgaccess/lib/widgets/BWidget-1.4.1/images/opmove.xbm
share/pgaccess/lib/widgets/BWidget-1.4.1/images/overstrike.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/palette.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/passwd.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/paste.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/plus.xbm
share/pgaccess/lib/widgets/BWidget-1.4.1/images/print.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/question.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/redo.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/save.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/target.xbm
share/pgaccess/lib/widgets/BWidget-1.4.1/images/underline.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/undo.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/images/warning.gif
share/pgaccess/lib/widgets/BWidget-1.4.1/init.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/label.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/labelentry.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/labelframe.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/lang/de.rc
share/pgaccess/lib/widgets/BWidget-1.4.1/lang/en.rc
share/pgaccess/lib/widgets/BWidget-1.4.1/lang/es.rc
share/pgaccess/lib/widgets/BWidget-1.4.1/lang/fr.rc
share/pgaccess/lib/widgets/BWidget-1.4.1/listbox.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/mainframe.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/messagedlg.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/notebook.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/pagesmgr.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/panedw.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/passwddlg.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/pkgIndex.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/progressbar.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/progressdlg.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/scrollframe.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/scrollview.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/scrollw.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/separator.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/spinbox.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/titleframe.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/tree.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/utils.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/widget.tcl
share/pgaccess/lib/widgets/BWidget-1.4.1/xpm2image.tcl
share/pgaccess/lib/widgets/icons1.0/LICENSE
share/pgaccess/lib/widgets/icons1.0/icons.tcl
share/pgaccess/lib/widgets/icons1.0/pkgIndex.tcl
share/pgaccess/lib/widgets/icons1.0/tkIcons
share/pgaccess/lib/widgets/icons1.0/tkIcons-sample.slick
share/pgaccess/lib/widgets/tablelist2.7/pkgIndex.tcl
share/pgaccess/lib/widgets/tablelist2.7/scripts/mwutil.tcl
share/pgaccess/lib/widgets/tablelist2.7/scripts/tablelistSortByColumn.tcl
share/pgaccess/lib/widgets/tablelist2.7/scripts/tablelistWidget.tcl
share/pgaccess/lib/widgets/tablelist2.7/scripts/tclIndex
share/pgaccess/lib/widgets/tablelist2.7/tablelist.tcl
share/pgaccess/pgaccess.tcl
@dirrm share/pgaccess/lib/widgets/tablelist2.7/scripts
@dirrm share/pgaccess/lib/widgets/tablelist2.7
@dirrm share/pgaccess/lib/widgets/icons1.0
@dirrm share/pgaccess/lib/widgets/BWidget-1.4.1/lang
@dirrm share/pgaccess/lib/widgets/BWidget-1.4.1/images
@dirrm share/pgaccess/lib/widgets/BWidget-1.4.1
@dirrm share/pgaccess/lib/widgets
@dirrm share/pgaccess/lib/plugins
@dirrm share/pgaccess/lib/languages
@dirrm share/pgaccess/lib/help
@dirrm share/pgaccess/lib
@dirrm share/examples/pgaccess
@dirrm share/doc/html/pgaccess/tutorial
@dirrm share/doc/html/pgaccess

View file

@ -1,7 +0,0 @@
$NetBSD: distinfo,v 1.5 2005/02/23 16:33:08 agc Exp $
SHA1 (pgaccess-0.98.8.tar.gz) = c02d6b0f014931101b864c6f2d2da2b2552aa6be
RMD160 (pgaccess-0.98.8.tar.gz) = 7827ae7ddfef432bde237ca94bf086ca738d4c2a
Size (pgaccess-0.98.8.tar.gz) = 862387 bytes
SHA1 (patch-aa) = 0a24cb462d7dd9816b657df4483c46a4eba27b79
SHA1 (patch-ab) = 007d1c407f418f087871e686568c6fdfacc5ca1d

View file

@ -1,16 +0,0 @@
$NetBSD: patch-aa,v 1.2 2003/01/11 23:04:12 jlam Exp $
--- Makefile.orig Wed Aug 28 09:11:22 2002
+++ Makefile
@@ -7,9 +7,8 @@
#
#-------------------------------------------------------------------------
-bindir = /usr/bin/X11
-libdir = /usr/lib/pgaccess
-wish = /usr/bin/wish
+bindir = ${PREFIX}/bin
+libdir = ${PREFIX}/lib/pgaccess
pgaccess:
chmod a+x pgaccess.tcl

View file

@ -1,66 +0,0 @@
$NetBSD: patch-ab,v 1.2 2003/01/11 23:04:12 jlam Exp $
--- pgaccess.tcl.orig Sun Dec 1 19:57:56 2002
+++ pgaccess.tcl
@@ -12,5 +12,5 @@ fi
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec @PGTKSH@ "$0" "$@"
#------------------------------------------------------------
@@ -34,19 +34,12 @@ switch $tcl_platform(platform) {
puts $fid ""
- puts $fid "# path to libpgtcl"
- if {![info exists env(PGLIB)]} {
- set env(PGLIB) "/usr/lib"
- }
- puts $fid "PGLIB=$env(PGLIB)"
- puts $fid ""
-
puts $fid "# pgaccess home directory"
if {![info exists env(PGACCESS_HOME)]} {
- set env(PGACCESS_HOME) "/usr/lib/pgaccess"
+ set env(PGACCESS_HOME) "@PGACCESS_HOME@"
}
puts $fid "PGACCESS_HOME=$env(PGACCESS_HOME)"
puts $fid ""
- puts $fid "export PGLIB PGACCESS_HOME"
+ puts $fid "export PGACCESS_HOME"
close $fid
puts "done"
@@ -299,32 +292,4 @@ global PgAcVar CurrentDB
proc {main} {argc argv} {
global PgAcVar CurrentDB tcl_platform env
- if {[info exists env(PGLIB)]} {
- set libpgtclpath [file join $env(PGLIB) libpgtcl]
- } else {
- puts "PGLIB enviroment variable is not set, setting it to 'libpgtcl'."
- set libpgtclpath {libpgtcl}
- }
-
- set shlib ${libpgtclpath}[info sharedlibextension]
-
- if {![file exists $shlib]} {
- puts "\nError: Shared library file: '$shlib' does not exist. \n\
- Check this file, or check PGLIB variable (in pgaccessrc)\n"
-
- exit
- }
-
- if {[catch {load $shlib} err]} {
- puts "Error: can not load $shlib shared library."
- puts "You need to make sure that the library exists and"
- puts "the environment variable PGLIB points to the directory"
- puts "where it is located.\n"
- puts "If you use Windows, be sure that the needed libpgtcl.dll"
- puts "and libpq.dll files are copied in the Windows/System"
- puts "directory"
- puts "\nERROR MESSAGE: $err\n"
- exit
- }
-
set tdb ""
set thost ""

View file

@ -1,9 +0,0 @@
PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system. While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.
PostgreSQL is free and the complete source is available.
This package contains the database client programs.

View file

@ -1,36 +0,0 @@
# $NetBSD: Makefile,v 1.9 2006/02/20 18:34:07 joerg Exp $
PKGNAME= postgresql73-client-${BASE_VERS}
SVR4_PKGNAME= pstgc
COMMENT= PostgreSQL database client programs
.include "../../databases/postgresql73/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-readline
MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= ${WRKSRC}/src/bin
pre-build:
cd ${WRKSRC}/src/bin/psql && \
${RM} -f pqsignal.h && \
${LN} -sf ${BUILDLINK_DIR}/include/postgresql/server/libpq/pqsignal.h pqsignal.h
for file in parser/parse.h utils/fmgroids.h; do \
src="${BUILDLINK_DIR}/include/postgresql/server/$$file"; \
dest="${WRKSRC}/src/include/$$file"; \
${RM} -f $$dest; \
${LN} -sf $$src $$dest; \
done
post-install:
cd ${PREFIX}/man && \
${PAX} -crzf ${WRKSRC}/doc/man.tar.gz `${GREP} -v ^# ${FILESDIR}/exclude`
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,126 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:15:51 recht Exp $
bin/clusterdb
bin/createdb
bin/createlang
bin/createuser
bin/dropdb
bin/droplang
bin/dropuser
bin/initdb
bin/initlocation
bin/ipcclean
bin/pg_config
bin/pg_controldata
bin/pg_ctl
bin/pg_dump
bin/pg_dumpall
bin/pg_encoding
bin/pg_id
bin/pg_resetxlog
bin/pg_restore
bin/psql
bin/vacuumdb
man/man1/clusterdb.1
man/man1/createdb.1
man/man1/createlang.1
man/man1/createuser.1
man/man1/dropdb.1
man/man1/droplang.1
man/man1/dropuser.1
man/man1/initdb.1
man/man1/initlocation.1
man/man1/ipcclean.1
man/man1/pg_config.1
man/man1/pg_controldata.1
man/man1/pg_ctl.1
man/man1/pg_dump.1
man/man1/pg_dumpall.1
man/man1/pg_resetxlog.1
man/man1/pg_restore.1
man/man1/psql.1
man/man1/vacuumdb.1
man/manl/abort.l
man/manl/alter_database.l
man/manl/alter_group.l
man/manl/alter_table.l
man/manl/alter_trigger.l
man/manl/alter_user.l
man/manl/analyze.l
man/manl/begin.l
man/manl/checkpoint.l
man/manl/close.l
man/manl/cluster.l
man/manl/comment.l
man/manl/commit.l
man/manl/copy.l
man/manl/create_aggregate.l
man/manl/create_cast.l
man/manl/create_constraint_trigger.l
man/manl/create_conversion.l
man/manl/create_database.l
man/manl/create_domain.l
man/manl/create_function.l
man/manl/create_group.l
man/manl/create_index.l
man/manl/create_language.l
man/manl/create_operator.l
man/manl/create_operator_class.l
man/manl/create_rule.l
man/manl/create_schema.l
man/manl/create_sequence.l
man/manl/create_table.l
man/manl/create_table_as.l
man/manl/create_trigger.l
man/manl/create_type.l
man/manl/create_user.l
man/manl/create_view.l
man/manl/deallocate.l
man/manl/declare.l
man/manl/delete.l
man/manl/drop_aggregate.l
man/manl/drop_cast.l
man/manl/drop_conversion.l
man/manl/drop_database.l
man/manl/drop_domain.l
man/manl/drop_function.l
man/manl/drop_group.l
man/manl/drop_index.l
man/manl/drop_language.l
man/manl/drop_operator.l
man/manl/drop_operator_class.l
man/manl/drop_rule.l
man/manl/drop_schema.l
man/manl/drop_sequence.l
man/manl/drop_table.l
man/manl/drop_trigger.l
man/manl/drop_type.l
man/manl/drop_user.l
man/manl/drop_view.l
man/manl/end.l
man/manl/execute.l
man/manl/explain.l
man/manl/fetch.l
man/manl/grant.l
man/manl/insert.l
man/manl/listen.l
man/manl/load.l
man/manl/lock.l
man/manl/move.l
man/manl/notify.l
man/manl/prepare.l
man/manl/reindex.l
man/manl/reset.l
man/manl/revoke.l
man/manl/rollback.l
man/manl/select.l
man/manl/select_into.l
man/manl/set.l
man/manl/set_constraints.l
man/manl/set_session_authorization.l
man/manl/set_transaction.l
man/manl/show.l
man/manl/start_transaction.l
man/manl/truncate.l
man/manl/unlisten.l
man/manl/update.l
man/manl/vacuum.l

View file

@ -1,7 +0,0 @@
# $NetBSD: exclude,v 1.1.1.1 2004/07/24 22:15:51 recht Exp $
#
man1/ecpg.1
man1/pgtclsh.1
man1/pgtksh.1
man1/postgres.1
man1/postmaster.1

View file

@ -1,9 +0,0 @@
PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system. While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.
PostgreSQL is free and the complete source is available.
This package contains the database documentation.

View file

@ -1,26 +0,0 @@
# $NetBSD: Makefile,v 1.7 2006/02/20 18:34:07 joerg Exp $
PKGNAME= postgresql73-docs-${BASE_VERS}
SVR4_PKGNAME= pstgd
COMMENT= PostgreSQL database system documentation
.include "../../databases/postgresql73/Makefile.common"
BUILD_DIRS= ${WRKSRC}/doc
DOCDIR= ${PREFIX}/share/doc/postgresql
# The manpage documentation is installed with the relevant packages.
pre-build:
cd ${WRKSRC}/doc && ${RM} -f man.tar.gz
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/doc; for file in \
FAQ* KNOWN_BUGS MISSING_FEATURES README.* TODO \
bug.template; \
do \
${INSTALL_DATA} $${file} ${DOCDIR}/$${file}; \
done
.include "../../mk/bsd.pkg.mk"

View file

@ -1,637 +0,0 @@
@comment $NetBSD: PLIST,v 1.7 2006/05/26 17:47:58 joerg Exp $
share/doc/html/postgresql/admin-preface.html
share/doc/html/postgresql/admin.html
share/doc/html/postgresql/app-clusterdb.html
share/doc/html/postgresql/app-createdb.html
share/doc/html/postgresql/app-createlang.html
share/doc/html/postgresql/app-createuser.html
share/doc/html/postgresql/app-dropdb.html
share/doc/html/postgresql/app-droplang.html
share/doc/html/postgresql/app-dropuser.html
share/doc/html/postgresql/app-ecpg.html
share/doc/html/postgresql/app-initdb.html
share/doc/html/postgresql/app-initlocation.html
share/doc/html/postgresql/app-ipcclean.html
share/doc/html/postgresql/app-pg-ctl.html
share/doc/html/postgresql/app-pg-dumpall.html
share/doc/html/postgresql/app-pgconfig.html
share/doc/html/postgresql/app-pgcontroldata.html
share/doc/html/postgresql/app-pgdump.html
share/doc/html/postgresql/app-pgresetxlog.html
share/doc/html/postgresql/app-pgrestore.html
share/doc/html/postgresql/app-pgtclsh.html
share/doc/html/postgresql/app-pgtksh.html
share/doc/html/postgresql/app-postgres.html
share/doc/html/postgresql/app-postmaster.html
share/doc/html/postgresql/app-psql.html
share/doc/html/postgresql/app-vacuumdb.html
share/doc/html/postgresql/applevel-consistency.html
share/doc/html/postgresql/arch-pg.html
share/doc/html/postgresql/arrays.html
share/doc/html/postgresql/auth-methods.html
share/doc/html/postgresql/backup-file.html
share/doc/html/postgresql/backup.html
share/doc/html/postgresql/biblio.html
share/doc/html/postgresql/bki-commands.html
share/doc/html/postgresql/bki-example.html
share/doc/html/postgresql/bki.html
share/doc/html/postgresql/bug-reporting.html
share/doc/html/postgresql/catalog-pg-aggregate.html
share/doc/html/postgresql/catalog-pg-am.html
share/doc/html/postgresql/catalog-pg-amop.html
share/doc/html/postgresql/catalog-pg-amproc.html
share/doc/html/postgresql/catalog-pg-attrdef.html
share/doc/html/postgresql/catalog-pg-attribute.html
share/doc/html/postgresql/catalog-pg-cast.html
share/doc/html/postgresql/catalog-pg-class.html
share/doc/html/postgresql/catalog-pg-constraint.html
share/doc/html/postgresql/catalog-pg-conversion.html
share/doc/html/postgresql/catalog-pg-database.html
share/doc/html/postgresql/catalog-pg-depend.html
share/doc/html/postgresql/catalog-pg-description.html
share/doc/html/postgresql/catalog-pg-group.html
share/doc/html/postgresql/catalog-pg-index.html
share/doc/html/postgresql/catalog-pg-inherits.html
share/doc/html/postgresql/catalog-pg-language.html
share/doc/html/postgresql/catalog-pg-largeobject.html
share/doc/html/postgresql/catalog-pg-listener.html
share/doc/html/postgresql/catalog-pg-namespace.html
share/doc/html/postgresql/catalog-pg-opclass.html
share/doc/html/postgresql/catalog-pg-operator.html
share/doc/html/postgresql/catalog-pg-proc.html
share/doc/html/postgresql/catalog-pg-rewrite.html
share/doc/html/postgresql/catalog-pg-shadow.html
share/doc/html/postgresql/catalog-pg-statistic.html
share/doc/html/postgresql/catalog-pg-trigger.html
share/doc/html/postgresql/catalog-pg-type.html
share/doc/html/postgresql/catalogs.gif
share/doc/html/postgresql/catalogs.html
share/doc/html/postgresql/charset.html
share/doc/html/postgresql/client-authentication-problems.html
share/doc/html/postgresql/client-authentication.html
share/doc/html/postgresql/compiler.html
share/doc/html/postgresql/connect-estab.html
share/doc/html/postgresql/connections.gif
share/doc/html/postgresql/creating-cluster.html
share/doc/html/postgresql/cvs-tree.html
share/doc/html/postgresql/cvs.html
share/doc/html/postgresql/cvsup.html
share/doc/html/postgresql/datatype-binary.html
share/doc/html/postgresql/datatype-bit.html
share/doc/html/postgresql/datatype-boolean.html
share/doc/html/postgresql/datatype-character.html
share/doc/html/postgresql/datatype-datetime.html
share/doc/html/postgresql/datatype-geometric.html
share/doc/html/postgresql/datatype-money.html
share/doc/html/postgresql/datatype-net-types.html
share/doc/html/postgresql/datatype-oid.html
share/doc/html/postgresql/datatype-pseudo.html
share/doc/html/postgresql/datatype.html
share/doc/html/postgresql/datetime-appendix.html
share/doc/html/postgresql/ddl-alter.html
share/doc/html/postgresql/ddl-constraints.html
share/doc/html/postgresql/ddl-depend.html
share/doc/html/postgresql/ddl-inherit.html
share/doc/html/postgresql/ddl-others.html
share/doc/html/postgresql/ddl-priv.html
share/doc/html/postgresql/ddl-schemas.html
share/doc/html/postgresql/ddl-system-columns.html
share/doc/html/postgresql/ddl.html
share/doc/html/postgresql/developer.html
share/doc/html/postgresql/disk-full.html
share/doc/html/postgresql/diskusage.html
share/doc/html/postgresql/dml-delete.html
share/doc/html/postgresql/dml-update.html
share/doc/html/postgresql/dml.html
share/doc/html/postgresql/doc-build.html
share/doc/html/postgresql/doc-sources.html
share/doc/html/postgresql/doc-style.html
share/doc/html/postgresql/doc-toolsets.html
share/doc/html/postgresql/docguide.html
share/doc/html/postgresql/ecpg-commands.html
share/doc/html/postgresql/ecpg-connect.html
share/doc/html/postgresql/ecpg-develop.html
share/doc/html/postgresql/ecpg-disconnect.html
share/doc/html/postgresql/ecpg-errors.html
share/doc/html/postgresql/ecpg-include.html
share/doc/html/postgresql/ecpg-library.html
share/doc/html/postgresql/ecpg-porting.html
share/doc/html/postgresql/ecpg-process.html
share/doc/html/postgresql/ecpg-variables.html
share/doc/html/postgresql/ecpg.html
share/doc/html/postgresql/executor.html
share/doc/html/postgresql/explicit-joins.html
share/doc/html/postgresql/explicit-locking.html
share/doc/html/postgresql/extend.html
share/doc/html/postgresql/features.html
share/doc/html/postgresql/functions-aggregate.html
share/doc/html/postgresql/functions-binarystring.html
share/doc/html/postgresql/functions-comparison.html
share/doc/html/postgresql/functions-conditional.html
share/doc/html/postgresql/functions-datetime.html
share/doc/html/postgresql/functions-formatting.html
share/doc/html/postgresql/functions-geometry.html
share/doc/html/postgresql/functions-matching.html
share/doc/html/postgresql/functions-math.html
share/doc/html/postgresql/functions-misc.html
share/doc/html/postgresql/functions-net.html
share/doc/html/postgresql/functions-sequence.html
share/doc/html/postgresql/functions-string.html
share/doc/html/postgresql/functions-subquery.html
share/doc/html/postgresql/functions.html
share/doc/html/postgresql/geqo-biblio.html
share/doc/html/postgresql/geqo-intro2.html
share/doc/html/postgresql/geqo-pg-intro.html
share/doc/html/postgresql/geqo.html
share/doc/html/postgresql/gist.html
share/doc/html/postgresql/groups.html
share/doc/html/postgresql/history.html
share/doc/html/postgresql/index.html
share/doc/html/postgresql/indexcost.html
share/doc/html/postgresql/indexes-examine.html
share/doc/html/postgresql/indexes-functional.html
share/doc/html/postgresql/indexes-multicolumn.html
share/doc/html/postgresql/indexes-opclass.html
share/doc/html/postgresql/indexes-partial.html
share/doc/html/postgresql/indexes-types.html
share/doc/html/postgresql/indexes-unique.html
share/doc/html/postgresql/indexes.html
share/doc/html/postgresql/install-getsource.html
share/doc/html/postgresql/install-post.html
share/doc/html/postgresql/install-procedure.html
share/doc/html/postgresql/install-requirements.html
share/doc/html/postgresql/install-upgrading.html
share/doc/html/postgresql/install-win32.html
share/doc/html/postgresql/installation.html
share/doc/html/postgresql/jdbc-binary-data.html
share/doc/html/postgresql/jdbc-datasource.html
share/doc/html/postgresql/jdbc-ddl.html
share/doc/html/postgresql/jdbc-ext.html
share/doc/html/postgresql/jdbc-query.html
share/doc/html/postgresql/jdbc-reading.html
share/doc/html/postgresql/jdbc-thread.html
share/doc/html/postgresql/jdbc-update.html
share/doc/html/postgresql/jdbc-use.html
share/doc/html/postgresql/jdbc.html
share/doc/html/postgresql/kernel-resources.html
share/doc/html/postgresql/largeobjects.html
share/doc/html/postgresql/libpgtcl-loading.html
share/doc/html/postgresql/libpgtcl-ref.html
share/doc/html/postgresql/libpq-async.html
share/doc/html/postgresql/libpq-build.html
share/doc/html/postgresql/libpq-connect.html
share/doc/html/postgresql/libpq-control.html
share/doc/html/postgresql/libpq-copy.html
share/doc/html/postgresql/libpq-envars.html
share/doc/html/postgresql/libpq-example.html
share/doc/html/postgresql/libpq-exec.html
share/doc/html/postgresql/libpq-fastpath.html
share/doc/html/postgresql/libpq-files.html
share/doc/html/postgresql/libpq-notify.html
share/doc/html/postgresql/libpq-threading.html
share/doc/html/postgresql/libpq-trace.html
share/doc/html/postgresql/libpq.html
share/doc/html/postgresql/ln17992.html
share/doc/html/postgresql/ln25.html
share/doc/html/postgresql/ln26782.html
share/doc/html/postgresql/ln39302.html
share/doc/html/postgresql/ln54018.html
share/doc/html/postgresql/ln659.html
share/doc/html/postgresql/lo-funcs.html
share/doc/html/postgresql/lo-implementation.html
share/doc/html/postgresql/lo-interfaces.html
share/doc/html/postgresql/lo-libpq.html
share/doc/html/postgresql/locking-indexes.html
share/doc/html/postgresql/logfile-maintenance.html
share/doc/html/postgresql/maintenance.html
share/doc/html/postgresql/manage-ag-alternate-locs.html
share/doc/html/postgresql/manage-ag-config.html
share/doc/html/postgresql/manage-ag-createdb.html
share/doc/html/postgresql/manage-ag-dropdb.html
share/doc/html/postgresql/manage-ag-templatedbs.html
share/doc/html/postgresql/managing-databases.html
share/doc/html/postgresql/migration.html
share/doc/html/postgresql/monitoring-locks.html
share/doc/html/postgresql/monitoring-stats.html
share/doc/html/postgresql/monitoring.html
share/doc/html/postgresql/multibyte.html
share/doc/html/postgresql/mvcc.html
share/doc/html/postgresql/nls-programmer.html
share/doc/html/postgresql/nls.html
share/doc/html/postgresql/notation.html
share/doc/html/postgresql/overview.html
share/doc/html/postgresql/page.html
share/doc/html/postgresql/parser-stage.html
share/doc/html/postgresql/performance-tips.html
share/doc/html/postgresql/perm-functions.html
share/doc/html/postgresql/pg-system-catalogs.html
share/doc/html/postgresql/pgtcl-pgconndefaults.html
share/doc/html/postgresql/pgtcl-pgconnect.html
share/doc/html/postgresql/pgtcl-pgdisconnect.html
share/doc/html/postgresql/pgtcl-pgexec.html
share/doc/html/postgresql/pgtcl-pgexecute.html
share/doc/html/postgresql/pgtcl-pglisten.html
share/doc/html/postgresql/pgtcl-pgloclose.html
share/doc/html/postgresql/pgtcl-pglocreat.html
share/doc/html/postgresql/pgtcl-pgloexport.html
share/doc/html/postgresql/pgtcl-pgloimport.html
share/doc/html/postgresql/pgtcl-pglolseek.html
share/doc/html/postgresql/pgtcl-pgloopen.html
share/doc/html/postgresql/pgtcl-pgloread.html
share/doc/html/postgresql/pgtcl-pglotell.html
share/doc/html/postgresql/pgtcl-pglounlink.html
share/doc/html/postgresql/pgtcl-pglowrite.html
share/doc/html/postgresql/pgtcl-pgon-connection-loss.html
share/doc/html/postgresql/pgtcl-pgresult.html
share/doc/html/postgresql/pgtcl-pgselect.html
share/doc/html/postgresql/pgtcl.html
share/doc/html/postgresql/planner-optimizer.html
share/doc/html/postgresql/planner-stats.html
share/doc/html/postgresql/plperl-data.html
share/doc/html/postgresql/plperl-database.html
share/doc/html/postgresql/plperl-missing.html
share/doc/html/postgresql/plperl-trusted.html
share/doc/html/postgresql/plperl.html
share/doc/html/postgresql/plpgsql-control-structures.html
share/doc/html/postgresql/plpgsql-cursors.html
share/doc/html/postgresql/plpgsql-declarations.html
share/doc/html/postgresql/plpgsql-errors-and-messages.html
share/doc/html/postgresql/plpgsql-examples.html
share/doc/html/postgresql/plpgsql-expressions.html
share/doc/html/postgresql/plpgsql-porting.html
share/doc/html/postgresql/plpgsql-statements.html
share/doc/html/postgresql/plpgsql-structure.html
share/doc/html/postgresql/plpgsql-trigger.html
share/doc/html/postgresql/plpgsql.html
share/doc/html/postgresql/plpython-database.html
share/doc/html/postgresql/plpython-trigger.html
share/doc/html/postgresql/plpython-trusted.html
share/doc/html/postgresql/plpython.html
share/doc/html/postgresql/pltcl-description.html
share/doc/html/postgresql/pltcl.html
share/doc/html/postgresql/populate.html
share/doc/html/postgresql/postmaster-shutdown.html
share/doc/html/postgresql/postmaster-start.html
share/doc/html/postgresql/privileges.html
share/doc/html/postgresql/programmer-client.html
share/doc/html/postgresql/programmer-pl.html
share/doc/html/postgresql/programmer-preface.html
share/doc/html/postgresql/programmer-server.html
share/doc/html/postgresql/programmer.html
share/doc/html/postgresql/protocol-message-formats.html
share/doc/html/postgresql/protocol-message-types.html
share/doc/html/postgresql/protocol-protocol.html
share/doc/html/postgresql/protocol.html
share/doc/html/postgresql/pygresql-close.html
share/doc/html/postgresql/pygresql-connect.html
share/doc/html/postgresql/pygresql-db-clear.html
share/doc/html/postgresql/pygresql-db-delete.html
share/doc/html/postgresql/pygresql-db-get-attnames.html
share/doc/html/postgresql/pygresql-db-get-databases.html
share/doc/html/postgresql/pygresql-db-get-tables.html
share/doc/html/postgresql/pygresql-db-get.html
share/doc/html/postgresql/pygresql-db-insert.html
share/doc/html/postgresql/pygresql-db-pkey.html
share/doc/html/postgresql/pygresql-db-update.html
share/doc/html/postgresql/pygresql-endcopy.html
share/doc/html/postgresql/pygresql-fileno.html
share/doc/html/postgresql/pygresql-get-defbase.html
share/doc/html/postgresql/pygresql-get-defhost.html
share/doc/html/postgresql/pygresql-get-defopt.html
share/doc/html/postgresql/pygresql-get-defport.html
share/doc/html/postgresql/pygresql-get-deftty.html
share/doc/html/postgresql/pygresql-getline.html
share/doc/html/postgresql/pygresql-getlo.html
share/doc/html/postgresql/pygresql-getnotify.html
share/doc/html/postgresql/pygresql-inserttable.html
share/doc/html/postgresql/pygresql-locreate.html
share/doc/html/postgresql/pygresql-loimport.html
share/doc/html/postgresql/pygresql-pg-db.html
share/doc/html/postgresql/pygresql-pg-functions.html
share/doc/html/postgresql/pygresql-pg-pglarge.html
share/doc/html/postgresql/pygresql-pg-pgobject.html
share/doc/html/postgresql/pygresql-pg-pgqueryobject.html
share/doc/html/postgresql/pygresql-pglargeobject-close.html
share/doc/html/postgresql/pygresql-pglargeobject-export.html
share/doc/html/postgresql/pygresql-pglargeobject-open.html
share/doc/html/postgresql/pygresql-pglargeobject-read.html
share/doc/html/postgresql/pygresql-pglargeobject-seek.html
share/doc/html/postgresql/pygresql-pglargeobject-size.html
share/doc/html/postgresql/pygresql-pglargeobject-tell.html
share/doc/html/postgresql/pygresql-pglargeobject-unlink.html
share/doc/html/postgresql/pygresql-pglargeobject-write.html
share/doc/html/postgresql/pygresql-pgqueryobject-dictresult.html
share/doc/html/postgresql/pygresql-pgqueryobject-fieldname.html
share/doc/html/postgresql/pygresql-pgqueryobject-fieldnum.html
share/doc/html/postgresql/pygresql-pgqueryobject-getresult.html
share/doc/html/postgresql/pygresql-pgqueryobject-listfields.html
share/doc/html/postgresql/pygresql-pgqueryobject-ntuples.html
share/doc/html/postgresql/pygresql-putline.html
share/doc/html/postgresql/pygresql-query.html
share/doc/html/postgresql/pygresql-reset.html
share/doc/html/postgresql/pygresql-set-defbase.html
share/doc/html/postgresql/pygresql-set-defhost.html
share/doc/html/postgresql/pygresql-set-defopt.html
share/doc/html/postgresql/pygresql-set-defport.html
share/doc/html/postgresql/pygresql-set-deftty.html
share/doc/html/postgresql/pygresql.html
share/doc/html/postgresql/queries-limit.html
share/doc/html/postgresql/queries-order.html
share/doc/html/postgresql/queries-select-lists.html
share/doc/html/postgresql/queries-table-expressions.html
share/doc/html/postgresql/queries-union.html
share/doc/html/postgresql/queries.html
share/doc/html/postgresql/querytree.html
share/doc/html/postgresql/recode.html
share/doc/html/postgresql/reference-client.html
share/doc/html/postgresql/reference-preface.html
share/doc/html/postgresql/reference-server.html
share/doc/html/postgresql/reference.html
share/doc/html/postgresql/regress-evaluation.html
share/doc/html/postgresql/regress-platform.html
share/doc/html/postgresql/regress-run.html
share/doc/html/postgresql/regress.html
share/doc/html/postgresql/release-0-01.html
share/doc/html/postgresql/release-0-02.html
share/doc/html/postgresql/release-0-03.html
share/doc/html/postgresql/release-1-0.html
share/doc/html/postgresql/release-1-01.html
share/doc/html/postgresql/release-1-02.html
share/doc/html/postgresql/release-1-09.html
share/doc/html/postgresql/release-6-0.html
share/doc/html/postgresql/release-6-1-1.html
share/doc/html/postgresql/release-6-1.html
share/doc/html/postgresql/release-6-2-1.html
share/doc/html/postgresql/release-6-2.html
share/doc/html/postgresql/release-6-3-1.html
share/doc/html/postgresql/release-6-3-2.html
share/doc/html/postgresql/release-6-3.html
share/doc/html/postgresql/release-6-4-1.html
share/doc/html/postgresql/release-6-4-2.html
share/doc/html/postgresql/release-6-4.html
share/doc/html/postgresql/release-6-5-1.html
share/doc/html/postgresql/release-6-5-2.html
share/doc/html/postgresql/release-6-5-3.html
share/doc/html/postgresql/release-6-5.html
share/doc/html/postgresql/release-7-0-1.html
share/doc/html/postgresql/release-7-0-2.html
share/doc/html/postgresql/release-7-0-3.html
share/doc/html/postgresql/release-7-0.html
share/doc/html/postgresql/release-7-1-1.html
share/doc/html/postgresql/release-7-1-2.html
share/doc/html/postgresql/release-7-1-3.html
share/doc/html/postgresql/release-7-1.html
share/doc/html/postgresql/release-7-2-1.html
share/doc/html/postgresql/release-7-2-2.html
share/doc/html/postgresql/release-7-2-3.html
share/doc/html/postgresql/release-7-2-4.html
share/doc/html/postgresql/release-7-2-5.html
share/doc/html/postgresql/release-7-2-6.html
share/doc/html/postgresql/release-7-2-7.html
share/doc/html/postgresql/release-7-2-8.html
share/doc/html/postgresql/release-7-2.html
share/doc/html/postgresql/release-7-3-1.html
share/doc/html/postgresql/release-7-3-10.html
share/doc/html/postgresql/release-7-3-11.html
share/doc/html/postgresql/release-7-3-12.html
share/doc/html/postgresql/release-7-3-13.html
share/doc/html/postgresql/release-7-3-14.html
share/doc/html/postgresql/release-7-3-2.html
share/doc/html/postgresql/release-7-3-3.html
share/doc/html/postgresql/release-7-3-4.html
share/doc/html/postgresql/release-7-3-5.html
share/doc/html/postgresql/release-7-3-6.html
share/doc/html/postgresql/release-7-3-7.html
share/doc/html/postgresql/release-7-3-8.html
share/doc/html/postgresql/release-7-3-9.html
share/doc/html/postgresql/release-7-3.html
share/doc/html/postgresql/release.html
share/doc/html/postgresql/resources.html
share/doc/html/postgresql/routine-reindex.html
share/doc/html/postgresql/routine-vacuuming.html
share/doc/html/postgresql/rule-system.html
share/doc/html/postgresql/rules-insert.html
share/doc/html/postgresql/rules-permissions.html
share/doc/html/postgresql/rules-status.html
share/doc/html/postgresql/rules-triggers.html
share/doc/html/postgresql/rules-views.html
share/doc/html/postgresql/rules.html
share/doc/html/postgresql/runtime-config.html
share/doc/html/postgresql/runtime.html
share/doc/html/postgresql/setindex.html
share/doc/html/postgresql/source.html
share/doc/html/postgresql/spi-examples.html
share/doc/html/postgresql/spi-interface-support.html
share/doc/html/postgresql/spi-memory.html
share/doc/html/postgresql/spi-spiconnect.html
share/doc/html/postgresql/spi-spicopytuple.html
share/doc/html/postgresql/spi-spicopytupledesc.html
share/doc/html/postgresql/spi-spicopytupleintoslot.html
share/doc/html/postgresql/spi-spicursor-close.html
share/doc/html/postgresql/spi-spicursor-fetch.html
share/doc/html/postgresql/spi-spicursor-find.html
share/doc/html/postgresql/spi-spicursor-move.html
share/doc/html/postgresql/spi-spicursor-open.html
share/doc/html/postgresql/spi-spiexec.html
share/doc/html/postgresql/spi-spiexecp.html
share/doc/html/postgresql/spi-spifinish.html
share/doc/html/postgresql/spi-spifname.html
share/doc/html/postgresql/spi-spifnumber.html
share/doc/html/postgresql/spi-spifreeplan.html
share/doc/html/postgresql/spi-spifreetuple.html
share/doc/html/postgresql/spi-spifreetuptable.html
share/doc/html/postgresql/spi-spigetbinval.html
share/doc/html/postgresql/spi-spigetrelname.html
share/doc/html/postgresql/spi-spigettype.html
share/doc/html/postgresql/spi-spigettypeid.html
share/doc/html/postgresql/spi-spigetvalue.html
share/doc/html/postgresql/spi-spimodifytuple.html
share/doc/html/postgresql/spi-spipalloc.html
share/doc/html/postgresql/spi-spipfree.html
share/doc/html/postgresql/spi-spiprepare.html
share/doc/html/postgresql/spi-spirepalloc.html
share/doc/html/postgresql/spi-spisaveplan.html
share/doc/html/postgresql/spi-visibility.html
share/doc/html/postgresql/spi.html
share/doc/html/postgresql/sql-abort.html
share/doc/html/postgresql/sql-alterdatabase.html
share/doc/html/postgresql/sql-altergroup.html
share/doc/html/postgresql/sql-altertable.html
share/doc/html/postgresql/sql-altertrigger.html
share/doc/html/postgresql/sql-alteruser.html
share/doc/html/postgresql/sql-analyze.html
share/doc/html/postgresql/sql-begin.html
share/doc/html/postgresql/sql-checkpoint.html
share/doc/html/postgresql/sql-close.html
share/doc/html/postgresql/sql-cluster.html
share/doc/html/postgresql/sql-commands.html
share/doc/html/postgresql/sql-comment.html
share/doc/html/postgresql/sql-commit.html
share/doc/html/postgresql/sql-copy.html
share/doc/html/postgresql/sql-createaggregate.html
share/doc/html/postgresql/sql-createcast.html
share/doc/html/postgresql/sql-createconstraint.html
share/doc/html/postgresql/sql-createconversion.html
share/doc/html/postgresql/sql-createdatabase.html
share/doc/html/postgresql/sql-createdomain.html
share/doc/html/postgresql/sql-createfunction.html
share/doc/html/postgresql/sql-creategroup.html
share/doc/html/postgresql/sql-createindex.html
share/doc/html/postgresql/sql-createlanguage.html
share/doc/html/postgresql/sql-createopclass.html
share/doc/html/postgresql/sql-createoperator.html
share/doc/html/postgresql/sql-createrule.html
share/doc/html/postgresql/sql-createschema.html
share/doc/html/postgresql/sql-createsequence.html
share/doc/html/postgresql/sql-createtable.html
share/doc/html/postgresql/sql-createtableas.html
share/doc/html/postgresql/sql-createtrigger.html
share/doc/html/postgresql/sql-createtype.html
share/doc/html/postgresql/sql-createuser.html
share/doc/html/postgresql/sql-createview.html
share/doc/html/postgresql/sql-deallocate.html
share/doc/html/postgresql/sql-declare.html
share/doc/html/postgresql/sql-delete.html
share/doc/html/postgresql/sql-dropaggregate.html
share/doc/html/postgresql/sql-dropcast.html
share/doc/html/postgresql/sql-dropconversion.html
share/doc/html/postgresql/sql-dropdatabase.html
share/doc/html/postgresql/sql-dropdomain.html
share/doc/html/postgresql/sql-dropfunction.html
share/doc/html/postgresql/sql-dropgroup.html
share/doc/html/postgresql/sql-dropindex.html
share/doc/html/postgresql/sql-droplanguage.html
share/doc/html/postgresql/sql-dropopclass.html
share/doc/html/postgresql/sql-dropoperator.html
share/doc/html/postgresql/sql-droprule.html
share/doc/html/postgresql/sql-dropschema.html
share/doc/html/postgresql/sql-dropsequence.html
share/doc/html/postgresql/sql-droptable.html
share/doc/html/postgresql/sql-droptrigger.html
share/doc/html/postgresql/sql-droptype.html
share/doc/html/postgresql/sql-dropuser.html
share/doc/html/postgresql/sql-dropview.html
share/doc/html/postgresql/sql-end.html
share/doc/html/postgresql/sql-execute.html
share/doc/html/postgresql/sql-explain.html
share/doc/html/postgresql/sql-expressions.html
share/doc/html/postgresql/sql-fetch.html
share/doc/html/postgresql/sql-grant.html
share/doc/html/postgresql/sql-insert.html
share/doc/html/postgresql/sql-keywords-appendix.html
share/doc/html/postgresql/sql-listen.html
share/doc/html/postgresql/sql-load.html
share/doc/html/postgresql/sql-lock.html
share/doc/html/postgresql/sql-move.html
share/doc/html/postgresql/sql-notify.html
share/doc/html/postgresql/sql-prepare.html
share/doc/html/postgresql/sql-reindex.html
share/doc/html/postgresql/sql-reset.html
share/doc/html/postgresql/sql-revoke.html
share/doc/html/postgresql/sql-rollback.html
share/doc/html/postgresql/sql-select.html
share/doc/html/postgresql/sql-selectinto.html
share/doc/html/postgresql/sql-set-constraints.html
share/doc/html/postgresql/sql-set-session-authorization.html
share/doc/html/postgresql/sql-set-transaction.html
share/doc/html/postgresql/sql-set.html
share/doc/html/postgresql/sql-show.html
share/doc/html/postgresql/sql-start-transaction.html
share/doc/html/postgresql/sql-syntax.html
share/doc/html/postgresql/sql-truncate.html
share/doc/html/postgresql/sql-unlisten.html
share/doc/html/postgresql/sql-update.html
share/doc/html/postgresql/sql-vacuum.html
share/doc/html/postgresql/ssh-tunnels.html
share/doc/html/postgresql/ssl-tcp.html
share/doc/html/postgresql/stylesheet.css
share/doc/html/postgresql/supported-platforms.html
share/doc/html/postgresql/transaction-iso.html
share/doc/html/postgresql/trigger-datachanges.html
share/doc/html/postgresql/trigger-examples.html
share/doc/html/postgresql/trigger-manager.html
share/doc/html/postgresql/triggers.html
share/doc/html/postgresql/tutorial-accessdb.html
share/doc/html/postgresql/tutorial-advanced.html
share/doc/html/postgresql/tutorial-agg.html
share/doc/html/postgresql/tutorial-arch.html
share/doc/html/postgresql/tutorial-concepts.html
share/doc/html/postgresql/tutorial-conclusion.html
share/doc/html/postgresql/tutorial-createdb.html
share/doc/html/postgresql/tutorial-delete.html
share/doc/html/postgresql/tutorial-fk.html
share/doc/html/postgresql/tutorial-inheritance.html
share/doc/html/postgresql/tutorial-join.html
share/doc/html/postgresql/tutorial-populate.html
share/doc/html/postgresql/tutorial-preface.html
share/doc/html/postgresql/tutorial-select.html
share/doc/html/postgresql/tutorial-sql.html
share/doc/html/postgresql/tutorial-start.html
share/doc/html/postgresql/tutorial-table.html
share/doc/html/postgresql/tutorial-transactions.html
share/doc/html/postgresql/tutorial-update.html
share/doc/html/postgresql/tutorial-views.html
share/doc/html/postgresql/tutorial.html
share/doc/html/postgresql/type-system.html
share/doc/html/postgresql/typeconv-func.html
share/doc/html/postgresql/typeconv-oper.html
share/doc/html/postgresql/typeconv-query.html
share/doc/html/postgresql/typeconv-union-case.html
share/doc/html/postgresql/typeconv.html
share/doc/html/postgresql/units-history.html
share/doc/html/postgresql/unsupported-features-sql99.html
share/doc/html/postgresql/user-attributes.html
share/doc/html/postgresql/user-manag.html
share/doc/html/postgresql/user-preface-thisbook.html
share/doc/html/postgresql/user-preface.html
share/doc/html/postgresql/user.html
share/doc/html/postgresql/wal-configuration.html
share/doc/html/postgresql/wal-implementation.html
share/doc/html/postgresql/wal.html
share/doc/html/postgresql/x11965.html
share/doc/html/postgresql/x1782.html
share/doc/html/postgresql/xaggr.html
share/doc/html/postgresql/xfunc-c.html
share/doc/html/postgresql/xfunc-internal.html
share/doc/html/postgresql/xfunc-overload.html
share/doc/html/postgresql/xfunc-pl.html
share/doc/html/postgresql/xfunc-plhandler.html
share/doc/html/postgresql/xfunc-sql.html
share/doc/html/postgresql/xfunc-tablefunctions.html
share/doc/html/postgresql/xfunc.html
share/doc/html/postgresql/xindex-am.html
share/doc/html/postgresql/xindex-opclass-features.html
share/doc/html/postgresql/xindex-opclass.html
share/doc/html/postgresql/xindex-operators.html
share/doc/html/postgresql/xindex-strategies.html
share/doc/html/postgresql/xindex-support.html
share/doc/html/postgresql/xindex.html
share/doc/html/postgresql/xoper-example.html
share/doc/html/postgresql/xoper-optimization.html
share/doc/html/postgresql/xoper.html
share/doc/html/postgresql/xplang-install.html
share/doc/html/postgresql/xplang.html
share/doc/html/postgresql/xtypes.html
share/doc/postgresql/FAQ
share/doc/postgresql/FAQ_AIX
share/doc/postgresql/FAQ_DEV
share/doc/postgresql/FAQ_HPUX
share/doc/postgresql/FAQ_IRIX
share/doc/postgresql/FAQ_MSWIN
share/doc/postgresql/FAQ_QNX4
share/doc/postgresql/FAQ_SCO
share/doc/postgresql/FAQ_Solaris
share/doc/postgresql/FAQ_german
share/doc/postgresql/FAQ_hungarian
share/doc/postgresql/FAQ_japanese
share/doc/postgresql/FAQ_polish
share/doc/postgresql/FAQ_russian
share/doc/postgresql/FAQ_turkish
share/doc/postgresql/KNOWN_BUGS
share/doc/postgresql/MISSING_FEATURES
share/doc/postgresql/README.mb.big5
share/doc/postgresql/README.mb.jp
share/doc/postgresql/TODO
share/doc/postgresql/bug.template
@dirrm share/doc/postgresql
@dirrm share/doc/html/postgresql

View file

@ -1,9 +0,0 @@
PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system. While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.
PostgreSQL is free and the complete source is available.
This package contains the database headers and libraries.

View file

@ -1,14 +0,0 @@
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.1.1.1 2004/07/24 22:17:56 recht Exp $
case ${STAGE} in
VIEW-INSTALL)
${RM} -f ${PKG_PREFIX}/include/pgsql
${LN} -fs postgresql ${PKG_PREFIX}/include/pgsql
;;
VIEW-DEINSTALL)
${RM} -f ${PKG_PREFIX}/include/pgsql
;;
esac

View file

@ -1,45 +0,0 @@
# $NetBSD: Makefile,v 1.18 2006/03/14 01:14:27 jlam Exp $
PKGNAME= postgresql73-lib-${BASE_VERS}
SVR4_PKGNAME= pstgl
COMMENT= PostgreSQL database headers and libraries
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../databases/postgresql73/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
BUILD_DIRS= ${WRKSRC}/src/include
BUILD_DIRS+= ${WRKSRC}/src/interfaces
BUILD_DIRS+= ${WRKSRC}/src/pl
USE_TOOLS+= gtar
DEINSTALL_TEMPLATE+= ${PKGDIR}/INSTALL
INSTALLATION_DIRS= man
.if ${OPSYS} == "FreeBSD"
PLIST_SUBST+= LIBECPG="@comment "
PLIST_SUBST+= LIBPQ="@comment "
.else
PLIST_SUBST+= LIBECPG=
PLIST_SUBST+= LIBPQ=
.endif
post-wrapper:
#
# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
# "/usr/include/crypt.h" -- we want the definitions in the former.
#
.if (${OPSYS} == "SunOS")
${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
.endif
post-install:
cd ${WRKSRC}/src/include && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} install-all-headers
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|^#.*||" ${FILESDIR}/man.lib`
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,369 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2005/12/02 19:46:40 joerg Exp $
bin/ecpg
include/postgresql/ecpgerrno.h
include/postgresql/ecpglib.h
include/postgresql/ecpgtype.h
include/postgresql/internal/c.h
include/postgresql/internal/lib/dllist.h
include/postgresql/internal/libpq-int.h
include/postgresql/internal/libpq/pqcomm.h
include/postgresql/internal/postgres_fe.h
include/postgresql/internal/pqexpbuffer.h
include/postgresql/libpq-fe.h
include/postgresql/libpq/libpq-fs.h
include/postgresql/pg_config.h
include/postgresql/pg_config_os.h
include/postgresql/postgres_ext.h
include/postgresql/server/access/attnum.h
include/postgresql/server/access/clog.h
include/postgresql/server/access/genam.h
include/postgresql/server/access/gist.h
include/postgresql/server/access/gistscan.h
include/postgresql/server/access/hash.h
include/postgresql/server/access/heapam.h
include/postgresql/server/access/hio.h
include/postgresql/server/access/htup.h
include/postgresql/server/access/ibit.h
include/postgresql/server/access/iqual.h
include/postgresql/server/access/istrat.h
include/postgresql/server/access/itup.h
include/postgresql/server/access/nbtree.h
include/postgresql/server/access/printtup.h
include/postgresql/server/access/relscan.h
include/postgresql/server/access/rmgr.h
include/postgresql/server/access/rtree.h
include/postgresql/server/access/rtscan.h
include/postgresql/server/access/sdir.h
include/postgresql/server/access/skey.h
include/postgresql/server/access/strat.h
include/postgresql/server/access/transam.h
include/postgresql/server/access/tupdesc.h
include/postgresql/server/access/tupmacs.h
include/postgresql/server/access/tuptoaster.h
include/postgresql/server/access/valid.h
include/postgresql/server/access/xact.h
include/postgresql/server/access/xlog.h
include/postgresql/server/access/xlogdefs.h
include/postgresql/server/access/xlogutils.h
include/postgresql/server/bootstrap/bootstrap.h
include/postgresql/server/c.h
include/postgresql/server/catalog/catalog.h
include/postgresql/server/catalog/catname.h
include/postgresql/server/catalog/catversion.h
include/postgresql/server/catalog/dependency.h
include/postgresql/server/catalog/heap.h
include/postgresql/server/catalog/index.h
include/postgresql/server/catalog/indexing.h
include/postgresql/server/catalog/namespace.h
include/postgresql/server/catalog/pg_aggregate.h
include/postgresql/server/catalog/pg_am.h
include/postgresql/server/catalog/pg_amop.h
include/postgresql/server/catalog/pg_amproc.h
include/postgresql/server/catalog/pg_attrdef.h
include/postgresql/server/catalog/pg_attribute.h
include/postgresql/server/catalog/pg_cast.h
include/postgresql/server/catalog/pg_class.h
include/postgresql/server/catalog/pg_constraint.h
include/postgresql/server/catalog/pg_control.h
include/postgresql/server/catalog/pg_conversion.h
include/postgresql/server/catalog/pg_database.h
include/postgresql/server/catalog/pg_depend.h
include/postgresql/server/catalog/pg_description.h
include/postgresql/server/catalog/pg_group.h
include/postgresql/server/catalog/pg_index.h
include/postgresql/server/catalog/pg_inherits.h
include/postgresql/server/catalog/pg_language.h
include/postgresql/server/catalog/pg_largeobject.h
include/postgresql/server/catalog/pg_listener.h
include/postgresql/server/catalog/pg_namespace.h
include/postgresql/server/catalog/pg_opclass.h
include/postgresql/server/catalog/pg_operator.h
include/postgresql/server/catalog/pg_proc.h
include/postgresql/server/catalog/pg_rewrite.h
include/postgresql/server/catalog/pg_shadow.h
include/postgresql/server/catalog/pg_statistic.h
include/postgresql/server/catalog/pg_trigger.h
include/postgresql/server/catalog/pg_type.h
include/postgresql/server/catalog/pg_version.h
include/postgresql/server/commands/async.h
include/postgresql/server/commands/cluster.h
include/postgresql/server/commands/comment.h
include/postgresql/server/commands/conversioncmds.h
include/postgresql/server/commands/copy.h
include/postgresql/server/commands/dbcommands.h
include/postgresql/server/commands/defrem.h
include/postgresql/server/commands/explain.h
include/postgresql/server/commands/lockcmds.h
include/postgresql/server/commands/portalcmds.h
include/postgresql/server/commands/prepare.h
include/postgresql/server/commands/proclang.h
include/postgresql/server/commands/schemacmds.h
include/postgresql/server/commands/sequence.h
include/postgresql/server/commands/tablecmds.h
include/postgresql/server/commands/trigger.h
include/postgresql/server/commands/user.h
include/postgresql/server/commands/vacuum.h
include/postgresql/server/commands/variable.h
include/postgresql/server/commands/version.h
include/postgresql/server/commands/view.h
include/postgresql/server/dynloader.h
include/postgresql/server/executor/execdebug.h
include/postgresql/server/executor/execdefs.h
include/postgresql/server/executor/execdesc.h
include/postgresql/server/executor/executor.h
include/postgresql/server/executor/functions.h
include/postgresql/server/executor/hashjoin.h
include/postgresql/server/executor/instrument.h
include/postgresql/server/executor/nodeAgg.h
include/postgresql/server/executor/nodeAppend.h
include/postgresql/server/executor/nodeFunctionscan.h
include/postgresql/server/executor/nodeGroup.h
include/postgresql/server/executor/nodeHash.h
include/postgresql/server/executor/nodeHashjoin.h
include/postgresql/server/executor/nodeIndexscan.h
include/postgresql/server/executor/nodeLimit.h
include/postgresql/server/executor/nodeMaterial.h
include/postgresql/server/executor/nodeMergejoin.h
include/postgresql/server/executor/nodeNestloop.h
include/postgresql/server/executor/nodeResult.h
include/postgresql/server/executor/nodeSeqscan.h
include/postgresql/server/executor/nodeSetOp.h
include/postgresql/server/executor/nodeSort.h
include/postgresql/server/executor/nodeSubplan.h
include/postgresql/server/executor/nodeSubqueryscan.h
include/postgresql/server/executor/nodeTidscan.h
include/postgresql/server/executor/nodeUnique.h
include/postgresql/server/executor/spi.h
include/postgresql/server/executor/spi_priv.h
include/postgresql/server/executor/tuptable.h
include/postgresql/server/fmgr.h
include/postgresql/server/funcapi.h
include/postgresql/server/lib/dllist.h
include/postgresql/server/lib/lispsort.h
include/postgresql/server/lib/stringinfo.h
include/postgresql/server/libpq/auth.h
include/postgresql/server/libpq/be-fsstubs.h
include/postgresql/server/libpq/crypt.h
include/postgresql/server/libpq/hba.h
include/postgresql/server/libpq/libpq-be.h
include/postgresql/server/libpq/libpq-fs.h
include/postgresql/server/libpq/libpq.h
include/postgresql/server/libpq/password.h
include/postgresql/server/libpq/pqcomm.h
include/postgresql/server/libpq/pqformat.h
include/postgresql/server/libpq/pqsignal.h
include/postgresql/server/mb/pg_wchar.h
include/postgresql/server/miscadmin.h
include/postgresql/server/nodes/execnodes.h
include/postgresql/server/nodes/makefuncs.h
include/postgresql/server/nodes/memnodes.h
include/postgresql/server/nodes/nodeFuncs.h
include/postgresql/server/nodes/nodes.h
include/postgresql/server/nodes/params.h
include/postgresql/server/nodes/parsenodes.h
include/postgresql/server/nodes/pg_list.h
include/postgresql/server/nodes/plannodes.h
include/postgresql/server/nodes/primnodes.h
include/postgresql/server/nodes/print.h
include/postgresql/server/nodes/readfuncs.h
include/postgresql/server/nodes/relation.h
include/postgresql/server/optimizer/clauses.h
include/postgresql/server/optimizer/cost.h
include/postgresql/server/optimizer/geqo.h
include/postgresql/server/optimizer/geqo_copy.h
include/postgresql/server/optimizer/geqo_gene.h
include/postgresql/server/optimizer/geqo_misc.h
include/postgresql/server/optimizer/geqo_mutation.h
include/postgresql/server/optimizer/geqo_pool.h
include/postgresql/server/optimizer/geqo_random.h
include/postgresql/server/optimizer/geqo_recombination.h
include/postgresql/server/optimizer/geqo_selection.h
include/postgresql/server/optimizer/joininfo.h
include/postgresql/server/optimizer/pathnode.h
include/postgresql/server/optimizer/paths.h
include/postgresql/server/optimizer/plancat.h
include/postgresql/server/optimizer/planmain.h
include/postgresql/server/optimizer/planner.h
include/postgresql/server/optimizer/prep.h
include/postgresql/server/optimizer/restrictinfo.h
include/postgresql/server/optimizer/subselect.h
include/postgresql/server/optimizer/tlist.h
include/postgresql/server/optimizer/var.h
include/postgresql/server/parser/analyze.h
include/postgresql/server/parser/gramparse.h
include/postgresql/server/parser/keywords.h
include/postgresql/server/parser/parse.h
include/postgresql/server/parser/parse_agg.h
include/postgresql/server/parser/parse_clause.h
include/postgresql/server/parser/parse_coerce.h
include/postgresql/server/parser/parse_expr.h
include/postgresql/server/parser/parse_func.h
include/postgresql/server/parser/parse_node.h
include/postgresql/server/parser/parse_oper.h
include/postgresql/server/parser/parse_relation.h
include/postgresql/server/parser/parse_target.h
include/postgresql/server/parser/parse_type.h
include/postgresql/server/parser/parser.h
include/postgresql/server/parser/parsetree.h
include/postgresql/server/parser/scansup.h
include/postgresql/server/pg_config.h
include/postgresql/server/pg_config_os.h
include/postgresql/server/pgstat.h
include/postgresql/server/port/aix.h
include/postgresql/server/port/beos.h
include/postgresql/server/port/bsdi.h
include/postgresql/server/port/darwin.h
include/postgresql/server/port/dgux.h
include/postgresql/server/port/dragonfly.h
include/postgresql/server/port/freebsd.h
include/postgresql/server/port/hpux.h
include/postgresql/server/port/irix5.h
include/postgresql/server/port/linux.h
include/postgresql/server/port/netbsd.h
include/postgresql/server/port/nextstep.h
include/postgresql/server/port/openbsd.h
include/postgresql/server/port/osf.h
include/postgresql/server/port/qnx4.h
include/postgresql/server/port/sco.h
include/postgresql/server/port/solaris.h
include/postgresql/server/port/sunos4.h
include/postgresql/server/port/svr4.h
include/postgresql/server/port/ultrix4.h
include/postgresql/server/port/univel.h
include/postgresql/server/port/unixware.h
include/postgresql/server/port/win.h
include/postgresql/server/port/win32.h
include/postgresql/server/postgres.h
include/postgresql/server/postgres_ext.h
include/postgresql/server/postgres_fe.h
include/postgresql/server/regex/cclass.h
include/postgresql/server/regex/cname.h
include/postgresql/server/regex/regex.h
include/postgresql/server/regex/regex2.h
include/postgresql/server/regex/utils.h
include/postgresql/server/rewrite/prs2lock.h
include/postgresql/server/rewrite/rewriteDefine.h
include/postgresql/server/rewrite/rewriteHandler.h
include/postgresql/server/rewrite/rewriteManip.h
include/postgresql/server/rewrite/rewriteRemove.h
include/postgresql/server/rewrite/rewriteSupport.h
include/postgresql/server/rusagestub.h
include/postgresql/server/storage/backendid.h
include/postgresql/server/storage/block.h
include/postgresql/server/storage/buf.h
include/postgresql/server/storage/buf_internals.h
include/postgresql/server/storage/buffile.h
include/postgresql/server/storage/bufmgr.h
include/postgresql/server/storage/bufpage.h
include/postgresql/server/storage/fd.h
include/postgresql/server/storage/freespace.h
include/postgresql/server/storage/ipc.h
include/postgresql/server/storage/item.h
include/postgresql/server/storage/itemid.h
include/postgresql/server/storage/itempos.h
include/postgresql/server/storage/itemptr.h
include/postgresql/server/storage/large_object.h
include/postgresql/server/storage/lmgr.h
include/postgresql/server/storage/lock.h
include/postgresql/server/storage/lwlock.h
include/postgresql/server/storage/off.h
include/postgresql/server/storage/page.h
include/postgresql/server/storage/pg_sema.h
include/postgresql/server/storage/pg_shmem.h
include/postgresql/server/storage/pmsignal.h
include/postgresql/server/storage/pos.h
include/postgresql/server/storage/proc.h
include/postgresql/server/storage/relfilenode.h
include/postgresql/server/storage/s_lock.h
include/postgresql/server/storage/shmem.h
include/postgresql/server/storage/sinval.h
include/postgresql/server/storage/sinvaladt.h
include/postgresql/server/storage/smgr.h
include/postgresql/server/storage/spin.h
include/postgresql/server/strdup.h
include/postgresql/server/tcop/dest.h
include/postgresql/server/tcop/fastpath.h
include/postgresql/server/tcop/pquery.h
include/postgresql/server/tcop/tcopdebug.h
include/postgresql/server/tcop/tcopprot.h
include/postgresql/server/tcop/utility.h
include/postgresql/server/utils/acl.h
include/postgresql/server/utils/array.h
include/postgresql/server/utils/ascii.h
include/postgresql/server/utils/bit.h
include/postgresql/server/utils/builtins.h
include/postgresql/server/utils/cash.h
include/postgresql/server/utils/catcache.h
include/postgresql/server/utils/date.h
include/postgresql/server/utils/datetime.h
include/postgresql/server/utils/datum.h
include/postgresql/server/utils/dynahash.h
include/postgresql/server/utils/dynamic_loader.h
include/postgresql/server/utils/elog.h
include/postgresql/server/utils/fcache.h
include/postgresql/server/utils/fmgroids.h
include/postgresql/server/utils/fmgrtab.h
include/postgresql/server/utils/formatting.h
include/postgresql/server/utils/geo_decls.h
include/postgresql/server/utils/guc.h
include/postgresql/server/utils/hsearch.h
include/postgresql/server/utils/inet.h
include/postgresql/server/utils/int8.h
include/postgresql/server/utils/inval.h
include/postgresql/server/utils/logtape.h
include/postgresql/server/utils/lsyscache.h
include/postgresql/server/utils/memutils.h
include/postgresql/server/utils/nabstime.h
include/postgresql/server/utils/numeric.h
include/postgresql/server/utils/palloc.h
include/postgresql/server/utils/pg_crc.h
include/postgresql/server/utils/pg_locale.h
include/postgresql/server/utils/pg_lzcompress.h
include/postgresql/server/utils/portal.h
include/postgresql/server/utils/ps_status.h
include/postgresql/server/utils/rel.h
include/postgresql/server/utils/relcache.h
include/postgresql/server/utils/selfuncs.h
include/postgresql/server/utils/sets.h
include/postgresql/server/utils/syscache.h
include/postgresql/server/utils/timestamp.h
include/postgresql/server/utils/tqual.h
include/postgresql/server/utils/tuplesort.h
include/postgresql/server/utils/tuplestore.h
include/postgresql/server/utils/varbit.h
include/postgresql/sql3types.h
include/postgresql/sqlca.h
lib/libecpg.a
lib/libecpg.so
lib/libecpg.so.3
${LIBECPG}lib/libecpg.so.3.6
lib/libpq.a
lib/libpq.so
lib/libpq.so.3
${LIBPQ}lib/libpq.so.3.0
lib/postgresql/plpgsql.so
man/man1/ecpg.1
@dirrm lib/postgresql
@dirrm include/postgresql/server/utils
@dirrm include/postgresql/server/tcop
@dirrm include/postgresql/server/storage
@dirrm include/postgresql/server/rewrite
@dirrm include/postgresql/server/regex
@dirrm include/postgresql/server/port
@dirrm include/postgresql/server/parser
@dirrm include/postgresql/server/optimizer
@dirrm include/postgresql/server/nodes
@dirrm include/postgresql/server/mb
@dirrm include/postgresql/server/libpq
@dirrm include/postgresql/server/lib
@dirrm include/postgresql/server/executor
@dirrm include/postgresql/server/commands
@dirrm include/postgresql/server/catalog
@dirrm include/postgresql/server/bootstrap
@dirrm include/postgresql/server/access
@dirrm include/postgresql/server
@dirrm include/postgresql/libpq
@dirrm include/postgresql/internal/libpq
@dirrm include/postgresql/internal/lib
@dirrm include/postgresql/internal
@dirrm include/postgresql

View file

@ -1,28 +0,0 @@
# $NetBSD: buildlink3.mk,v 1.6 2006/04/12 10:27:04 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POSTGRESQL73_LIB_BUILDLINK3_MK:= ${POSTGRESQL73_LIB_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= postgresql73-lib
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql73-lib}
BUILDLINK_PACKAGES+= postgresql73-lib
.if !empty(POSTGRESQL73_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.postgresql73-lib+= postgresql73-lib>=7.3.10
BUILDLINK_ABI_DEPENDS.postgresql73-lib?= postgresql73-lib>=7.3.10nb2
BUILDLINK_PKGSRCDIR.postgresql73-lib?= ../../databases/postgresql73-lib
BUILDLINK_INCDIRS.postgresql73-lib?= include/postgresql
BUILDLINK_FILES.postgresql73-lib+= include/pgsql/*
BUILDLINK_FILES.postgresql73-lib+= include/pgsql/server/*.h
BUILDLINK_FILES.postgresql73-lib+= include/pgsql/server/utils/*.h
# This variable contains the libraries need to link most clients.
BUILDLINK_LDADD.postgresql73-lib= -lpq
.endif # POSTGRESQL73_LIB_BUILDLINK3_MK
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

View file

@ -1,3 +0,0 @@
# $NetBSD: man.lib,v 1.1.1.1 2004/07/24 22:17:58 recht Exp $
#
man1/ecpg.1

View file

@ -1,5 +0,0 @@
PL/Perl allows you to write functions in the Perl programming language
that may be used in SQL queries as if they were built into Postgres.
The PL/Perl intepreter is a full Perl interpreter. However, certain
operations have been disabled in order to maintain the security of the
system.

View file

@ -1,7 +0,0 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/07/24 22:18:50 recht Exp $
Please see the PL/Perl section of the PostgreSQL Programmer's Guide
(databases/postgresql-docs) for information on programming with
${PKGNAME}.
===========================================================================

View file

@ -1,20 +0,0 @@
# $NetBSD: Makefile,v 1.10 2006/02/20 18:34:07 joerg Exp $
PKGNAME= postgresql73-plperl-${BASE_VERS}
COMMENT= PL/Perl procedural language for the PostgreSQL backend
DEPENDS+= postgresql73-server>=${BASE_VERS}:../../databases/postgresql73-server
.include "../../databases/postgresql73/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-perl
BUILD_DIRS= ${WRKSRC}/src/pl/plperl
MAKEFILE= GNUmakefile
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,2 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:18:51 recht Exp $
lib/postgresql/plperl.so

View file

@ -1,4 +0,0 @@
PL/Tcl is a dynamic loadable extension for the PostgreSQL database system
that enables the Tcl language to be used to create functions and
trigger-procedures. It offers most of the capabilities a function
writer has in the C language.

View file

@ -1,7 +0,0 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/07/24 22:19:43 recht Exp $
Please see the PL/Tcl section of the PostgreSQL Programmer's Guide
(databases/postgresql-docs) for information on programming with
${PKGNAME}.
===========================================================================

View file

@ -1,22 +0,0 @@
# $NetBSD: Makefile,v 1.8 2006/02/20 18:34:07 joerg Exp $
PKGNAME= postgresql73-pltcl-${BASE_VERS}
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
DEPENDS+= postgresql73-server>=${BASE_VERS}:../../databases/postgresql73-server
.include "../../databases/postgresql73/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-tcl
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
CONFIGURE_ENV+= TCLSH=${TCLSH:Q}
TCLSH= ${LOCALBASE}/bin/tclsh
BUILD_DIRS= ${WRKSRC}/src/pl/tcl
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,6 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:19:43 recht Exp $
bin/pltcl_delmod
bin/pltcl_listmod
bin/pltcl_loadmod
lib/postgresql/pltcl.so
share/postgresql/unknown.pltcl

View file

@ -1,20 +0,0 @@
# $NetBSD: DEINSTALL,v 1.1.1.1 2004/07/24 22:20:32 recht Exp $
case ${STAGE} in
DEINSTALL)
${CAT} << EOF
===========================================================================
If you intend to upgrade your PostgreSQL installation, you may need to
perform a dump-and-restore to move your current databases into the newer
PostgreSQL installation. Please dump your databases *prior* to installing
the new PostgreSQL.
Please see the Backup and Restore section of the PostgreSQL Administrator's
Guide (databases/postgresql-docs) for complete information on how to
perform the databases dump.
===========================================================================
EOF
;;
esac

View file

@ -1,9 +0,0 @@
PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system. While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.
PostgreSQL is free and the complete source is available.
This package contains the database server programs.

View file

@ -1,17 +0,0 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/07/24 22:20:31 recht Exp $
To enable this package, put the following into your /etc/rc.conf:
pgsql=yes
pgsql_flags="-i" # allows TCP/IP connections
pgsql_flags="-i -l" # enables SSL connections (TCP/IP and
# ~pgsql/data/server.crt required)
and ensure that
${RCD_SCRIPTS_DIR}/pgsql start
is run at the appropriate time.
===========================================================================

View file

@ -1,81 +0,0 @@
# $NetBSD: Makefile,v 1.23 2006/04/23 00:12:37 jlam Exp $
PKGNAME= postgresql73-server-${BASE_VERS}
SVR4_PKGNAME= pstgs
COMMENT= PostgreSQL database server programs
DEPENDS+= postgresql73-client>=${BASE_VERS}:../../databases/postgresql73-client
# mips has no TAS implementation
NOT_FOR_PLATFORM= *-*-mips
.include "../../databases/postgresql73/Makefile.common"
USE_TOOLS+= gtar
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
BUILD_DIRS= ${WRKSRC}/src/backend
BUILD_DIRS+= ${WRKSRC}/src/backend/utils/mb/conversion_procs
# PostgreSQL has loadable server-side language modules.
# XXX this breaks PostgreSQL server - see PR pkg/28729
#.include "../../mk/dlopen.buildlink3.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql73-server
PKG_SUPPORTED_OPTIONS= pam
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --with-pam
.endif
# PGUSER username of the database administrator
# PGGROUP group of the database administrator
# PGHOME home directory of the database administrator and location of
# the databases
#
PGUSER?= pgsql
PGGROUP?= pgsql
PGHOME?= ${PREFIX}/${PGUSER}
FILES_SUBST+= PGUSER=${PGUSER:Q}
FILES_SUBST+= PGGROUP=${PGGROUP:Q}
FILES_SUBST+= PGHOME=${PGHOME:Q}
BUILD_DEFS+= PGUSER PGGROUP PGHOME
PKG_GROUPS= ${PGGROUP}
PKG_USERS= ${PGUSER}:${PGGROUP}
PKG_GECOS.${PGUSER}= PostgreSQL database administrator
PKG_HOME.${PGUSER}= ${PGHOME}
PKG_SHELL.${PGUSER}= ${SH}
RCD_SCRIPTS= pgsql
post-wrapper:
#
# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
# "/usr/include/crypt.h" -- we want the definitions in the former.
#
.if (${OPSYS} == "SunOS")
${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
.endif
pre-install:
@case "X${PGUSER}" in \
Xbin|Xetc|Xinclude|Xinfo|Xlib|Xlibdata|Xlibexec|Xman|Xsbin|Xshare) \
${ECHO} "You have chosen PGUSER=${PGUSER} which will"; \
${ECHO} "cause trouble, because the postgres home directory"; \
${ECHO} "would be ${PGHOME}. Please"; \
${ECHO} "set PGUSER to something more reasonable"; \
${ECHO} "like pgsql."; \
${ECHO} ""; \
${FALSE}; \
;; \
esac
post-install:
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|^#.*||" ${FILESDIR}/man.server`
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,39 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2006/02/16 23:28:53 wiz Exp $
bin/postgres
bin/postmaster
lib/postgresql/ascii_and_mic.so
lib/postgresql/cyrillic_and_mic.so
lib/postgresql/euc_cn_and_mic.so
lib/postgresql/euc_jp_and_sjis.so
lib/postgresql/euc_kr_and_mic.so
lib/postgresql/euc_tw_and_big5.so
lib/postgresql/latin2_and_win1250.so
lib/postgresql/latin_and_mic.so
lib/postgresql/utf8_and_ascii.so
lib/postgresql/utf8_and_big5.so
lib/postgresql/utf8_and_cyrillic.so
lib/postgresql/utf8_and_euc_cn.so
lib/postgresql/utf8_and_euc_jp.so
lib/postgresql/utf8_and_euc_kr.so
lib/postgresql/utf8_and_euc_tw.so
lib/postgresql/utf8_and_gb18030.so
lib/postgresql/utf8_and_gbk.so
lib/postgresql/utf8_and_iso8859.so
lib/postgresql/utf8_and_iso8859_1.so
lib/postgresql/utf8_and_johab.so
lib/postgresql/utf8_and_sjis.so
lib/postgresql/utf8_and_tcvn.so
lib/postgresql/utf8_and_uhc.so
lib/postgresql/utf8_and_win1250.so
lib/postgresql/utf8_and_win1256.so
lib/postgresql/utf8_and_win874.so
man/man1/postgres.1
man/man1/postmaster.1
share/examples/rc.d/pgsql
share/postgresql/conversion_create.sql
share/postgresql/postgres.bki
share/postgresql/postgres.description
share/postgresql/pg_hba.conf.sample
share/postgresql/pg_ident.conf.sample
share/postgresql/postgresql.conf.sample
@unexec ${RMDIR} -p %D/share/postgresql 2>/dev/null || ${TRUE}

View file

@ -1,4 +0,0 @@
# $NetBSD: man.server,v 1.1.1.1 2004/07/24 22:20:32 recht Exp $
#
man1/postgres.1
man1/postmaster.1

View file

@ -1,142 +0,0 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: pgsql.sh,v 1.1.1.1 2004/07/24 22:20:32 recht Exp $
#
# PostgreSQL database rc.d control script
#
# PROVIDE: pgsql
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# You will need to set some variables in /etc/rc.conf to start PostgreSQL:
#
# pgsql=YES
#
# The following variables are optional:
#
# pgsql_flags="-i" # allows TCP/IP connections
# pgsql_flags="-i -l" # enables SSL connections
# pgsql_home="/path/to/home" # path to pgsql database directory
#
# "pgsql_flags" contains options for the PostgreSQL postmaster. See
# postmaster(1) for possible options.
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="pgsql"
rcvar=$name
pgsql_user="@PGUSER@"
pgsql_group="@PGGROUP@"
eval pgsql_home="~$pgsql_user"
command="@PREFIX@/bin/postmaster"
ctl_command="@PREFIX@/bin/pg_ctl"
extra_commands="initdb"
if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
load_rc_config $name
elif [ -f /etc/rc.conf ]; then
. /etc/rc.conf
fi
pidfile="${pgsql_home}/data/postmaster.pid"
common_args="-D ${pgsql_home}/data"
start_command_args="-w -s -l ${pgsql_home}/errlog"
stop_command_args="-s -m fast"
initdb_cmd="pgsql_initdb"
start_precmd="pgsql_precmd"
start_cmd="pgsql_doit start"
restart_cmd="pgsql_doit restart"
stop_cmd="pgsql_doit stop"
ulimit -n 4096
pgsql_precmd()
{
if [ ! -d ${pgsql_home}/data/base ]; then
pgsql_initdb
fi
}
pgsql_initdb()
{
initdb="@PREFIX@/bin/initdb"
if [ ! -x ${initdb} ]; then
return 1
fi
if [ -d ${pgsql_home}/data/base ]; then
@ECHO@ "The PostgreSQL template databases have already been initialized."
@ECHO@ "Skipping database initialization."
else
@ECHO@ "Initializing PostgreSQL databases."
@MKDIR@ -p ${pgsql_home}
@CHOWN@ ${pgsql_user} ${pgsql_home}
@CHGRP@ ${pgsql_group} ${pgsql_home}
@CHMOD@ 0750 ${pgsql_home}
eval doit_command=\"${initdb} ${common_args} ${flags}\"
doit="@SU@ -m ${pgsql_user} -c '${doit_command}'"
eval $doit
fi
}
pgsql_doit()
{
action=$1
case ${action} in
start|restart)
if [ -n "${pgsql_flags}" ]; then
start_command_args="${start_command_args} -o \\\"${pgsql_flags}\\\""
fi
command_args="${common_args} ${start_command_args} ${command_args}"
;;
stop)
command_args="${common_args} ${stop_command_args} ${command_args}"
;;
*)
command_args="${common_args} ${command_args}"
;;
esac
if [ ! -x ${ctl_command} ]; then
return
fi
case ${action} in
start) @ECHO@ "Starting ${name}." ;;
stop) @ECHO@ "Stopping ${name}." ;;
restart) @ECHO@ "Restarting ${name}." ;;
esac
eval doit_command=\"${ctl_command} ${action} ${command_args}\"
doit="@SU@ -m ${pgsql_user} -c '${doit_command}'"
eval $doit
}
if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
load_rc_config $name
run_rc_command "$1"
else
if [ -f /etc/rc.conf ]; then
. /etc/rc.conf
fi
case "$1" in
initdb)
eval ${initdb_cmd}
;;
restart)
eval ${restart_cmd}
;;
stop)
eval ${stop_cmd}
;;
*)
eval ${start_precmd}
eval ${start_cmd}
;;
esac
fi

View file

@ -1,9 +0,0 @@
PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system. While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.
PostgreSQL is free and the complete source is available.
This is the meta-package for the PostgreSQL database system.

View file

@ -1,20 +0,0 @@
# $NetBSD: Makefile,v 1.3 2006/02/20 18:34:07 joerg Exp $
PKGNAME= postgresql73-${BASE_VERS}
COMMENT= Robust, next generation, object-relational DBMS
DEPENDS+= postgresql73-client>=${BASE_VERS}:../../databases/postgresql73-client
DEPENDS+= postgresql73-server>=${BASE_VERS}:../../databases/postgresql73-server
DEPENDS+= postgresql73-docs>=${BASE_VERS}:../../databases/postgresql73-docs
.include "Makefile.common"
EXTRACT_ONLY= # empty
NO_CHECKSUM= YES
NO_CONFIGURE= YES
NO_BUILD= YES
do-install: # empty
do-patch: # empty
.include "../../mk/bsd.pkg.mk"

View file

@ -1,111 +0,0 @@
# $NetBSD: Makefile.common,v 1.19 2006/05/26 17:47:58 joerg Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
#
# The PostgreSQL package naming scheme, aside from the obvious piecewise
# packages, is as follows:
#
# <lang>-postgresql client-side interface to PostgreSQL
# postgresql-<lang> server-side module for PostgreSQL backend
DISTNAME?= postgresql-${DIST_VERS}
CATEGORIES+= databases
MASTER_SITES?= ${MASTER_SITE_PGSQL:=source/v${DIST_VERS}/}
# Craft a MASTER_SORT_REGEX that understands the location of the country
# code in the FTP server name for the PostgreSQL mirror sites.
#
MASTER_SORT_REGEX+= ${MASTER_SORT:S/./\\./g:C/.*/:\/\/[^[\/]*&\/ :\/\/[^\/]*&\\./}
MAINTAINER?= pkgsrc-users@NetBSD.org
HOMEPAGE?= http://www.postgresql.org/
CONFLICTS+= postgresql-[0-9]* postgresql74-* postgresql80-* postgresql81-*
DISTINFO_FILE?= ${.CURDIR}/../postgresql73/distinfo
COMMON_FILESDIR?= ${.CURDIR}/../postgresql73/files
PATCHDIR?= ${.CURDIR}/../postgresql73/patches
# Version numbering scheme:
#
# DIST_VERS version number on the postgresql distfile
# BASE_VERS pkgsrc-mangled version number (convert pl -> .)
#
# Note: Do not forget jdbc-postgresql when updating version
DIST_VERS?= 7.3.15
BASE_VERS?= ${DIST_VERS}
BUILDLINK_API_DEPENDS.postgresql73-lib?= postgresql73-lib>=${BASE_VERS}
BUILDLINK_API_DEPENDS.tcl-postgresql73?= tcl-postgresql73>=${BASE_VERS}
USE_TOOLS+= autoconf gmake
GNU_CONFIGURE= YES
PKG_SYSCONFSUBDIR= postgresql
.include "../../mk/bsd.prefs.mk"
PGSQL_TEMPLATE.SunOS= solaris
PGSQL_TEMPLATE.IRIX= irix5
.if !defined(PGSQL_TEMPLATE.${OPSYS})
PGSQL_TEMPLATE.${OPSYS}= ${LOWER_OPSYS}
.endif
CONFIGURE_ARGS+= --with-template="${PGSQL_TEMPLATE.${OPSYS}}"
CONFIGURE_ARGS+= --without-readline
CONFIGURE_ARGS+= --without-zlib
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/postgresql
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-htmldir=${PREFIX}/share/doc/html/postgresql
CONFIGURE_ARGS+= --without-java
CONFIGURE_ARGS+= --without-perl
CONFIGURE_ARGS+= --without-python
CONFIGURE_ARGS+= --without-tcl
CONFIGURE_ARGS+= --without-tk
# Postgresql explicitly forbids any use of -ffast-math
CFLAGS:= ${CFLAGS:S/-ffast-math//}
post-extract:
if [ -d ${WRKSRC}/src ]; then \
${RM} -f ${WRKSRC}/src/Makefile.custom; \
${CP} -f ${COMMON_FILESDIR}/Makefile.custom \
${WRKSRC}/src/Makefile.custom; \
fi
if [ -d ${WRKSRC}/src/interfaces/libpq ]; then \
${RM} -f ${WRKSRC}/src/interfaces/libpq/GNUmakefile; \
${CP} -f ${COMMON_FILESDIR}/GNUmakefile.libpq \
${WRKSRC}/src/interfaces/libpq/GNUmakefile; \
fi
if [ -d ${WRKSRC}/src/interfaces/libpgtcl ]; then \
${RM} -f ${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
${CP} -f ${COMMON_FILESDIR}/GNUmakefile.libpgtcl \
${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
fi
if [ -d ${WRKSRC}/src/backend/port/dynloader ]; then \
${RM} -f ${WRKSRC}/src/backend/port/dynloader/netbsd.[ch];\
${CP} -f ${COMMON_FILESDIR}/netbsd.[ch] \
${WRKSRC}/src/backend/port/dynloader/; \
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
${WRKSRC}/src/backend/port/dynloader/dragonfly.c; \
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
fi
if [ -d ${WRKSRC}/src/template ]; then \
${TOUCH} ${WRKSRC}/src/template/dragonfly; \
fi
if [ -d ${WRKSRC}/src/include/port ]; then \
${CP} ${WRKSRC}/src/include/port/freebsd.h \
${WRKSRC}/src/include/port/dragonfly.h; \
fi
if [ -d ${WRKSRC}/src/makefiles ]; then \
${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
${WRKSRC}/src/makefiles/Makefile.dragonfly; \
fi
pre-configure:
cd ${WRKSRC} && autoconf

View file

@ -1,2 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
@comment this plist intentionally left empty

View file

@ -1,16 +0,0 @@
$NetBSD: distinfo,v 1.13 2006/05/26 17:47:58 joerg Exp $
SHA1 (postgresql-7.3.15.tar.gz) = a3bde1df6c27552a1d813c6cd6836d7b1afbcafc
RMD160 (postgresql-7.3.15.tar.gz) = 57bdfd6f45485fb696fdb56c565125afcadacbfc
Size (postgresql-7.3.15.tar.gz) = 11319476 bytes
SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059
SHA1 (patch-ab) = 5e7a555ed0a2fd1c6678600f98f809072663d10e
SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7
SHA1 (patch-ad) = a7bdfab69fdc9063d03adae7229f55ba356f2282
SHA1 (patch-ae) = 5b46ea9782da574ee0c4b1c02534e0f74d640559
SHA1 (patch-af) = 8268b66b062f0228e73ecaf928104f0c9bdc02f5
SHA1 (patch-ag) = 6d12184b8401e63b8a05c620beb27f28248c22da
SHA1 (patch-ah) = 210c0dda3c32481280fe5f2a9525d33f1d989c6d
SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
SHA1 (patch-aj) = 4c46173cba1dd36296d8b3fcca8cdfebcc717162
SHA1 (patch-ak) = a983f23b5e47a4c2f31ba284ff3db51b53cf8414

View file

@ -1,20 +0,0 @@
# $NetBSD: GNUmakefile.libpgtcl,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
#
# This GNUmakefile overrides the `all' target of $(libpgtcl_srcdir)/Makefile
# to be empty if INSTALLED_LIBPGTCL is defined. This handles the submake
# targets sprinkled throughout the PostgreSQL Makefiles that execute
#
# @$(MAKE) -C $(libpgtcl_builddir) all
#
# to ensure that the libpgtcl libraries are built first. If INSTALLED_LIBPGTCL
# is defined, then have the `all' target simple return success.
ifdef INSTALLED_LIBPGTCL
all:
@test -f libpgtcl.a || touch libpgtcl.a
endif
%: force
@$(MAKE) -f Makefile $@
force: ;

View file

@ -1,20 +0,0 @@
# $NetBSD: GNUmakefile.libpq,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
#
# This GNUmakefile overrides the `all' target of $(libpq_srcdir)/Makefile
# to be empty if INSTALLED_LIBPQ is defined. This handles the submake
# targets sprinkled throughout the PostgreSQL Makefiles that execute
#
# @$(MAKE) -C $(libpq_builddir) all
#
# to ensure that the libpq libraries are built first. If INSTALLED_LIBPQ
# is defined, then have the `all' target simple return success.
ifdef INSTALLED_LIBPQ
all:
@test -f libpq.a || touch libpq.a
endif
%: force
@$(MAKE) -f Makefile $@
force: ;

View file

@ -1,15 +0,0 @@
# $NetBSD: Makefile.custom,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
#
# This file is included by Makefile.global, which is included by every
# sub-Makefile in the build tree. Makefiles for shared libraries include
# Makefile.global then Makefile.shlib.
pkglibdir = $(exec_prefix)/lib/postgresql
ifdef INSTALLED_LIBPQ
libpq = -lpq
endif
ifdef INSTALLED_LIBPGTCL
libpgtcl = -lpgtcl
endif

View file

@ -1,73 +0,0 @@
/*-
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
#include "postgres.h"
#include <nlist.h>
#include <link.h>
#include <dlfcn.h>
#include "dynloader.h"
#ifndef HAVE_DLOPEN
char *
pg_dlerror(void)
{
return "dynaloader unsupported";
}
void *
pg_dlopen(const char *file, int num)
{
elog(ERROR, "dynamic load not supported");
return NULL;
}
void *
pg_dlsym(void *handle, const char *name)
{
return NULL;
}
void
pg_dlclose(void *handle)
{
}
#endif /* ! HAVE_DLOPEN */

View file

@ -1,45 +0,0 @@
/*-------------------------------------------------------------------------
*
* netbsd.h
* port-specific prototypes for NetBSD
*
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: netbsd.h,v 1.1 2004/10/10 17:27:43 jdolecek Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H
#include <sys/types.h>
#include <nlist.h>
#include <link.h>
#include <dlfcn.h>
#include "utils/dynamic_loader.h"
#ifdef HAVE_DLOPEN
/*
* In some older systems, the RTLD_NOW flag isn't defined and the mode
* argument to dlopen must always be 1. The RTLD_GLOBAL flag is wanted
* if available, but it doesn't exist everywhere.
* If it doesn't exist, set it to 0 so it has no effect.
*/
#ifndef RTLD_NOW
#define RTLD_NOW 1
#endif
#ifndef RTLD_GLOBAL
#define RTLD_GLOBAL 0
#endif
#define pg_dlopen(f) dlopen((f), RTLD_NOW | RTLD_GLOBAL)
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror
#endif /* HAVE_DLOPEN */
#endif /* PORT_PROTOS_H */

View file

@ -1,40 +0,0 @@
$NetBSD: patch-aa,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
--- configure.in.orig Mon Feb 3 04:56:45 2003
+++ configure.in
@@ -330,6 +330,16 @@
#
+# Location for HTML documentation
+#
+htmldir='${docdir}/html'
+AC_MSG_CHECKING([where to install HTML documentation])
+PGAC_ARG_REQ(with, htmldir, [ --with-htmldir=DIR install HTML documentation into DIR], [htmldir=$withval])
+AC_MSG_RESULT([$htmldir])
+AC_SUBST([htmldir])
+
+
+#
# Tcl/Tk
#
AC_MSG_CHECKING([whether to build with Tcl])
@@ -373,6 +383,18 @@
PGAC_ARG_BOOL(with, python, no, [ --with-python build Python interface module])
AC_MSG_RESULT([$with_python])
AC_SUBST(with_python)
+
+# If python is enabled (above), then optionally byte-compile the modules.
+AC_MSG_CHECKING([whether to byte-compile Python modules])
+if test "$with_python" = yes; then
+ PGAC_ARG_BOOL(with, python_compile, no,
+ [ --with-python-compile byte-compile modules if Python is enabled])
+else
+ with_python_compile=no
+fi
+AC_MSG_RESULT([$with_python_compile])
+AC_SUBST([with_python_compile])
+
#
# Optionally build the Java/JDBC tools

View file

@ -1,25 +0,0 @@
$NetBSD: patch-ab,v 1.2 2005/12/02 19:41:18 joerg Exp $
--- src/Makefile.shlib.orig 2003-01-11 12:22:34.000000000 -0500
+++ src/Makefile.shlib
@@ -125,6 +125,11 @@ ifeq ($(PORTNAME), netbsd)
endif
endif
+ifeq ($(PORTNAME), dragonfly)
+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+ LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname)
+endif
+
ifeq ($(PORTNAME), hpux)
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
LINK.shared = $(LD) +h $(soname) -b +b $(libdir)
@@ -204,7 +209,7 @@ ifeq ($(PORTNAME), beos)
SHLIB_LINK += -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86
endif
-SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
+SHLIB_LINK := $(LDFLAGS) $(SHLIB_LINK)
ifeq ($(enable_rpath), yes)
SHLIB_LINK += $(rpath)
endif

View file

@ -1,31 +0,0 @@
$NetBSD: patch-ac,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
--- doc/Makefile.orig Wed Nov 27 18:21:20 2002
+++ doc/Makefile
@@ -70,7 +70,7 @@ endif # found_man
install: all installdirs
ifdef found_html
- gzip -d -c postgres.tar.gz | ( cd $(DESTDIR)$(docdir)/html && $(TAR) xf - )
+ gzip -d -c postgres.tar.gz | ( cd $(DESTDIR)$(htmldir) && $(TAR) xf - )
endif
ifdef found_man
for file in man1/*.1 man$(sqlmansectnum)/*.$(sqlmansect) ; do \
@@ -81,7 +81,7 @@ endif
installdirs:
ifdef found_html
- $(mkinstalldirs) $(DESTDIR)$(docdir)/html
+ $(mkinstalldirs) $(DESTDIR)$(htmldir)
endif
ifdef found_man
$(mkinstalldirs) $(addprefix $(DESTDIR)$(mandir)/man, 1 $(sqlmansectnum))
@@ -90,7 +90,7 @@ endif
uninstall:
ifdef found_html
- -rm -f $(addprefix $(DESTDIR)$(docdir)/html/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -))
+ -rm -f $(addprefix $(DESTDIR)$(htmldir)/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -))
endif
ifdef found_man
-rm -f $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man$(sqlmansect_dummy)/,man$(sqlmansectnum)/,' -e 's/.$(sqlmansect_dummy)$$/.$(sqlmansect)/'))

View file

@ -1,57 +0,0 @@
$NetBSD: patch-ad,v 1.2 2004/10/10 18:26:00 jdolecek Exp $
--- src/Makefile.global.in.orig 2002-09-05 00:54:18.000000000 +0200
+++ src/Makefile.global.in 2004-10-10 20:20:34.000000000 +0200
@@ -111,6 +111,13 @@
endif
endif
+htmldir := @htmldir@
+ifeq "$(findstring pgsql, $(htmldir))" ""
+ifeq "$(findstring postgres, $(htmldir))" ""
+override htmldir := $(docdir)/postgresql
+endif
+endif
+
javadir := $(DESTDIR)$(datadir)/java
localedir := @localedir@
@@ -124,6 +131,7 @@
with_java = @with_java@
with_perl = @with_perl@
with_python = @with_python@
+with_python_compile = @with_python_compile@
with_tcl = @with_tcl@
with_tk = @with_tk@
enable_shared = @enable_shared@
@@ -135,7 +143,7 @@
python_includespec = @python_includespec@
python_moduledir = @python_moduledir@
python_moduleexecdir = @python_moduleexecdir@
-python_libspec = @python_libspec@
+python_libspec = -Wl,-R${PREFIX}/lib -L${PREFIX}/lib @python_libspec@
python_configdir = @python_configdir@
krb_srvtab = @krb_srvtab@
@@ -285,13 +293,20 @@
libpq_builddir = $(top_builddir)/src/interfaces/libpq
libpq = -L$(libpq_builddir) -lpq
+libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
+libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl
+libpgtcl = -L$(libpgtcl_builddir) -lpgtcl
+
submake-libpq:
$(MAKE) -C $(libpq_builddir) all
submake-libpgport:
$(MAKE) -C $(top_builddir)/src/port all
-.PHONY: submake-libpq submake-libpgport
+submake-libpgtcl:
+ $(MAKE) -C $(libpgtcl_builddir) all
+
+.PHONY: submake-libpq submake-libpgport submake-libpgtcl
##########################################################################

View file

@ -1,41 +0,0 @@
$NetBSD: patch-ae,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
--- src/bin/pgtclsh/Makefile.orig Thu Jun 20 16:29:42 2002
+++ src/bin/pgtclsh/Makefile
@@ -15,19 +15,17 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
-libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
-libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl
-libpgtcl = -L$(libpgtcl_builddir) -lpgtcl
-
override CPPFLAGS := -I$(libpgtcl_srcdir) $(CPPFLAGS) $(TK_XINCLUDES)
# If we are here then Tcl is available
PROGRAMS = pgtclsh
+INSTALL_TARGETS = install-tcl
# Add Tk targets if Tk is available
ifeq ($(with_tk), yes)
PROGRAMS += pgtksh
+INSTALL_TARGETS += install-tk
endif
all: submake $(PROGRAMS)
@@ -42,9 +40,13 @@ pgtksh: pgtkAppInit.o
submake:
$(MAKE) -C $(libpgtcl_builddir) all
-install: all installdirs
+install: $(INSTALL_TARGETS)
+
+install-tcl: pgtclsh installdirs
$(INSTALL_PROGRAM) pgtclsh $(DESTDIR)$(bindir)/pgtclsh
+
ifeq ($(with_tk), yes)
+install-tk: pgtksh installdirs
$(INSTALL_PROGRAM) pgtksh $(DESTDIR)$(bindir)/pgtksh
endif

View file

@ -1,13 +0,0 @@
$NetBSD: patch-af,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $
--- src/interfaces/ecpg/lib/Makefile.orig Tue Dec 10 23:08:04 2002
+++ src/interfaces/ecpg/lib/Makefile
@@ -14,7 +14,7 @@ include $(top_builddir)/src/Makefile.glo
NAME= ecpg
SO_MAJOR_VERSION= 3
-SO_MINOR_VERSION= 4.1
+SO_MINOR_VERSION= 6
override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS)

View file

@ -1,16 +0,0 @@
$NetBSD: patch-ag,v 1.1.1.1 2004/07/24 22:14:41 recht Exp $
--- src/include/Makefile.orig Tue Aug 28 10:20:28 2001
+++ src/include/Makefile
@@ -15,7 +15,10 @@ top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-all: pg_config.h pg_config_os.h
+all: pg_config.h pg_config_os.h utils/fmgroids.h parser/parse.h
+
+utils/fmgroids.h parser/parse.h:
+ $(MAKE) -C $(top_builddir)/src/backend $(top_builddir)/src/include/$@
# Install only selected headers

View file

@ -1,43 +0,0 @@
$NetBSD: patch-ah,v 1.1.1.1 2004/07/24 22:14:41 recht Exp $
--- src/interfaces/python/GNUmakefile.orig Thu Dec 13 13:39:04 2001
+++ src/interfaces/python/GNUmakefile
@@ -19,7 +19,14 @@ include $(top_srcdir)/src/Makefile.shlib
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) $(python_includespec)
-all: all-lib
+PY_SCRIPTS = pg.py pgdb.py
+ifeq ($(with_python_compile), yes)
+PY_COMPILED_SCRIPTS = $(PY_SCRIPTS:%.py=%.pyc) $(PY_SCRIPTS:%.py=%.pyo)
+else
+PY_COMPILED_SCRIPTS =
+endif
+
+all: all-lib $(PY_COMPILED_SCRIPTS)
all-lib: libpq-all
@@ -27,6 +34,12 @@ all-lib: libpq-all
libpq-all:
$(MAKE) -C $(libpq_builddir) all
+%.pyc: %.py
+ $(PYTHON) -c "import py_compile; py_compile.compile(\"$<\")"
+
+%.pyo: %.py
+ $(PYTHON) -O -c "import py_compile; py_compile.compile(\"$<\")"
+
install-warning-msg := { \
echo "*** Skipping the installation of the Python interface module for lack"; \
echo "*** of permissions. To install it, change to the directory"; \
@@ -35,6 +48,9 @@ echo "*** become the appropriate user, a
install: all installdirs
@if test -w $(DESTDIR)$(python_moduleexecdir) && test -w $(DESTDIR)$(python_moduledir); then \
+ for i in $(PY_SCRIPTS) $(PY_COMPILED_SCRIPTS); do \
+ $(INSTALL_DATA) $$i $(python_moduledir) ; \
+ done ; \
echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX); \
\

View file

@ -1,9 +0,0 @@
$NetBSD: patch-ai,v 1.1.1.1 2004/07/24 22:14:41 recht Exp $
--- src/interfaces/python/Setup.in.raw.orig Sun Mar 25 14:44:04 2001
+++ src/interfaces/python/Setup.in.raw
@@ -1,3 +1,3 @@
*shared*
-_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ -L@libpq_builddir@ -lpq @EXTRA_LIBS@
+_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ @libpq@ @EXTRA_LIBS@

View file

@ -1,14 +0,0 @@
$NetBSD: patch-aj,v 1.1 2004/10/10 18:26:00 jdolecek Exp $
--- src/pl/plpython/Makefile.orig 2004-10-10 20:14:13.000000000 +0200
+++ src/pl/plpython/Makefile 2004-10-10 20:14:20.000000000 +0200
@@ -8,9 +8,7 @@
# On some platforms we can only build PL/Python if libpython is a
# shared library. Since there is no official way to determine this,
# we see if there is a file that is named like a shared library.
-ifneq (,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))
shared_libpython = yes
-endif
# If we don't have a shared library and the platform doesn't allow it
# to work without, we have to skip it.

View file

@ -1,15 +0,0 @@
$NetBSD: patch-ak,v 1.1 2004/12/18 15:59:55 jlam Exp $
--- src/backend/Makefile.orig 2003-03-21 12:18:34.000000000 -0500
+++ src/backend/Makefile
@@ -12,6 +12,10 @@ subdir = src/backend
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
+CFLAGS+= $(DL_CFLAGS)
+LDFLAGS+= $(DL_LDFLAGS)
+LIBS+= $(DL_LIBS)
+
DIRS := access bootstrap catalog parser commands executor lib libpq \
main nodes optimizer port postmaster regex rewrite \
storage tcop utils

View file

@ -1,2 +0,0 @@
Tcl interface to PostgreSQL, including front-end clients and a loadable
shared object for Tcl clients.

View file

@ -1,28 +0,0 @@
# $NetBSD: Makefile,v 1.10 2006/02/20 18:34:07 joerg Exp $
PKGNAME= tcl-postgresql73-${BASE_VERS}
COMMENT= Tcl interface to PostgreSQL
.include "../../databases/postgresql73/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-tcl
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
CONFIGURE_ENV+= TCLSH=${TCLSH:Q}
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
MAKE_ENV+= INSTALLED_LIBPQ=1
USE_TOOLS+= gtar
BUILD_DIRS= ${WRKSRC}/src/port
BUILD_DIRS+= ${WRKSRC}/src/interfaces/libpgtcl
BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh
post-install:
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,8 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:25:01 recht Exp $
bin/pgtclsh
include/postgresql/libpgtcl.h
lib/libpgtcl.a
lib/libpgtcl.so
lib/libpgtcl.so.2
lib/libpgtcl.so.2.3
man/man1/pgtclsh.1

View file

@ -1,21 +0,0 @@
# $NetBSD: buildlink3.mk,v 1.6 2006/04/12 10:27:05 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_POSTGRESQL73_BUILDLINK3_MK:= ${TCL_POSTGRESQL73_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= tcl-postgresql73
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-postgresql73}
BUILDLINK_PACKAGES+= tcl-postgresql73
.if !empty(TCL_POSTGRESQL73_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-postgresql73+= tcl-postgresql73>=7.3.6
BUILDLINK_ABI_DEPENDS.tcl-postgresql73?= tcl-postgresql73>=7.3.10nb2
BUILDLINK_PKGSRCDIR.tcl-postgresql73?= ../../databases/tcl-postgresql73
.endif # TCL_POSTGRESQL73_BUILDLINK3_MK
.include "../../lang/tcl/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

View file

@ -1,3 +0,0 @@
# $NetBSD: man.tcl,v 1.1.1.1 2004/07/24 22:25:01 recht Exp $
#
man1/pgtclsh.1

View file

@ -1 +0,0 @@
Tk interface to PostgreSQL consisting of a front-end Tcl/Tk client.

View file

@ -1,32 +0,0 @@
# $NetBSD: Makefile,v 1.14 2006/02/20 18:34:07 joerg Exp $
PKGNAME= tk-postgresql73-${BASE_VERS}
COMMENT= Tk interface to PostgreSQL
.include "../../databases/postgresql73/Makefile.common"
USE_TOOLS+= gtar
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
CONFIGURE_ARGS+= --with-tcl
CONFIGURE_ARGS+= --with-tk
CONFIGURE_ARGS+= --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+= --with-tkconfig=${BUILDLINK_PREFIX.tk}/lib
CONFIGURE_ENV+= TCLSH=${TCLSH:Q}
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
MAKE_ENV+= INSTALLED_LIBPQ=1 INSTALLED_LIBPGTCL=1
BUILD_DIRS= ${WRKSRC}/src/port
BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh
INSTALL_DIRS= ${WRKSRC}/src/bin/pgtclsh
INSTALL_TARGET= install-tk
post-install:
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|#.*||" ${FILESDIR}/man.tk`
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../databases/tcl-postgresql73/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,3 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:28:08 recht Exp $
bin/pgtksh
man/man1/pgtksh.1

View file

@ -1,3 +0,0 @@
# $NetBSD: man.tk,v 1.1.1.1 2004/07/24 22:28:08 recht Exp $
#
man1/pgtksh.1