postgresql: add version 8.4.4
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 8 Jun 2010 14:11:27 +0000 (16:11 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 8 Jun 2010 20:52:17 +0000 (22:52 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/postgresql/postgresql-8.4.4/remove.autoconf.version.check.patch [new file with mode: 0644]
recipes/postgresql/postgresql.inc
recipes/postgresql/postgresql_8.4.4.bb [new file with mode: 0644]

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 (file)
index 0000000..d027061
--- /dev/null
@@ -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)
index 4a11e2a..882f0cb 100644 (file)
@@ -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 (file)
index 0000000..0ec1769
--- /dev/null
@@ -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"