Received: from hsvwanfw1-nat.mentorg.com ([139.181.24.34] helo=alm.mentorg.com) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Pnfsy-0006pa-MC for openembedded-devel@lists.openembedded.org; Fri, 11 Feb 2011 00:25:18 +0100 Received: from localhost.localdomain ([134.86.97.17]) by alm.mentorg.com (8.12.10/8.12.10) with ESMTP id p1ANOA1l008017 for ; Thu, 10 Feb 2011 17:24:10 -0600 From: Tom Rini To: openembedded-devel@lists.openembedded.org Date: Thu, 10 Feb 2011 16:24:10 -0700 Message-Id: <1297380250-22567-1-git-send-email-tom_rini@mentor.com> X-Mailer: git-send-email 1.7.0.4 Subject: [PATCH] postgresql: Update from 8.4.4 to 8.4.7, drop 8.1.x, 8.2.4 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 23:25:18 -0000 We update SHR to pinning 8.4.7 (safe upgrade) and drop 8.1.x (EOL) and 8.2.x (un-pinned and EOL this year). Signed-off-by: Tom Rini --- conf/distro/include/preferred-shr-versions.inc | 2 +- .../remove.autoconf.version.check.patch | 15 --------------- .../remove.autoconf.version.check.patch | 15 +++++++++++++++ recipes/postgresql/postgresql.inc | 2 +- recipes/postgresql/postgresql_8.1.4.bb | 6 ------ recipes/postgresql/postgresql_8.1.8.bb | 6 ------ recipes/postgresql/postgresql_8.2.4.bb | 10 ---------- recipes/postgresql/postgresql_8.4.4.bb | 11 ----------- recipes/postgresql/postgresql_8.4.7.bb | 8 ++++++++ 9 files changed, 25 insertions(+), 50 deletions(-) delete mode 100644 recipes/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch create mode 100644 recipes/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch delete mode 100644 recipes/postgresql/postgresql_8.1.4.bb delete mode 100644 recipes/postgresql/postgresql_8.1.8.bb delete mode 100644 recipes/postgresql/postgresql_8.2.4.bb delete mode 100644 recipes/postgresql/postgresql_8.4.4.bb create mode 100644 recipes/postgresql/postgresql_8.4.7.bb diff --git a/conf/distro/include/preferred-shr-versions.inc b/conf/distro/include/preferred-shr-versions.inc index eede319..2709102 100644 --- a/conf/distro/include/preferred-shr-versions.inc +++ b/conf/distro/include/preferred-shr-versions.inc @@ -29,7 +29,7 @@ PREFERRED_VERSION_perl = "5.10.1" PREFERRED_VERSION_perl-native = "5.10.1" UDEV_GE_141 = "1" -PREFERRED_VERSION_postgresql = "8.4.4" +PREFERRED_VERSION_postgresql = "8.4.7" ANGSTROM_QT_VERSION ?= "4.7.1" PREFERRED_VERSION_qt4-tools-native = "${ANGSTROM_QT_VERSION}" PREFERRED_VERSION_qt4-tools-sdk = "${ANGSTROM_QT_VERSION}" diff --git a/recipes/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch b/recipes/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch deleted file mode 100644 index d027061..0000000 --- a/recipes/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: postgresql-8.4.4/configure.in -=================================================================== ---- postgresql-8.4.4.orig/configure.in -+++ postgresql-8.4.4/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch un - - AC_INIT([PostgreSQL], [8.4.4], [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/recipes/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch b/recipes/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch new file mode 100644 index 0000000..514a9aa --- /dev/null +++ b/recipes/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch @@ -0,0 +1,15 @@ +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/recipes/postgresql/postgresql.inc b/recipes/postgresql/postgresql.inc index e8cf561..53c38df 100644 --- a/recipes/postgresql/postgresql.inc +++ b/recipes/postgresql/postgresql.inc @@ -8,7 +8,7 @@ ARM_INSTRUCTION_SET = "arm" #WARNING: this recipe assumes you have the timezone compiler present in /usr/sbin/zic -SRC_URI = "ftp://ftp-archives.postgresql.org/pub/source/v${PV}/${P}.tar.bz2" +SRC_URI = "ftp://ftp.postgresql.org/pub/source/v${PV}/${P}.tar.bz2" LEAD_SONAME = "libpq.so" diff --git a/recipes/postgresql/postgresql_8.1.4.bb b/recipes/postgresql/postgresql_8.1.4.bb deleted file mode 100644 index 8a1db3a..0000000 --- a/recipes/postgresql/postgresql_8.1.4.bb +++ /dev/null @@ -1,6 +0,0 @@ -require postgresql.inc - -PR = "${INC_PR}.0" - -SRC_URI[md5sum] = "a65bdc5d833169d28bf6fbaaa8d57fcf" -SRC_URI[sha256sum] = "ac7e7d311b07abd27b084041bcc943398df303bc86601f281891537bdf1a4e0b" diff --git a/recipes/postgresql/postgresql_8.1.8.bb b/recipes/postgresql/postgresql_8.1.8.bb deleted file mode 100644 index ae9ac69..0000000 --- a/recipes/postgresql/postgresql_8.1.8.bb +++ /dev/null @@ -1,6 +0,0 @@ -require postgresql.inc - -PR = "${INC_PR}.0" - -SRC_URI[md5sum] = "b05e1d7f0cac9cc4e096aa21409dee55" -SRC_URI[sha256sum] = "91f75eb29c07271fcbfa2082c8300690efe4a72f2fbf35dace98108b0c6f7ba3" diff --git a/recipes/postgresql/postgresql_8.2.4.bb b/recipes/postgresql/postgresql_8.2.4.bb deleted file mode 100644 index f4162ab..0000000 --- a/recipes/postgresql/postgresql_8.2.4.bb +++ /dev/null @@ -1,10 +0,0 @@ -require postgresql.inc - -PR = "${INC_PR}.0" - -DEFAULT_PREFERENCE = "-1" - -SRC_URI += "file://no-ecpg-test.patch" - -SRC_URI[md5sum] = "af7ec100a33c41bfb8d87b5e0ec2f44a" -SRC_URI[sha256sum] = "8ff6afab743e894c0d96e668dcf9b3d3c1044719d6def45ef7390c64b54ed268" diff --git a/recipes/postgresql/postgresql_8.4.4.bb b/recipes/postgresql/postgresql_8.4.4.bb deleted file mode 100644 index d9bf58e..0000000 --- a/recipes/postgresql/postgresql_8.4.4.bb +++ /dev/null @@ -1,11 +0,0 @@ -require postgresql.inc - -PR = "${INC_PR}.0" - -DEFAULT_PREFERENCE = "-1" - -SRC_URI = "ftp://ftp.postgresql.org/pub/source/v${PV}/${P}.tar.bz2 \ - file://remove.autoconf.version.check.patch" - -SRC_URI[md5sum] = "4bf2448ad965bca3940df648c02194df" -SRC_URI[sha256sum] = "e66b398d565f7fb16d8ae58ae72881dcd3dbb1b88f532bbe1c2d1284812be37e" diff --git a/recipes/postgresql/postgresql_8.4.7.bb b/recipes/postgresql/postgresql_8.4.7.bb new file mode 100644 index 0000000..696cfd9 --- /dev/null +++ b/recipes/postgresql/postgresql_8.4.7.bb @@ -0,0 +1,8 @@ +require postgresql.inc + +PR = "${INC_PR}.0" + +SRC_URI += "file://remove.autoconf.version.check.patch" + +SRC_URI[md5sum] = "689397187bb1dfe9b5cbde99538311c3" +SRC_URI[sha256sum] = "08032849da121e67e318f7ff4e68d3ac88f29050e242641f717c4270839b597b" -- 1.7.0.4