changeset 1357:e5a89f1ee73e

upgrade package postgresql and fix UPDATE macro
author Mark Brand <mabrand@mabrand.nl>
date Sun, 07 Nov 2010 11:49:22 +0100
parents b9f6d372773c
children 0aed4513d73c
files src/postgresql.mk
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/postgresql.mk	Fri Oct 29 20:53:37 2010 +0200
+++ b/src/postgresql.mk	Sun Nov 07 11:49:22 2010 +0100
@@ -4,8 +4,8 @@
 # PostgreSQL
 PKG             := postgresql
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 9.0.0
-$(PKG)_CHECKSUM := ed2f83cd1a83c40dcbe0ba19ee3ba2a7faa0de3d
+$(PKG)_VERSION  := 9.0.1
+$(PKG)_CHECKSUM := 7adeb3c4b661115ec6eb4e5896edfee71f87245e
 $(PKG)_SUBDIR   := postgresql-$($(PKG)_VERSION)
 $(PKG)_FILE     := postgresql-$($(PKG)_VERSION).tar.bz2
 $(PKG)_WEBSITE  := http://www.postgresql.org/
@@ -14,9 +14,9 @@
 $(PKG)_DEPS     := gcc zlib openssl
 
 define $(PKG)_UPDATE
-    wget -q -O- 'http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/' | \
-    grep '<option>REL' | \
-    $(SED) -n 's,.*REL\([0-9][0-9_]*\)<.*,\1,p' | \
+    wget -q -O- 'http://git.postgresql.org/gitweb?p=postgresql.git;a=tags' | \
+    grep 'refs/tags/REL[0-9_]*"' | \
+    $(SED) 's,.*refs/tags/REL\(.*\)".*,\1,g;' | \
     $(SED) 's,_,.,g' | \
     head -1
 endef