aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/postgresql
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-07 23:19:51 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-05-10 08:55:54 +0200
commitb7c3d6989313170fcd071f39f9eca01721ab36c5 (patch)
tree73d34f1ebd88696b264a40a32a83d1bb99ea983f /meta-oe/recipes-support/postgresql
parentc6d80dc43e1916007b84fb0f8e86ccd7c90c1da9 (diff)
downloadmeta-openembedded-contrib-b7c3d6989313170fcd071f39f9eca01721ab36c5.tar.gz
postgresql: update to 8.4.7 since 8.4.4 was unfetchable
This has been synced with postgresql recipes in OE. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-oe/recipes-support/postgresql')
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch (renamed from meta-oe/recipes-support/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch)8
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql.inc6
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql_8.4.4.bb11
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb10
4 files changed, 18 insertions, 17 deletions
diff --git a/meta-oe/recipes-support/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch b/meta-oe/recipes-support/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch
index d027061d89..514a9aa7b0 100644
--- a/meta-oe/recipes-support/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch
+++ b/meta-oe/recipes-support/postgresql/postgresql-8.4.7/remove.autoconf.version.check.patch
@@ -1,10 +1,10 @@
-Index: postgresql-8.4.4/configure.in
+Index: postgresql-8.4.7/configure.in
===================================================================
---- postgresql-8.4.4.orig/configure.in
-+++ postgresql-8.4.4/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.4], [pgsql-bugs@postgresql.org])
+ 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
diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index edad3bcc5b..53c38df0de 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -1,14 +1,14 @@
DESCRIPTION = "PostgreSQL is a powerful, open source relational database system."
HOMEPAGE = "http://www.postgresql.com"
LICENSE = "BSD"
-
DEPENDS = "zlib readline tzcode-native"
+INC_PR = "r5"
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"
@@ -17,6 +17,8 @@ export LDFLAGS_SL = "${LDFLAGS}"
inherit autotools pkgconfig
+EXTRA_OECONF_sh4 = "--disable-spinlocks"
+
do_compile_append() {
cp /usr/sbin/zic ${S}/src/timezone/
}
diff --git a/meta-oe/recipes-support/postgresql/postgresql_8.4.4.bb b/meta-oe/recipes-support/postgresql/postgresql_8.4.4.bb
deleted file mode 100644
index d0f5078498..0000000000
--- a/meta-oe/recipes-support/postgresql/postgresql_8.4.4.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require postgresql.inc
-
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=29b81b066680be9ffd98cb9d2afb9de6"
-
-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/meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb b/meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb
new file mode 100644
index 0000000000..63f324c928
--- /dev/null
+++ b/meta-oe/recipes-support/postgresql/postgresql_8.4.7.bb
@@ -0,0 +1,10 @@
+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"