Bug 139277

Summary: [PATCH] databases/postgresql84-server update to 8.4.1
Product: Ports & Packages Reporter: ismail yenigul <ismail.yenigul>
Component: Individual Port(s)Assignee: Martin Matuska <mm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ismail yenigul 2009-10-01 12:10:00 UTC
databases/postgresql84-server update to 8.4.1

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-10-01 12:10:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->girgen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olli Hauer 2009-10-12 00:16:02 UTC
This patch applies clean, the first on has leftovers.

Big question about the option INTDATE

# See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/76999 for more info
# (requires dump/restore if modified.)
OPTIONS+=       INTDATE "Builds with 64-bit date/time type (server)" off

even the user does not choose the option postgresql84 will build with
INTDATE since it is the default.

Suggestion: drop the option, negating makes more touble if someone
has choosen the option before.


//olli

--- patch_postgresql84-server_v8.4.1.txt begins here ---
diff -ruN files/patch-src:backend:utils:misc:postgresql.conf.sample files/patch-src:backend:utils:misc:postgresql.conf.sample
--- files/patch-src:backend:utils:misc:postgresql.conf.sample   2008-02-18 14:55:02.000000000 +0200
+++ files/patch-src:backend:utils:misc:postgresql.conf.sample        2009-10-01 16:52:02.000000000 +0300
@@ -1,6 +1,6 @@
---- src/backend/utils/misc/postgresql.conf.sample.orig  2008-01-30 19:35:55.000000000 +0100
-+++ src/backend/utils/misc/postgresql.conf.sample       2008-02-18 13:49:42.000000000 +0100
-@@ -231,6 +231,7 @@
+--- src/backend/utils/misc/postgresql.conf.sample.orig  2009-10-01 16:50:42.000000000 +0300
++++ src/backend/utils/misc/postgresql.conf.sample       2009-10-01 16:50:58.000000000 +0300
+@@ -230,6 +230,7 @@
  # - Where to Log -
@@ -8,20 +8,20 @@
  #log_destination = 'stderr'            # Valid values are combinations of
                                         # stderr, csvlog, syslog and eventlog,
                                         # depending on platform.  csvlog
-@@ -313,6 +314,7 @@
-                                        # and their durations, > 0 logs only
-                                        # statements running at least this time.
-
-+silent_mode = on
- #silent_mode = off                     # DO NOT USE without syslog or
+@@ -264,6 +265,7 @@
+ #syslog_facility = 'LOCAL0'
+ #syslog_ident = 'postgres'
+
++silent_mode = on                       # Run server silently.
+ #silent_mode = off                     # Run server silently.
+                                        # DO NOT USE without syslog or
                                         # logging_collector
-                                        # (change requires restart)
-@@ -365,6 +367,8 @@
+@@ -367,6 +369,8 @@
  #track_counts = on
- #update_process_title = on
-
+ #track_functions = none                        # none, pl, all
+ #track_activity_query_size = 1024
 +# On FreeBSD, this is a performance hog, so keep it off if you need speed
 +update_process_title = off
-
- # - Statistics Monitoring -
+ #update_process_title = on
+ #stats_temp_directory = 'pg_stat_tmp'
--- patch_postgresql84-server_v8.4.1.txt ends here ---
Comment 3 Olli Hauer 2009-10-12 00:42:36 UTC
Sorry, was the wrong patch.

This patch applies clean, the first on has leftovers.

Big question about the option INTDATE

# See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/76999 for more info
# (requires dump/restore if modified.)
OPTIONS+=       INTDATE "Builds with 64-bit date/time type (server)" off

even the user does not choose the option postgresql84 will build with
INTDATE since it is the default.

Suggestion: drop the option, negating makes more touble if someone
has choosen the option before.


//olli

--- patch_postgresql84-server_v8.4.1.txt begins here ---
diff -Nru postgresql84-server/Makefile postgresql84-server/Makefile
--- postgresql84-server/Makefile	2009-07-08 22:31:53.000000000 +0200
+++ postgresql84-server/Makefile	2009-10-04 18:57:18.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME?=	postgresql
-DISTVERSION?=	8.4.0
+DISTVERSION?=	8.4.1
 CATEGORIES?=	databases
 MASTER_SITES=	${MASTER_SITE_PGSQL}
 MASTER_SITE_SUBDIR=	source/v${DISTVERSION}
diff -Nru postgresql84-server/distinfo postgresql84-server/distinfo
--- postgresql84-server/distinfo	2009-07-08 00:30:06.000000000 +0200
+++ postgresql84-server/distinfo	2009-10-04 18:57:43.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (postgresql/postgresql-8.4.0.tar.bz2) = 1f172d5f60326e972837f58fa5acd130
-SHA256 (postgresql/postgresql-8.4.0.tar.bz2) = 84bf53b4a45db4fdf875bb03bf247f29dcb97f8bda42839b00b73671df05e007
-SIZE (postgresql/postgresql-8.4.0.tar.bz2) = 13839282
+MD5 (postgresql/postgresql-8.4.1.tar.bz2) = f2015af17bacbbfe140daf0d1067f9c9
+SHA256 (postgresql/postgresql-8.4.1.tar.bz2) = 85f5a5053aea196a2c997785cb5f61368aa46407527de820006d04b594fd9d7c
+SIZE (postgresql/postgresql-8.4.1.tar.bz2) = 13579302
diff -Nru postgresql84-server/files/patch-src:backend:utils:misc:postgresql.conf.sample postgresql84-server/files/patch-src:backend:utils:misc:postgresql.conf.sample
--- postgresql84-server/files/patch-src:backend:utils:misc:postgresql.conf.sample	2008-02-18 13:55:02.000000000 +0100
+++ postgresql84-server/files/patch-src:backend:utils:misc:postgresql.conf.sample	2009-10-04 19:25:43.000000000 +0200
@@ -1,6 +1,6 @@
---- src/backend/utils/misc/postgresql.conf.sample.orig	2008-01-30 19:35:55.000000000 +0100
-+++ src/backend/utils/misc/postgresql.conf.sample	2008-02-18 13:49:42.000000000 +0100
-@@ -231,6 +231,7 @@
+--- ./src/backend/utils/misc/postgresql.conf.sample.orig	2009-08-24 22:08:40.000000000 +0200
++++ ./src/backend/utils/misc/postgresql.conf.sample	2009-10-04 19:21:09.000000000 +0200
+@@ -230,6 +230,7 @@
  
  # - Where to Log -
  
@@ -8,20 +8,21 @@
  #log_destination = 'stderr'		# Valid values are combinations of
  					# stderr, csvlog, syslog and eventlog,
  					# depending on platform.  csvlog
-@@ -313,6 +314,7 @@
- 					# and their durations, > 0 logs only
- 					# statements running at least this time.
+@@ -264,6 +265,7 @@
+ #syslog_facility = 'LOCAL0'
+ #syslog_ident = 'postgres'
  
 +silent_mode = on
- #silent_mode = off			# DO NOT USE without syslog or
+ #silent_mode = off			# Run server silently.
+ 					# DO NOT USE without syslog or
  					# logging_collector
- 					# (change requires restart)
-@@ -365,6 +367,8 @@
+@@ -367,6 +369,9 @@
  #track_counts = on
- #update_process_title = on
- 
+ #track_functions = none			# none, pl, all
+ #track_activity_query_size = 1024
++
 +# On FreeBSD, this is a performance hog, so keep it off if you need speed
 +update_process_title = off
- 
- # - Statistics Monitoring -
+ #update_process_title = on
+ #stats_temp_directory = 'pg_stat_tmp'
  
diff -Nru postgresql84-server/pkg-plist-client postgresql84-server/pkg-plist-client
--- postgresql84-server/pkg-plist-client	2009-07-08 22:31:53.000000000 +0200
+++ postgresql84-server/pkg-plist-client	2009-10-11 22:39:45.000000000 +0200
@@ -178,6 +178,7 @@
 include/postgresql/server/executor/tuptable.h
 include/postgresql/server/fmgr.h
 include/postgresql/server/funcapi.h
+include/postgresql/server/foreign/foreign.h
 include/postgresql/server/getaddrinfo.h
 include/postgresql/server/getopt_long.h
 include/postgresql/server/lib/dllist.h
@@ -481,6 +482,7 @@
 @dirrm include/postgresql/server/mb
 @dirrm include/postgresql/server/libpq
 @dirrm include/postgresql/server/lib
+@dirrm include/postgresql/server/foreign
 @dirrm include/postgresql/server/executor
 @dirrm include/postgresql/server/commands
 @dirrm include/postgresql/server/catalog
@@ -573,6 +575,12 @@
 %%GETTEXT%%share/locale/fr/LC_MESSAGES/psql-8.4.mo
 %%GETTEXT%%share/locale/fr/LC_MESSAGES/pgscripts-8.4.mo
 %%GETTEXT%%share/locale/fr/LC_MESSAGES/pg_config-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/ecpg-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/ecpglib6-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/libpq5-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/pg_config-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/pgscripts-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/psql-8.4.mo
 %%GETTEXT%%share/locale/ja/LC_MESSAGES/libpq5-8.4.mo
 %%GETTEXT%%share/locale/ja/LC_MESSAGES/ecpglib6-8.4.mo
 %%GETTEXT%%share/locale/ja/LC_MESSAGES/ecpg-8.4.mo
diff -Nru postgresql84-server/pkg-plist-server postgresql84-server/pkg-plist-server
--- postgresql84-server/pkg-plist-server	2009-07-08 22:31:53.000000000 +0200
+++ postgresql84-server/pkg-plist-server	2009-10-11 23:24:54.000000000 +0200
@@ -65,6 +65,11 @@
 %%GETTEXT%%share/locale/fr/LC_MESSAGES/pg_controldata-8.4.mo
 %%GETTEXT%%share/locale/fr/LC_MESSAGES/pg_resetxlog-8.4.mo
 %%GETTEXT%%share/locale/fr/LC_MESSAGES/plpgsql-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/initdb-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/pg_controldata-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/pg_ctl-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/pg_resetxlog-8.4.mo
+%%GETTEXT%%share/locale/it/LC_MESSAGES/plpgsql-8.4.mo
 %%GETTEXT%%share/locale/ja/LC_MESSAGES/postgres-8.4.mo
 %%GETTEXT%%share/locale/ja/LC_MESSAGES/initdb-8.4.mo
 %%GETTEXT%%share/locale/ja/LC_MESSAGES/pg_ctl-8.4.mo
--- patch_postgresql84-server_v8.4.1.txt ends here ---
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-12-02 22:21:40 UTC
mm          2009-12-02 22:21:27 UTC

  FreeBSD ports repository

  Modified files:
    databases/postgresql84-client Makefile 
    databases/postgresql84-server Makefile distinfo 
                                  pkg-plist-client 
                                  pkg-plist-server 
    databases/postgresql84-server/files 
                                        patch-src:backend:utils:misc:postgresql.conf.sample 
  Log:
  - Update to 8.4.1
  - Set INTDATE on as default (this is default by PostgreSQL)
  
  PR:             ports/139277
  Submitted by:   Olli Hauer <ohauer@gmx.de>
  Approved by:    maintainer timeout (2 months)
  
  Revision  Changes    Path
  1.3       +0 -1      ports/databases/postgresql84-client/Makefile
  1.195     +4 -5      ports/databases/postgresql84-server/Makefile
  1.73      +3 -3      ports/databases/postgresql84-server/distinfo
  1.7       +14 -13    ports/databases/postgresql84-server/files/patch-src:backend:utils:misc:postgresql.conf.sample
  1.17      +8 -0      ports/databases/postgresql84-server/pkg-plist-client
  1.24      +5 -0      ports/databases/postgresql84-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"
Comment 5 Martin Matuska freebsd_committer freebsd_triage 2009-12-02 22:33:44 UTC
Responsible Changed
From-To: girgen->mm

I'll take it.
Comment 6 Martin Matuska freebsd_committer freebsd_triage 2009-12-02 22:34:11 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!