From edwin@mavetju.org  Wed Feb 20 01:12:01 2008
Return-Path: <edwin@mavetju.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 576CE16A4FD
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Feb 2008 01:12:01 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78])
	by mx1.freebsd.org (Postfix) with ESMTP id A63DD13C7BE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Feb 2008 01:03:33 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: by mail5out.barnet.com.au (Postfix, from userid 1001)
	id 5BC3B2218A6B; Wed, 20 Feb 2008 12:03:31 +1100 (EST)
Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK))
	by mail5.barnet.com.au (Postfix) with ESMTP id D848C21B1D69
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Feb 2008 12:03:30 +1100 (EST)
Received: from k7.mavetju (k7.mavetju.org [10.251.1.18])
	by mail5auth.barnet.com.au (Postfix) with ESMTP id 52FAE2218A66
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Feb 2008 12:03:30 +1100 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id CE05F2B0; Wed, 20 Feb 2008 12:03:29 +1100 (EST)
Message-Id: <20080220010329.CE05F2B0@k7.mavetju>
Date: Wed, 20 Feb 2008 12:03:29 +1100 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] update Mk/bsd.database.mk to use Postgresql 8.2 by default
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120865
>Category:       ports
>Synopsis:       [patch] update Mk/bsd.database.mk to use Postgresql 8.2 by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 20 01:20:03 UTC 2008
>Closed-Date:    Tue Mar 11 23:34:25 UTC 2008
>Last-Modified:  Tue Mar 11 23:40:04 UTC 2008
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Sun Feb 17 22:11:52 EST 2008 edwin@k7.mavetju:/usr/src/sys/i386/compile/SMP i386

>Description:

With the release of PostgreSQL 8.3 it is time to move the default
postgresql version for the ports collection to 8.2. (no, this is
not a typo)

>How-To-Repeat:
>Fix:

Once the necessary testbuilds have been done, please alert me so I
can send a patch with regarding to the port version bumps for the
ports using the PostgreSQL libraries.

Index: bsd.database.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.database.mk,v
retrieving revision 1.22
diff -u -r1.22 bsd.database.mk
--- bsd.database.mk	15 Oct 2007 15:32:19 -0000	1.22
+++ bsd.database.mk	20 Feb 2008 01:02:13 -0000
@@ -37,10 +37,10 @@
 #				  If no version is given (by the maintainer via the port or
 #				  by the user via defined variable), try to find the
 #				  currently installed version.  Fall back to default if
-#				  necessary (PostgreSQL-8.1 = 81).
+#				  necessary (PostgreSQL-8.2 = 82).
 # DEFAULT_PGSQL_VER
 #				- PostgreSQL default version. Can be overridden within a port.
-#				  Default: 81.
+#				  Default: 82.
 # WANT_PGSQL_VER
 #				- Maintainer can set an arbitrary version of PostgreSQL by
 #				  using it.
@@ -147,7 +147,7 @@
 .endif # USE_MYSQL
 
 .if defined(USE_PGSQL)
-DEFAULT_PGSQL_VER?=	81
+DEFAULT_PGSQL_VER?=	82
 PGSQL73_LIBVER=		3
 PGSQL74_LIBVER=		3
 PGSQL80_LIBVER=		4
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Feb 20 01:20:48 UTC 2008 
Responsible-Changed-Why:  
Over to portmgr for test runs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120865 

From: Edwin Groothuis <edwin@mavetju.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120865: [patch] update Mk/bsd.database.mk to use Postgresql 8.2 by default
Date: Tue, 11 Mar 2008 22:48:45 +1100

 As noticed by pav, the following patch is necessary for
 databases/postgresql-contrib which does set it to something by
 default:
 
 RCS file: /home/pcvs/ports/databases/postgresql-contrib/Makefile,v
 retrieving revision 1.15
 diff -u -r1.15 Makefile
 --- Makefile    7 Jan 2008 13:51:53 -0000       1.15
 +++ Makefile    11 Mar 2008 11:46:38 -0000
 @@ -16,7 +16,7 @@
  USE_PGSQL=     yes
  MASTERDIR=     ${.CURDIR}/../postgresql${PGSQL_VER}-server
  
 -DEFAULT_PGSQL_VER?=81
 +DEFAULT_PGSQL_VER?=82
  
  # can't include <bsd.port.pre.mk> in a slave port
  # so set these instead:
 
 
 
 
 
 Index: bsd.database.mk
 ===================================================================
 RCS file: /home/pcvs/ports/Mk/bsd.database.mk,v
 retrieving revision 1.22
 diff -u -r1.22 bsd.database.mk
 --- bsd.database.mk	15 Oct 2007 15:32:19 -0000	1.22
 +++ bsd.database.mk	11 Mar 2008 11:48:27 -0000
 @@ -37,10 +37,10 @@
  #				  If no version is given (by the maintainer via the port or
  #				  by the user via defined variable), try to find the
  #				  currently installed version.  Fall back to default if
 -#				  necessary (PostgreSQL-8.1 = 81).
 +#				  necessary (PostgreSQL-8.2 = 82).
  # DEFAULT_PGSQL_VER
  #				- PostgreSQL default version. Can be overridden within a port.
 -#				  Default: 81.
 +#				  Default: 82.
  # WANT_PGSQL_VER
  #				- Maintainer can set an arbitrary version of PostgreSQL by
  #				  using it.
 @@ -147,7 +147,8 @@
  .endif # USE_MYSQL
  
  .if defined(USE_PGSQL)
 -DEFAULT_PGSQL_VER?=	81
 +# Note: update the value in databases/postgresql-contrib too!
 +DEFAULT_PGSQL_VER?=	82
  PGSQL73_LIBVER=		3
  PGSQL74_LIBVER=		3
  PGSQL80_LIBVER=		4
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Mar 11 23:33:39 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120865 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120865: commit references a PR
Date: Tue, 11 Mar 2008 23:34:14 +0000 (UTC)

 pav         2008-03-11 23:34:09 UTC
 
   FreeBSD ports repository
 
   Modified files:
     Mk                   bsd.database.mk 
     databases/postgresql-contrib Makefile 
   Log:
   - Fix typo (unclosed double-quote)
   
   PR:             ports/120618
   Submitted by:   Gennady Proskurin <gpr@nnz.ru>
   
   - Change default PostgreSQL dependency from 8.1 to 8.2
   
   PR:             ports/120865
   Submitted by:   edwin
   
   Revision  Changes    Path
   1.23      +5 -5      ports/Mk/bsd.database.mk
   1.16      +1 -1      ports/databases/postgresql-contrib/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
