Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 01:33:20 +0200 (CEST)
From:      Palle Girgensohn <girgen@pingpong.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43676: security update of databases/postgresql7
Message-ID:  <200210042333.g94NXKmB093808@palle.girgensohn.se>

next in thread | raw e-mail | index | archive | help

>Number:         43676
>Category:       ports
>Synopsis:       security update of databases/postgresql7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 04 16:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn <girgen@pingpong.net>
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
PING PONG
>Environment:
System: FreeBSD palle.girgensohn.se 4.7-RC FreeBSD 4.7-RC #0: Sun Sep 29 17:21:22 CEST 2002     root@palle.girgensohn.se:/usr/local/obj/usr/src/sys/STORDATAN  i386


	
>Description:
New update of the postgresql port:

       This release includes a fix for a serious problem that has
       affected all 7.2.* releases: if a VACUUM command is run by a
       non-superuser, it is sometimes possible for the system to
       prematurely remove old transaction log data (pg_clog files).
       This can result in data becoming unrecoverable.  All 7.2.*
       installations are urged to update to 7.2.3 as soon as possible.

>How-To-Repeat:
	
>Fix:
apply this patch  (also note, I have a new email address...)

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql7/Makefile,v
retrieving revision 1.100
diff -u -r1.100 Makefile
--- Makefile	13 Sep 2002 10:41:46 -0000	1.100
+++ Makefile	4 Oct 2002 20:47:59 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME?=	postgresql
-PORTVERSION?=	7.2.2
+PORTVERSION?=	7.2.3
 CATEGORIES?=	databases
 MASTER_SITES=	ftp://ftp.postgresql.org/pub/%SUBDIR%/ \
 		ftp://ftp.se.postgresql.org/pub/database/relational/postgresql/%SUBDIR%/ \
@@ -21,7 +21,7 @@
 DISTFILES=	postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
 		postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
 
-MAINTAINER?=	girgen@partitur.se
+MAINTAINER?=	girgen@pingpong.net
 
 WRKSRC=		${WRKDIR}/postgresql-${PORTVERSION}
 DIST_SUBDIR=	postgresql
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql7/distinfo,v
retrieving revision 1.23
diff -u -r1.23 distinfo
--- distinfo	26 Aug 2002 08:12:39 -0000	1.23
+++ distinfo	4 Oct 2002 21:01:45 -0000
@@ -1,3 +1,3 @@
-MD5 (postgresql/postgresql-base-7.2.2.tar.gz) = 669ccb907c8dbd901487391055fe52a5
-MD5 (postgresql/postgresql-opt-7.2.2.tar.gz) = 302e5d0da833530359b55ebb5ee7dc57
-MD5 (postgresql/postgresql-docs-7.2.2.tar.gz) = 1fdb72d0e980aedfefb1b629b02d0d8e
+MD5 (postgresql/postgresql-base-7.2.3.tar.gz) = 246eba52490f1defd5a8592d871e4201
+MD5 (postgresql/postgresql-opt-7.2.3.tar.gz) = e3f9dbd600ad236021a1ce107ea7b8a7
+MD5 (postgresql/postgresql-docs-7.2.3.tar.gz) = 2640f7f81056cc384afb5bf8b746f4fe
Index: scripts/configure.postgresql
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql7/scripts/configure.postgresql,v
retrieving revision 1.11
diff -u -r1.11 configure.postgresql
--- scripts/configure.postgresql	11 Apr 2002 04:58:11 -0000	1.11
+++ scripts/configure.postgresql	4 Oct 2002 21:04:08 -0000
@@ -83,13 +83,12 @@
 	echo "WITHOUT_MULTIBYTE=YES" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
 else
 	if [ "${BATCH}" ]; then
-		set "nothing"
+		set "SQL_ASCII"
 	else
 		/usr/bin/dialog --title "Default encoding system" --clear \
 						--radiolist "\n\
 Please select the default encoding:" -1 -1 16 \
-nothing       "Default Encoding" ON \
-SQL_ASCII     "SQL_ASCII - ASCII" OFF \
+SQL_ASCII     "SQL_ASCII - ASCII" ON \
 EUC_JP        "Japanese EUC" OFF \
 EUC_CN        "Chinese EUC" OFF \
 EUC_KR        "Korean EUC" OFF \
@@ -128,13 +127,8 @@
 		fi
 	fi
 
-    if [ "$1" = "nothing" ]; then
-		echo "MULTIBYTE_ENCODING=yes" \
+	echo "MULTIBYTE_ENCODING=$1" \
 			>> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
-	else
-		echo "MULTIBYTE_ENCODING=$1" \
-			>> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
-	fi
 fi
 
 if [ "${KRB5}" ]; then
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210042333.g94NXKmB093808>