aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-devel-server/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-devel-server/files')
-rw-r--r--databases/postgresql-devel-server/files/dot.profile.in16
-rw-r--r--databases/postgresql-devel-server/files/patch-aj67
-rw-r--r--databases/postgresql-devel-server/files/patch-ar11
-rw-r--r--databases/postgresql-devel-server/files/patch-as11
-rw-r--r--databases/postgresql-devel-server/files/patch-at11
-rw-r--r--databases/postgresql-devel-server/files/patch-au58
-rw-r--r--databases/postgresql-devel-server/files/patch-av17
-rw-r--r--databases/postgresql-devel-server/files/patch-ba17
-rw-r--r--databases/postgresql-devel-server/files/patch-bb13
-rw-r--r--databases/postgresql-devel-server/files/patch-bc5
-rw-r--r--databases/postgresql-devel-server/files/patch-bd42
-rw-r--r--databases/postgresql-devel-server/files/patch-be9
-rw-r--r--databases/postgresql-devel-server/files/pgsql.sh.tmpl34
-rw-r--r--databases/postgresql-devel-server/files/pkgIndex.tcl.in4
-rw-r--r--databases/postgresql-devel-server/files/post-install-notes19
-rw-r--r--databases/postgresql-devel-server/files/pre-install-notes9
16 files changed, 0 insertions, 343 deletions
diff --git a/databases/postgresql-devel-server/files/dot.profile.in b/databases/postgresql-devel-server/files/dot.profile.in
deleted file mode 100644
index 3d8ca9ac4641..000000000000
--- a/databases/postgresql-devel-server/files/dot.profile.in
+++ /dev/null
@@ -1,16 +0,0 @@
-PATH=${PATH}:%%PREFIX%%/pgsql/bin
-PGLIB=%%PREFIX%%/pgsql/lib
-
-# note: PGDATA can be overridden by the -D startup option
-PGDATA=%%PREFIX%%/pgsql/data
-
-export PATH MANPATH PGLIB PGDATA
-
-#You might want to set some locale stuff here
-#PGDATESTYLE=ISO
-#LC_ALL=sv_SE.ISO_8859-1
-#export PGDATESTYLE LC_ALL
-
-# if you want to make regression tests use this TZ
-#TZ=PST8PDT
-#export TZ
diff --git a/databases/postgresql-devel-server/files/patch-aj b/databases/postgresql-devel-server/files/patch-aj
deleted file mode 100644
index 4231fc94ede9..000000000000
--- a/databases/postgresql-devel-server/files/patch-aj
+++ /dev/null
@@ -1,67 +0,0 @@
---- bin/pg_passwd/pg_passwd.c.orig Mon Apr 17 05:45:18 2000
-+++ bin/pg_passwd/pg_passwd.c Sat May 20 17:54:59 2000
-@@ -18,11 +18,15 @@
-
- #endif
-
-+#ifndef _POSIX_SOURCE
-+# define _PASSWORD_LEN 128 /* max length, not containing NULL */
-+#endif
-+
- char *comname;
- static void usage(FILE *stream);
- static void read_pwd_file(char *filename);
- static void write_pwd_file(char *filename, char *bkname);
--static void encrypt_pwd(char key[9], char salt[3], char passwd[14]);
-+static void encrypt_pwd(char key[9], char salt[3], char passwd[_PASSWORD_LEN+1]);
- static void prompt_for_username(char *username);
- static void prompt_for_password(char *prompt, char *password);
-
-@@ -150,7 +154,7 @@
-
- if (q != NULL)
- *(q++) = '\0';
-- if (strlen(p) != 13)
-+ if (strlen(p) > _PASSWORD_LEN)
- {
- fprintf(stderr, "WARNING: %s: line %d: illegal password length.\n",
- filename, npwds + 1);
-@@ -214,7 +218,7 @@
- }
-
- static void
--encrypt_pwd(char key[9], char salt[3], char passwd[14])
-+encrypt_pwd(char key[9], char salt[3], char passwd[_PASSWORD_LEN+1])
- {
- int n;
-
-@@ -246,9 +250,9 @@
-
- #ifdef NOT_USED
- static int
--check_pwd(char key[9], char passwd[14])
-+check_pwd(char key[9], char passwd[_PASSWORD_LEN+1])
- {
-- char shouldbe[14];
-+ char shouldbe[_PASSWORD_LEN+1];
- char salt[3];
-
- salt[0] = passwd[0];
-@@ -256,7 +260,7 @@
- salt[2] = '\0';
- encrypt_pwd(key, salt, shouldbe);
-
-- return strncmp(shouldbe, passwd, 13) == 0 ? 1 : 0;
-+ return strncmp(shouldbe, passwd, _PASSWORD_LEN) == 0 ? 1 : 0;
- }
-
- #endif
-@@ -332,7 +336,7 @@
- char salt[3];
- char key[9],
- key2[9];
-- char e_passwd[14];
-+ char e_passwd[_PASSWORD_LEN+1];
- int i;
-
- comname = argv[0];
diff --git a/databases/postgresql-devel-server/files/patch-ar b/databases/postgresql-devel-server/files/patch-ar
deleted file mode 100644
index c5c8096fc141..000000000000
--- a/databases/postgresql-devel-server/files/patch-ar
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Sun Oct 10 14:37:07 1999
-+++ configure Sun Oct 10 14:37:29 1999
-@@ -1429,7 +1429,7 @@
- ELF_SYS=true
- else
- rm -rf conftest*
-- if test "X$elf" = "Xyes"
-+ if test "X$PORTOBJFORMAT" = "Xelf"
- then
- ELF_SYS=true
- else
diff --git a/databases/postgresql-devel-server/files/patch-as b/databases/postgresql-devel-server/files/patch-as
deleted file mode 100644
index 3282168c4aed..000000000000
--- a/databases/postgresql-devel-server/files/patch-as
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.global.in.orig Sun Dec 6 00:08:56 1998
-+++ Makefile.global.in Sat Feb 27 04:23:12 1999
-@@ -79,7 +79,7 @@
- POSTMANDIR= $(POSTGRESDIR)/man
-
- # Where the formatted documents (e.g., the reference manual) get installed.
--POSTDOCDIR= $(POSTGRESDIR)/doc
-+POSTDOCDIR= !!PREFIX!!/share/doc/pgsql
-
- # Where the header files necessary to build frontend programs get installed.
- HEADERDIR= $(POSTGRESDIR)/include
diff --git a/databases/postgresql-devel-server/files/patch-at b/databases/postgresql-devel-server/files/patch-at
deleted file mode 100644
index 93e68a708211..000000000000
--- a/databases/postgresql-devel-server/files/patch-at
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../doc/Makefile.orig Sun Nov 29 06:30:13 1998
-+++ ../doc/Makefile Mon Jun 21 17:00:13 1999
-@@ -12,7 +12,7 @@
- #
- #----------------------------------------------------------------------------
-
--PGDOCS= $(POSTGRESDIR)/doc
-+PGDOCS= $(POSTDOCDIR)
- SRCDIR= ../src
-
- TAR= tar
diff --git a/databases/postgresql-devel-server/files/patch-au b/databases/postgresql-devel-server/files/patch-au
deleted file mode 100644
index 340521b49482..000000000000
--- a/databases/postgresql-devel-server/files/patch-au
+++ /dev/null
@@ -1,58 +0,0 @@
---- configure.in.orig Sun Nov 5 05:03:47 2000
-+++ configure.in Mon Dec 4 02:36:15 2000
-@@ -299,13 +299,28 @@
- [ --with-tcl build Tcl interfaces and pgtclsh ],
- [
- case "$withval" in
-- y | ye | yes) USE_TCL=true; USE_TK=true; AC_MSG_RESULT(enabled) ;;
-+ y | ye | yes) USE_TCL=true; AC_MSG_RESULT(enabled) ;;
- *) USE_TCL=; USE_TK=; AC_MSG_RESULT(disabled) ;;
- esac
- ],
- [ USE_TCL=; USE_TK=; AC_MSG_RESULT(disabled) ]
- )
-
-+dnl We include tk support with tcl unless user says --without-tk
-+if test USE_TCL = true
-+then
-+AC_MSG_CHECKING(setting USE_TK)
-+AC_ARG_WITH(
-+ tk,
-+ [ --without-tk build Tcl *without* Tk ],
-+ [
-+ case "$withval" in
-+ y | ye | yes) USE_TK=true; USE_TK=true; AC_MSG_RESULT(enabled) ;;
-+ *) USE_TK=n; AC_MSG_RESULT(disabled) ;;
-+ esac
-+ ]
-+)
-+fi
- export USE_TCL
- export USE_TK
-
-@@ -482,7 +497,7 @@
- #endif
- ],
- ELF_SYS=true,
--[if test "X$elf" = "Xyes"
-+[if test "X$PORTOBJFORMAT" = "Xyes"
- then
- ELF_SYS=true
- else
-@@ -1248,10 +1263,15 @@
- else
- AC_MSG_RESULT($TCL_CONFIG_SH)
- AC_SUBST(TCL_CONFIG_SH)
-+ . ${TCL_CONFIG_SH}
-+ AC_SUBST(TCL_LIB_SPEC)
- fi
- fi
-
--USE_TK=$USE_TCL # If TCL is disabled, disable TK
-+USE_TK=${USE_TK:=$USE_TCL} # If TCL is disabled, disable TK
-+ # otherwise -- enable unless explicitly
-+ # disabled
-+
-
- dnl Check for Tk configuration script tkConfig.sh
- if test "$USE_TK" = true
diff --git a/databases/postgresql-devel-server/files/patch-av b/databases/postgresql-devel-server/files/patch-av
deleted file mode 100644
index 49b35f9e8dc1..000000000000
--- a/databases/postgresql-devel-server/files/patch-av
+++ /dev/null
@@ -1,17 +0,0 @@
---- interfaces/libpq/fe-connect.c Sun May 21 17:19:53 2000
-+++ interfaces/libpq/fe-connect.c Fri Sep 15 13:53:52 2000
-@@ -801 +801 @@
-- sprintf(conn->errorMessage,
-+ printfPQExpBuffer(&conn->errorMessage,
-@@ -809 +809 @@
-- sprintf(conn->errorMessage, "PQconnectDB() -- couldn't read postmaster response: errno=%d\n%s\n",
-+ printfPQExpBuffer(&conn->errorMessage, "PQconnectDB() -- couldn't read postmaster response: errno=%d\n%s\n",
-@@ -822 +822 @@
-- sprintf(conn->errorMessage,
-+ printfPQExpBuffer(&conn->errorMessage,
-@@ -832 +832 @@
-- sprintf(conn->errorMessage,
-+ printfPQExpBuffer(&conn->errorMessage,
-@@ -850 +850 @@
-- strcpy(conn->errorMessage,
-+ printfPQExpBuffer(&conn->errorMessage,
diff --git a/databases/postgresql-devel-server/files/patch-ba b/databases/postgresql-devel-server/files/patch-ba
deleted file mode 100644
index 586d725c536a..000000000000
--- a/databases/postgresql-devel-server/files/patch-ba
+++ /dev/null
@@ -1,17 +0,0 @@
---- interfaces/jdbc/Makefile.orig Sun Nov 5 05:03:53 2000
-+++ interfaces/jdbc/Makefile Fri Dec 8 03:16:17 2000
-@@ -10,10 +10,10 @@
-
- FIND = find
- IDL2JAVA = idltojava -fno-cpp -fno-tie
--JAR = jar
--JAVA = java
--JAVAC = javac -g
--JAVADOC = javadoc
-+JAR = !!JAVA_HOME!!/bin/jar
-+JAVA = !!JAVA_HOME!!/bin/java
-+JAVAC = !!JAVA_HOME!!/bin/javac
-+JAVADOC = !!JAVA_HOME!!/bin/javadoc
- RM = rm -f
- TOUCH = touch
-
diff --git a/databases/postgresql-devel-server/files/patch-bb b/databases/postgresql-devel-server/files/patch-bb
deleted file mode 100644
index ea0f1732dcb0..000000000000
--- a/databases/postgresql-devel-server/files/patch-bb
+++ /dev/null
@@ -1,13 +0,0 @@
---- pl/tcl/Makefile~ Sat Apr 29 19:45:42 2000
-+++ pl/tcl/Makefile Sat May 20 22:42:22 2000
-@@ -71,7 +71,9 @@
- CFLAGS+= $(TCL_SHLIB_CFLAGS) $(TCL_DEFS)
-
- CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend $(PGSQL_INCLUDES)
--
-+
-+CFLAGS+= -I$(TCL_INCDIR)
-+
- #
- # Uncomment the following to enable the unknown command lookup
- # on the first of all calls to the call handler. See the doc
diff --git a/databases/postgresql-devel-server/files/patch-bc b/databases/postgresql-devel-server/files/patch-bc
deleted file mode 100644
index ff747fb84a2f..000000000000
--- a/databases/postgresql-devel-server/files/patch-bc
+++ /dev/null
@@ -1,5 +0,0 @@
---- bin/pg_ctl/postmaster.opts.default.sample~ Mon Apr 17 05:45:17 2000
-+++ bin/pg_ctl/postmaster.opts.default.sample Tue May 23 02:46:30 2000
-@@ -1 +1 @@
--
-+-i -o "-F"
diff --git a/databases/postgresql-devel-server/files/patch-bd b/databases/postgresql-devel-server/files/patch-bd
deleted file mode 100644
index 341696bfb087..000000000000
--- a/databases/postgresql-devel-server/files/patch-bd
+++ /dev/null
@@ -1,42 +0,0 @@
-Here are the two extra patch files that will allow PostgreSQL to
-compile and run on Alpha. The DB is 64-bit capable so really only a few
-bits of configuration for FreeBSD were needed.
-
---- backend/main/main.c.orig Wed Aug 30 16:05:39 2000
-+++ backend/main/main.c Wed Aug 30 16:06:10 2000
-@@ -14,7 +14,7 @@
- */
- #include <unistd.h>
-
--#if defined(__alpha__) && !defined(linux)
-+#if defined(__alpha__) && !defined(linux) && !defined(__FreeBSD__)
- #include <sys/sysinfo.h>
- #include "machine/hal_sysinfo.h"
- #define ASSEMBLER
-
-
-
-
-
-
-
---- include/port/freebsd.h.orig Tue Jul 13 16:12:49 1999
-+++ include/port/freebsd.h Wed Aug 30 21:12:51 2000
-@@ -3,6 +3,12 @@
- #if defined(__i386__)
- #define NEED_I386_TAS_ASM
- #define HAS_TEST_AND_SET
-+typedef unsigned char slock_t;
-+#endif
-+
-+#if defined (__alpha__)
-+#define HAS_TEST_AND_SET
-+typedef long int slock_t;
- #endif
-
- #if defined(__sparc__)
-@@ -28,4 +34,3 @@
- /* # undef HAS_TEST_AND_SET */
- #endif
-
--typedef unsigned char slock_t;
diff --git a/databases/postgresql-devel-server/files/patch-be b/databases/postgresql-devel-server/files/patch-be
deleted file mode 100644
index 2f8c3c55566f..000000000000
--- a/databases/postgresql-devel-server/files/patch-be
+++ /dev/null
@@ -1,9 +0,0 @@
-This patches let you disable Tk even if you have it installed and
-makes sure the TCL-library is added as a dependency for libpgtcl.
---- interfaces/libpgtcl/Makefile.in Tue Mar 7 20:58:36 2000
-+++ interfaces/libpgtcl/Makefile.in Wed Sep 20 08:57:28 2000
-@@ -29,3 +29,3 @@
-
--SHLIB_LINK+= $(LIBPQ)
-+SHLIB_LINK+= $(LIBPQ) @TCL_LIB_SPEC@
-
diff --git a/databases/postgresql-devel-server/files/pgsql.sh.tmpl b/databases/postgresql-devel-server/files/pgsql.sh.tmpl
deleted file mode 100644
index 753e0b8aaf80..000000000000
--- a/databases/postgresql-devel-server/files/pgsql.sh.tmpl
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# For postmaster startup options, edit $PGDATA/postmaster.opts.default
-# Preinstalled options are -i -o "-F"
-
-case $1 in
-start)
- [ -d !!PREFIX!!/pgsql/lib ] && /sbin/ldconfig -m !!PREFIX!!/pgsql/lib
- [ -x !!PREFIX!!/pgsql/bin/pg_ctl ] && {
- su -l pgsql -c \
- 'exec !!PREFIX!!/pgsql/bin/pg_ctl -w start > !!PREFIX!!/pgsql/errlog 2>&1'
- echo -n ' pgsql'
- }
- ;;
-
-stop)
- [ -x !!PREFIX!!/pgsql/bin/pg_ctl ] && {
- exec su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/pg_ctl -w -m fast stop'
- }
- ;;
-
-status)
- [ -x !!PREFIX!!/pgsql/bin/pg_ctl ] && {
- exec su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/pg_ctl status'
- }
- ;;
-
-*)
- echo "usage: `basename $0` {start|stop|status}" >&2
- exit 64
- ;;
-esac
diff --git a/databases/postgresql-devel-server/files/pkgIndex.tcl.in b/databases/postgresql-devel-server/files/pkgIndex.tcl.in
deleted file mode 100644
index bd8329b15c69..000000000000
--- a/databases/postgresql-devel-server/files/pkgIndex.tcl.in
+++ /dev/null
@@ -1,4 +0,0 @@
-# Package-index file for Pgtcl-package. Enables you to load PostgreSQL
-# interface functions right into you TCL-interpreter as simply as
-# package require Pgtcl
-package ifneeded Pgtcl 1.3 "load %%PREFIX%%/lib/libpgtcl.so"
diff --git a/databases/postgresql-devel-server/files/post-install-notes b/databases/postgresql-devel-server/files/post-install-notes
deleted file mode 100644
index f77271d85113..000000000000
--- a/databases/postgresql-devel-server/files/post-install-notes
+++ /dev/null
@@ -1,19 +0,0 @@
-
-Now that PostgreSQL is installed, you should read the documentation and
-implementation guides. These can be found at:
-
- http://www.PostgreSQL.org/docs
-
-You may wish to subscribe to the PostgreSQL user-support mailing list.
-Send an e-mail to pgsql-questions-request@postgresql.org with the
-text "subscribe" in the message body.
-
-If you built PostgreSQL with TCL/TK support, you can use the pgaccess
-utility to get a TCL/TK based database frontend for database
-operations. You do NOT need to install the pgaccess port separately.
-
-If you built in the TCL support, you can load the Pg package into your
-TCL scripts as easily as ``package require Pgtcl''.
-
-To start PostgreSQL, run the startup script:
-%%PREFIX%%/etc/rc.d/010.pgsql.sh start
diff --git a/databases/postgresql-devel-server/files/pre-install-notes b/databases/postgresql-devel-server/files/pre-install-notes
deleted file mode 100644
index 72388933bd6d..000000000000
--- a/databases/postgresql-devel-server/files/pre-install-notes
+++ /dev/null
@@ -1,9 +0,0 @@
-# ----------------------------------------------------------------
-# UPGRADE NOTE! Depending on which version you are upgrading from,
-# you may have to dump/restore existing databases
-# as part of the update.
-# This is *NOT* done by this port!
-# For detailed instructions, see
-# %%WRKDIR%%/%%DISTNAME%%/INSTALL
-# after extraction.
-# --------------------------------------------------------------