pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Update to 7.3.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9d97de3fe96
branches:  trunk
changeset: 497922:c9d97de3fe96
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Aug 07 18:19:16 2005 +0000

description:
Update to 7.3.10

Posted on 2005-05-12:

In order to address several security issues identified over the past two
weeks, as well as one "low probability" race condition, we are releasing new
version of PostgreSQL as far back as the 7.2.x branch.

Please note that the security issues were those already reported by Tom Lane,
as well as a manual fix for them. These releases are mainly to ensure that
those installing and/or upgrading existing installations have those fixes
automatically.

For details on the fixes, please see the HISTORY file included in the Release,
but a summary consists of:

* Change encoding function signature to prevent misuse
* Change "contrib/tsearch2" to avoid unsafe use of INTERNAL function results
* Repair race condition between relation extension and VACUUM This could
  theoretically have caused loss of a page's worth of freshly-inserted data,
  although the scenario seems of very low probability. There are no known
  cases of it having caused more than an Assert failure.

diffstat:

 databases/postgresql73-docs/PLIST        |  10 +++--
 databases/postgresql73-lib/Makefile      |   3 +-
 databases/postgresql73-lib/buildlink3.mk |   4 +-
 databases/postgresql73-plperl/Makefile   |   3 +-
 databases/postgresql73/Makefile.common   |   4 +-
 databases/postgresql73/distinfo          |   9 ++--
 databases/postgresql73/patches/patch-al  |  60 --------------------------------
 7 files changed, 16 insertions(+), 77 deletions(-)

diffs (184 lines):

diff -r 599d5e0de285 -r c9d97de3fe96 databases/postgresql73-docs/PLIST
--- a/databases/postgresql73-docs/PLIST Sun Aug 07 16:43:15 2005 +0000
+++ b/databases/postgresql73-docs/PLIST Sun Aug 07 18:19:16 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2005/02/20 00:03:40 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/08/07 18:19:16 adrianp Exp $
 share/doc/html/postgresql/admin-preface.html
 share/doc/html/postgresql/admin.html
 share/doc/html/postgresql/app-clusterdb.html
@@ -192,10 +192,10 @@
 share/doc/html/postgresql/libpq-trace.html
 share/doc/html/postgresql/libpq.html
 share/doc/html/postgresql/ln17992.html
+share/doc/html/postgresql/ln26577.html
+share/doc/html/postgresql/ln39021.html
+share/doc/html/postgresql/ln53737.html
 share/doc/html/postgresql/ln25.html
-share/doc/html/postgresql/ln26479.html
-share/doc/html/postgresql/ln38923.html
-share/doc/html/postgresql/ln53639.html
 share/doc/html/postgresql/ln659.html
 share/doc/html/postgresql/lo-funcs.html
 share/doc/html/postgresql/lo-implementation.html
@@ -388,6 +388,7 @@
 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-2.html
@@ -397,6 +398,7 @@
 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
diff -r 599d5e0de285 -r c9d97de3fe96 databases/postgresql73-lib/Makefile
--- a/databases/postgresql73-lib/Makefile       Sun Aug 07 16:43:15 2005 +0000
+++ b/databases/postgresql73-lib/Makefile       Sun Aug 07 18:19:16 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2005/07/15 18:27:48 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2005/08/07 18:19:16 adrianp Exp $
 
 PKGNAME=               postgresql73-lib-${BASE_VERS}
-PKGREVISION=           2
 SVR4_PKGNAME=          pstgl
 COMMENT=               PostgreSQL database headers and libraries
 
diff -r 599d5e0de285 -r c9d97de3fe96 databases/postgresql73-lib/buildlink3.mk
--- a/databases/postgresql73-lib/buildlink3.mk  Sun Aug 07 16:43:15 2005 +0000
+++ b/databases/postgresql73-lib/buildlink3.mk  Sun Aug 07 18:19:16 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2005/03/18 19:57:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2005/08/07 18:19:16 adrianp Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 POSTGRESQL73_LIB_BUILDLINK3_MK:=       ${POSTGRESQL73_LIB_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@
 BUILDLINK_PACKAGES+=   postgresql73-lib
 
 .if !empty(POSTGRESQL73_LIB_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.postgresql73-lib+=   postgresql73-lib>=7.3.6
+BUILDLINK_DEPENDS.postgresql73-lib+=   postgresql73-lib>=7.3.10
 BUILDLINK_PKGSRCDIR.postgresql73-lib?= ../../databases/postgresql73-lib
 BUILDLINK_INCDIRS.postgresql73-lib?=   include/postgresql
 BUILDLINK_FILES.postgresql73-lib+=     include/pgsql/*
diff -r 599d5e0de285 -r c9d97de3fe96 databases/postgresql73-plperl/Makefile
--- a/databases/postgresql73-plperl/Makefile    Sun Aug 07 16:43:15 2005 +0000
+++ b/databases/postgresql73-plperl/Makefile    Sun Aug 07 18:19:16 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2005/08/06 06:19:07 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/08/07 18:19:16 adrianp Exp $
 
 PKGNAME=               postgresql73-plperl-${BASE_VERS}
-PKGREVISION=           2
 COMMENT=               PL/Perl procedural language for the PostgreSQL backend
 
 DEPENDS+=      postgresql73-server>=${BASE_VERS}:../../databases/postgresql73-server
diff -r 599d5e0de285 -r c9d97de3fe96 databases/postgresql73/Makefile.common
--- a/databases/postgresql73/Makefile.common    Sun Aug 07 16:43:15 2005 +0000
+++ b/databases/postgresql73/Makefile.common    Sun Aug 07 18:19:16 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2005/07/13 15:34:01 jschauma Exp $
+# $NetBSD: Makefile.common,v 1.11 2005/08/07 18:19:16 adrianp Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -33,7 +33,7 @@
 # BASE_VERS            pkgsrc-mangled version number (convert pl -> .)
 #
 # Note: Do not forget jdbc-postgresql when updating version
-DIST_VERS?=            7.3.9
+DIST_VERS?=            7.3.10
 BASE_VERS?=            ${DIST_VERS}
 
 BUILDLINK_DEPENDS.postgresql73-lib?=   postgresql73-lib>=${BASE_VERS}
diff -r 599d5e0de285 -r c9d97de3fe96 databases/postgresql73/distinfo
--- a/databases/postgresql73/distinfo   Sun Aug 07 16:43:15 2005 +0000
+++ b/databases/postgresql73/distinfo   Sun Aug 07 18:19:16 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2005/05/02 02:14:23 markd Exp $
+$NetBSD: distinfo,v 1.10 2005/08/07 18:19:16 adrianp Exp $
 
-SHA1 (postgresql-7.3.9.tar.gz) = 01481f3af507cb6b361bd71fc51c0fb8c06905da
-RMD160 (postgresql-7.3.9.tar.gz) = 61b97bd71cee3e107419598b75d0ec0734df2791
-Size (postgresql-7.3.9.tar.gz) = 11288172 bytes
+SHA1 (postgresql-7.3.10.tar.gz) = 173bfb9c4ae7d4bd84a90babdbf34d420fcb90c2
+RMD160 (postgresql-7.3.10.tar.gz) = 544602d752a8e2f0d2b90e1e2e4c50431b98c44b
+Size (postgresql-7.3.10.tar.gz) = 11296380 bytes
 SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059
 SHA1 (patch-ab) = d45df2da17b1ff67f5f82b4ff743afe350500786
 SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7
@@ -14,4 +14,3 @@
 SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
 SHA1 (patch-aj) = 4c46173cba1dd36296d8b3fcca8cdfebcc717162
 SHA1 (patch-ak) = a983f23b5e47a4c2f31ba284ff3db51b53cf8414
-SHA1 (patch-al) = f2827e29d063d3aa8dfcead3f16f9aa27459bbf7
diff -r 599d5e0de285 -r c9d97de3fe96 databases/postgresql73/patches/patch-al
--- a/databases/postgresql73/patches/patch-al   Sun Aug 07 16:43:15 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-$NetBSD: patch-al,v 1.2 2005/05/02 02:14:23 markd Exp $
-
---- src/pl/plpgsql/src/gram.y.orig     2005-01-26 20:44:42.000000000 -0500
-+++ src/pl/plpgsql/src/gram.y  2005-03-17 16:34:50.000000000 -0500
-@@ -1626,6 +1626,13 @@
-               }
-       }
- 
-+      /* Check for array overflow */
-+      if (nparams >= 1024)
-+      {
-+              plpgsql_error_lineno = lno;
-+              elog(ERROR, "too many variables specified in SQL statement");
-+      }
-+
-       expr = malloc(sizeof(PLpgSQL_expr) + sizeof(int) * nparams - sizeof(int));
-       expr->dtype                     = PLPGSQL_DTYPE_EXPR;
-       expr->query                     = strdup(plpgsql_dstring_get(&ds));
-@@ -1761,6 +1768,13 @@
- 
-                                       while ((tok = yylex()) == ',')
-                                       {
-+                                              /* Check for array overflow */
-+                                              if (nfields >= 1024)
-+                                              {
-+                                                      plpgsql_error_lineno = yylineno;
-+                                                      elog(ERROR, "too many variables specified in SQL statement");
-+                                              }
-+
-                                               tok = yylex();
-                                               switch(tok)
-                                               {
-@@ -1821,6 +1835,13 @@
-                               plpgsql_dstring_append(&ds, yytext);
-                               break;
-               }
-+
-+              /* Check for array overflow */
-+              if (nparams >= 1024)
-+              {
-+                      plpgsql_error_lineno = yylineno;
-+                      elog(ERROR, "too many variables specified in SQL statement");
-+              }
-       }
- 
-       expr = malloc(sizeof(PLpgSQL_expr) + sizeof(int) * nparams - sizeof(int));
-@@ -1892,6 +1913,13 @@
- 
-                               while ((tok = yylex()) == ',')
-                               {
-+                                      /* Check for array overflow */
-+                                      if (nfields >= 1024)
-+                                      {
-+                                              plpgsql_error_lineno = yylineno;
-+                                              elog(ERROR, "too many variables specified in SQL statement");
-+                                      }
-+
-                                       tok = yylex();
-                                       switch(tok)
-                                       {



Home | Main Index | Thread Index | Old Index