From 3132122132d959074a11f8ae01266e981bbfb3f0 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 8 Jun 2010 16:11:27 +0200 Subject: postgresql: add version 8.4.4 Signed-off-by: Martin Jansa --- .../postgresql-8.4.4/remove.autoconf.version.check.patch | 15 +++++++++++++++ recipes/postgresql/postgresql.inc | 2 +- recipes/postgresql/postgresql_8.4.4.bb | 9 +++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 recipes/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch create mode 100644 recipes/postgresql/postgresql_8.4.4.bb (limited to 'recipes/postgresql') 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 new file mode 100644 index 0000000000..d027061d89 --- /dev/null +++ b/recipes/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch @@ -0,0 +1,15 @@ +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.inc b/recipes/postgresql/postgresql.inc index 4a11e2a420..882f0cb4c3 100644 --- a/recipes/postgresql/postgresql.inc +++ b/recipes/postgresql/postgresql.inc @@ -64,7 +64,7 @@ FILES_libecpg-dev = "${libdir}/libecpg*.a ${libdir}/libecpg*.so \ ${includedir}/sql3types.h ${includedir}/sqlca.h" FILES_libpq = "${libdir}/libpq*.so.*" -FILES_libpq-dbg = "${libdir}/.debug/libpq*" +FILES_libpq-dbg = "${libdir}/.debug/libpq* ${libdir}/${PN}/pgxs/src/test/regress/.debug/*" FILES_libpq-dev = "${libdir}/libpq*.a ${libdir}/libpq*.so ${libdir}/libpgport.a \ ${includedir}" diff --git a/recipes/postgresql/postgresql_8.4.4.bb b/recipes/postgresql/postgresql_8.4.4.bb new file mode 100644 index 0000000000..0ec1769ebf --- /dev/null +++ b/recipes/postgresql/postgresql_8.4.4.bb @@ -0,0 +1,9 @@ +require postgresql.inc + +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" -- cgit 1.2.3-korg