From cef9aaa744f75fbe6a254909d2fb1a942f2e0df8 Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Fri, 26 Jul 2013 14:57:26 +0000 Subject: postgresql: upgrade to 9.2.4 Signed-off-by: Mihai Prica Signed-off-by: Martin Jansa --- .../postgresql-8.4.7/remove.autoconf.version.check.patch | 15 --------------- .../postgresql-9.2.4/remove.autoconf.version.check.patch | 15 +++++++++++++++ meta-oe/recipes-support/postgresql/postgresql.inc | 4 ++-- meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb | 10 ---------- meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb | 10 ++++++++++ 5 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta-oe/recipes-support/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch create mode 100644 meta-oe/recipes-support/postgresql/postgresql-9.2.4/remove.autoconf.version.check.patch delete mode 100644 meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb create mode 100644 meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb diff --git a/meta-oe/recipes-support/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch b/meta-oe/recipes-support/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch deleted file mode 100644 index 514a9aa7b0..0000000000 --- a/meta-oe/recipes-support/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: postgresql-8.4.7/configure.in -=================================================================== ---- postgresql-8.4.7.orig/configure.in -+++ postgresql-8.4.7/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch un - - AC_INIT([PostgreSQL], [8.4.7], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.61], [], [m4_fatal([Autoconf version 2.61 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2009, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) diff --git a/meta-oe/recipes-support/postgresql/postgresql-9.2.4/remove.autoconf.version.check.patch b/meta-oe/recipes-support/postgresql/postgresql-9.2.4/remove.autoconf.version.check.patch new file mode 100644 index 0000000000..022aa3d760 --- /dev/null +++ b/meta-oe/recipes-support/postgresql/postgresql-9.2.4/remove.autoconf.version.check.patch @@ -0,0 +1,15 @@ +Index: postgresql-9.2.4/configure.in +=================================================================== +--- postgresql-9.2.4.orig/configure.in ++++ postgresql-9.2.4/configure.in +@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch un + + AC_INIT([PostgreSQL], [9.2.4], [pgsql-bugs@postgresql.org]) + +-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.63], [], [m4_fatal([Autoconf version 2.63 is required. +-Untested combinations of 'autoconf' and PostgreSQL versions are not +-recommended. You can remove the check from 'configure.in' but it is then +-your responsibility whether the result works or not.])]) + AC_COPYRIGHT([Copyright (c) 1996-2012, PostgreSQL Global Development Group]) + AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) + AC_CONFIG_AUX_DIR(config) diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc index 4fda67b4b8..5f2088e991 100644 --- a/meta-oe/recipes-support/postgresql/postgresql.inc +++ b/meta-oe/recipes-support/postgresql/postgresql.inc @@ -2,13 +2,13 @@ DESCRIPTION = "PostgreSQL is a powerful, open source relational database system. HOMEPAGE = "http://www.postgresql.com" LICENSE = "BSD" DEPENDS = "zlib readline tzcode-native" -INC_PR = "r8" +INC_PR = "r0" ARM_INSTRUCTION_SET = "arm" #WARNING: this recipe assumes you have the timezone compiler present in /usr/sbin/zic -SRC_URI = "ftp://ftp.postgresql.org/pub/source/v${PV}/${P}.tar.bz2" +SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${P}.tar.bz2" LEAD_SONAME = "libpq.so" diff --git a/meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb b/meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb deleted file mode 100644 index 63f324c928..0000000000 --- a/meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb +++ /dev/null @@ -1,10 +0,0 @@ -require postgresql.inc - -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=29b81b066680be9ffd98cb9d2afb9de6" - -PR = "${INC_PR}.0" - -SRC_URI += "file://remove.autoconf.version.check.patch" - -SRC_URI[md5sum] = "689397187bb1dfe9b5cbde99538311c3" -SRC_URI[sha256sum] = "08032849da121e67e318f7ff4e68d3ac88f29050e242641f717c4270839b597b" diff --git a/meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb b/meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb new file mode 100644 index 0000000000..59665daf1f --- /dev/null +++ b/meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb @@ -0,0 +1,10 @@ +require postgresql.inc + +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=ab55a5887d3f8ba77d0fd7db787e4bab" + +PR = "${INC_PR}.0" + +SRC_URI += "file://remove.autoconf.version.check.patch" + +SRC_URI[md5sum] = "6ee5bb53b97da7c6ad9cb0825d3300dd" +SRC_URI[sha256sum] = "d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93" -- cgit v1.2.3-54-g00ecf