Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2003 02:57:22 +0200 (CEST)
From:      Palle Girgensohn <girgen@pingpong.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55354: postgresql update to 7.3.4
Message-ID:  <200308080057.h780vMjW043102@palle.girgensohn.se>
Resent-Message-ID: <200308080100.h7810QrK039832@freefall.freebsd.org>

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

>Number:         55354
>Category:       ports
>Synopsis:       postgresql update to 7.3.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 07 18:00:25 PDT 2003
>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:
This patch update Postgresql to 7.3.4:

	"In order to address a potentially serious (although rare)
	server startup failure that was recently reported, we have
	released PostgreSQL version 7.3.4. This release is critical
	for users of PostgreSQL version 7.3.3, and highly recommended
	for all other PostgreSQL users."

Also, stop reminding people that the file layout changed some 18 months
or so ago...

This PR supersedes ports/55072. Thanks to the guy responsible for
that PR for their effort.

>How-To-Repeat:
	
>Fix:

	


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql7/Makefile,v
retrieving revision 1.111
diff -u -r1.111 Makefile
--- Makefile	14 Jul 2003 02:52:57 -0000	1.111
+++ Makefile	8 Aug 2003 00:48:43 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME?=	postgresql
-PORTVERSION?=	7.3.3
-PORTREVISION?=	1
+PORTVERSION?=	7.3.4
 CATEGORIES?=	databases
 MASTER_SITES=	${MASTER_SITE_PGSQL}
 MASTER_SITE_SUBDIR=	source/v${PORTVERSION}
@@ -66,10 +65,12 @@
 .endif
 
 .if defined(WITHOUT_SERVER)
-PKGMESSAGE=	${PKGDIR}/pkg-message.client
 PLIST_SUB+=	SERVER="@comment "
 PKGNAMESUFFIX=	-client
+PKGMSG=		""
 .else
+PKGMESSAGE=	${FILESDIR}/pkg-message.server
+PKGMSG=		${PKGMESSAGE}
 PLIST_SUB+=	SERVER=""
 INSTALL_TARGET+= install-all-headers
 MAKEFILE=	GNUmakefile
@@ -139,15 +140,16 @@
 	@${ECHO} "				still be used if already installed)"
 	@${ECHO} "	WITHOUT_GETTEXT		Skips building with support for"
 	@${ECHO} "				internationalized error messages"
-	@${ECHO} "	WITHOUT_SERVER		Installs the headers and libraries for"
-	@${ECHO} "				PostgreSQL clients"
+	@${ECHO} "	WITHOUT_SERVER		Don't install the server,"
+	@${ECHO} "                              only install binaries, headers and libs"
+	@${ECHO} "				for PostgreSQL clients"
 	@${ECHO} "	WITHOUT_SSL		Builds without OpenSSL support"
 	@${ECHO} "	WITH_MIT_KRB5		Builds with MIT's kerberos support"
 	@${ECHO} "	WITH_HEIMDAL_KRB5	Builds with Heimdal's kerberos support"
 	@${ECHO} "	WITH_OPTIMIZED_CFLAGS	Builds with compiler optimizations (-O3)"
 	@${ECHO} "	WITH_DEBUG		Builds with debugging symbols"
 	@${ECHO} "	WITH_TESTS		Allows the use of a \"check\" target"
-	@${ECHO} "				building the module"
+	@${ECHO} "				to run regression tests"
 	@${ECHO} "	WITH_LIBC_R		Link the binaries with libc_r."
 	@${ECHO} "				Needed to run plpython"
 	@${ECHO} ""
@@ -183,7 +185,7 @@
 
 post-install:
 	@ ${MKDIR} ${PREFIX}/share/postgresql ;\
-	${CAT} ${FILESDIR}/post-install-notes ${PKGMESSAGE} |\
+	${CAT} ${FILESDIR}/post-install-notes ${PKGMSG} |\
 		${SED} "s|/usr/local|${PREFIX}|g" |\
 		tee ${PREFIX}/share/postgresql/post-install-notes
 .if !defined(WITHOUT_SERVER)
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql7/distinfo,v
retrieving revision 1.28
diff -u -r1.28 distinfo
--- distinfo	2 Jun 2003 01:44:03 -0000	1.28
+++ distinfo	7 Aug 2003 23:55:04 -0000
@@ -1,4 +1,4 @@
-MD5 (postgresql/postgresql-base-7.3.3.tar.gz) = 4f5830d3effa8b00b22cc13597030b2f
-MD5 (postgresql/postgresql-opt-7.3.3.tar.gz) = b0b7f07c6bba1813b18e9901e481599d
-MD5 (postgresql/postgresql-docs-7.3.3.tar.gz) = 5009a3233f3ecf80369a5613298fbb8c
-MD5 (postgresql/postgresql-test-7.3.3.tar.gz) = d029272601b4d8bfac3b6be843f0064b
+MD5 (postgresql/postgresql-base-7.3.4.tar.gz) = 2b8600cc0f0c2d80271b533c394c886b
+MD5 (postgresql/postgresql-opt-7.3.4.tar.gz) = 3a0f0254bf9d6dccc61baa149c68ae75
+MD5 (postgresql/postgresql-docs-7.3.4.tar.gz) = 0144134674614e6b6a54103482f8acb2
+MD5 (postgresql/postgresql-test-7.3.4.tar.gz) = 7734ec70bb8e3d3bb3ba49e6dcee10e5
--- /dev/null	Fri Aug  8 02:46:49 2003
+++ files/pkg-message.server	Fri Aug  8 01:55:35 2003
@@ -0,0 +1,17 @@
+======================================================================
+
+To initialize the database, you should run initdb as the "pgsql" user
+(if you want to use your locale for collation, edit ~pgsql/.profile
+and set the locale to your preference first).
+
+Example:
+
+  su -l pgsql -c initdb
+
+You can then start PostgreSQL by running:
+
+  /usr/local/etc/rc.d/010.pgsql.sh start
+
+For postmaster settings, see ~pgsql/data/postgresql.conf
+For more tips, read ~pgsql/post-install-notes
+======================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:



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