diff options
Diffstat (limited to 'databases/postgresql83-server/files')
-rw-r--r-- | databases/postgresql83-server/files/patch-aj | 69 | ||||
-rw-r--r-- | databases/postgresql83-server/files/patch-ar | 16 | ||||
-rw-r--r-- | databases/postgresql83-server/files/pgsql.sh.tmpl | 25 | ||||
-rw-r--r-- | databases/postgresql83-server/files/post-install-notes | 13 |
4 files changed, 0 insertions, 123 deletions
diff --git a/databases/postgresql83-server/files/patch-aj b/databases/postgresql83-server/files/patch-aj deleted file mode 100644 index 0f7dc20db53d..000000000000 --- a/databases/postgresql83-server/files/patch-aj +++ /dev/null @@ -1,69 +0,0 @@ ---- bin/pg_passwd/pg_passwd.c.orig Sat Jan 31 19:09:26 1998 -+++ bin/pg_passwd/pg_passwd.c Sat Jan 31 19:15:43 1998 -@@ -23,12 +23,16 @@ - - #endif - -+#ifndef _POSIX_SOURCE -+# define _PASSWORD_LEN 128 /* max length, not containing NULL */ -+#endif -+ - char *comname; - void usage(FILE *stream); - void read_pwd_file(char *filename); - void write_pwd_file(char *filename, char *bkname); --void encrypt_pwd(char key[9], char salt[3], char passwd[14]); --int check_pwd(char key[9], char passwd[14]); -+void encrypt_pwd(char key[9], char salt[3], char passwd[_PASSWORD_LEN+1]); -+int check_pwd(char key[9], char passwd[_PASSWORD_LEN+1]); - void prompt_for_username(char *username); - void prompt_for_password(char *prompt, char *password); - -@@ -148,7 +152,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); -@@ -208,7 +212,7 @@ - } - - 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; - -@@ -242,9 +246,9 @@ - } - - 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]; -@@ -252,7 +256,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; - } - - void -@@ -326,7 +330,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/postgresql83-server/files/patch-ar b/databases/postgresql83-server/files/patch-ar deleted file mode 100644 index a1fd3d50d464..000000000000 --- a/databases/postgresql83-server/files/patch-ar +++ /dev/null @@ -1,16 +0,0 @@ ---- Makefile.shlib.orig Wed Feb 3 19:16:02 1999 -+++ Makefile.shlib Wed Feb 3 19:18:28 1999 -@@ -59,10 +59,11 @@ - ifeq ($(PORTNAME), freebsd) - ifdef BSD_SHLIB - install-shlib-dep := install-shlib -- shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) - ifdef ELF_SYSTEM -- LDFLAGS_SL := -x -Bshareable -+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) -+ LDFLAGS_SL := -x -shared -soname $(shlib) - else -+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) - LDFLAGS_SL := -x -Bshareable -Bforcearchive - endif - CFLAGS += $(CFLAGS_SL) diff --git a/databases/postgresql83-server/files/pgsql.sh.tmpl b/databases/postgresql83-server/files/pgsql.sh.tmpl deleted file mode 100644 index ed6c54d18839..000000000000 --- a/databases/postgresql83-server/files/pgsql.sh.tmpl +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# $Id: pgsql.sh.tmpl,v 1.3 1997/10/05 21:00:49 andreas Exp $ - -# pgsql.sh - postgresql startup file for FreeBSD and possibly *BSD (untested) - -# Changes: -# - renamed startup script to be in sync with INSTALL file -# - merged ldconfig start sequence from former postgrsql.sh script (andreas) -# - modified the postmaster startup sequence as suggested in the -# INSTALL file which was given as example for FreeBSD 2.2 (andreas) -# - removed the commandline option -# -D!!PREFIX!!/pgsql/data \ -# because the postmaster process, which starts up under the -# environment of the pgsql user, sets this with the PGDATA -# environment variable in !!PREFIX!!/pgsql/.profile -# - -[ -d !!PREFIX!!/pgsql/lib ] && /sbin/ldconfig -m !!PREFIX!!/pgsql/lib - -[ -x !!PREFIX!!/pgsql/bin/postmaster ] && { - su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/postmaster -i -S -o -F \ - -D!!PREFIX!!/pgsql/data > !!PREFIX!!/pgsql/errlog' - echo -n ' pgsql' -} diff --git a/databases/postgresql83-server/files/post-install-notes b/databases/postgresql83-server/files/post-install-notes deleted file mode 100644 index a57562fe871e..000000000000 --- a/databases/postgresql83-server/files/post-install-notes +++ /dev/null @@ -1,13 +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 build PostgreSQL with TCL support, then you can use the -TCL/TK based database frontend "pgaccess" for database operations. - |