[oe-commits] Martin Jansa : postgresql: add version 8.4.4

git version control git at git.openembedded.org
Tue Jun 8 21:17:02 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3132122132d959074a11f8ae01266e981bbfb3f0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3132122132d959074a11f8ae01266e981bbfb3f0

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Jun  8 16:11:27 2010 +0200

postgresql: add version 8.4.4

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../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 deletions(-)

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 0000000..d027061
--- /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 at 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 4a11e2a..882f0cb 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 0000000..0ec1769
--- /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"





More information about the Openembedded-commits mailing list