From delphij@tarsier.delphij.net  Wed May 24 04:14:09 2006
Return-Path: <delphij@tarsier.delphij.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7B83C16A464;
	Wed, 24 May 2006 04:14:09 +0000 (UTC)
	(envelope-from delphij@tarsier.delphij.net)
Received: from tarsier.delphij.net (tarsier.geekcn.org [210.51.165.229])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6D04943D45;
	Wed, 24 May 2006 04:14:08 +0000 (GMT)
	(envelope-from delphij@tarsier.delphij.net)
Received: from tarsier.delphij.net (localhost [127.0.0.1])
	by tarsier.delphij.net (8.13.6/8.13.6) with ESMTP id k4O4E3Cv091060;
	Wed, 24 May 2006 12:14:03 +0800 (CST)
	(envelope-from delphij@tarsier.delphij.net)
Received: (from delphij@localhost)
	by tarsier.delphij.net (8.13.6/8.13.6/Submit) id k4O4DwK3091059;
	Wed, 24 May 2006 12:13:58 +0800 (CST)
	(envelope-from delphij)
Message-Id: <200605240413.k4O4DwK3091059@tarsier.delphij.net>
Date: Wed, 24 May 2006 12:13:58 +0800 (CST)
From: Xin LI <delphij@freebsd.org>
Reply-To: Xin LI <delphij@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: girgen@freebsd.org
Subject: [PATCH] Some improvements over postgresql81-server
X-Send-Pr-Version: 3.113
X-GNATS-Notify: delphij@FreeBSD.org

>Number:         97767
>Category:       ports
>Synopsis:       [PATCH] Some improvements over postgresql81-server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    girgen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 24 04:20:11 GMT 2006
>Closed-Date:    Wed Nov 08 17:44:47 GMT 2006
>Last-Modified:  Wed Nov 08 17:44:47 GMT 2006
>Originator:     Xin LI
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD tarsier.delphij.net 6.1-RELEASE FreeBSD 6.1-RELEASE #31: Sun May 7 00:55:05 CST 2006 delphij@tarsier.delphij.net:/usr/obj/usr/src/sys/TARSIER i386


>Description:
	The attached patch fixes some issues involved in the
postgresql81-server port:

	- Make use of USE_RC_SUBR instead of doing the sed
	  work with our own one.  This makes it possible
	  to install new style rc.d scripts more properly.
	- Use the port infrastructure to do pkg-message
	  stuff.
	- Pet portlint 

	These are not urgent changes.  Similiar changes
may apply to previous versions of postgresql ports as
well.

	Maintainer cc'ed.
>How-To-Repeat:
>Fix:


--- patch-postgresql81-server begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql81-server/Makefile,v
retrieving revision 1.155
diff -u -r1.155 Makefile
--- Makefile	23 May 2006 21:18:58 -0000	1.155
+++ Makefile	24 May 2006 04:01:18 -0000
@@ -6,12 +6,12 @@
 #
 
 PORTNAME?=	postgresql
-PKGNAMESUFFIX?=	-server
 PORTVERSION?=	8.1.4
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	databases
 MASTER_SITES=	${MASTER_SITE_PGSQL}
 MASTER_SITE_SUBDIR=	source/v${PORTVERSION}
+PKGNAMESUFFIX?=	-server
 DISTFILES?=	postgresql-base-${PORTVERSION}${EXTRACT_SUFX} \
 		postgresql-opt-${PORTVERSION}${EXTRACT_SUFX}
 
@@ -48,12 +48,10 @@
 BUILD_DIRS?=	src/port src/timezone src/backend src/backend/utils/mb/conversion_procs \
 		src/pl src/utils
 INSTALL_DIRS?=	${BUILD_DIRS}
-PKGMESSAGE=	${WRKDIR}/.pkg-message${PKGNAMESUFFIX}
 
 .if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY)
 SERVER_ONLY=	yes
-USE_RC_SUBR=	yes
-RCSCRIPT=	${PREFIX}/etc/rc.d/010.pgsql.sh
+USE_RC_SUBR=	pgsql.sh
 USE_PGSQL=	yes
 WANT_PGSQL_VER=	${PORTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
 .endif
@@ -75,7 +73,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "alpha" && ${OSVERSION} < 500000
-BROKEN=		"Coredump during build on alpha 4.x"
+BROKEN=		Coredump during build on alpha 4.x
 .endif
 
 .if !defined(SLAVE_ONLY)
@@ -259,11 +257,9 @@
 		cd ${WRKSRC}/$${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE}; \
 	done
 
-.  if exists(${MASTERDIR}/pkg-message${PKGNAMESUFFIX})
-post-build:
-	@ ${SED} "s|/usr/local|${PREFIX}|g" \
-		< ${MASTERDIR}/pkg-message${PKGNAMESUFFIX} \
-		> ${PKGMESSAGE}
+.  if exists(${MASTERDIR}/files/pkg-message${PKGNAMESUFFIX}.in)
+SUB_FILES+=	pkg-message${PKGNAMESUFFIX}
+PKGMESSAGE=	${WRKSRC}/pkg-message${PKGNAMESUFFIX}
 .  endif
 .endif
 
@@ -290,11 +286,6 @@
 		${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/.$i; \
 	fi
 .    endfor
-	@ ${SED} -e "s|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g" \
-		< ${FILESDIR}/pgsql.sh.tmpl \
-		> ${RCSCRIPT} ;\
-	${CHMOD} 554 ${RCSCRIPT} ;\
-	${CHOWN} root:pgsql ${RCSCRIPT} ;\
 	${CHOWN} -R pgsql:pgsql ~pgsql/. ;\
 	${MKDIR} ${PREFIX}/etc/periodic/daily ;\
 	${INSTALL_SCRIPT} ${FILESDIR}/502.pgsql \
Index: pkg-message-client
===================================================================
RCS file: pkg-message-client
diff -N pkg-message-client
--- pkg-message-client	23 Nov 2004 19:15:11 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,32 +0,0 @@
-The PostgreSQL port has a collection of "side orders":
-
-postgresql-doc
-  For all of the html documentation
-
-p5-Pg
-  A perl5 API for client access to PostgreSQL databases.
-
-postgresql-tcltk 
-  If you want tcl/tk client support.
-
-postgresql-jdbc
-  For Java JDBC support.
-
-postgresql-odbc
-  For client access from unix applications using ODBC as access
-  method. Not needed to access unix PostgreSQL servers from Win32
-  using ODBC. See below.
-
-ruby-postgres, py-PyGreSQL
-  For client access to PostgreSQL databases using the ruby & python
-  languages.
-
-p5-postgresql-plperl, postgresql-pltcl & postgresql-plruby
-  For using perl5, tcl & ruby as procedural languages.
-
-postgresql-contrib
-  Lots of contributed utilities, postgresql functions and
-  datatypes. There you find autovacuum, pgcrypto and many other cool
-  things.
-
-etc...
Index: pkg-message-contrib
===================================================================
RCS file: pkg-message-contrib
diff -N pkg-message-contrib
--- pkg-message-contrib	23 Nov 2004 19:15:11 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-The PostgreSQL contrib utilities have been installed. Please see
-/usr/local/share/doc/postgresql/contrib/README
-for more information.
Index: pkg-message-plperl
===================================================================
RCS file: pkg-message-plperl
diff -N pkg-message-plperl
--- pkg-message-plperl	23 Nov 2004 19:15:11 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-PL/Perl has been installed. Check the createlang(l) manpage for more
-info. You can install PL/Perl as trusted or untrusted, by using either
-"createlang plperl" or "createlang plperlu".
Index: pkg-message-plpython
===================================================================
RCS file: pkg-message-plpython
diff -N pkg-message-plpython
--- pkg-message-plpython	31 Jan 2005 00:36:16 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-PL/Python has been installed. Check the createlang(l) manpage for more
-info. You can install PL/Python by using "createlang plpythonu" (it
-exists as an untrusted language only).
Index: pkg-message-pltcl
===================================================================
RCS file: pkg-message-pltcl
diff -N pkg-message-pltcl
--- pkg-message-pltcl	23 Nov 2004 19:15:11 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-PL/Tcl has been  installed. Check the createlang(l) manpage for more
-info. You can install pltcl as trusted or untrusted, by using either
-"createlang pltcl" or "createlang pltclu".
Index: pkg-message-server
===================================================================
RCS file: pkg-message-server
diff -N pkg-message-server
--- pkg-message-server	9 Feb 2005 17:48:10 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,49 +0,0 @@
-For procedural languages and postgresql functions, please note that
-you might have to update them when updating the server.
-
-If you have many tables and many clients running, consider raising
-kern.maxfiles using sysctl(8), or reconfigure your kernel
-appropriately.
-
-You should vacuum and backup your database regularly. There is a
-periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
-may find useful. Per default, it perfoms vacuum on all databases
-nightly. See the script for instructions.
-
-To allow many simultaneous connections to your PostgreSQL server, you
-should raise the SystemV shared memory limits in your kernel. Here are
-example values for allowing up to 180 clients (configurations in
-postgresql.conf also needed, of course):
-  options         SYSVSHM
-  options         SYSVSEM
-  options         SYSVMSG
-  options         SHMMAXPGS=65536
-  options         SEMMNI=40
-  options         SEMMNS=240
-  options         SEMUME=40
-  options         SEMMNU=120
-
-If you plan to access your PostgreSQL server using ODBC, please
-consider running the SQL script /usr/local/share/postgresql/odbc.sql
-to get the functions required for ODBC compliance.
-
-======================================================================
-
-To initialize the database, run
-
-  /usr/local/etc/rc.d/010.pgsql.sh 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
-
-NB. FreeBSD's PostgreSQL port now by default logs to syslog
-    See ~pgsql/data/postgresql.conf for more info
-
-======================================================================
-
-To run PostgreSQL at startup, add
-'postgresql_enable="YES"' to /etc/rc.conf
-
Index: pkg-plist-server
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql81-server/pkg-plist-server,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist-server
--- pkg-plist-server	22 Jan 2006 05:52:11 -0000	1.6
+++ pkg-plist-server	24 May 2006 03:33:52 -0000
@@ -1,7 +1,6 @@
 bin/postmaster
 bin/postgres
 etc/periodic/daily/502.pgsql
-etc/rc.d/010.pgsql.sh
 lib/libpgport.a
 lib/postgresql/ascii_and_mic.so
 lib/postgresql/cyrillic_and_mic.so
Index: files/pgsql.sh.in
===================================================================
RCS file: files/pgsql.sh.in
diff -N files/pgsql.sh.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pgsql.sh.in	24 May 2006 03:21:53 -0000
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: postgresql
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf to enable PostgreSQL:
+#
+#  postgresql_enable="YES"
+#  # optional
+#  postgresql_data="%%PREFIX%%/pgsql/data"
+#  postgresql_flags="-w -s -m fast"
+#
+# This scripts takes one of the following commands:
+#
+#   start stop restart reload status initdb
+#
+# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
+
+prefix=%%PREFIX%%
+command=${prefix}/bin/pg_ctl
+
+. %%RC_SUBR%%
+
+load_rc_config postgresql
+
+# set defaults
+postgresql_enable=${postgresql_enable:-"NO"}
+postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
+postgresql_user=pgsql
+eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
+postgresql_class=${postgresql_class:-"default"}
+
+name=postgresql
+rcvar=`set_rcvar`
+command_args="-D ${postgresql_data} ${postgresql_flags}"
+extra_commands="reload initdb"
+
+start_cmd="postgresql_command start"
+stop_cmd="postgresql_command stop"
+restart_cmd="postgresql_command restart"
+reload_cmd="postgresql_command reload"
+status_cmd="postgresql_command status"
+
+initdb_cmd="postgresql_initdb"
+
+postgresql_command()
+{
+    su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
+}
+    
+postgresql_initdb()
+{
+    su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
+}
+
+run_rc_command "$1"
Index: files/pgsql.sh.tmpl
===================================================================
RCS file: files/pgsql.sh.tmpl
diff -N files/pgsql.sh.tmpl
--- files/pgsql.sh.tmpl	23 May 2006 21:18:58 -0000	1.22
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,59 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD: ports/databases/postgresql81-server/files/pgsql.sh.tmpl,v 1.22 2006/05/23 21:18:58 girgen Exp $
-#
-# PROVIDE: postgresql
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-#
-# Add the following line to /etc/rc.conf to enable PostgreSQL:
-#
-#  postgresql_enable="YES"
-#  # optional
-#  postgresql_data="%%PREFIX%%/pgsql/data"
-#  postgresql_flags="-w -s -m fast"
-#
-# This scripts takes one of the following commands:
-#
-#   start stop restart reload status initdb
-#
-# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
-
-prefix=%%PREFIX%%
-command=${prefix}/bin/pg_ctl
-
-. %%RC_SUBR%%
-
-load_rc_config postgresql
-
-# set defaults
-postgresql_enable=${postgresql_enable:-"NO"}
-postgresql_flags=${postgresql_flags:-"-w -s -m fast"}
-postgresql_user=pgsql
-eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"}
-postgresql_class=${postgresql_class:-"default"}
-
-name=postgresql
-rcvar=`set_rcvar`
-command_args="-D ${postgresql_data} ${postgresql_flags}"
-extra_commands="reload initdb"
-
-start_cmd="postgresql_command start"
-stop_cmd="postgresql_command stop"
-restart_cmd="postgresql_command restart"
-reload_cmd="postgresql_command reload"
-status_cmd="postgresql_command status"
-
-initdb_cmd="postgresql_initdb"
-
-postgresql_command()
-{
-    su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
-}
-    
-postgresql_initdb()
-{
-    su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
-}
-
-run_rc_command "$1"
Index: files/pkg-message-client.in
===================================================================
RCS file: files/pkg-message-client.in
diff -N files/pkg-message-client.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message-client.in	23 Nov 2004 19:15:11 -0000
@@ -0,0 +1,32 @@
+The PostgreSQL port has a collection of "side orders":
+
+postgresql-doc
+  For all of the html documentation
+
+p5-Pg
+  A perl5 API for client access to PostgreSQL databases.
+
+postgresql-tcltk 
+  If you want tcl/tk client support.
+
+postgresql-jdbc
+  For Java JDBC support.
+
+postgresql-odbc
+  For client access from unix applications using ODBC as access
+  method. Not needed to access unix PostgreSQL servers from Win32
+  using ODBC. See below.
+
+ruby-postgres, py-PyGreSQL
+  For client access to PostgreSQL databases using the ruby & python
+  languages.
+
+p5-postgresql-plperl, postgresql-pltcl & postgresql-plruby
+  For using perl5, tcl & ruby as procedural languages.
+
+postgresql-contrib
+  Lots of contributed utilities, postgresql functions and
+  datatypes. There you find autovacuum, pgcrypto and many other cool
+  things.
+
+etc...
Index: files/pkg-message-contrib.in
===================================================================
RCS file: files/pkg-message-contrib.in
diff -N files/pkg-message-contrib.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message-contrib.in	24 May 2006 03:44:05 -0000
@@ -0,0 +1,3 @@
+The PostgreSQL contrib utilities have been installed. Please see
+%%PREFIX%%/share/doc/postgresql/contrib/README
+for more information.
Index: files/pkg-message-plperl.in
===================================================================
RCS file: files/pkg-message-plperl.in
diff -N files/pkg-message-plperl.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message-plperl.in	23 Nov 2004 19:15:11 -0000
@@ -0,0 +1,3 @@
+PL/Perl has been installed. Check the createlang(l) manpage for more
+info. You can install PL/Perl as trusted or untrusted, by using either
+"createlang plperl" or "createlang plperlu".
Index: files/pkg-message-plpython.in
===================================================================
RCS file: files/pkg-message-plpython.in
diff -N files/pkg-message-plpython.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message-plpython.in	31 Jan 2005 00:36:16 -0000
@@ -0,0 +1,3 @@
+PL/Python has been installed. Check the createlang(l) manpage for more
+info. You can install PL/Python by using "createlang plpythonu" (it
+exists as an untrusted language only).
Index: files/pkg-message-pltcl.in
===================================================================
RCS file: files/pkg-message-pltcl.in
diff -N files/pkg-message-pltcl.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message-pltcl.in	23 Nov 2004 19:15:11 -0000
@@ -0,0 +1,3 @@
+PL/Tcl has been  installed. Check the createlang(l) manpage for more
+info. You can install pltcl as trusted or untrusted, by using either
+"createlang pltcl" or "createlang pltclu".
Index: files/pkg-message-server.in
===================================================================
RCS file: files/pkg-message-server.in
diff -N files/pkg-message-server.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message-server.in	24 May 2006 03:43:44 -0000
@@ -0,0 +1,49 @@
+For procedural languages and postgresql functions, please note that
+you might have to update them when updating the server.
+
+If you have many tables and many clients running, consider raising
+kern.maxfiles using sysctl(8), or reconfigure your kernel
+appropriately.
+
+You should vacuum and backup your database regularly. There is a
+periodic script, ${LOCALBASE}/etc/periodic/daily/502.pgsql, that you
+may find useful. Per default, it perfoms vacuum on all databases
+nightly. See the script for instructions.
+
+To allow many simultaneous connections to your PostgreSQL server, you
+should raise the SystemV shared memory limits in your kernel. Here are
+example values for allowing up to 180 clients (configurations in
+postgresql.conf also needed, of course):
+  options         SYSVSHM
+  options         SYSVSEM
+  options         SYSVMSG
+  options         SHMMAXPGS=65536
+  options         SEMMNI=40
+  options         SEMMNS=240
+  options         SEMUME=40
+  options         SEMMNU=120
+
+If you plan to access your PostgreSQL server using ODBC, please
+consider running the SQL script %%PREFIX%%/share/postgresql/odbc.sql
+to get the functions required for ODBC compliance.
+
+======================================================================
+
+To initialize the database, run
+
+  %%PREFIX%%/etc/rc.d/pgsql.sh initdb
+
+You can then start PostgreSQL by running:
+
+  %%PREFIX%%/etc/rc.d/pgsql.sh start
+
+For postmaster settings, see ~pgsql/data/postgresql.conf
+
+NB. FreeBSD's PostgreSQL port now by default logs to syslog
+    See ~pgsql/data/postgresql.conf for more info
+
+======================================================================
+
+To run PostgreSQL at startup, add
+'postgresql_enable="YES"' to /etc/rc.conf
+
--- patch-postgresql81-server ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->girgen@FreeBSD.org 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Wed May 24 04:22:43 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97767 
Responsible-Changed-From-To: girgen@FreeBSD.org->girgen 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Wed May 24 05:03:08 UTC 2006 
Responsible-Changed-Why:  
Correct assignment. 

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

From: Palle Girgensohn <girgen@pingpong.net>
To: bug-followup@FreeBSD.org, delphij@FreeBSD.org
Cc:  
Subject: Re: ports/97767: [PATCH] Some improvements over postgresql81-server
Date: Mon, 05 Jun 2006 13:48:09 +0200

 Sorry for the late sepsonse to this. It looks good, thanks for the complete 
 patch.
 
 Only reason to bump portrevision is really that the rc.d-script changed 
 name, AFAICS. I have to check that rc.subr does handle ordering better than 
 it used to for older FreeBSD releases (i.e. 4.x). Since PostgreSQL is vital 
 to some other services, I had to back out changing the name from 
 010.pgsql.sh to plain pgsql.sh a while back, since thing broke on FreeBSD 
 4.x due to starting in a bad order upon reboot. Maybe this is fixed now, 
 I'll have to check.
 
 Anyway, I'd rather take this fix in with the next major upgrade, if that's 
 OK with you? I'll also backport it to the other three supported versions of 
 PostgreSQL.
 
 Regards,
 Palle
 

From: Xin LI <delphij@delphij.net>
To: Palle Girgensohn <girgen@pingpong.net>
Cc: bug-followup@FreeBSD.org, delphij@FreeBSD.org
Subject: Re: ports/97767: [PATCH] Some improvements over postgresql81-server
Date: Tue, 06 Jun 2006 13:00:32 +0800

 --=-hBrjxbP1GiYm/eFDHYg6
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 Hi, Palle,
 
 =E5=9C=A8 2006-06-05=E4=B8=80=E7=9A=84 13:48 +0200=EF=BC=8CPalle Girgensohn=
 =E5=86=99=E9=81=93=EF=BC=9A
 > Anyway, I'd rather take this fix in with the next major upgrade, if that'=
 s=20
 > OK with you? I'll also backport it to the other three supported versions =
 of=20
 > PostgreSQL.
 
 Yup, I'm perfectly fine if you would include these changes in the next
 major upgrade.
 
 Cheers,
 --=20
 Xin LI <delphij delphij net>    http://www.delphij.net/
 
 --=-hBrjxbP1GiYm/eFDHYg6
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description:
 	=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?=
 	=?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8=E5=88=86?=
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.3 (FreeBSD)
 
 iD8DBQBEhQvwhcUczkLqiksRAg5IAJ9ZT3SsFNyc6cgzk/DPSZZUpOIvXgCfX9Vm
 c7xeipb7tUfl4o1hYO1gtO4=
 =Jurv
 -----END PGP SIGNATURE-----
 
 --=-hBrjxbP1GiYm/eFDHYg6--
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/97767: commit references a PR
Date: Wed,  8 Nov 2006 17:08:06 +0000 (UTC)

 girgen      2006-11-08 17:07:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    UPDATING 
     databases/postgresql73-server Makefile distinfo 
                                   pkg-plist-server 
     databases/postgresql74-server Makefile distinfo 
                                   pkg-plist-server 
     databases/postgresql80-server Makefile distinfo 
                                   pkg-plist-server 
     databases/postgresql81-server Makefile distinfo 
                                   pkg-plist-server 
     databases/postgresql81-server/files 
                                         patch-src:backend:utils:misc:postgresql.conf.sample 
   Added files:
     databases/postgresql73-server/files pkg-message-client.in 
                                         pkg-message-contrib.in 
                                         pkg-message-plperl.in 
                                         pkg-message-plpython.in 
                                         pkg-message-pltcl.in 
                                         pkg-message-server.in 
                                         postgresql.in 
     databases/postgresql74-server/files pkg-message-client.in 
                                         pkg-message-contrib.in 
                                         pkg-message-plperl.in 
                                         pkg-message-plpython.in 
                                         pkg-message-pltcl.in 
                                         pkg-message-server.in 
                                         pkg-message-tcltk.in 
                                         postgresql.in 
     databases/postgresql80-server/files pkg-message-client.in 
                                         pkg-message-contrib.in 
                                         pkg-message-plperl.in 
                                         pkg-message-plpython.in 
                                         pkg-message-pltcl.in 
                                         pkg-message-server.in 
                                         postgresql.in 
     databases/postgresql81-server/files pkg-message-client.in 
                                         pkg-message-contrib.in 
                                         pkg-message-plperl.in 
                                         pkg-message-plpython.in 
                                         pkg-message-pltcl.in 
                                         pkg-message-server.in 
                                         postgresql.in 
   Removed files:
     databases/postgresql73-server pkg-message-client 
                                   pkg-message-contrib 
                                   pkg-message-plperl 
                                   pkg-message-plpython 
                                   pkg-message-pltcl 
                                   pkg-message-server 
     databases/postgresql73-server/files pgsql.sh.tmpl 
     databases/postgresql74-server pkg-message-client 
                                   pkg-message-contrib 
                                   pkg-message-plperl 
                                   pkg-message-plpython 
                                   pkg-message-pltcl 
                                   pkg-message-server 
                                   pkg-message-tcltk 
     databases/postgresql74-server/files pgsql.sh.tmpl 
     databases/postgresql80-server pkg-message-client 
                                   pkg-message-contrib 
                                   pkg-message-plperl 
                                   pkg-message-plpython 
                                   pkg-message-pltcl 
                                   pkg-message-server 
     databases/postgresql80-server/files pgsql.sh.tmpl 
     databases/postgresql81-server pkg-message-client 
                                   pkg-message-contrib 
                                   pkg-message-plperl 
                                   pkg-message-plpython 
                                   pkg-message-pltcl 
                                   pkg-message-server 
     databases/postgresql81-server/files pgsql.sh.tmpl 
   Log:
   Update PostgreSQL to latest versions: 8.1.5, 8.0.9, 7.4.14 and 7.3.16.
   
   Release notes:
   8.1.5  http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-5
   8.0.9  http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-9
   7.4.14 http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4-14
   7.3.16 http://www.postgresql.org/docs/7.3/static/release.html#RELEASE-7-3-16
   
   Change name of the rc script from '010.pgsql.sh' to 'postgresql'
   
   Add optional hierachy patch added for 7.4 and 8.1 ports.
   
   Chase heimdal libs update [reported by several]
   
   For 8.1+ the port enables autovacuum in ~pgsql/postgresql.conf when
   running initdb
   
   Cleanup the ports, moving pkg-message-* to files/pkg-message-*.in and
   files/pgsql.sh.tmpl to files/postgresql.in. [ports/97767]
   
   PR: ports/97767, submitted by delphij@FreeBSD.org
   
   Revision  Changes    Path
   1.423     +8 -1      ports/UPDATING
   1.145     +17 -23    ports/databases/postgresql73-server/Makefile
   1.44      +12 -12    ports/databases/postgresql73-server/distinfo
   1.20      +0 -59     ports/databases/postgresql73-server/files/pgsql.sh.tmpl (dead)
   1.1       +32 -0     ports/databases/postgresql73-server/files/pkg-message-client.in (new)
   1.1       +3 -0      ports/databases/postgresql73-server/files/pkg-message-contrib.in (new)
   1.1       +3 -0      ports/databases/postgresql73-server/files/pkg-message-plperl.in (new)
   1.1       +3 -0      ports/databases/postgresql73-server/files/pkg-message-plpython.in (new)
   1.1       +3 -0      ports/databases/postgresql73-server/files/pkg-message-pltcl.in (new)
   1.1       +63 -0     ports/databases/postgresql73-server/files/pkg-message-server.in (new)
   1.1       +59 -0     ports/databases/postgresql73-server/files/postgresql.in (new)
   1.2       +0 -32     ports/databases/postgresql73-server/pkg-message-client (dead)
   1.2       +0 -3      ports/databases/postgresql73-server/pkg-message-contrib (dead)
   1.2       +0 -3      ports/databases/postgresql73-server/pkg-message-plperl (dead)
   1.2       +0 -3      ports/databases/postgresql73-server/pkg-message-plpython (dead)
   1.2       +0 -3      ports/databases/postgresql73-server/pkg-message-pltcl (dead)
   1.3       +0 -51     ports/databases/postgresql73-server/pkg-message-server (dead)
   1.5       +0 -1      ports/databases/postgresql73-server/pkg-plist-server
   1.146     +27 -24    ports/databases/postgresql74-server/Makefile
   1.44      +15 -12    ports/databases/postgresql74-server/distinfo
   1.21      +0 -59     ports/databases/postgresql74-server/files/pgsql.sh.tmpl (dead)
   1.1       +32 -0     ports/databases/postgresql74-server/files/pkg-message-client.in (new)
   1.1       +3 -0      ports/databases/postgresql74-server/files/pkg-message-contrib.in (new)
   1.1       +3 -0      ports/databases/postgresql74-server/files/pkg-message-plperl.in (new)
   1.1       +3 -0      ports/databases/postgresql74-server/files/pkg-message-plpython.in (new)
   1.1       +3 -0      ports/databases/postgresql74-server/files/pkg-message-pltcl.in (new)
   1.1       +83 -0     ports/databases/postgresql74-server/files/pkg-message-server.in (new)
   1.1       +1 -0      ports/databases/postgresql74-server/files/pkg-message-tcltk.in (new)
   1.1       +59 -0     ports/databases/postgresql74-server/files/postgresql.in (new)
   1.2       +0 -32     ports/databases/postgresql74-server/pkg-message-client (dead)
   1.2       +0 -3      ports/databases/postgresql74-server/pkg-message-contrib (dead)
   1.2       +0 -3      ports/databases/postgresql74-server/pkg-message-plperl (dead)
   1.2       +0 -3      ports/databases/postgresql74-server/pkg-message-plpython (dead)
   1.2       +0 -3      ports/databases/postgresql74-server/pkg-message-pltcl (dead)
   1.3       +0 -71     ports/databases/postgresql74-server/pkg-message-server (dead)
   1.2       +0 -1      ports/databases/postgresql74-server/pkg-message-tcltk (dead)
   1.5       +0 -1      ports/databases/postgresql74-server/pkg-plist-server
   1.159     +23 -29    ports/databases/postgresql80-server/Makefile
   1.53      +12 -12    ports/databases/postgresql80-server/distinfo
   1.23      +0 -59     ports/databases/postgresql80-server/files/pgsql.sh.tmpl (dead)
   1.1       +32 -0     ports/databases/postgresql80-server/files/pkg-message-client.in (new)
   1.1       +3 -0      ports/databases/postgresql80-server/files/pkg-message-contrib.in (new)
   1.1       +3 -0      ports/databases/postgresql80-server/files/pkg-message-plperl.in (new)
   1.1       +3 -0      ports/databases/postgresql80-server/files/pkg-message-plpython.in (new)
   1.1       +3 -0      ports/databases/postgresql80-server/files/pkg-message-pltcl.in (new)
   1.1       +61 -0     ports/databases/postgresql80-server/files/pkg-message-server.in (new)
   1.1       +59 -0     ports/databases/postgresql80-server/files/postgresql.in (new)
   1.2       +0 -32     ports/databases/postgresql80-server/pkg-message-client (dead)
   1.2       +0 -3      ports/databases/postgresql80-server/pkg-message-contrib (dead)
   1.2       +0 -3      ports/databases/postgresql80-server/pkg-message-plperl (dead)
   1.2       +0 -3      ports/databases/postgresql80-server/pkg-message-plpython (dead)
   1.2       +0 -3      ports/databases/postgresql80-server/pkg-message-pltcl (dead)
   1.4       +0 -49     ports/databases/postgresql80-server/pkg-message-server (dead)
   1.7       +0 -1      ports/databases/postgresql80-server/pkg-plist-server
   1.160     +29 -35    ports/databases/postgresql81-server/Makefile
   1.51      +15 -12    ports/databases/postgresql81-server/distinfo
   1.4       +11 -2     ports/databases/postgresql81-server/files/patch-src:backend:utils:misc:postgresql.conf.sample
   1.23      +0 -59     ports/databases/postgresql81-server/files/pgsql.sh.tmpl (dead)
   1.1       +32 -0     ports/databases/postgresql81-server/files/pkg-message-client.in (new)
   1.1       +3 -0      ports/databases/postgresql81-server/files/pkg-message-contrib.in (new)
   1.1       +3 -0      ports/databases/postgresql81-server/files/pkg-message-plperl.in (new)
   1.1       +3 -0      ports/databases/postgresql81-server/files/pkg-message-plpython.in (new)
   1.1       +3 -0      ports/databases/postgresql81-server/files/pkg-message-pltcl.in (new)
   1.1       +64 -0     ports/databases/postgresql81-server/files/pkg-message-server.in (new)
   1.1       +59 -0     ports/databases/postgresql81-server/files/postgresql.in (new)
   1.2       +0 -32     ports/databases/postgresql81-server/pkg-message-client (dead)
   1.2       +0 -3      ports/databases/postgresql81-server/pkg-message-contrib (dead)
   1.2       +0 -3      ports/databases/postgresql81-server/pkg-message-plperl (dead)
   1.2       +0 -3      ports/databases/postgresql81-server/pkg-message-plpython (dead)
   1.2       +0 -3      ports/databases/postgresql81-server/pkg-message-pltcl (dead)
   1.4       +0 -49     ports/databases/postgresql81-server/pkg-message-server (dead)
   1.7       +0 -1      ports/databases/postgresql81-server/pkg-plist-server
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: girgen 
State-Changed-When: Wed Nov 8 17:43:48 UTC 2006 
State-Changed-Why:  
Comitted. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97767 
>Unformatted:
