diff options
Diffstat (limited to 'japanese/postgresql-tcltk/files')
-rw-r--r-- | japanese/postgresql-tcltk/files/patch-ab | 67 | ||||
-rw-r--r-- | japanese/postgresql-tcltk/files/patch-ac | 11 | ||||
-rw-r--r-- | japanese/postgresql-tcltk/files/patch-ad | 13 | ||||
-rw-r--r-- | japanese/postgresql-tcltk/files/pgsql.sh.tmpl | 25 | ||||
-rw-r--r-- | japanese/postgresql-tcltk/files/post-install-notes | 24 |
5 files changed, 0 insertions, 140 deletions
diff --git a/japanese/postgresql-tcltk/files/patch-ab b/japanese/postgresql-tcltk/files/patch-ab deleted file mode 100644 index cb53b5b7de93..000000000000 --- a/japanese/postgresql-tcltk/files/patch-ab +++ /dev/null @@ -1,67 +0,0 @@ ---- bin/pg_passwd/pg_passwd.c.orig Thu May 27 16:00:40 1999 -+++ bin/pg_passwd/pg_passwd.c Tue Jun 15 19:27:47 1999 -@@ -26,11 +26,17 @@ - - #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 encrypt_pwd(char key[9], char salt[3], char passwd[_PASSWORD_LEN+1]); -+int check_pwd(char key[9], char passwd[_PASSWORD_LEN+1]); - static void write_pwd_file(char *filename, char *bkname); --static void encrypt_pwd(char key[9], char salt[3], char passwd[14]); - static void prompt_for_username(char *username); - static void prompt_for_password(char *prompt, char *password); - -@@ -158,7 +164,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); -@@ -222,7 +228,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; - -@@ -254,9 +260,7 @@ - - #ifdef NOT_USED - static int --check_pwd(char key[9], char passwd[14]) - { -- char shouldbe[14]; - char salt[3]; - - salt[0] = passwd[0]; -@@ -264,7 +268,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 - -@@ -339,7 +343,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/japanese/postgresql-tcltk/files/patch-ac b/japanese/postgresql-tcltk/files/patch-ac deleted file mode 100644 index 2a9e180e0958..000000000000 --- a/japanese/postgresql-tcltk/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- interfaces/libpgtcl/Makefile.in.orig Mon Feb 8 07:10:45 1999 -+++ interfaces/libpgtcl/Makefile.in Tue Jun 15 19:32:36 1999 -@@ -27,7 +27,7 @@ - - OBJS= pgtcl.o pgtclCmds.o pgtclId.o - --SHLIB_LINK+= -L../libpq -lpq -+SHLIB_LINK+= -L../libpq -lpq -lcrypt - - # If crypt is a separate library, rather than part of libc, it may need - # to be referenced separately to keep (broken) linkers happy. (This is diff --git a/japanese/postgresql-tcltk/files/patch-ad b/japanese/postgresql-tcltk/files/patch-ad deleted file mode 100644 index ce5713717369..000000000000 --- a/japanese/postgresql-tcltk/files/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ ---- pl/tcl/Makefile.org Mon Dec 14 08:47:17 1998 -+++ pl/tcl/Makefile Thu Feb 25 22:20:28 1999 -@@ -55,8 +55,8 @@ - SHLIB_EXTRA_LIBS= - endif - --%$(TCL_SHLIB_SUFFIX): %.o -- $(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS) -+#%$(TCL_SHLIB_SUFFIX): %.o -+# $(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS) - - - # diff --git a/japanese/postgresql-tcltk/files/pgsql.sh.tmpl b/japanese/postgresql-tcltk/files/pgsql.sh.tmpl deleted file mode 100644 index 1aef9d941497..000000000000 --- a/japanese/postgresql-tcltk/files/pgsql.sh.tmpl +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ - -# 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!!PG_PATH!!/data \ -# because the postmaster process, which starts up under the -# environment of the pgsql user, sets this with the PGDATA -# environment variable in !!PG_PATH!!/.profile -# - -[ -d !!PG_PATH!!/lib ] && /sbin/ldconfig -m !!PG_PATH!!/lib - -[ -x !!PG_PATH!!/bin/postmaster ] && { - su -l !!PGSQL_UID!! -c 'exec !!PG_PATH!!/bin/postmaster -i -S -o -F \ - -D!!PG_PATH!!/data > !!PG_PATH!!/errlog' - echo -n ' PostgreSQL' -} diff --git a/japanese/postgresql-tcltk/files/post-install-notes b/japanese/postgresql-tcltk/files/post-install-notes deleted file mode 100644 index 4e6e8df02c33..000000000000 --- a/japanese/postgresql-tcltk/files/post-install-notes +++ /dev/null @@ -1,24 +0,0 @@ - -Now that PostgreSQL-j was installed, you should read the documentation and -implementation guides. These can be found at: - - http://www.PostgreSQL.org/docs - -Documentations for the Multibyte-extention can be found at: - - doc/README.mb (English) - doc/README.mb.jp (Japanese) - -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 understand Japanese, you might want to visit: - - http://www.sra.co.jp/people/t-ishii/PostgreSQL - -to subscribe a local mailing list for Japanese speakers. - -If you build PostgreSQL with TCL support, then you can use the -TCL/TK based database frontend "pgaccess" for database operations. - |