Subject: [alpine-aports] [PATCH] main/postgresql version bump to 9.5.0

From: Nathan Angelacos <[email-masked]>
Date: Thu, 7 Jan 2016 19:46:00 +0000

---
 main/postgresql/APKBUILD         | 22 +++++++++++-----------
 main/postgresql/initdb.patch     | 14 ++++++--------
 main/postgresql/postgresql.confd |  2 +-
 3 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index 647e445..afca90e 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=postgresql
-pkgver=9.4.5
-pkgrel=1
+pkgver=9.5.0
+pkgrel=0
 pkgdesc="A sophisticated object-relational DBMS"
 url="http://www.postgresql.org/"
 arch="all"
@@ -88,21 +88,21 @@ contrib() {
 	make DESTDIR="$subpkgdir" -C contrib install || return 1
 }
 
-md5sums="8b2e3472a8dc786649b4d02d02e039a0  postgresql-9.4.5.tar.bz2
-00f0fc07fb8447f7e174c4cee0661722  initdb.patch
+md5sums="e58fffe9359e311ead94490a06b7147c  postgresql-9.5.0.tar.bz2
+538fa611966ee43c001dafdc1587c170  initdb.patch
 a7a193cce4443998e3a47fde4f10723e  postgresql.initd
-199747784fcba0a92e55283b90993d78  postgresql.confd
+bc6fc0c00be27e64431dd8f99f454dd2  postgresql.confd
 140ed427fe54b435064f0e3c6f683aea  pg-restore.initd
 bf45384752b320b369f1425939763178  pg-restore.confd"
-sha256sums="b87c50c66b6ea42a9712b5f6284794fabad0616e6ae420cf0f10523be6d94a39  postgresql-9.4.5.tar.bz2
-36a65229bf31b20a95ff2e2cac1a6ece0c61afdcd0b544759ad12f34d1b98a39  initdb.patch
+sha256sums="f1c0d3a1a8aa8c92738cab0153fbfffcc4d4158b3fee84f7aa6bfea8283978bc  postgresql-9.5.0.tar.bz2
+abd3761ecb47e41625d21bfda6a36badb047b0bedfd7cf0b1fbe61914fb3c9bc  initdb.patch
 af57a4190b1f5019290d26429b973d31465a8224a2e552fc3ecaf4fb4e471d7f  postgresql.initd
-70ac7bf24556c16e6324b4efe76fba425bb09a2f7e74afbb5f988333eb8df724  postgresql.confd
+1266f5bf116f936099bd3ffe7eef1728bfaaa29049d506dad77b56b81ae8cedb  postgresql.confd
 e509cdb77a4be8a74381b039bb8e5dc3a7b7ef3375785acf967092e4e6a34215  pg-restore.initd
 31414d8b57c4cd2116b6014de3f1329875151910753fbd616daec4554866d02f  pg-restore.confd"
-sha512sums="01ad4b5a097efa70f74a9e96b764c32953a9df57d6bf81b893a1e552475f6aba0381580dcd1f27b2c443ce89fecc429eeeb0219af60a0b2f84798f76eb1757f5  postgresql-9.4.5.tar.bz2
-6f7fdceb1a5aba3f00894ae88afdf25e5f9c7a0ffc00b11211011a6415ea73639d6a67f516cab66c6487484bab26ded3c93471d6d41ac0d3822926c22274f2ba  initdb.patch
+sha512sums="f8aa0364a7a73ec5ace2bd13417f680ad0d7d7a9a67f78d774af5359e8e67a4358f27600fc0a9cd808f4a409020277c1d04fe93b2535db619b5e8cfc29ce6d8d  postgresql-9.5.0.tar.bz2
+0b88eee78380ed6cf543c851ac1cea5fc50bb6ef1bb51e03694003f43d2bf4e117ff06657f958d0e9c00ace3b8a6bab6ed0bd017d23f80cfd203dab33da81d46  initdb.patch
 af37b100cc67769817e4c9e997abecf50475d7f0bf9b0f1d51bf8454d45abd6c87d5d315ed6cafd14e0dd059e96723a6203b756236070d12968816666e63e522  postgresql.initd
-e906e23241bed2624719c1e7e5305695cce1cb520f26f6a4c6bbb994f59db3cc4c63afcfe0e7fb705ad4691dd0a911770012fc16819e4c2686c7029e1e4a4a45  postgresql.confd
+280b759c692d9399b7204744c6c2220c390e53351f33ab53ad4a3399446f7ee29d5c1a8d9087429a9246d8d10a759c861d9ac42d968a9358423bad9281748ec2  postgresql.confd
 f5a1cba051e7d846c2d16703514601cb25729ed96b677c9bd0c199d64552120a8b14b238af01917fdb87106681e12dee6fff7447558155ba273e4f96be5e2892  pg-restore.initd
 c14a5684e914abb3b0ee71bbf15eed71a9264deacaa404a6e3af6bfc330d93e7598624d0ed11a94263106cc660f7f54c8ff57e759033cf606a795f69ff6c1c7c  pg-restore.confd"
diff --git a/main/postgresql/initdb.patch b/main/postgresql/initdb.patch
index e919d9f..8edf7db 100644
--- a/main/postgresql/initdb.patch
+++ b/main/postgresql/initdb.patch
@@ -1,18 +1,16 @@
---- ./src/bin/initdb/initdb.c.orig	2013-09-09 14:38:21.712409752 +0000
-+++ ./src/bin/initdb/initdb.c	2013-09-09 14:40:19.453755379 +0000
-@@ -3652,14 +3652,6 @@
+diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
+index feeff9e..e6a4536 100644
+--- a/src/bin/initdb/initdb.c
++++ b/src/bin/initdb/initdb.c
+@@ -3641,10 +3641,7 @@ main(int argc, char *argv[])
  	strlcpy(bin_dir, argv[0], sizeof(bin_dir));
  	get_parent_directory(bin_dir);
  
 -	printf(_("\nSuccess. You can now start the database server using:\n\n"
--			 "    %s%s%spostgres%s -D %s%s%s\n"
--			 "or\n"
 -			 "    %s%s%spg_ctl%s -D %s%s%s -l logfile start\n\n"),
 -	   QUOTE_PATH, bin_dir, (strlen(bin_dir) > 0) ? DIR_SEP : "", QUOTE_PATH,
--		   QUOTE_PATH, pgdata_native, QUOTE_PATH,
--	   QUOTE_PATH, bin_dir, (strlen(bin_dir) > 0) ? DIR_SEP : "", QUOTE_PATH,
 -		   QUOTE_PATH, pgdata_native, QUOTE_PATH);
--
 +	printf(_("\nSuccess.\n\n"));
+ 
  	return 0;
  }
diff --git a/main/postgresql/postgresql.confd b/main/postgresql/postgresql.confd
index c6e8c6d..9bba4f5 100644
--- a/main/postgresql/postgresql.confd
+++ b/main/postgresql/postgresql.confd
@@ -44,7 +44,7 @@ FORCE_TIMEOUT=2
 ##############################################################################
 
 # PostgreSQL's Database Directory
-PGDATA="/var/lib/postgresql/9.4/data"
+PGDATA="/var/lib/postgresql/9.5/data"
 
 # Additional options to pass to initdb.
 # See `man initdb' for available options.
-- 
2.7.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---