packages (POSTGRESQL_8_1): postgresql/postgresql-pg_ctl-fix.patch, postgres...
arekm
arekm at pld-linux.org
Tue May 3 19:21:46 CEST 2011
Author: arekm Date: Tue May 3 17:21:46 2011 GMT
Module: packages Tag: POSTGRESQL_8_1
---- Log message:
- up to 8.1.23 (but not all patches)
---- Files affected:
packages/postgresql:
postgresql-pg_ctl-fix.patch (1.1 -> 1.1.2.1) , postgresql.spec (1.362.2.2 -> 1.362.2.3)
---- Diffs:
================================================================
Index: packages/postgresql/postgresql-pg_ctl-fix.patch
diff -u packages/postgresql/postgresql-pg_ctl-fix.patch:1.1 packages/postgresql/postgresql-pg_ctl-fix.patch:1.1.2.1
--- packages/postgresql/postgresql-pg_ctl-fix.patch:1.1 Tue Apr 4 19:07:10 2006
+++ packages/postgresql/postgresql-pg_ctl-fix.patch Tue May 3 19:21:41 2011
@@ -1,11 +1,11 @@
--- src/bin/pg_ctl/pg_ctl.c.orig 2006-04-04 15:52:48.000000000 +0000
+++ src/bin/pg_ctl/pg_ctl.c 2006-04-04 16:43:27.000000000 +0000
@@ -373,9 +373,11 @@
- bool success = false;
int i;
char portstr[32];
+ char sockstr[256];
char *p;
+ char *q;
*portstr = '\0';
+ *sockstr = '\0';
@@ -13,9 +13,9 @@
/* post_opts */
for (p = post_opts; *p;)
@@ -400,7 +402,7 @@
- }
-
- /* config file */
+ * This parsing code isn't amazingly bright either, but it should be
+ * okay for valid port settings.
+ */
- if (!*portstr)
+ if (!*portstr || !*sockstr)
{
@@ -25,9 +25,9 @@
while (isspace((unsigned char) *p))
p++;
-- if (strncmp(p, "port", strlen("port")) != 0)
+- if (strncmp(p, "port", 4) != 0)
- continue;
-- p += strlen("port");
+- p += 4;
- while (isspace((unsigned char) *p))
- p++;
- if (*p != '=')
================================================================
Index: packages/postgresql/postgresql.spec
diff -u packages/postgresql/postgresql.spec:1.362.2.2 packages/postgresql/postgresql.spec:1.362.2.3
--- packages/postgresql/postgresql.spec:1.362.2.2 Tue Jan 8 10:31:20 2008
+++ packages/postgresql/postgresql.spec Tue May 3 19:21:41 2011
@@ -26,12 +26,12 @@
Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
Name: postgresql
-Version: 8.1.11
+Version: 8.1.23
Release: 1
License: BSD
Group: Applications/Databases
Source0: ftp://ftp6.pl.postgresql.org/pub/postgresql/source/v%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: 48922512bcf683d5ea22a99df5eaaecd
+# Source0-md5: b511c1c6d5de2417096dba48912e6f18
##Source0: ftp://ftp.postgresql.org/pub/source/v%{version}beta/%{name}-%{version}%{beta}.tar.bz2
Source1: %{name}.init
Source2: pgsql-Database-HOWTO-html.tar.gz
@@ -1127,6 +1127,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.362.2.3 2011/05/03 17:21:41 arekm
+- up to 8.1.23 (but not all patches)
+
Revision 1.362.2.2 2008/01/08 09:31:20 arekm
- up to 8.1.11 (fixes CVE-2007-6600, CVE-2007-4769, CVE-2007-4772, CVE-2007-6067, CVE-2007-6601, CVE-2007-3278)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/postgresql/postgresql-pg_ctl-fix.patch?r1=1.1&r2=1.1.2.1&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/postgresql/postgresql.spec?r1=1.362.2.2&r2=1.362.2.3&f=u
More information about the pld-cvs-commit
mailing list