summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-06-09 13:19:57 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-06-09 13:19:57 +0000
commit477ecbe8974188cd6473b7182507459035abdec6 (patch)
tree3ac9cb3fe44b4316ebf32bc4ecbbe201e696d605 /dev-db/postgresql
parentAdded ~ppc keyword (diff)
downloadhistorical-477ecbe8974188cd6473b7182507459035abdec6.tar.gz
historical-477ecbe8974188cd6473b7182507459035abdec6.tar.bz2
historical-477ecbe8974188cd6473b7182507459035abdec6.zip
Dropped old versions.
Package-Manager: portage-2.1.2.10
Diffstat (limited to 'dev-db/postgresql')
-rw-r--r--dev-db/postgresql/ChangeLog30
-rw-r--r--dev-db/postgresql/Manifest216
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.15-r19
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.1612
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.1812
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.1312
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.1412
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.1612
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.9-r112
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.1.5-r112
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.1.812
-rw-r--r--dev-db/postgresql/files/postgresql-7.3-cubeparse.patch36
-rw-r--r--dev-db/postgresql/files/postgresql-7.3-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.16-cubeparse.patch36
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.16-gentoo.patch63
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.18-cubeparse.patch36
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.18-gentoo.patch63
-rw-r--r--dev-db/postgresql/files/postgresql-7.4-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.4-hppa-testandset.patch52
-rw-r--r--dev-db/postgresql/files/postgresql-7.4-vacuum-delay.patch284
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.14-gentoo.patch63
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.14-hppa-testandset.patch50
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.16-gentoo.patch63
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.16-hppa-testandset.patch50
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.9-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.9-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.1-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.1-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.5-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.5-regress_fix.patch33
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.5-regress_su.patch116
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.5-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.8-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.8-regress_fix.patch33
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.8-regress_su.patch116
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.8-sh.patch34
-rw-r--r--dev-db/postgresql/postgresql-7.3.15-r1.ebuild246
-rw-r--r--dev-db/postgresql/postgresql-7.3.16.ebuild242
-rw-r--r--dev-db/postgresql/postgresql-7.3.18.ebuild242
-rw-r--r--dev-db/postgresql/postgresql-7.4.13.ebuild308
-rw-r--r--dev-db/postgresql/postgresql-7.4.14.ebuild271
-rw-r--r--dev-db/postgresql/postgresql-7.4.16.ebuild271
-rw-r--r--dev-db/postgresql/postgresql-8.0.9-r1.ebuild267
-rw-r--r--dev-db/postgresql/postgresql-8.1.5-r1.ebuild247
-rw-r--r--dev-db/postgresql/postgresql-8.1.8.ebuild247
45 files changed, 33 insertions, 4183 deletions
diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog
index ceb0ef499e51..2e7856ceb213 100644
--- a/dev-db/postgresql/ChangeLog
+++ b/dev-db/postgresql/ChangeLog
@@ -1,6 +1,34 @@
# ChangeLog for dev-db/postgresql
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.346 2007/05/06 22:17:43 yoswink Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.347 2007/06/09 13:19:57 dev-zero Exp $
+
+ 09 Jun 2007; Tiziano Müller <dev-zero@gentoo.org>
+ -files/postgresql-7.3.16-cubeparse.patch,
+ -files/postgresql-7.3.16-gentoo.patch,
+ -files/postgresql-7.3.18-cubeparse.patch,
+ -files/postgresql-7.3.18-gentoo.patch,
+ -files/postgresql-7.3-cubeparse.patch, -files/postgresql-7.3-gentoo.patch,
+ -files/postgresql-7.4.14-gentoo.patch,
+ -files/postgresql-7.4.14-hppa-testandset.patch,
+ -files/postgresql-7.4.16-gentoo.patch,
+ -files/postgresql-7.4.16-hppa-testandset.patch,
+ -files/postgresql-7.4-gentoo.patch,
+ -files/postgresql-7.4-hppa-testandset.patch,
+ -files/postgresql-7.4-vacuum-delay.patch,
+ -files/postgresql-8.0.9-gentoo.patch, -files/postgresql-8.0.9-sh.patch,
+ -files/postgresql-8.1.5-gentoo.patch,
+ -files/postgresql-8.1.5-regress_fix.patch,
+ -files/postgresql-8.1.5-regress_su.patch,
+ -files/postgresql-8.1.5-sh.patch, -files/postgresql-8.1.8-gentoo.patch,
+ -files/postgresql-8.1.8-regress_fix.patch,
+ -files/postgresql-8.1.8-regress_su.patch,
+ -files/postgresql-8.1.8-sh.patch, -files/postgresql-8.1-gentoo.patch,
+ -files/postgresql-8.1-sh.patch, -postgresql-7.3.15-r1.ebuild,
+ -postgresql-7.3.16.ebuild, -postgresql-7.3.18.ebuild,
+ -postgresql-7.4.13.ebuild, -postgresql-7.4.14.ebuild,
+ -postgresql-7.4.16.ebuild, -postgresql-8.0.9-r1.ebuild,
+ -postgresql-8.1.5-r1.ebuild, -postgresql-8.1.8.ebuild:
+ Dropped old versions.
07 May 2007; Jose Luis Rivero <yoswink@gentoo.org>
postgresql-7.3.19.ebuild, postgresql-7.4.17.ebuild,
diff --git a/dev-db/postgresql/Manifest b/dev-db/postgresql/Manifest
index 5a6b447fa2e7..be93abbbc834 100644
--- a/dev-db/postgresql/Manifest
+++ b/dev-db/postgresql/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pg_autovacuum.conf-7.4 503 RMD160 ee3da3918e26113918a47cc6e2da544f97879bc2 SHA1 b47f6f3698ce12cbe955490b80ec98ac4cdd8afb SHA256 8141a1ab17a74e3916b4ba834f10eaf0bd925de374ead972d3d2f5e78078e090
MD5 3e0310e00bfe34e77bb8c39903e16d6c files/pg_autovacuum.conf-7.4 503
RMD160 ee3da3918e26113918a47cc6e2da544f97879bc2 files/pg_autovacuum.conf-7.4 503
@@ -17,62 +14,10 @@ AUX pg_autovacuum.init-8.0 1457 RMD160 620731601a73267e52d0cf459dac4c13a1dc94f4
MD5 92ae9f4fbbe0221fcd8d6dc357bd12c0 files/pg_autovacuum.init-8.0 1457
RMD160 620731601a73267e52d0cf459dac4c13a1dc94f4 files/pg_autovacuum.init-8.0 1457
SHA256 f0f8c1f85fdad5fc0c75a1299ddf904f9b1165eece2e67de7a3a99f82c97fa42 files/pg_autovacuum.init-8.0 1457
-AUX postgresql-7.3-cubeparse.patch 1296 RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 SHA1 c128746e9938d7aaa4f2be6521530d07c7e207a8 SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada
-MD5 5d36c9cda475e2aaf9609655dfb44ac1 files/postgresql-7.3-cubeparse.patch 1296
-RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 files/postgresql-7.3-cubeparse.patch 1296
-SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada files/postgresql-7.3-cubeparse.patch 1296
-AUX postgresql-7.3-gentoo.patch 1741 RMD160 15fdb099bbaa8c3fcf139c09a5bbccdeb5e31a41 SHA1 ee81ac8d96dd2e349de24c33a4816ff2598348bb SHA256 998d5feaaacb5b2bdf54dccaa22a947ede262c6e72ac884c11b42376c4f3d2ae
-MD5 24dbe742a511f6c7bba4cbd940c8c4b5 files/postgresql-7.3-gentoo.patch 1741
-RMD160 15fdb099bbaa8c3fcf139c09a5bbccdeb5e31a41 files/postgresql-7.3-gentoo.patch 1741
-SHA256 998d5feaaacb5b2bdf54dccaa22a947ede262c6e72ac884c11b42376c4f3d2ae files/postgresql-7.3-gentoo.patch 1741
-AUX postgresql-7.3.16-cubeparse.patch 1296 RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 SHA1 c128746e9938d7aaa4f2be6521530d07c7e207a8 SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada
-MD5 5d36c9cda475e2aaf9609655dfb44ac1 files/postgresql-7.3.16-cubeparse.patch 1296
-RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 files/postgresql-7.3.16-cubeparse.patch 1296
-SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada files/postgresql-7.3.16-cubeparse.patch 1296
-AUX postgresql-7.3.16-gentoo.patch 2253 RMD160 c8ecc1797c7aefd94363cb4479bea1cc345fb622 SHA1 59a9cbf9c3ca36f81ec8a88504eb6523f641639e SHA256 801bc08232ea7cdaca8bd0179f28db6bb207702b2b394c895f6fccaff5402b8a
-MD5 d50cead2635608aa6893178d8c4ac8da files/postgresql-7.3.16-gentoo.patch 2253
-RMD160 c8ecc1797c7aefd94363cb4479bea1cc345fb622 files/postgresql-7.3.16-gentoo.patch 2253
-SHA256 801bc08232ea7cdaca8bd0179f28db6bb207702b2b394c895f6fccaff5402b8a files/postgresql-7.3.16-gentoo.patch 2253
-AUX postgresql-7.3.18-cubeparse.patch 1296 RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 SHA1 c128746e9938d7aaa4f2be6521530d07c7e207a8 SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada
-MD5 5d36c9cda475e2aaf9609655dfb44ac1 files/postgresql-7.3.18-cubeparse.patch 1296
-RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 files/postgresql-7.3.18-cubeparse.patch 1296
-SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada files/postgresql-7.3.18-cubeparse.patch 1296
-AUX postgresql-7.3.18-gentoo.patch 2253 RMD160 c8ecc1797c7aefd94363cb4479bea1cc345fb622 SHA1 59a9cbf9c3ca36f81ec8a88504eb6523f641639e SHA256 801bc08232ea7cdaca8bd0179f28db6bb207702b2b394c895f6fccaff5402b8a
-MD5 d50cead2635608aa6893178d8c4ac8da files/postgresql-7.3.18-gentoo.patch 2253
-RMD160 c8ecc1797c7aefd94363cb4479bea1cc345fb622 files/postgresql-7.3.18-gentoo.patch 2253
-SHA256 801bc08232ea7cdaca8bd0179f28db6bb207702b2b394c895f6fccaff5402b8a files/postgresql-7.3.18-gentoo.patch 2253
AUX postgresql-7.3.19-cubeparse.patch 1296 RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 SHA1 c128746e9938d7aaa4f2be6521530d07c7e207a8 SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada
MD5 5d36c9cda475e2aaf9609655dfb44ac1 files/postgresql-7.3.19-cubeparse.patch 1296
RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 files/postgresql-7.3.19-cubeparse.patch 1296
SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada files/postgresql-7.3.19-cubeparse.patch 1296
-AUX postgresql-7.4-gentoo.patch 1741 RMD160 202f7c21d984a45a1adec0ac92ae727bd75535c6 SHA1 205293bd138db9948220cbcdc401f202eb9814a5 SHA256 9bd9fefdb9d5d8a62ec00c8ac0175322ae66ca860c3571593fea81ffd4add8dc
-MD5 048439fadb678ce304dec9629829bcc2 files/postgresql-7.4-gentoo.patch 1741
-RMD160 202f7c21d984a45a1adec0ac92ae727bd75535c6 files/postgresql-7.4-gentoo.patch 1741
-SHA256 9bd9fefdb9d5d8a62ec00c8ac0175322ae66ca860c3571593fea81ffd4add8dc files/postgresql-7.4-gentoo.patch 1741
-AUX postgresql-7.4-hppa-testandset.patch 1604 RMD160 5b35c3f819743df3b982916de8d2568ca4350c30 SHA1 d473d4c9a3d3e81ac7f80f03e13f50f8ae76214f SHA256 423e54452aaebb988488102c312214bc536600612049ab888fcf2a26eaa29668
-MD5 50c4723189d547a027340c928c0af87c files/postgresql-7.4-hppa-testandset.patch 1604
-RMD160 5b35c3f819743df3b982916de8d2568ca4350c30 files/postgresql-7.4-hppa-testandset.patch 1604
-SHA256 423e54452aaebb988488102c312214bc536600612049ab888fcf2a26eaa29668 files/postgresql-7.4-hppa-testandset.patch 1604
-AUX postgresql-7.4-vacuum-delay.patch 8918 RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 SHA1 fe701fd6ca6cc9519417ab1053ef61a50ca51281 SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123
-MD5 2e87af398df0a957bf2f2dff754ac174 files/postgresql-7.4-vacuum-delay.patch 8918
-RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 files/postgresql-7.4-vacuum-delay.patch 8918
-SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123 files/postgresql-7.4-vacuum-delay.patch 8918
-AUX postgresql-7.4.14-gentoo.patch 2246 RMD160 618bfbcc5de1ab2aea671d97527b4cf7af1fa55e SHA1 d316491ba1ee1f3d751020aba6b4839671f73634 SHA256 9f90274605a96f5e62a23a5a299d28c37b8e3af114baa98675524a07e3648557
-MD5 72fb3a920e30c1b068c6c05c7349b1f7 files/postgresql-7.4.14-gentoo.patch 2246
-RMD160 618bfbcc5de1ab2aea671d97527b4cf7af1fa55e files/postgresql-7.4.14-gentoo.patch 2246
-SHA256 9f90274605a96f5e62a23a5a299d28c37b8e3af114baa98675524a07e3648557 files/postgresql-7.4.14-gentoo.patch 2246
-AUX postgresql-7.4.14-hppa-testandset.patch 1394 RMD160 8f65f37b7e6cf251c4ab134227570ee9974915a8 SHA1 359a4b598aa419d5ae92d746d13abd4a6e05a0cf SHA256 226f17c6064f53be2908325153b64e5f3b7d3e2275b7bd0f1abac27404b4678e
-MD5 2bf25091efb109eaf759b63e39b08716 files/postgresql-7.4.14-hppa-testandset.patch 1394
-RMD160 8f65f37b7e6cf251c4ab134227570ee9974915a8 files/postgresql-7.4.14-hppa-testandset.patch 1394
-SHA256 226f17c6064f53be2908325153b64e5f3b7d3e2275b7bd0f1abac27404b4678e files/postgresql-7.4.14-hppa-testandset.patch 1394
-AUX postgresql-7.4.16-gentoo.patch 2246 RMD160 618bfbcc5de1ab2aea671d97527b4cf7af1fa55e SHA1 d316491ba1ee1f3d751020aba6b4839671f73634 SHA256 9f90274605a96f5e62a23a5a299d28c37b8e3af114baa98675524a07e3648557
-MD5 72fb3a920e30c1b068c6c05c7349b1f7 files/postgresql-7.4.16-gentoo.patch 2246
-RMD160 618bfbcc5de1ab2aea671d97527b4cf7af1fa55e files/postgresql-7.4.16-gentoo.patch 2246
-SHA256 9f90274605a96f5e62a23a5a299d28c37b8e3af114baa98675524a07e3648557 files/postgresql-7.4.16-gentoo.patch 2246
-AUX postgresql-7.4.16-hppa-testandset.patch 1394 RMD160 8f65f37b7e6cf251c4ab134227570ee9974915a8 SHA1 359a4b598aa419d5ae92d746d13abd4a6e05a0cf SHA256 226f17c6064f53be2908325153b64e5f3b7d3e2275b7bd0f1abac27404b4678e
-MD5 2bf25091efb109eaf759b63e39b08716 files/postgresql-7.4.16-hppa-testandset.patch 1394
-RMD160 8f65f37b7e6cf251c4ab134227570ee9974915a8 files/postgresql-7.4.16-hppa-testandset.patch 1394
-SHA256 226f17c6064f53be2908325153b64e5f3b7d3e2275b7bd0f1abac27404b4678e files/postgresql-7.4.16-hppa-testandset.patch 1394
AUX postgresql-7.4.17-hppa-testandset.patch 1394 RMD160 8f65f37b7e6cf251c4ab134227570ee9974915a8 SHA1 359a4b598aa419d5ae92d746d13abd4a6e05a0cf SHA256 226f17c6064f53be2908325153b64e5f3b7d3e2275b7bd0f1abac27404b4678e
MD5 2bf25091efb109eaf759b63e39b08716 files/postgresql-7.4.17-hppa-testandset.patch 1394
RMD160 8f65f37b7e6cf251c4ab134227570ee9974915a8 files/postgresql-7.4.17-hppa-testandset.patch 1394
@@ -97,54 +42,6 @@ AUX postgresql-8.0.13-sh.patch 617 RMD160 d826fbb45265d09880000ea33ac3323beabb0f
MD5 0616d8126fb38e59b56f2922654e4724 files/postgresql-8.0.13-sh.patch 617
RMD160 d826fbb45265d09880000ea33ac3323beabb0f50 files/postgresql-8.0.13-sh.patch 617
SHA256 420023f4789c650189da203d43b134d511ff1b976d17a3948774b0c7bf72d683 files/postgresql-8.0.13-sh.patch 617
-AUX postgresql-8.0.9-gentoo.patch 1690 RMD160 7ffb80d6d8929208e8f200b96828d79b3fdccba7 SHA1 f72f8378ba5574e84183c5003ce13da73dd25dc3 SHA256 f6e53a979737a36934310c011e3377ebd6502cabdfde67e3dfa10f1e62dbda8e
-MD5 dfff1d8d131a79d76b48ec9da90c621a files/postgresql-8.0.9-gentoo.patch 1690
-RMD160 7ffb80d6d8929208e8f200b96828d79b3fdccba7 files/postgresql-8.0.9-gentoo.patch 1690
-SHA256 f6e53a979737a36934310c011e3377ebd6502cabdfde67e3dfa10f1e62dbda8e files/postgresql-8.0.9-gentoo.patch 1690
-AUX postgresql-8.0.9-sh.patch 617 RMD160 d826fbb45265d09880000ea33ac3323beabb0f50 SHA1 e9a271f0fae2bad9150dbb8579615c90253e538b SHA256 420023f4789c650189da203d43b134d511ff1b976d17a3948774b0c7bf72d683
-MD5 0616d8126fb38e59b56f2922654e4724 files/postgresql-8.0.9-sh.patch 617
-RMD160 d826fbb45265d09880000ea33ac3323beabb0f50 files/postgresql-8.0.9-sh.patch 617
-SHA256 420023f4789c650189da203d43b134d511ff1b976d17a3948774b0c7bf72d683 files/postgresql-8.0.9-sh.patch 617
-AUX postgresql-8.1-gentoo.patch 1200 RMD160 41c3e001f530f7b67d2b6a346ad1a15b234670e9 SHA1 1894e4868514dc87e7c0f895ec9e23e55f3ea8f8 SHA256 ec9b02466ee78dc29aabb571f8ee5f324e116b300e7d23a1d33ae92842383799
-MD5 a8a16e7f40fc40211b4e497b0036aa7f files/postgresql-8.1-gentoo.patch 1200
-RMD160 41c3e001f530f7b67d2b6a346ad1a15b234670e9 files/postgresql-8.1-gentoo.patch 1200
-SHA256 ec9b02466ee78dc29aabb571f8ee5f324e116b300e7d23a1d33ae92842383799 files/postgresql-8.1-gentoo.patch 1200
-AUX postgresql-8.1-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.1-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.1-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.1-sh.patch 618
-AUX postgresql-8.1.5-gentoo.patch 1690 RMD160 ab6eda25b2f8b20b55b1e75793a8f474acdde27b SHA1 093d27ff15c43dccae059b12e9285678e5fe0a93 SHA256 142dc6f16fcbf4206521ed98639e0f0a663e7aa18266cc6f5a7ef59c8aafb701
-MD5 a1a8a22d51af169f758686f2e30b3c26 files/postgresql-8.1.5-gentoo.patch 1690
-RMD160 ab6eda25b2f8b20b55b1e75793a8f474acdde27b files/postgresql-8.1.5-gentoo.patch 1690
-SHA256 142dc6f16fcbf4206521ed98639e0f0a663e7aa18266cc6f5a7ef59c8aafb701 files/postgresql-8.1.5-gentoo.patch 1690
-AUX postgresql-8.1.5-regress_fix.patch 1338 RMD160 cb952f60626ae4a49f796dd9e825bb2d874770aa SHA1 69dad8a164b24755373ee220e5113d170f72648d SHA256 98d8b35e4ef626675418a59572c4ebe76c41efa1cb5a05aebf5c7009b6a27e1b
-MD5 1e82efb412ac5577dc50faa0505fb62e files/postgresql-8.1.5-regress_fix.patch 1338
-RMD160 cb952f60626ae4a49f796dd9e825bb2d874770aa files/postgresql-8.1.5-regress_fix.patch 1338
-SHA256 98d8b35e4ef626675418a59572c4ebe76c41efa1cb5a05aebf5c7009b6a27e1b files/postgresql-8.1.5-regress_fix.patch 1338
-AUX postgresql-8.1.5-regress_su.patch 5256 RMD160 7fe3080e015dd329e4502958a743f625e1ce9ccd SHA1 da1a69d3a622ebb1f3af68aa6fd0d4939c8e72b7 SHA256 a7ee073ac2940db3d7a8241923a58836c4e0c6b85b3dd3845ee6024cf4b83a05
-MD5 3caefdecf0acf62c7c41bd71a485a8ff files/postgresql-8.1.5-regress_su.patch 5256
-RMD160 7fe3080e015dd329e4502958a743f625e1ce9ccd files/postgresql-8.1.5-regress_su.patch 5256
-SHA256 a7ee073ac2940db3d7a8241923a58836c4e0c6b85b3dd3845ee6024cf4b83a05 files/postgresql-8.1.5-regress_su.patch 5256
-AUX postgresql-8.1.5-sh.patch 617 RMD160 56d0cb67f9b35402aa18dfce97fef343b78e1def SHA1 9ea425884b643a2ab364c4d4baa45e54a782206a SHA256 02ed0204e5075d6989e6d7f99def819396672468f829ce13b03e4763b74c0cad
-MD5 baa6ba3092f75fcde19f31d46909a9dd files/postgresql-8.1.5-sh.patch 617
-RMD160 56d0cb67f9b35402aa18dfce97fef343b78e1def files/postgresql-8.1.5-sh.patch 617
-SHA256 02ed0204e5075d6989e6d7f99def819396672468f829ce13b03e4763b74c0cad files/postgresql-8.1.5-sh.patch 617
-AUX postgresql-8.1.8-gentoo.patch 1690 RMD160 ab6eda25b2f8b20b55b1e75793a8f474acdde27b SHA1 093d27ff15c43dccae059b12e9285678e5fe0a93 SHA256 142dc6f16fcbf4206521ed98639e0f0a663e7aa18266cc6f5a7ef59c8aafb701
-MD5 a1a8a22d51af169f758686f2e30b3c26 files/postgresql-8.1.8-gentoo.patch 1690
-RMD160 ab6eda25b2f8b20b55b1e75793a8f474acdde27b files/postgresql-8.1.8-gentoo.patch 1690
-SHA256 142dc6f16fcbf4206521ed98639e0f0a663e7aa18266cc6f5a7ef59c8aafb701 files/postgresql-8.1.8-gentoo.patch 1690
-AUX postgresql-8.1.8-regress_fix.patch 1338 RMD160 cb952f60626ae4a49f796dd9e825bb2d874770aa SHA1 69dad8a164b24755373ee220e5113d170f72648d SHA256 98d8b35e4ef626675418a59572c4ebe76c41efa1cb5a05aebf5c7009b6a27e1b
-MD5 1e82efb412ac5577dc50faa0505fb62e files/postgresql-8.1.8-regress_fix.patch 1338
-RMD160 cb952f60626ae4a49f796dd9e825bb2d874770aa files/postgresql-8.1.8-regress_fix.patch 1338
-SHA256 98d8b35e4ef626675418a59572c4ebe76c41efa1cb5a05aebf5c7009b6a27e1b files/postgresql-8.1.8-regress_fix.patch 1338
-AUX postgresql-8.1.8-regress_su.patch 5256 RMD160 7fe3080e015dd329e4502958a743f625e1ce9ccd SHA1 da1a69d3a622ebb1f3af68aa6fd0d4939c8e72b7 SHA256 a7ee073ac2940db3d7a8241923a58836c4e0c6b85b3dd3845ee6024cf4b83a05
-MD5 3caefdecf0acf62c7c41bd71a485a8ff files/postgresql-8.1.8-regress_su.patch 5256
-RMD160 7fe3080e015dd329e4502958a743f625e1ce9ccd files/postgresql-8.1.8-regress_su.patch 5256
-SHA256 a7ee073ac2940db3d7a8241923a58836c4e0c6b85b3dd3845ee6024cf4b83a05 files/postgresql-8.1.8-regress_su.patch 5256
-AUX postgresql-8.1.8-sh.patch 617 RMD160 56d0cb67f9b35402aa18dfce97fef343b78e1def SHA1 9ea425884b643a2ab364c4d4baa45e54a782206a SHA256 02ed0204e5075d6989e6d7f99def819396672468f829ce13b03e4763b74c0cad
-MD5 baa6ba3092f75fcde19f31d46909a9dd files/postgresql-8.1.8-sh.patch 617
-RMD160 56d0cb67f9b35402aa18dfce97fef343b78e1def files/postgresql-8.1.8-sh.patch 617
-SHA256 02ed0204e5075d6989e6d7f99def819396672468f829ce13b03e4763b74c0cad files/postgresql-8.1.8-sh.patch 617
AUX postgresql-8.1.9-regress_su.patch 5256 RMD160 7fe3080e015dd329e4502958a743f625e1ce9ccd SHA1 da1a69d3a622ebb1f3af68aa6fd0d4939c8e72b7 SHA256 a7ee073ac2940db3d7a8241923a58836c4e0c6b85b3dd3845ee6024cf4b83a05
MD5 3caefdecf0acf62c7c41bd71a485a8ff files/postgresql-8.1.9-regress_su.patch 5256
RMD160 7fe3080e015dd329e4502958a743f625e1ce9ccd files/postgresql-8.1.9-regress_su.patch 5256
@@ -213,97 +110,38 @@ AUX postgresql.init-8.2 1296 RMD160 6d6e25483050ef1f050ad9f2db1e2b90de45fccd SHA
MD5 3cd8ff8b92a56885ecdf76fcab7f7322 files/postgresql.init-8.2 1296
RMD160 6d6e25483050ef1f050ad9f2db1e2b90de45fccd files/postgresql.init-8.2 1296
SHA256 8093531ab1d18eb8ff5231d1357cf5ba6f77bd98debaf9bd8666a8707a3e25e7 files/postgresql.init-8.2 1296
-DIST hier-Pg7.4-0.5.3.tar.gz 34662 RMD160 758a67262ad3dbad649cc8a6b3ef610e6123dd68 SHA1 5b99167a9a87130cc2b7f582e28e3aef6f7f67b3 SHA256 1e56f76560c86227b08faabf78e3a53de4188c6a8f9d1f38b1481427e8fdf74c
DIST hier-Pg8.0.1-0.5.4.diff.gz 30662 RMD160 f212f840d06a914fd668398848baef5a269875eb SHA1 c1a1141363c1d3c14025d97993b5367166c85da4 SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda
-DIST postgresql-base-7.3.15.tar.bz2 5695061 RMD160 55cc363e1ce26ea0c7f79c5adfd90714988afb46 SHA1 059f16d3e98df525e9c0962f29f2126a9397dc02 SHA256 81da1ab6c3d9e19aef068cc1db81ca696771dfa5c8ff262bcb1bf977ac7429dc
-DIST postgresql-base-7.3.16.tar.bz2 5696231 RMD160 aaf7e4743bc67c0a45d8d44cef840283e7ead6f9 SHA1 cc01fecb6d419b6f4d9f2c4f683ee6e066382640 SHA256 96046fc13596e4d9f7a4dcd5882fed51ec5905760cc828594443272a69c140e5
-DIST postgresql-base-7.3.18.tar.bz2 5695073 RMD160 62607d50fbf97ae0b954943e2e27052bcf2c5aa0 SHA1 29e2121ee6383929e8b90b50e8f7bbac218f203e SHA256 648c7bddcab5477c5d7800795f8392a3ecdd361828c4374d9804bfa61a07b048
DIST postgresql-base-7.3.19.tar.bz2 5691127 RMD160 802bbba70d1368097a74de6b67589ab9645597cc SHA1 09206cd4d9c2b5648756eff70f101cec89365776 SHA256 1804e0424e4444f67acfb98b4e4ad2ede26748d1ddb4a9201cbff7627e394e6a
-DIST postgresql-base-7.4.13.tar.bz2 6576973 RMD160 5f90ed85fdceb06fe15e324620e931140e3617ef SHA1 cb326a788833e805a54a80d87aeeb6fa00fb7b1e SHA256 2e2fa6b1cf3fc7a66a58762acfb64ce42d358e0dd799a467316e937d3a116cf7
-DIST postgresql-base-7.4.14.tar.bz2 6575201 RMD160 c5b8ecd20ad2783c3f254f0e7402aab9ad722d0a SHA1 b737a35070bf13f478e8bca346a32243b9599b89 SHA256 5a34fcd56d2d8eebcd2728e5971c0d39d2971dc25e49d88bfeb84d69b5e8ebc9
-DIST postgresql-base-7.4.16.tar.bz2 6586435 RMD160 8536d5f6f26a101240c64084e6adeb260efef891 SHA1 d3f36c6ace31d3725828aa9d86f4c08f266e33e3 SHA256 d8e7df2f06f248e66023452fa9cf565640b93ae43433dade7515f54e643f5c21
DIST postgresql-base-7.4.17.tar.bz2 6609512 RMD160 cd5aed1fb45cc42e12cca0cd31174b6726dae97b SHA1 2e413d570ed657f941ca77b1ac00ef1eeecddbcc SHA256 f1b7ff754ccb43d4a3a62a9124b1c8ac215e48e5549e620bfcde59124c6f1bc5
DIST postgresql-base-8.0.12.tar.bz2 7846737 RMD160 e359f574020ef73a1f8f03ebffdc157114b1a454 SHA1 f43277c0463233f7deec434374a3799c372107b6 SHA256 2aec1d7129794fb29546e76bb0594f0c8ee6e37e8a155b201c15504af0740628
DIST postgresql-base-8.0.13.tar.bz2 7848290 RMD160 de34ef01b76d777e9b22bcd16dd29328a11d35cf SHA1 aaee4e481644645f3ba66dd7a66377ef3b22cd9c SHA256 5627ad76e6a6c8eb85c1debe5fce2c12b42611434dabe0fd5763b8a72c7ac49d
DIST postgresql-base-8.0.8.tar.bz2 7823046 RMD160 2c60dc22f714bc0182051a94c3c1f513b30f574e SHA1 a5e5147497f0c2b548762d232d297b48d6e97d02 SHA256 906d86f2477309b9c2531d12fe720761fdffd73243a83ae31892bd7a0a618183
-DIST postgresql-base-8.0.9.tar.bz2 7824961 RMD160 40cbea0b0a3a0f67670dfbe1670e08b48dbb1999 SHA1 d11bb58349b3e42fd0a19ceb732e9381bba89b16 SHA256 8ed190ee5468f3685a1edbc5279490819ffa6fe64f1b6f0139bdbec365852417
-DIST postgresql-base-8.1.5.tar.bz2 8044522 RMD160 3460f38b720ce3a9687052d5523bcbd027655d6e SHA1 7d6cc07ca1cb8cb57a366a7860310a892fe6a2ba SHA256 cb878499848aa8abb82f1ae79574923174851b0396a5befa31f49089a3abb4df
-DIST postgresql-base-8.1.8.tar.bz2 8094972 RMD160 fa3801e9dd25c5d8e9de8fd9f015371824204d78 SHA1 0201b5ecb5b675f315c6184cdc9943ea69abd0ae SHA256 7a7fdab1993af6de06aa3264cdb3df3618e4a6216b574833c352b50efd5454af
DIST postgresql-base-8.1.9.tar.bz2 8108212 RMD160 e10c91f95e16cfcdf10235d533855676f8e03ceb SHA1 d6b042dd8ff095f1ced53ab9e6e2ea7b2eea5cfb SHA256 4d11584d545d5f18566bc1bf65409794adceef1825dc4850514238f6b5d3f5fd
DIST postgresql-base-8.2.4.tar.bz2 8549159 RMD160 876105c3cc9d36b66cf9dc9b687d4b6f6b2c3d9c SHA1 9ffc18c520e8829c957089ce46a7f3cd4113b6ac SHA256 8ee5ad364ee21079ce3d726b4abcfa0f318015a331e37e9856a3500fcce74cca
-DIST postgresql-docs-7.3.15.tar.bz2 2361345 RMD160 7330f8f5e3d4061e28ec4fb28939011ae5038551 SHA1 3740ab265033d1827fd8e06eb0257b0275cd4ce4 SHA256 832239ebdef5501a8b32f3d2b2f1684c2e9c18fa6cec0370e950b20a62f07cf9
-DIST postgresql-docs-7.3.16.tar.bz2 2361886 RMD160 ae36bf748e8a8a0b4842ddab48c2d8a2471b2940 SHA1 09fdc7b582595fa7aea62e1888d64a741e2192cb SHA256 2d8cc0d745a3f8edd773a06c462f98c143388060feb1775e97ecf85bb5260b2f
-DIST postgresql-docs-7.3.18.tar.bz2 2363625 RMD160 5c95e654b7029f1d6289987ad0a08266ab6e54fa SHA1 0165ca2c16d3095fbc96a2fa5dd1800bd163071a SHA256 24f509b444dc1a9009ffdb6a8e484f038762b971cea60fb9bdc8943fd6a0fa55
DIST postgresql-docs-7.3.19.tar.bz2 2365906 RMD160 acad805217a5b16badc5ea1c5f88e2780d48e849 SHA1 3af665fdbd6f0ac2b1d1563944401b5e470f25c1 SHA256 0a4910cf776b6be8017eaf68a60c541be59288079fe5696d955bdace22ebde0a
-DIST postgresql-docs-7.4.13.tar.bz2 2426721 RMD160 4500c150a1638279394bf6f6882682f019ddf8ae SHA1 60c145ec822fca74cab03f3e11918df22752f899 SHA256 31d91342f23dc842839ee9f5b7475582a2e232c6831c6d514c3a414ed28ebdf8
-DIST postgresql-docs-7.4.14.tar.bz2 2427724 RMD160 dd67ae2c4552986ced80d1ba52df50a5ae63db9b SHA1 47296643429237d81a0565aac819ded106cca36b SHA256 6739dcb6876e1f76933f88feae0b7d0a5e528e9677dac4175e3223ef379ed789
-DIST postgresql-docs-7.4.16.tar.bz2 2429657 RMD160 f6b50b3b7c1c5bad00b9a33694eef46634bd95f1 SHA1 4b49280188e269d87579004795c7063b58797cbc SHA256 7478f43e5071756434526259895f16ffeffa4c8a11dbd9af2df34250a7f463be
DIST postgresql-docs-7.4.17.tar.bz2 2434028 RMD160 a7470801732f7458c4a6dec6b441b151a2963d88 SHA1 fbb8f744151e0a81c2047b40211a694d62c09bd8 SHA256 855b08821fa06cce280d63c1c57a1a51cc02eee1af0a53ba9a550cc3e66c2696
DIST postgresql-docs-8.0.12.tar.bz2 2266536 RMD160 7716e772348a21b98dcf78d670464b4a0e7fe832 SHA1 be869e88a1abfc7e577335ff0ad90b7040df5ab9 SHA256 04d233b68be2f4549a8a470166e7f6f175c5165722763c515e7230de0efa63d3
DIST postgresql-docs-8.0.13.tar.bz2 2271196 RMD160 fdb9775d082da9c10aebb9394d84c55cfea3f4d7 SHA1 b9d23b6c70fc3dc365a397d8eef3bd38b9ea1820 SHA256 a703a22b11288eb20b5c4f28e34cfeeed11c730cebf51671049ad37ace5e204d
DIST postgresql-docs-8.0.8.tar.bz2 2260219 RMD160 e3dbde03b553000d5a263a93713c434e88dd4fe1 SHA1 2f845d6740c7ed88d0b9240b274a75d479658f7c SHA256 60a93ee5b2b80f517696328d85f4db24791cb1099d89a0adc375ee740201dc54
-DIST postgresql-docs-8.0.9.tar.bz2 2262698 RMD160 55df79bfc347147c33db925a1138c2341043f887 SHA1 f7c7acb292c2bc6256fc29b18ce7b4e9b7a1fafb SHA256 b55d4a77c0c3b0f42c7233c08112b884e1463157160007efd70a63806ede632b
-DIST postgresql-docs-8.1.5.tar.bz2 2489400 RMD160 a29a5d1738f6f776597d162d9fc6d69805c74943 SHA1 69a06691cae02ade3888c9c7f813ae5394be070a SHA256 01c0a848b0016598adfcebea74960340edf80fc037051d106b62bea14e1cd0c9
-DIST postgresql-docs-8.1.8.tar.bz2 2499550 RMD160 7c812e4c4d07f00ff933dea9adaddf2211fe6044 SHA1 d0fd45066706c041a968110e5be3fc466f998307 SHA256 b5f0e095f8e1533ba69cdb1d599d7e2bfa07549a6a75bb6be899991339d30859
DIST postgresql-docs-8.1.9.tar.bz2 2503673 RMD160 68df3beb8c8f2ccdcf0f3875d4d1bacf1ad3017d SHA1 3139df4e62c4f83b68691a46376730f7501c93f1 SHA256 9b1f5d47345067baf9ecc71941707199d055d2f147a206b1b70245a9d5c45b30
DIST postgresql-docs-8.2.4.tar.bz2 2769630 RMD160 bcdb176f509f69141524ababa0f6c9b1a1dd5c3f SHA1 2981a1901d2f4d6f54bf12f847456a634344aa86 SHA256 2bb5bea974a68f562e40104d756ea87dbd831cf8fbd4bb54faca38f23c87de4c
-DIST postgresql-opt-7.3.15.tar.bz2 341753 RMD160 8057276fff0ae87f49fb4853e6f3df681de405b9 SHA1 300ed5f2193367d5800c2fd1bdcab2e1764a2372 SHA256 9b513f3bdd2d63579698ecc9226866ca72fe2e13fd9f0367a07c5041dd8386f6
-DIST postgresql-opt-7.3.16.tar.bz2 341908 RMD160 00e0f059910eed3021ba5b096e86bdc6878c34d6 SHA1 aac3126d50dfb1ea23984ecdff9cc6da7605b531 SHA256 0e1ab00b1439c5930b6c74ed5c4382c01fdb54434857ac3c1599d32fcce2c8d1
-DIST postgresql-opt-7.3.18.tar.bz2 342315 RMD160 fa7cb704ff7bb131f6108217c645821413ecd5b8 SHA1 5c1a8a103d696668abae7d8931c0dd687cdb7766 SHA256 6d422a3d4d56192952c035d01aff59b90c7ab7b3cdb7f300572e40dd20db5e4b
DIST postgresql-opt-7.3.19.tar.bz2 342076 RMD160 7ee1dea5c906d88ba3384ea805368a9dcb8af47d SHA1 0736e5056f1428fc542853975e7fbd1b383f568c SHA256 2735bceed9f0d27befb3ec26b5d76f9272da1cdf2434ceb9d68327494912017f
-DIST postgresql-opt-7.4.13.tar.bz2 333860 RMD160 9fd1caacd6d842a473725450a0973173f68ae7b8 SHA1 79455e60f074a488ab3abafd10bfce4c63b33293 SHA256 8139a7161b2a55eba304b027896f0bfc81523dd41f7d1df222274b7a55e5aeab
-DIST postgresql-opt-7.4.14.tar.bz2 333417 RMD160 a6279f5b9d52f72ce786bc468c114befb5a1f29a SHA1 becc575260128261dc7f8ed46f166f54f48b8732 SHA256 e670d22812c50512807edd692d867e2b62c6b79f9d7b84cad56ef038cc12475d
-DIST postgresql-opt-7.4.16.tar.bz2 333683 RMD160 fec0e9b68c4868f4e2b85c002103089fbdbedf6f SHA1 657fe7c4ae1ba3020de4594117a1ab5db45f61bc SHA256 13a3063570c27ecc8ae163c86439b3c0b95d21bd55cac2506b105a486d410469
DIST postgresql-opt-7.4.17.tar.bz2 333513 RMD160 55b7d1c9900f590d778c915d586d8cafd14dc633 SHA1 d2ac133dd0eb3a8faf2e5cbaa275ed575391b658 SHA256 8ff6ca8f726ce39d873d495273c31ceb3d647d75a85a7940b38d38ae7b2eff3e
DIST postgresql-opt-8.0.12.tar.bz2 134790 RMD160 be0d57de5000296bfd5b64685f4d4ef81edea347 SHA1 bd26e2cce6ea7b486e29bc983ee76cfb0551f32b SHA256 ceaf90195860694487918032c19e0a11f991d74c77838cac2ea827d6c85f54da
DIST postgresql-opt-8.0.13.tar.bz2 134769 RMD160 f3fb741c5dcff23045a58baf57f4386099e3c563 SHA1 ccdc23eb12b19c6d88633125b9e0c2feeda5f93e SHA256 9f63fc12ede1a605934cdc462ff45c0e924288284f411ae38dec1c5b6e87ce25
DIST postgresql-opt-8.0.8.tar.bz2 134600 RMD160 352f07aa25d0dcf1d2e3502f5cec7295c40bc3d5 SHA1 081d0b8d755a49395001b46ca0585c4e2b5ecf4f SHA256 427e82253b068b35e47235a1b78c521c89a9774b80dcc2433946f86220a34926
-DIST postgresql-opt-8.0.9.tar.bz2 134706 RMD160 be148e079c20c13aec1767180d993933b91c2116 SHA1 a1263b4ec563ec24165db4657dcc4faab567ef90 SHA256 007d5cded329dfbcc91b4f1d1ddb9473efb4316b1621294446ee611065393020
-DIST postgresql-opt-8.1.5.tar.bz2 144784 RMD160 5ac9b1ffdf1357316ceb1736f7b9be3ee339be3b SHA1 6d62463d6bcadcef1e515d740c15489ab4e428e7 SHA256 4fe0dc14e02d65516348ec0e90633be2a3ada002c151fca8f2e7eba6556c8b1c
-DIST postgresql-opt-8.1.8.tar.bz2 144643 RMD160 2a31e70be662ee6753bcc8e712ea5a693079f692 SHA1 df4cf9481a6272d5a33b07f8343e88fe8f1350a4 SHA256 ffcc9519a7a697b370630ab1afb1280d3d9e62a25a7904291153d0de6fca6750
DIST postgresql-opt-8.1.9.tar.bz2 144737 RMD160 3541c7c2d86e7a9d129d521c3a7bac189758d1a5 SHA1 d3b011edaa9b05295b15692bfe0932b1e37572d2 SHA256 b8c5c3098c53e8c8b722ba8928787eb7478beeb3c6b42adbaad1d8ca24d2e49f
DIST postgresql-opt-8.2.4.tar.bz2 167612 RMD160 aaacb743be86afbfe0f885b7994c15c94fef2413 SHA1 892112c6f348bccce534f87336ea073a0b8ca249 SHA256 5977ca1f0913aa98bc889e49b38768621865959b14e2674e7716d44b7fe9eb35
-DIST postgresql-test-7.3.16.tar.bz2 891104 RMD160 7510ed474d4c86610c14c232cf5be13c4ca0b32b SHA1 c79aec31949e54700c45ac436b4844bc8bf5ee4e SHA256 5844984770b326cfc62580d88f878196e304867fa339925fef20c017bb298d56
-DIST postgresql-test-7.3.18.tar.bz2 891032 RMD160 f18fa7025a37bf85936ba78f5cdbb4e26e0a9bfb SHA1 f9488d5c113083563b652e9d4d9c4f4918892aa3 SHA256 61bf71f0b09fa0a0dc667f636fe7a338f33d7b337159b16820a0a6240318a48e
DIST postgresql-test-7.3.19.tar.bz2 891109 RMD160 4f5ee0f9c4dd86b6ee54a818e25e929c2fc2334f SHA1 7d40accb365cc41091a6fd62d08e2e8d57121678 SHA256 8df80f3fb5f61d61fe6348e037c614b3c0f2114ae5c8a7f3050b5fadde517ba3
-DIST postgresql-test-7.4.14.tar.bz2 902074 RMD160 c6e1f57c77815b5395882cd482ef8bc952adabbf SHA1 3b15dbebe4232f66a253ff03729ee4ec3ffbd877 SHA256 39c87c0227f8c757d29141bb8c24e2a95d3a06d9bc459667fdee4d0028d6d12d
-DIST postgresql-test-7.4.16.tar.bz2 901854 RMD160 37a1ca493bd35534636dd82c1dd2468c4e37cf6c SHA1 565cfcfce7aae3e09ed1ecf0d7bc573ec0d31f96 SHA256 851d5de0f66e3a13a57acffc50f15288a2d367160902e08d0bd1a0deb72b0f39
DIST postgresql-test-7.4.17.tar.bz2 902524 RMD160 5d2580ac74e01a65d9c00bc7a2900630e2c5720d SHA1 abd0a33ad4e7d7c94b0762913c4bee9762a8b345 SHA256 0486999f89b38996c15a91a66638f40718d5fb702ac592f4f2a22e9377b6b6bf
DIST postgresql-test-8.0.12.tar.bz2 931028 RMD160 e8527c571f727c14eedc8551cce75f6565d516af SHA1 31046252ff7e9cfde68e14f623d054342c9150ad SHA256 54da2084d7ac970155836b5cf1d278b357df8a67d2a5af101f3390f866de18ac
DIST postgresql-test-8.0.13.tar.bz2 932945 RMD160 d1a1c5e05337d82fb1fc2a7249e98ce8df375978 SHA1 07924ea198ce2654b65ecce6cd05025f24b62b86 SHA256 ea7e45aa8d9d8f127704e659575a0e860fd53abdaefa7c0f256f246c283ff1cf
-DIST postgresql-test-8.0.9.tar.bz2 931363 RMD160 ae38c2225daff32449ebe6b483096f2f35aa8067 SHA1 1a32090f302542daa92558a3f78129cd39782b98 SHA256 f2b81b3cf7ade17a748fa84570c295817d82fd05b53d2e0fb9d9e922b0c613ea
-DIST postgresql-test-8.1.5.tar.bz2 947271 RMD160 644b352354743eb5250bf422c62e1f2c340c1ed2 SHA1 8371da286f43e689b5bd84999185565cb7c37d19 SHA256 60ed8d466a66dfe72994f7c8e45324e81e8ce6b91343eee07df5939f10559166
-DIST postgresql-test-8.1.8.tar.bz2 946918 RMD160 5f8e591e29ffd4adec8d130a73c1a916e7ea63fd SHA1 a500d39cd77ce5a2d7e61b6d116ad502fe4af947 SHA256 3dd46fea627951cf85cd6b5f0318cc4f1f04ed19814fdaf0f919868699f656dc
DIST postgresql-test-8.1.9.tar.bz2 948085 RMD160 80f20a3353ee437efc78390d8d2d0d12c5cb519f SHA1 5a37496ab4bcb1a991674ae1b7ecdcc52f988abc SHA256 2dd60f661df70d43b261af0722e768f6ec4dc856c765c3dd9cd24042089323ba
DIST postgresql-test-8.2.4.tar.bz2 985819 RMD160 c5fcbef081565f7ba02fc4ac96ce8e1f4141c3ae SHA1 60be22d85c37d1ea461401b8e7c10472a3458913 SHA256 fc4471ecece04251289cfe7feb0acbafa3a18cf8f35c2d61ce3f68bd4394e504
-EBUILD postgresql-7.3.15-r1.ebuild 8483 RMD160 1a9b3d5bc22bcc530e8c90e7862f3e88728c72ac SHA1 3fea98ff4d8317cc5186a9e9d783ad2c47eb2a4d SHA256 d715b9bd6f78d46e019dd0315b6e4de5bb99ecb3a726b275c7633cff7164437b
-MD5 d9c6f7e2e0fdaad55ab59ca2a803fb70 postgresql-7.3.15-r1.ebuild 8483
-RMD160 1a9b3d5bc22bcc530e8c90e7862f3e88728c72ac postgresql-7.3.15-r1.ebuild 8483
-SHA256 d715b9bd6f78d46e019dd0315b6e4de5bb99ecb3a726b275c7633cff7164437b postgresql-7.3.15-r1.ebuild 8483
-EBUILD postgresql-7.3.16.ebuild 8009 RMD160 d45aae61fe062349255fa6724742b08e3926be15 SHA1 7b94594ed3206432322fb440ea6e578f8a7b14f1 SHA256 6e6a63c3504ff340c188a72712d229ca1ffdd81f6f8ca00579af82501a25ca52
-MD5 aeb0ff23710721ed5fc4fadded52b66a postgresql-7.3.16.ebuild 8009
-RMD160 d45aae61fe062349255fa6724742b08e3926be15 postgresql-7.3.16.ebuild 8009
-SHA256 6e6a63c3504ff340c188a72712d229ca1ffdd81f6f8ca00579af82501a25ca52 postgresql-7.3.16.ebuild 8009
-EBUILD postgresql-7.3.18.ebuild 8012 RMD160 8af87aefe00b779620028ff768635156032e93c4 SHA1 5463931ebcce820147c7794ce8c118248bbef015 SHA256 11eb44699e94605dc373a7d0d443b716b7dc3e7bddd2d1f0835fbe3c8ac8e52f
-MD5 6c5168bc2531899b312fd4d5df17dc72 postgresql-7.3.18.ebuild 8012
-RMD160 8af87aefe00b779620028ff768635156032e93c4 postgresql-7.3.18.ebuild 8012
-SHA256 11eb44699e94605dc373a7d0d443b716b7dc3e7bddd2d1f0835fbe3c8ac8e52f postgresql-7.3.18.ebuild 8012
EBUILD postgresql-7.3.19.ebuild 8305 RMD160 fb86763e48354f7644935186f21f21657f3c512a SHA1 4d2789ffca86664700ca31d770133817a0b39764 SHA256 079e2b0afa4d7ff313b511599f14a3aebd7c6d16f313bd354d24ed58bd56bc8b
MD5 2780adfb84fc7733c176524223e9f99e postgresql-7.3.19.ebuild 8305
RMD160 fb86763e48354f7644935186f21f21657f3c512a postgresql-7.3.19.ebuild 8305
SHA256 079e2b0afa4d7ff313b511599f14a3aebd7c6d16f313bd354d24ed58bd56bc8b postgresql-7.3.19.ebuild 8305
-EBUILD postgresql-7.4.13.ebuild 10668 RMD160 fbfdce1b60a58b17caef9ad3edf32196b12deb93 SHA1 7365944c059457676c56c99e5b497d336614f5ed SHA256 7c02449245b17efcf7b5b3bc653c0006b6b34ef0b578b1eeec57dd4a3c8c10c6
-MD5 28765b29513951793584774adbb1d8e2 postgresql-7.4.13.ebuild 10668
-RMD160 fbfdce1b60a58b17caef9ad3edf32196b12deb93 postgresql-7.4.13.ebuild 10668
-SHA256 7c02449245b17efcf7b5b3bc653c0006b6b34ef0b578b1eeec57dd4a3c8c10c6 postgresql-7.4.13.ebuild 10668
-EBUILD postgresql-7.4.14.ebuild 9605 RMD160 714fa76e5346441f088962389b26287e5ab9c6a2 SHA1 92189f068e5ac56d9e9f24dc09f7539a200f321d SHA256 769d0ce8fb6b83eac2fbee9d0c2d30d671b8a43ac052f864ff95ded4f1955541
-MD5 f549da2272d229385b72bb6cc2918d86 postgresql-7.4.14.ebuild 9605
-RMD160 714fa76e5346441f088962389b26287e5ab9c6a2 postgresql-7.4.14.ebuild 9605
-SHA256 769d0ce8fb6b83eac2fbee9d0c2d30d671b8a43ac052f864ff95ded4f1955541 postgresql-7.4.14.ebuild 9605
-EBUILD postgresql-7.4.16.ebuild 9606 RMD160 413e019c55da5bc7bf07b53ef71e9a5b8ccc12a6 SHA1 ac15441bba8a0f5faff04c9c68cc40fcdb240013 SHA256 9bbb3205fa544fbcf362074ba7f795b3470d03e2ff2d47e279b10ad9e24482f9
-MD5 4a123ad0aecbeef33d64c8ea413c31ed postgresql-7.4.16.ebuild 9606
-RMD160 413e019c55da5bc7bf07b53ef71e9a5b8ccc12a6 postgresql-7.4.16.ebuild 9606
-SHA256 9bbb3205fa544fbcf362074ba7f795b3470d03e2ff2d47e279b10ad9e24482f9 postgresql-7.4.16.ebuild 9606
EBUILD postgresql-7.4.17.ebuild 9826 RMD160 4ed07af8e12d42d25657565a6755c1d0e17d02b8 SHA1 38eb3a6fae93f80d3d424b0945e53a2ed2c7734a SHA256 090d358dde733416a888c7b7f5b95bf2a0460d17a119d6eb7079c21f34007869
MD5 1097705caf3d58b8434e0b54de75d71e postgresql-7.4.17.ebuild 9826
RMD160 4ed07af8e12d42d25657565a6755c1d0e17d02b8 postgresql-7.4.17.ebuild 9826
@@ -320,18 +158,6 @@ EBUILD postgresql-8.0.8.ebuild 7633 RMD160 88cb665a3b9586a5c0347f8bce37c7d04a3bc
MD5 34c300f902f3ced5ee0d3400079bf11e postgresql-8.0.8.ebuild 7633
RMD160 88cb665a3b9586a5c0347f8bce37c7d04a3bc417 postgresql-8.0.8.ebuild 7633
SHA256 db2ece8127e1f7868727a45207d04d420010e4164c13fbafd59d05cffcd83396 postgresql-8.0.8.ebuild 7633
-EBUILD postgresql-8.0.9-r1.ebuild 9585 RMD160 54eafa4970e07578a904a84da92961f5c0c9820e SHA1 86973df6ed88fa25074699d164baf1c90098255e SHA256 199fe7ddd12b53902c3cf343c2da6c6d6da7ba9bc96d1f666ec67ae52b96aab9
-MD5 2c03606e3c634e090d225790ff9560c0 postgresql-8.0.9-r1.ebuild 9585
-RMD160 54eafa4970e07578a904a84da92961f5c0c9820e postgresql-8.0.9-r1.ebuild 9585
-SHA256 199fe7ddd12b53902c3cf343c2da6c6d6da7ba9bc96d1f666ec67ae52b96aab9 postgresql-8.0.9-r1.ebuild 9585
-EBUILD postgresql-8.1.5-r1.ebuild 8497 RMD160 aec3c8a4220aba7ebe8c1e7defb136a83202df5a SHA1 37815c785fece4cee463e458f8b568179f393239 SHA256 ebb92b2ab9d435033a33b1695f164cca7055dea17c463dd8c834a9f4c2a57a0a
-MD5 ca1c9142e329325d94a0c8a168f67b50 postgresql-8.1.5-r1.ebuild 8497
-RMD160 aec3c8a4220aba7ebe8c1e7defb136a83202df5a postgresql-8.1.5-r1.ebuild 8497
-SHA256 ebb92b2ab9d435033a33b1695f164cca7055dea17c463dd8c834a9f4c2a57a0a postgresql-8.1.5-r1.ebuild 8497
-EBUILD postgresql-8.1.8.ebuild 8493 RMD160 290e30b324e2b3209759f36ad41cb72ed21bfb20 SHA1 315da362ea379a49f162ce57d4cf5d294039491a SHA256 b1dc7fb975cfd1653d677e4e15e103703e0492701397b52099eefc2569d12ab0
-MD5 b0acb25dd51ae186d646914cf4b1b140 postgresql-8.1.8.ebuild 8493
-RMD160 290e30b324e2b3209759f36ad41cb72ed21bfb20 postgresql-8.1.8.ebuild 8493
-SHA256 b1dc7fb975cfd1653d677e4e15e103703e0492701397b52099eefc2569d12ab0 postgresql-8.1.8.ebuild 8493
EBUILD postgresql-8.1.9.ebuild 8698 RMD160 edff0195a5009be6d9ae87ceaaeded459e13a20d SHA1 47aa1937c2829f28ff1f096dacf00488ae63407c SHA256 47e2106282aef279f3caebae112422a78460f2841eb85d98410065c5c111512f
MD5 6b8ebafef93f578beaa2c77b45143519 postgresql-8.1.9.ebuild 8698
RMD160 edff0195a5009be6d9ae87ceaaeded459e13a20d postgresql-8.1.9.ebuild 8698
@@ -340,35 +166,17 @@ EBUILD postgresql-8.2.4-r1.ebuild 8378 RMD160 3b85064651af77c027aafde014d22d624d
MD5 d1e75740d203ed4a5f55aa5c2a363a30 postgresql-8.2.4-r1.ebuild 8378
RMD160 3b85064651af77c027aafde014d22d624df222ee postgresql-8.2.4-r1.ebuild 8378
SHA256 30b8f49a2d4ea8f03478fc85c8db3732dc03adb9b01fe76b9df4495fa2163938 postgresql-8.2.4-r1.ebuild 8378
-MISC ChangeLog 72639 RMD160 c050db8a64bcc83b9b95e6592dbc8a9efe218e92 SHA1 fbfa71100c0753dabdd1302f95c1c244fc345390 SHA256 8d295552506fcf52993106af94c7bc03691dae902d144462b522d063d8ac32d3
-MD5 1f177eb60e059eaa3a6b714ced8478a0 ChangeLog 72639
-RMD160 c050db8a64bcc83b9b95e6592dbc8a9efe218e92 ChangeLog 72639
-SHA256 8d295552506fcf52993106af94c7bc03691dae902d144462b522d063d8ac32d3 ChangeLog 72639
+MISC ChangeLog 74005 RMD160 c87e3f1433b46e8d2d4af2916cebc7b0745152b0 SHA1 e7fbc450ec65c7791642faac30601e448b6c8d41 SHA256 6f28a9bb14931091116a78f8dabb4fb0c85d6451d9ccc89a535a9ccddb98d5a8
+MD5 8109294af2f26ecd9d5b462e25ec5898 ChangeLog 74005
+RMD160 c87e3f1433b46e8d2d4af2916cebc7b0745152b0 ChangeLog 74005
+SHA256 6f28a9bb14931091116a78f8dabb4fb0c85d6451d9ccc89a535a9ccddb98d5a8 ChangeLog 74005
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164
RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164
SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b metadata.xml 164
-MD5 9e5998600f433f1de88c2bd3a6fd4297 files/digest-postgresql-7.3.15-r1 816
-RMD160 215f02990dbdc86f78b1df48a65e88274d9d9bbb files/digest-postgresql-7.3.15-r1 816
-SHA256 a66b48d66ffd063ab443e0d2f7580fd25b357b2197da5f4f1125a503f0e073e2 files/digest-postgresql-7.3.15-r1 816
-MD5 d4a43fc56d6061473457d6af8be17785 files/digest-postgresql-7.3.16 1087
-RMD160 78178ec6a10b48524e9bca46d01a17e4d8d72b51 files/digest-postgresql-7.3.16 1087
-SHA256 f7e827953703308dcf63a803c828370b879f5a7a8f8bb44ff4fbc7e663095000 files/digest-postgresql-7.3.16 1087
-MD5 aa806bfc274dd6877289ae8f0ba5f390 files/digest-postgresql-7.3.18 1087
-RMD160 f1269a2b0a808eaec3530694cf8fcc99d7dbc702 files/digest-postgresql-7.3.18 1087
-SHA256 bdb45b470c38cbd25b7c2659ac2bc3eb1d50c1856a8b1f3d7344e25d7a9be1a7 files/digest-postgresql-7.3.18 1087
MD5 0bff8b5391e9dbfa8b6a919a0d524a37 files/digest-postgresql-7.3.19 1087
RMD160 1bb8544863cd2c6d2fa317d55e1ecfb230547f1c files/digest-postgresql-7.3.19 1087
SHA256 59079fe9d80de56c7e6eef5e64f106bbf5143462d9472953a192e33a4b6201b7 files/digest-postgresql-7.3.19 1087
-MD5 5785510b983e3724b1e7be4045bb5ef9 files/digest-postgresql-7.4.13 1063
-RMD160 cacfc7cab610de62e3ee63e3da217d54c1a7c357 files/digest-postgresql-7.4.13 1063
-SHA256 d4f40c91569847681ebd3254bf787f393f893c0e05b603d52eeb28e40d4fc2c4 files/digest-postgresql-7.4.13 1063
-MD5 7b76bbcea127ebb491bd6d5342429198 files/digest-postgresql-7.4.14 1087
-RMD160 3113cc18d78ac8358e2233fd5eb6719aca9e49f7 files/digest-postgresql-7.4.14 1087
-SHA256 6910f88a5fc143d08c6ee0f6746833c586e8bb42b29d9ba7b8efa3ad53376414 files/digest-postgresql-7.4.14 1087
-MD5 9584d4741603568a5f6c52c0f33433b1 files/digest-postgresql-7.4.16 1087
-RMD160 c51a91a6ca5c01ade5a3505289c80e475bb11fff files/digest-postgresql-7.4.16 1087
-SHA256 cdcf54028993acd7d4c1f8d31f2ebc3d095193c516fbdc99aa8638fe49499ea7 files/digest-postgresql-7.4.16 1087
MD5 561024989ce7be36fa4474211ae7b7c2 files/digest-postgresql-7.4.17 1087
RMD160 811b466e6e54693166ac405d7c0dbb750728f6e0 files/digest-postgresql-7.4.17 1087
SHA256 e1b60261487e99d6101290910dc22449e743c54e17c404c3f995bfca6940ea41 files/digest-postgresql-7.4.17 1087
@@ -381,25 +189,9 @@ SHA256 b307557da314dd1a813501cfbf1054e18221024f2dc5b8410f62ee37030ffe72 files/di
MD5 4dd90d685497cfc29caef97a786fbfc6 files/digest-postgresql-8.0.8 1063
RMD160 c27fbdc33e77854dda297a5466e1854a9e52f0f4 files/digest-postgresql-8.0.8 1063
SHA256 b47e1cde8cc579e0334c598c8798e6d02bdc0cf4436281949d10cf750ffb6360 files/digest-postgresql-8.0.8 1063
-MD5 e8da54a6c7b889de6961435728d929af files/digest-postgresql-8.0.9-r1 1075
-RMD160 2dbebd489e85e2ef8a333d3708c6b9403df3d53b files/digest-postgresql-8.0.9-r1 1075
-SHA256 54dd646bd90f8058c54f038aa030298f28ca6dd99f02203dfee80076b055debf files/digest-postgresql-8.0.9-r1 1075
-MD5 e4baa5814880c254728d082156c5629d files/digest-postgresql-8.1.5-r1 1075
-RMD160 f0beab2222381790f34942747b149d743b4dc992 files/digest-postgresql-8.1.5-r1 1075
-SHA256 89b2b19a00fa3f6b75aa6892b5cfe1f3cd83ec10bb32dcdaf7d8fcde4a18db1e files/digest-postgresql-8.1.5-r1 1075
-MD5 22156ee9cf59a2332a421e1255a5c548 files/digest-postgresql-8.1.8 1075
-RMD160 46bb73512fca95ab1d256746882690418d94d50c files/digest-postgresql-8.1.8 1075
-SHA256 20f7ff4fa5bd7c5b2b2844c31dcb6313bd192705c2e57d3e40ceab57c50ef227 files/digest-postgresql-8.1.8 1075
MD5 55e13506c44ed85e1bac4fb9261c6c51 files/digest-postgresql-8.1.9 1075
RMD160 cec4abffe35cc6dc7157421a4899f70534ece108 files/digest-postgresql-8.1.9 1075
SHA256 6093606fa8b0a2a30a482349bdb4c3aa88e29f2f4db3b393ca6fac95d9494390 files/digest-postgresql-8.1.9 1075
MD5 031a5efbcf25065353b4fa99ce8eed06 files/digest-postgresql-8.2.4-r1 1075
RMD160 f104cae333b08b01f69666b88148550560705327 files/digest-postgresql-8.2.4-r1 1075
SHA256 f8c9a8dde1f6bfe419ec4a6b807212cff84050eb3233d90e863ad0c359dd6225 files/digest-postgresql-8.2.4-r1 1075
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFGPnE63og80iZgVQgRAjFLAKCiWNhJkon/zymDk0z5V2bdeehQPgCaA+Bw
-Bl2vB2WNZGHYCd82Q3KwAkA=
-=4I5x
------END PGP SIGNATURE-----
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.15-r1 b/dev-db/postgresql/files/digest-postgresql-7.3.15-r1
deleted file mode 100644
index 974d3ea5fcc8..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.15-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 dd23ef0e9cbd1a9bca19f8ee66a021db postgresql-base-7.3.15.tar.bz2 5695061
-RMD160 55cc363e1ce26ea0c7f79c5adfd90714988afb46 postgresql-base-7.3.15.tar.bz2 5695061
-SHA256 81da1ab6c3d9e19aef068cc1db81ca696771dfa5c8ff262bcb1bf977ac7429dc postgresql-base-7.3.15.tar.bz2 5695061
-MD5 9d18a5262a3a9b8a2b2c7962645572ab postgresql-docs-7.3.15.tar.bz2 2361345
-RMD160 7330f8f5e3d4061e28ec4fb28939011ae5038551 postgresql-docs-7.3.15.tar.bz2 2361345
-SHA256 832239ebdef5501a8b32f3d2b2f1684c2e9c18fa6cec0370e950b20a62f07cf9 postgresql-docs-7.3.15.tar.bz2 2361345
-MD5 f70a6f9163e204a116f44e752f4695ca postgresql-opt-7.3.15.tar.bz2 341753
-RMD160 8057276fff0ae87f49fb4853e6f3df681de405b9 postgresql-opt-7.3.15.tar.bz2 341753
-SHA256 9b513f3bdd2d63579698ecc9226866ca72fe2e13fd9f0367a07c5041dd8386f6 postgresql-opt-7.3.15.tar.bz2 341753
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.16 b/dev-db/postgresql/files/digest-postgresql-7.3.16
deleted file mode 100644
index d68088475ae1..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.16
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 ae269400f68118233e9e65b4c2c93a68 postgresql-base-7.3.16.tar.bz2 5696231
-RMD160 aaf7e4743bc67c0a45d8d44cef840283e7ead6f9 postgresql-base-7.3.16.tar.bz2 5696231
-SHA256 96046fc13596e4d9f7a4dcd5882fed51ec5905760cc828594443272a69c140e5 postgresql-base-7.3.16.tar.bz2 5696231
-MD5 12123bfca15f077260a6fbcd952abbf2 postgresql-docs-7.3.16.tar.bz2 2361886
-RMD160 ae36bf748e8a8a0b4842ddab48c2d8a2471b2940 postgresql-docs-7.3.16.tar.bz2 2361886
-SHA256 2d8cc0d745a3f8edd773a06c462f98c143388060feb1775e97ecf85bb5260b2f postgresql-docs-7.3.16.tar.bz2 2361886
-MD5 8025d8314993b9e57d0f308e01c37b40 postgresql-opt-7.3.16.tar.bz2 341908
-RMD160 00e0f059910eed3021ba5b096e86bdc6878c34d6 postgresql-opt-7.3.16.tar.bz2 341908
-SHA256 0e1ab00b1439c5930b6c74ed5c4382c01fdb54434857ac3c1599d32fcce2c8d1 postgresql-opt-7.3.16.tar.bz2 341908
-MD5 9da7ff0ef77b87053804838a1f40f15a postgresql-test-7.3.16.tar.bz2 891104
-RMD160 7510ed474d4c86610c14c232cf5be13c4ca0b32b postgresql-test-7.3.16.tar.bz2 891104
-SHA256 5844984770b326cfc62580d88f878196e304867fa339925fef20c017bb298d56 postgresql-test-7.3.16.tar.bz2 891104
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.18 b/dev-db/postgresql/files/digest-postgresql-7.3.18
deleted file mode 100644
index 73a8e3fcd61e..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.18
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 e9205d6835933401db4c5991504f264b postgresql-base-7.3.18.tar.bz2 5695073
-RMD160 62607d50fbf97ae0b954943e2e27052bcf2c5aa0 postgresql-base-7.3.18.tar.bz2 5695073
-SHA256 648c7bddcab5477c5d7800795f8392a3ecdd361828c4374d9804bfa61a07b048 postgresql-base-7.3.18.tar.bz2 5695073
-MD5 621d4499418469248db2318b85a89c19 postgresql-docs-7.3.18.tar.bz2 2363625
-RMD160 5c95e654b7029f1d6289987ad0a08266ab6e54fa postgresql-docs-7.3.18.tar.bz2 2363625
-SHA256 24f509b444dc1a9009ffdb6a8e484f038762b971cea60fb9bdc8943fd6a0fa55 postgresql-docs-7.3.18.tar.bz2 2363625
-MD5 02c53c28a92b7bfc229c71c4b18dee49 postgresql-opt-7.3.18.tar.bz2 342315
-RMD160 fa7cb704ff7bb131f6108217c645821413ecd5b8 postgresql-opt-7.3.18.tar.bz2 342315
-SHA256 6d422a3d4d56192952c035d01aff59b90c7ab7b3cdb7f300572e40dd20db5e4b postgresql-opt-7.3.18.tar.bz2 342315
-MD5 256553aa18822775c63924c787ded200 postgresql-test-7.3.18.tar.bz2 891032
-RMD160 f18fa7025a37bf85936ba78f5cdbb4e26e0a9bfb postgresql-test-7.3.18.tar.bz2 891032
-SHA256 61bf71f0b09fa0a0dc667f636fe7a338f33d7b337159b16820a0a6240318a48e postgresql-test-7.3.18.tar.bz2 891032
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.13 b/dev-db/postgresql/files/digest-postgresql-7.4.13
deleted file mode 100644
index e64fd1b299a8..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.13
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 16d037213b879963724da7809a0a1589 hier-Pg7.4-0.5.3.tar.gz 34662
-RMD160 758a67262ad3dbad649cc8a6b3ef610e6123dd68 hier-Pg7.4-0.5.3.tar.gz 34662
-SHA256 1e56f76560c86227b08faabf78e3a53de4188c6a8f9d1f38b1481427e8fdf74c hier-Pg7.4-0.5.3.tar.gz 34662
-MD5 2e4574f84f6312909de87126bd2859f8 postgresql-base-7.4.13.tar.bz2 6576973
-RMD160 5f90ed85fdceb06fe15e324620e931140e3617ef postgresql-base-7.4.13.tar.bz2 6576973
-SHA256 2e2fa6b1cf3fc7a66a58762acfb64ce42d358e0dd799a467316e937d3a116cf7 postgresql-base-7.4.13.tar.bz2 6576973
-MD5 bad02bd460bccdcdc17c51c2ab555109 postgresql-docs-7.4.13.tar.bz2 2426721
-RMD160 4500c150a1638279394bf6f6882682f019ddf8ae postgresql-docs-7.4.13.tar.bz2 2426721
-SHA256 31d91342f23dc842839ee9f5b7475582a2e232c6831c6d514c3a414ed28ebdf8 postgresql-docs-7.4.13.tar.bz2 2426721
-MD5 1c92e80c8d5296ea4bbd83ad378368c3 postgresql-opt-7.4.13.tar.bz2 333860
-RMD160 9fd1caacd6d842a473725450a0973173f68ae7b8 postgresql-opt-7.4.13.tar.bz2 333860
-SHA256 8139a7161b2a55eba304b027896f0bfc81523dd41f7d1df222274b7a55e5aeab postgresql-opt-7.4.13.tar.bz2 333860
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.14 b/dev-db/postgresql/files/digest-postgresql-7.4.14
deleted file mode 100644
index 14709e723e84..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.14
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 8fb231e5cdf7fe4d8954edaa63fd9410 postgresql-base-7.4.14.tar.bz2 6575201
-RMD160 c5b8ecd20ad2783c3f254f0e7402aab9ad722d0a postgresql-base-7.4.14.tar.bz2 6575201
-SHA256 5a34fcd56d2d8eebcd2728e5971c0d39d2971dc25e49d88bfeb84d69b5e8ebc9 postgresql-base-7.4.14.tar.bz2 6575201
-MD5 213c668f072aa56c77f85a23d11ad0ab postgresql-docs-7.4.14.tar.bz2 2427724
-RMD160 dd67ae2c4552986ced80d1ba52df50a5ae63db9b postgresql-docs-7.4.14.tar.bz2 2427724
-SHA256 6739dcb6876e1f76933f88feae0b7d0a5e528e9677dac4175e3223ef379ed789 postgresql-docs-7.4.14.tar.bz2 2427724
-MD5 5ad27f2d9673dcabaaad7729a6838cc2 postgresql-opt-7.4.14.tar.bz2 333417
-RMD160 a6279f5b9d52f72ce786bc468c114befb5a1f29a postgresql-opt-7.4.14.tar.bz2 333417
-SHA256 e670d22812c50512807edd692d867e2b62c6b79f9d7b84cad56ef038cc12475d postgresql-opt-7.4.14.tar.bz2 333417
-MD5 3e7fccb8c02e4b4c2822ea5e5d054f07 postgresql-test-7.4.14.tar.bz2 902074
-RMD160 c6e1f57c77815b5395882cd482ef8bc952adabbf postgresql-test-7.4.14.tar.bz2 902074
-SHA256 39c87c0227f8c757d29141bb8c24e2a95d3a06d9bc459667fdee4d0028d6d12d postgresql-test-7.4.14.tar.bz2 902074
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.16 b/dev-db/postgresql/files/digest-postgresql-7.4.16
deleted file mode 100644
index a8ad8607b8ec..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.16
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 a876404e4186537cba0ba9d2afe5e554 postgresql-base-7.4.16.tar.bz2 6586435
-RMD160 8536d5f6f26a101240c64084e6adeb260efef891 postgresql-base-7.4.16.tar.bz2 6586435
-SHA256 d8e7df2f06f248e66023452fa9cf565640b93ae43433dade7515f54e643f5c21 postgresql-base-7.4.16.tar.bz2 6586435
-MD5 f0465262c56f9d150fb2d4d717c14851 postgresql-docs-7.4.16.tar.bz2 2429657
-RMD160 f6b50b3b7c1c5bad00b9a33694eef46634bd95f1 postgresql-docs-7.4.16.tar.bz2 2429657
-SHA256 7478f43e5071756434526259895f16ffeffa4c8a11dbd9af2df34250a7f463be postgresql-docs-7.4.16.tar.bz2 2429657
-MD5 51aa935cac1a13483ff76d8770b51fe3 postgresql-opt-7.4.16.tar.bz2 333683
-RMD160 fec0e9b68c4868f4e2b85c002103089fbdbedf6f postgresql-opt-7.4.16.tar.bz2 333683
-SHA256 13a3063570c27ecc8ae163c86439b3c0b95d21bd55cac2506b105a486d410469 postgresql-opt-7.4.16.tar.bz2 333683
-MD5 d4dbef48016d11345868fa9f04e4501f postgresql-test-7.4.16.tar.bz2 901854
-RMD160 37a1ca493bd35534636dd82c1dd2468c4e37cf6c postgresql-test-7.4.16.tar.bz2 901854
-SHA256 851d5de0f66e3a13a57acffc50f15288a2d367160902e08d0bd1a0deb72b0f39 postgresql-test-7.4.16.tar.bz2 901854
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.9-r1 b/dev-db/postgresql/files/digest-postgresql-8.0.9-r1
deleted file mode 100644
index f2e11e02313b..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.0.9-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 f9a044227ad6dc9c937d4853100733cb postgresql-base-8.0.9.tar.bz2 7824961
-RMD160 40cbea0b0a3a0f67670dfbe1670e08b48dbb1999 postgresql-base-8.0.9.tar.bz2 7824961
-SHA256 8ed190ee5468f3685a1edbc5279490819ffa6fe64f1b6f0139bdbec365852417 postgresql-base-8.0.9.tar.bz2 7824961
-MD5 0529eb29ac2c248a3b244b7bfc007456 postgresql-docs-8.0.9.tar.bz2 2262698
-RMD160 55df79bfc347147c33db925a1138c2341043f887 postgresql-docs-8.0.9.tar.bz2 2262698
-SHA256 b55d4a77c0c3b0f42c7233c08112b884e1463157160007efd70a63806ede632b postgresql-docs-8.0.9.tar.bz2 2262698
-MD5 363e009214bfde8235d900da09c7c675 postgresql-opt-8.0.9.tar.bz2 134706
-RMD160 be148e079c20c13aec1767180d993933b91c2116 postgresql-opt-8.0.9.tar.bz2 134706
-SHA256 007d5cded329dfbcc91b4f1d1ddb9473efb4316b1621294446ee611065393020 postgresql-opt-8.0.9.tar.bz2 134706
-MD5 8992a878fe5aa32e3da7fb84270614db postgresql-test-8.0.9.tar.bz2 931363
-RMD160 ae38c2225daff32449ebe6b483096f2f35aa8067 postgresql-test-8.0.9.tar.bz2 931363
-SHA256 f2b81b3cf7ade17a748fa84570c295817d82fd05b53d2e0fb9d9e922b0c613ea postgresql-test-8.0.9.tar.bz2 931363
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.5-r1 b/dev-db/postgresql/files/digest-postgresql-8.1.5-r1
deleted file mode 100644
index ac72d06c9b7b..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.1.5-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 30a42fd5fc5326edc217e28651e5053b postgresql-base-8.1.5.tar.bz2 8044522
-RMD160 3460f38b720ce3a9687052d5523bcbd027655d6e postgresql-base-8.1.5.tar.bz2 8044522
-SHA256 cb878499848aa8abb82f1ae79574923174851b0396a5befa31f49089a3abb4df postgresql-base-8.1.5.tar.bz2 8044522
-MD5 d104e7e645ea36407831ca59470c7a12 postgresql-docs-8.1.5.tar.bz2 2489400
-RMD160 a29a5d1738f6f776597d162d9fc6d69805c74943 postgresql-docs-8.1.5.tar.bz2 2489400
-SHA256 01c0a848b0016598adfcebea74960340edf80fc037051d106b62bea14e1cd0c9 postgresql-docs-8.1.5.tar.bz2 2489400
-MD5 bcd3eec7cfc759dbfdde4f9e8fa07d27 postgresql-opt-8.1.5.tar.bz2 144784
-RMD160 5ac9b1ffdf1357316ceb1736f7b9be3ee339be3b postgresql-opt-8.1.5.tar.bz2 144784
-SHA256 4fe0dc14e02d65516348ec0e90633be2a3ada002c151fca8f2e7eba6556c8b1c postgresql-opt-8.1.5.tar.bz2 144784
-MD5 b3e050a0af7998d78f928b96d95fa6d7 postgresql-test-8.1.5.tar.bz2 947271
-RMD160 644b352354743eb5250bf422c62e1f2c340c1ed2 postgresql-test-8.1.5.tar.bz2 947271
-SHA256 60ed8d466a66dfe72994f7c8e45324e81e8ce6b91343eee07df5939f10559166 postgresql-test-8.1.5.tar.bz2 947271
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.8 b/dev-db/postgresql/files/digest-postgresql-8.1.8
deleted file mode 100644
index 2c580c1eedc3..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.1.8
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 5da7d5bf67e01ddc1fbd92a072ccd3f3 postgresql-base-8.1.8.tar.bz2 8094972
-RMD160 fa3801e9dd25c5d8e9de8fd9f015371824204d78 postgresql-base-8.1.8.tar.bz2 8094972
-SHA256 7a7fdab1993af6de06aa3264cdb3df3618e4a6216b574833c352b50efd5454af postgresql-base-8.1.8.tar.bz2 8094972
-MD5 7d552916141e2686682f2e01f0a88c9d postgresql-docs-8.1.8.tar.bz2 2499550
-RMD160 7c812e4c4d07f00ff933dea9adaddf2211fe6044 postgresql-docs-8.1.8.tar.bz2 2499550
-SHA256 b5f0e095f8e1533ba69cdb1d599d7e2bfa07549a6a75bb6be899991339d30859 postgresql-docs-8.1.8.tar.bz2 2499550
-MD5 58b437f38a1214cff80b7076cbbc967c postgresql-opt-8.1.8.tar.bz2 144643
-RMD160 2a31e70be662ee6753bcc8e712ea5a693079f692 postgresql-opt-8.1.8.tar.bz2 144643
-SHA256 ffcc9519a7a697b370630ab1afb1280d3d9e62a25a7904291153d0de6fca6750 postgresql-opt-8.1.8.tar.bz2 144643
-MD5 a953a4b1f5eddaea326242ce9571cb3f postgresql-test-8.1.8.tar.bz2 946918
-RMD160 5f8e591e29ffd4adec8d130a73c1a916e7ea63fd postgresql-test-8.1.8.tar.bz2 946918
-SHA256 3dd46fea627951cf85cd6b5f0318cc4f1f04ed19814fdaf0f919868699f656dc postgresql-test-8.1.8.tar.bz2 946918
diff --git a/dev-db/postgresql/files/postgresql-7.3-cubeparse.patch b/dev-db/postgresql/files/postgresql-7.3-cubeparse.patch
deleted file mode 100644
index 705e073c8e45..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3-cubeparse.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- contrib/cube/cubescan.l.orig 2006-07-05 06:56:04.000000000 +0000
-+++ contrib/cube/cubescan.l 2006-07-05 06:56:12.000000000 +0000
-@@ -9,6 +9,10 @@
-
-
- /* flex screws a couple symbols when used with the -P option; fix those */
-+#ifndef YY_PROTO
-+#define YY_PROTO(proto) proto
-+#endif
-+
- #define YY_DECL int cube_yylex YY_PROTO(( void )); \
- int cube_yylex YY_PROTO(( void ))
- #define yylval cube_yylval
---- contrib/seg/segscan.l.orig 2006-07-05 07:08:26.000000000 +0000
-+++ contrib/seg/segscan.l 2006-07-05 07:08:51.000000000 +0000
-@@ -9,6 +9,10 @@
-
-
- /* flex screws a couple symbols when used with the -P option; fix those */
-+#ifndef YY_PROTO
-+#define YY_PROTO(proto) proto
-+#endif
-+
- #define YY_DECL int seg_yylex YY_PROTO(( void )); \
- int seg_yylex YY_PROTO(( void ))
- #define yylval seg_yylval
---- contrib/tsearch/parser.l.orig 2006-07-05 07:22:36.000000000 +0000
-+++ contrib/tsearch/parser.l 2006-07-05 07:23:33.000000000 +0000
-@@ -18,6 +18,7 @@
- char *s = NULL; /* to return WHOLE hyphenated-word */
-
- YY_BUFFER_STATE buf = NULL; /* buffer to parse; it need for parse from string */
-+static YY_BUFFER_STATE yy_current_buffer = 0;
-
- int lrlimit = -1; /* for limiting read from filehandle ( -1 - unlimited read ) */
- int bytestoread = 0; /* for limiting read from filehandle */
diff --git a/dev-db/postgresql/files/postgresql-7.3-gentoo.patch b/dev-db/postgresql/files/postgresql-7.3-gentoo.patch
deleted file mode 100644
index 3c0776ef2fde..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naru postgresql-7.3.14.org/src/interfaces/Makefile postgresql-7.3.14/src/interfaces/Makefile
---- postgresql-7.3.14.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-7.3.14/src/interfaces/Makefile 2005-05-09 21:59:15.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS)
-
-diff -Naru postgresql-7.3.14.org/src/Makefile postgresql-7.3.14/src/Makefile
---- postgresql-7.3.14.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-7.3.14/src/Makefile 2005-05-09 21:59:54.000000000 +0100
-@@ -18,7 +18,6 @@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -47,7 +46,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -61,7 +59,6 @@
- -$(MAKE) -C port $@
- -$(MAKE) -C timezone $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
-diff -Naru postgresql-7.3.14.org/configure postgresql-7.3.14/configure
---- postgresql-7.3.14.org/configure 2004-08-15 01:51:58.000000000 +0100
-+++ postgresql-7.3.14/configure 2004-10-03 00:24:38.477010826 +0100
-@@ -5871,7 +5871,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- pgac_cv_check_readline=no
--for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
-+for pgac_lib in "" " -lncurses" " -lcurses" ; do
- for pgac_rllib in -lreadline -ledit ; do
- pgac_save_LIBS=$LIBS
- LIBS="${pgac_rllib}${pgac_lib} $LIBS"
diff --git a/dev-db/postgresql/files/postgresql-7.3.16-cubeparse.patch b/dev-db/postgresql/files/postgresql-7.3.16-cubeparse.patch
deleted file mode 100644
index 705e073c8e45..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.16-cubeparse.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- contrib/cube/cubescan.l.orig 2006-07-05 06:56:04.000000000 +0000
-+++ contrib/cube/cubescan.l 2006-07-05 06:56:12.000000000 +0000
-@@ -9,6 +9,10 @@
-
-
- /* flex screws a couple symbols when used with the -P option; fix those */
-+#ifndef YY_PROTO
-+#define YY_PROTO(proto) proto
-+#endif
-+
- #define YY_DECL int cube_yylex YY_PROTO(( void )); \
- int cube_yylex YY_PROTO(( void ))
- #define yylval cube_yylval
---- contrib/seg/segscan.l.orig 2006-07-05 07:08:26.000000000 +0000
-+++ contrib/seg/segscan.l 2006-07-05 07:08:51.000000000 +0000
-@@ -9,6 +9,10 @@
-
-
- /* flex screws a couple symbols when used with the -P option; fix those */
-+#ifndef YY_PROTO
-+#define YY_PROTO(proto) proto
-+#endif
-+
- #define YY_DECL int seg_yylex YY_PROTO(( void )); \
- int seg_yylex YY_PROTO(( void ))
- #define yylval seg_yylval
---- contrib/tsearch/parser.l.orig 2006-07-05 07:22:36.000000000 +0000
-+++ contrib/tsearch/parser.l 2006-07-05 07:23:33.000000000 +0000
-@@ -18,6 +18,7 @@
- char *s = NULL; /* to return WHOLE hyphenated-word */
-
- YY_BUFFER_STATE buf = NULL; /* buffer to parse; it need for parse from string */
-+static YY_BUFFER_STATE yy_current_buffer = 0;
-
- int lrlimit = -1; /* for limiting read from filehandle ( -1 - unlimited read ) */
- int bytestoread = 0; /* for limiting read from filehandle */
diff --git a/dev-db/postgresql/files/postgresql-7.3.16-gentoo.patch b/dev-db/postgresql/files/postgresql-7.3.16-gentoo.patch
deleted file mode 100644
index 079f7c6a9f50..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.16-gentoo.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -Nru postgresql-7.3.16.orig/configure postgresql-7.3.16/configure
---- postgresql-7.3.16.orig/configure 2006-11-05 13:20:08.000000000 +0100
-+++ postgresql-7.3.16/configure 2006-11-05 14:10:03.000000000 +0100
-@@ -5871,7 +5871,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- pgac_cv_check_readline=no
--for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
-+for pgac_lib in "" " -lncurses" " -lcurses" ; do
- for pgac_rllib in -lreadline -ledit ; do
- pgac_save_LIBS=$LIBS
- LIBS="${pgac_rllib}${pgac_lib} $LIBS"
-diff -Nru postgresql-7.3.16.orig/src/bin/Makefile postgresql-7.3.16/src/bin/Makefile
---- postgresql-7.3.16.orig/src/bin/Makefile 2006-11-05 13:20:09.000000000 +0100
-+++ postgresql-7.3.16/src/bin/Makefile 2006-11-05 15:46:42.000000000 +0100
-@@ -14,7 +14,7 @@
- include $(top_builddir)/src/Makefile.global
-
- DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
-- psql scripts pg_config pg_controldata pg_resetxlog \
-+ psql scripts pg_controldata pg_resetxlog \
- pg_encoding
-
- ifeq ($(with_tcl), yes)
-diff -Nru postgresql-7.3.16.orig/src/interfaces/Makefile postgresql-7.3.16/src/interfaces/Makefile
---- postgresql-7.3.16.orig/src/interfaces/Makefile 2006-11-05 13:20:09.000000000 +0100
-+++ postgresql-7.3.16/src/interfaces/Makefile 2006-11-05 14:10:03.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS) libpgtcl python jdbc
-
-diff -Nru postgresql-7.3.16.orig/src/Makefile postgresql-7.3.16/src/Makefile
---- postgresql-7.3.16.orig/src/Makefile 2006-11-05 13:20:09.000000000 +0100
-+++ postgresql-7.3.16/src/Makefile 2006-11-05 14:10:03.000000000 +0100
-@@ -17,7 +17,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -28,7 +27,6 @@
- clean:
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -39,7 +37,6 @@
- distclean maintainer-clean:
- -$(MAKE) -C port $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-7.3.18-cubeparse.patch b/dev-db/postgresql/files/postgresql-7.3.18-cubeparse.patch
deleted file mode 100644
index 705e073c8e45..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.18-cubeparse.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- contrib/cube/cubescan.l.orig 2006-07-05 06:56:04.000000000 +0000
-+++ contrib/cube/cubescan.l 2006-07-05 06:56:12.000000000 +0000
-@@ -9,6 +9,10 @@
-
-
- /* flex screws a couple symbols when used with the -P option; fix those */
-+#ifndef YY_PROTO
-+#define YY_PROTO(proto) proto
-+#endif
-+
- #define YY_DECL int cube_yylex YY_PROTO(( void )); \
- int cube_yylex YY_PROTO(( void ))
- #define yylval cube_yylval
---- contrib/seg/segscan.l.orig 2006-07-05 07:08:26.000000000 +0000
-+++ contrib/seg/segscan.l 2006-07-05 07:08:51.000000000 +0000
-@@ -9,6 +9,10 @@
-
-
- /* flex screws a couple symbols when used with the -P option; fix those */
-+#ifndef YY_PROTO
-+#define YY_PROTO(proto) proto
-+#endif
-+
- #define YY_DECL int seg_yylex YY_PROTO(( void )); \
- int seg_yylex YY_PROTO(( void ))
- #define yylval seg_yylval
---- contrib/tsearch/parser.l.orig 2006-07-05 07:22:36.000000000 +0000
-+++ contrib/tsearch/parser.l 2006-07-05 07:23:33.000000000 +0000
-@@ -18,6 +18,7 @@
- char *s = NULL; /* to return WHOLE hyphenated-word */
-
- YY_BUFFER_STATE buf = NULL; /* buffer to parse; it need for parse from string */
-+static YY_BUFFER_STATE yy_current_buffer = 0;
-
- int lrlimit = -1; /* for limiting read from filehandle ( -1 - unlimited read ) */
- int bytestoread = 0; /* for limiting read from filehandle */
diff --git a/dev-db/postgresql/files/postgresql-7.3.18-gentoo.patch b/dev-db/postgresql/files/postgresql-7.3.18-gentoo.patch
deleted file mode 100644
index 079f7c6a9f50..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.18-gentoo.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -Nru postgresql-7.3.16.orig/configure postgresql-7.3.16/configure
---- postgresql-7.3.16.orig/configure 2006-11-05 13:20:08.000000000 +0100
-+++ postgresql-7.3.16/configure 2006-11-05 14:10:03.000000000 +0100
-@@ -5871,7 +5871,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- pgac_cv_check_readline=no
--for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
-+for pgac_lib in "" " -lncurses" " -lcurses" ; do
- for pgac_rllib in -lreadline -ledit ; do
- pgac_save_LIBS=$LIBS
- LIBS="${pgac_rllib}${pgac_lib} $LIBS"
-diff -Nru postgresql-7.3.16.orig/src/bin/Makefile postgresql-7.3.16/src/bin/Makefile
---- postgresql-7.3.16.orig/src/bin/Makefile 2006-11-05 13:20:09.000000000 +0100
-+++ postgresql-7.3.16/src/bin/Makefile 2006-11-05 15:46:42.000000000 +0100
-@@ -14,7 +14,7 @@
- include $(top_builddir)/src/Makefile.global
-
- DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
-- psql scripts pg_config pg_controldata pg_resetxlog \
-+ psql scripts pg_controldata pg_resetxlog \
- pg_encoding
-
- ifeq ($(with_tcl), yes)
-diff -Nru postgresql-7.3.16.orig/src/interfaces/Makefile postgresql-7.3.16/src/interfaces/Makefile
---- postgresql-7.3.16.orig/src/interfaces/Makefile 2006-11-05 13:20:09.000000000 +0100
-+++ postgresql-7.3.16/src/interfaces/Makefile 2006-11-05 14:10:03.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS) libpgtcl python jdbc
-
-diff -Nru postgresql-7.3.16.orig/src/Makefile postgresql-7.3.16/src/Makefile
---- postgresql-7.3.16.orig/src/Makefile 2006-11-05 13:20:09.000000000 +0100
-+++ postgresql-7.3.16/src/Makefile 2006-11-05 14:10:03.000000000 +0100
-@@ -17,7 +17,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -28,7 +27,6 @@
- clean:
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -39,7 +37,6 @@
- distclean maintainer-clean:
- -$(MAKE) -C port $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-7.4-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4-gentoo.patch
deleted file mode 100644
index 536189faed33..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naru postgresql-7.4.12.org/configure postgresql-7.4.12/configure
---- postgresql-7.4.12.org/configure 2004-08-18 04:11:24.000000000 +0100
-+++ postgresql-7.4.12/configure 2004-09-15 20:28:46.933631781 +0100
-@@ -6003,7 +6003,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- pgac_cv_check_readline=no
--for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
-+for pgac_lib in "" " -lncurses" " -lcurses" ; do
- for pgac_rllib in -lreadline -ledit ; do
- pgac_save_LIBS=$LIBS
- LIBS="${pgac_rllib}${pgac_lib} $LIBS"
-diff -Naru postgresql-7.4.12.org/src/interfaces/Makefile postgresql-7.4.12/src/interfaces/Makefile
---- postgresql-7.4.12.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-7.4.12/src/interfaces/Makefile 2005-05-09 21:59:15.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS)
-
-diff -Naru postgresql-7.4.12.org/src/Makefile postgresql-7.4.12/src/Makefile
---- postgresql-7.4.12.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-7.4.12/src/Makefile 2005-05-09 21:59:54.000000000 +0100
-@@ -18,7 +18,6 @@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -47,7 +46,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -61,7 +59,6 @@
- -$(MAKE) -C port $@
- -$(MAKE) -C timezone $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-7.4-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4-hppa-testandset.patch
deleted file mode 100644
index dc3313146d7a..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4-hppa-testandset.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -urN postgresql-7.4.12.orig/src/include/port/linux.h postgresql-7.4.12/src/include/port/linux.h
---- postgresql-7.4.12.orig/src/include/port/linux.h 2003-10-26 01:41:10.000000000 +0000
-+++ postgresql-7.4.12/src/include/port/linux.h 2004-01-09 20:22:50.000000000 +0000
-@@ -3,6 +3,11 @@
-
- #define HAS_TEST_AND_SET
-
-+#elif defined(__hppa__)
-+typedef struct { int sema[4]; } slock_t;
-+
-+#define HAS_TEST_AND_SET
-+
- #elif defined(__sparc__)
- typedef unsigned char slock_t;
-
-diff -urN postgresql-7.4.12.orig/src/include/storage/s_lock.h postgresql-7.4.12/src/include/storage/s_lock.h
---- postgresql-7.4.12.orig/src/include/storage/s_lock.h 2003-11-04 09:43:56.000000000 +0000
-+++ postgresql-7.4.12/src/include/storage/s_lock.h 2004-01-09 20:12:15.000000000 +0000
-@@ -112,6 +112,33 @@
-
- #endif /* __i386__ || __x86_64__ */
-
-+#if defined(__hppa__) || defined(__hppa)
-+#define TAS(lock) tas(lock)
-+
-+#define __ldcw(a) ({ \
-+ unsigned int __ret; \
-+ __asm__ __volatile__("ldcw 0(%2),%0" \
-+ : "=r" (__ret), "=m" (*(a)) : "r" (a)); \
-+ __ret; \
-+})
-+
-+#define __PA_LDCW_ALIGNMENT 16
-+#define __ldcw_align(a) ({ \
-+ volatile unsigned int __ret = (unsigned int) a; \
-+ if ((__ret & ~(__PA_LDCW_ALIGNMENT - 1)) < (unsigned int) a) \
-+ __ret = (__ret & ~(__PA_LDCW_ALIGNMENT - 1)) + __PA_LDCW_ALIGNMENT; \
-+ (unsigned int *) __ret; \
-+})
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ volatile unsigned int *a = __ldcw_align (lock);
-+ return (__ldcw(a) == 0);
-+}
-+
-+#endif /* __hppa__ || __hppa */
-+
-
- /* Intel Itanium */
- #if defined(__ia64__) || defined(__ia64)
diff --git a/dev-db/postgresql/files/postgresql-7.4-vacuum-delay.patch b/dev-db/postgresql/files/postgresql-7.4-vacuum-delay.patch
deleted file mode 100644
index e0f499859009..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4-vacuum-delay.patch
+++ /dev/null
@@ -1,284 +0,0 @@
- * From: Jan Wieck <JanWieck ( at ) Yahoo ( dot ) com>
- * To: "Matthew T. O'Connor" <matthew ( at ) zeut ( dot ) net>
- * Subject: Re: Performance features the 4th
- * Date: Sun, 09 Nov 2003 18:42:53 -0500
-
-Matthew T. O'Connor wrote:
-
- ----- Original Message ----- From: "Jan Wieck" <JanWieck ( at ) Yahoo ( dot ) com>
-
-Tom Lane wrote:
-> Gaetano and a couple of other people did experiments that seemed to show
-> it was useful. I think we'd want to change the shape of the knob per
-> later suggestions (sleep 10 ms every N blocks, instead of N ms every
-> block) but it did seem that there was useful bang for little buck there.
-
-
- I thought it was "sleep N ms every M blocks".
-
-Have we seen any numbers? Anything at all? Something that gives us a
-clue by what factor one has to multiply the total time a "VACUUM
-ANALYZE" takes, to get what effect in return?
-
-
-I have some time on sunday to do some testing. Is there a patch that I can
-apply that implements either of the two options? (sleep 10ms every M blocks
-or sleep N ms every M blocks).
-
-
-I know Tom posted the original patch that sleept N ms every 1 block (where N
-is > 10 due to OS limitations). Jan can you post a patch that has just the
-sleep code in it? Or should it be easy enough for me to cull out of the
-larger patch you posted?
-
-
-Sorry for the delay, had to finish some other concept yesterday (will be published soon).
-
-The attached patch adds
-
- vacuum_group_delay_size = 10 (range 1-1000)
- vacuum_group_delay_msec = 0 (range 0-1000)
-
-
-and does the sleeping via select(2). It does it only at the same places where Tom had done the usleep() in his hack, so I guess there is still some more to do besides the documentation, before it can be added to 7.4.1. But it should be enough to get some testing done.
-
-
-Jan
-
---
-#======================================================================#
-# It's easier to get forgiveness for being wrong than for being right. #
-# Let's break this rule - forgive me. #
-#================================================== JanWieck ( at ) Yahoo ( dot ) com #
-
-Index: src/backend/access/nbtree/nbtree.c
-===================================================================
-RCS file: /home/pgsql/CvsRoot/pgsql-server/src/backend/access/nbtree/nbtree.c,v
-retrieving revision 1.106
-diff -c -b -r1.106 nbtree.c
-*** src/backend/access/nbtree/nbtree.c 2003/09/29 23:40:26 1.106
---- src/backend/access/nbtree/nbtree.c 2003/11/09 23:39:36
-***************
-*** 27,32 ****
---- 27,40 ----
- #include "storage/smgr.h"
-
-
-+ /*
-+ * Variables for vacuum_group_delay option (in commands/vacuumlazy.c)
-+ */
-+ extern int vacuum_group_delay_size; /* vacuum N pages */
-+ extern int vacuum_group_delay_msec; /* then sleep M msec */
-+ extern int vacuum_group_delay_count;
-+
-+
- /* Working state for btbuild and its callback */
- typedef struct
- {
-***************
-*** 610,615 ****
---- 618,632 ----
-
- CHECK_FOR_INTERRUPTS();
-
-+ if (vacuum_group_delay_msec > 0)
-+ {
-+ if (++vacuum_group_delay_count >= vacuum_group_delay_size)
-+ {
-+ PG_DELAY(vacuum_group_delay_msec);
-+ vacuum_group_delay_count = 0;
-+ }
-+ }
-+
- ndeletable = 0;
- page = BufferGetPage(buf);
- opaque = (BTPageOpaque) PageGetSpecialPointer(page);
-***************
-*** 736,741 ****
---- 753,769 ----
- Buffer buf;
- Page page;
- BTPageOpaque opaque;
-+
-+ CHECK_FOR_INTERRUPTS();
-+
-+ if (vacuum_group_delay_msec > 0)
-+ {
-+ if (++vacuum_group_delay_count >= vacuum_group_delay_size)
-+ {
-+ PG_DELAY(vacuum_group_delay_msec);
-+ vacuum_group_delay_count = 0;
-+ }
-+ }
-
- buf = _bt_getbuf(rel, blkno, BT_READ);
- page = BufferGetPage(buf);
-Index: src/backend/commands/vacuumlazy.c
-===================================================================
-RCS file: /home/pgsql/CvsRoot/pgsql-server/src/backend/commands/vacuumlazy.c,v
-retrieving revision 1.32
-diff -c -b -r1.32 vacuumlazy.c
-*** src/backend/commands/vacuumlazy.c 2003/09/25 06:57:59 1.32
---- src/backend/commands/vacuumlazy.c 2003/11/09 23:40:13
-***************
-*** 88,93 ****
---- 88,100 ----
- static TransactionId OldestXmin;
- static TransactionId FreezeLimit;
-
-+ /*
-+ * Variables for vacuum_group_delay option (in commands/vacuumlazy.c)
-+ */
-+ int vacuum_group_delay_size = 10; /* vacuum N pages */
-+ int vacuum_group_delay_msec = 0; /* then sleep M msec */
-+ int vacuum_group_delay_count = 0;
-+
-
- /* non-export function prototypes */
- static void lazy_scan_heap(Relation onerel, LVRelStats *vacrelstats,
-***************
-*** 228,233 ****
---- 235,249 ----
-
- CHECK_FOR_INTERRUPTS();
-
-+ if (vacuum_group_delay_msec > 0)
-+ {
-+ if (++vacuum_group_delay_count >= vacuum_group_delay_size)
-+ {
-+ PG_DELAY(vacuum_group_delay_msec);
-+ vacuum_group_delay_count = 0;
-+ }
-+ }
-+
- /*
- * If we are close to overrunning the available space for
- * dead-tuple TIDs, pause and do a cycle of vacuuming before we
-***************
-*** 469,474 ****
---- 485,499 ----
-
- CHECK_FOR_INTERRUPTS();
-
-+ if (vacuum_group_delay_msec > 0)
-+ {
-+ if (++vacuum_group_delay_count >= vacuum_group_delay_size)
-+ {
-+ PG_DELAY(vacuum_group_delay_msec);
-+ vacuum_group_delay_count = 0;
-+ }
-+ }
-+
- tblk = ItemPointerGetBlockNumber(&vacrelstats->dead_tuples[tupindex]);
- buf = ReadBuffer(onerel, tblk);
- LockBufferForCleanup(buf);
-***************
-*** 799,804 ****
---- 824,838 ----
- hastup;
-
- CHECK_FOR_INTERRUPTS();
-+
-+ if (vacuum_group_delay_msec > 0)
-+ {
-+ if (++vacuum_group_delay_count >= vacuum_group_delay_size)
-+ {
-+ PG_DELAY(vacuum_group_delay_msec);
-+ vacuum_group_delay_count = 0;
-+ }
-+ }
-
- blkno--;
-
-Index: src/backend/utils/misc/guc.c
-===================================================================
-RCS file: /home/pgsql/CvsRoot/pgsql-server/src/backend/utils/misc/guc.c,v
-retrieving revision 1.164.2.1
-diff -c -b -r1.164.2.1 guc.c
-*** src/backend/utils/misc/guc.c 2003/11/07 21:27:50 1.164.2.1
---- src/backend/utils/misc/guc.c 2003/11/09 23:27:49
-***************
-*** 73,78 ****
---- 73,80 ----
- extern int CommitDelay;
- extern int CommitSiblings;
- extern char *preload_libraries_string;
-+ extern int vacuum_group_delay_size;
-+ extern int vacuum_group_delay_msec;
-
- #ifdef HAVE_SYSLOG
- extern char *Syslog_facility;
-***************
-*** 1188,1193 ****
---- 1190,1213 ----
- },
- &log_min_duration_statement,
- -1, -1, INT_MAX / 1000, NULL, NULL
-+ },
-+
-+ {
-+ {"vacuum_group_delay_msec", PGC_USERSET, RESOURCES,
-+ gettext_noop("Sets VACUUM's delay in milliseconds between processing groups of pages."),
-+ NULL
-+ },
-+ &vacuum_group_delay_msec,
-+ 0, 0, 1000, NULL, NULL
-+ },
-+
-+ {
-+ {"vacuum_group_delay_size", PGC_USERSET, RESOURCES,
-+ gettext_noop("Sets VACUUM's group size for the vacuum_group_delay_msec option."),
-+ NULL
-+ },
-+ &vacuum_group_delay_size,
-+ 10, 1, 1000, NULL, NULL
- },
-
- /* End-of-list marker */
-Index: src/backend/utils/misc/postgresql.conf.sample
-===================================================================
-RCS file: /home/pgsql/CvsRoot/pgsql-server/src/backend/utils/misc/postgresql.conf.sample,v
-retrieving revision 1.92
-diff -c -b -r1.92 postgresql.conf.sample
-*** src/backend/utils/misc/postgresql.conf.sample 2003/10/08 03:49:38 1.92
---- src/backend/utils/misc/postgresql.conf.sample 2003/11/09 23:04:21
-***************
-*** 69,74 ****
---- 69,79 ----
- #max_files_per_process = 1000 # min 25
- #preload_libraries = ''
-
-+ # - Vacuum napping -
-+
-+ #vacuum_group_delay_size = 10 # range 1-1000 pages ; vacuum this many pages
-+ #vacuum_group_delay_msec = 0 # range 0-1000 msec ; then nap this long
-+
-
- #---------------------------------------------------------------------------
- # WRITE AHEAD LOG
-Index: src/include/miscadmin.h
-===================================================================
-RCS file: /home/pgsql/CvsRoot/pgsql-server/src/include/miscadmin.h,v
-retrieving revision 1.134
-diff -c -b -r1.134 miscadmin.h
-*** src/include/miscadmin.h 2003/09/24 18:54:01 1.134
---- src/include/miscadmin.h 2003/11/09 23:02:03
-***************
-*** 96,101 ****
---- 96,111 ----
- CritSectionCount--; \
- } while(0)
-
-+ /*
-+ * Macro using select(2) to nap for milliseconds
-+ */
-+ #define PG_DELAY(_msec) \
-+ { \
-+ struct timeval _delay; \
-+ _delay.tv_sec = (_msec) / 1000; \
-+ _delay.tv_usec = ((_msec) % 1000) * 1000; \
-+ (void) select(0, NULL, NULL, NULL, &_delay);\
-+ }
-
- /*****************************************************************************
- * globals.h -- *
diff --git a/dev-db/postgresql/files/postgresql-7.4.14-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4.14-gentoo.patch
deleted file mode 100644
index e50f94adaaad..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.14-gentoo.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -Nru postgresql-7.4.14.orig/configure postgresql-7.4.14/configure
---- postgresql-7.4.14.orig/configure 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/configure 2006-11-05 15:48:27.000000000 +0100
-@@ -6003,7 +6003,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- pgac_cv_check_readline=no
--for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
-+for pgac_lib in "" " -lncurses" " -lcurses" ; do
- for pgac_rllib in -lreadline -ledit ; do
- pgac_save_LIBS=$LIBS
- LIBS="${pgac_rllib}${pgac_lib} $LIBS"
-diff -Nru postgresql-7.4.14.orig/src/bin/Makefile postgresql-7.4.14/src/bin/Makefile
---- postgresql-7.4.14.orig/src/bin/Makefile 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/src/bin/Makefile 2006-11-05 15:49:06.000000000 +0100
-@@ -14,7 +14,7 @@
- include $(top_builddir)/src/Makefile.global
-
- DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
-- psql scripts pg_config pg_controldata pg_resetxlog \
-+ psql scripts pg_controldata pg_resetxlog \
- pg_encoding
-
- ifeq ($(with_tcl), yes)
-diff -Nru postgresql-7.4.14.orig/src/interfaces/Makefile postgresql-7.4.14/src/interfaces/Makefile
---- postgresql-7.4.14.orig/src/interfaces/Makefile 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/src/interfaces/Makefile 2006-11-05 15:48:27.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS) libpgtcl jdbc
-
-diff -Nru postgresql-7.4.14.orig/src/Makefile postgresql-7.4.14/src/Makefile
---- postgresql-7.4.14.orig/src/Makefile 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/src/Makefile 2006-11-05 15:48:27.000000000 +0100
-@@ -17,7 +17,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -28,7 +27,6 @@
- clean:
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -39,7 +37,6 @@
- distclean maintainer-clean:
- -$(MAKE) -C port $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-7.4.14-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.14-hppa-testandset.patch
deleted file mode 100644
index d5f916d455eb..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.14-hppa-testandset.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- postgresql-7.4.12.orig/src/include/port/linux.h 2003-10-26 01:41:10.000000000 +0000
-+++ postgresql-7.4.12/src/include/port/linux.h 2004-01-09 20:22:50.000000000 +0000
-@@ -3,6 +3,11 @@
-
- #define HAS_TEST_AND_SET
-
-+#elif defined(__hppa__)
-+typedef struct { int sema[4]; } slock_t;
-+
-+#define HAS_TEST_AND_SET
-+
- #elif defined(__sparc__)
- typedef unsigned char slock_t;
-
---- postgresql-7.4.12.orig/src/include/storage/s_lock.h 2003-11-04 09:43:56.000000000 +0000
-+++ postgresql-7.4.12/src/include/storage/s_lock.h 2004-01-09 20:12:15.000000000 +0000
-@@ -112,6 +112,33 @@
-
- #endif /* __i386__ || __x86_64__ */
-
-+#if defined(__hppa__) || defined(__hppa)
-+#define TAS(lock) tas(lock)
-+
-+#define __ldcw(a) ({ \
-+ unsigned int __ret; \
-+ __asm__ __volatile__("ldcw 0(%2),%0" \
-+ : "=r" (__ret), "=m" (*(a)) : "r" (a)); \
-+ __ret; \
-+})
-+
-+#define __PA_LDCW_ALIGNMENT 16
-+#define __ldcw_align(a) ({ \
-+ volatile unsigned int __ret = (unsigned int) a; \
-+ if ((__ret & ~(__PA_LDCW_ALIGNMENT - 1)) < (unsigned int) a) \
-+ __ret = (__ret & ~(__PA_LDCW_ALIGNMENT - 1)) + __PA_LDCW_ALIGNMENT; \
-+ (unsigned int *) __ret; \
-+})
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ volatile unsigned int *a = __ldcw_align (lock);
-+ return (__ldcw(a) == 0);
-+}
-+
-+#endif /* __hppa__ || __hppa */
-+
-
- /* Intel Itanium */
- #if defined(__ia64__) || defined(__ia64)
diff --git a/dev-db/postgresql/files/postgresql-7.4.16-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4.16-gentoo.patch
deleted file mode 100644
index e50f94adaaad..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.16-gentoo.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -Nru postgresql-7.4.14.orig/configure postgresql-7.4.14/configure
---- postgresql-7.4.14.orig/configure 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/configure 2006-11-05 15:48:27.000000000 +0100
-@@ -6003,7 +6003,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- pgac_cv_check_readline=no
--for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
-+for pgac_lib in "" " -lncurses" " -lcurses" ; do
- for pgac_rllib in -lreadline -ledit ; do
- pgac_save_LIBS=$LIBS
- LIBS="${pgac_rllib}${pgac_lib} $LIBS"
-diff -Nru postgresql-7.4.14.orig/src/bin/Makefile postgresql-7.4.14/src/bin/Makefile
---- postgresql-7.4.14.orig/src/bin/Makefile 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/src/bin/Makefile 2006-11-05 15:49:06.000000000 +0100
-@@ -14,7 +14,7 @@
- include $(top_builddir)/src/Makefile.global
-
- DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
-- psql scripts pg_config pg_controldata pg_resetxlog \
-+ psql scripts pg_controldata pg_resetxlog \
- pg_encoding
-
- ifeq ($(with_tcl), yes)
-diff -Nru postgresql-7.4.14.orig/src/interfaces/Makefile postgresql-7.4.14/src/interfaces/Makefile
---- postgresql-7.4.14.orig/src/interfaces/Makefile 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/src/interfaces/Makefile 2006-11-05 15:48:27.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS) libpgtcl jdbc
-
-diff -Nru postgresql-7.4.14.orig/src/Makefile postgresql-7.4.14/src/Makefile
---- postgresql-7.4.14.orig/src/Makefile 2006-11-05 13:20:18.000000000 +0100
-+++ postgresql-7.4.14/src/Makefile 2006-11-05 15:48:27.000000000 +0100
-@@ -17,7 +17,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -28,7 +27,6 @@
- clean:
- $(MAKE) -C port $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -39,7 +37,6 @@
- distclean maintainer-clean:
- -$(MAKE) -C port $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-7.4.16-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.16-hppa-testandset.patch
deleted file mode 100644
index d5f916d455eb..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.16-hppa-testandset.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- postgresql-7.4.12.orig/src/include/port/linux.h 2003-10-26 01:41:10.000000000 +0000
-+++ postgresql-7.4.12/src/include/port/linux.h 2004-01-09 20:22:50.000000000 +0000
-@@ -3,6 +3,11 @@
-
- #define HAS_TEST_AND_SET
-
-+#elif defined(__hppa__)
-+typedef struct { int sema[4]; } slock_t;
-+
-+#define HAS_TEST_AND_SET
-+
- #elif defined(__sparc__)
- typedef unsigned char slock_t;
-
---- postgresql-7.4.12.orig/src/include/storage/s_lock.h 2003-11-04 09:43:56.000000000 +0000
-+++ postgresql-7.4.12/src/include/storage/s_lock.h 2004-01-09 20:12:15.000000000 +0000
-@@ -112,6 +112,33 @@
-
- #endif /* __i386__ || __x86_64__ */
-
-+#if defined(__hppa__) || defined(__hppa)
-+#define TAS(lock) tas(lock)
-+
-+#define __ldcw(a) ({ \
-+ unsigned int __ret; \
-+ __asm__ __volatile__("ldcw 0(%2),%0" \
-+ : "=r" (__ret), "=m" (*(a)) : "r" (a)); \
-+ __ret; \
-+})
-+
-+#define __PA_LDCW_ALIGNMENT 16
-+#define __ldcw_align(a) ({ \
-+ volatile unsigned int __ret = (unsigned int) a; \
-+ if ((__ret & ~(__PA_LDCW_ALIGNMENT - 1)) < (unsigned int) a) \
-+ __ret = (__ret & ~(__PA_LDCW_ALIGNMENT - 1)) + __PA_LDCW_ALIGNMENT; \
-+ (unsigned int *) __ret; \
-+})
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ volatile unsigned int *a = __ldcw_align (lock);
-+ return (__ldcw(a) == 0);
-+}
-+
-+#endif /* __hppa__ || __hppa */
-+
-
- /* Intel Itanium */
- #if defined(__ia64__) || defined(__ia64)
diff --git a/dev-db/postgresql/files/postgresql-8.0.9-gentoo.patch b/dev-db/postgresql/files/postgresql-8.0.9-gentoo.patch
deleted file mode 100644
index f1308ee0e898..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.9-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Nru postgresql-8.0.9.orig/src/bin/Makefile postgresql-8.0.9/src/bin/Makefile
---- postgresql-8.0.9.orig/src/bin/Makefile 2006-11-05 13:20:26.000000000 +0100
-+++ postgresql-8.0.9/src/bin/Makefile 2006-11-05 15:50:05.000000000 +0100
-@@ -14,7 +14,7 @@
- include $(top_builddir)/src/Makefile.global
-
- DIRS := initdb ipcclean pg_ctl pg_dump \
-- psql scripts pg_config pg_controldata pg_resetxlog
-+ psql scripts pg_controldata pg_resetxlog
- ifeq ($(PORTNAME), win32)
- DIRS+=pgevent
- endif
-diff -Nru postgresql-8.0.9.orig/src/interfaces/Makefile postgresql-8.0.9/src/interfaces/Makefile
---- postgresql-8.0.9.orig/src/interfaces/Makefile 2006-11-05 13:20:26.000000000 +0100
-+++ postgresql-8.0.9/src/interfaces/Makefile 2006-11-05 15:50:05.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS)
-
-diff -Nru postgresql-8.0.9.orig/src/Makefile postgresql-8.0.9/src/Makefile
---- postgresql-8.0.9.orig/src/Makefile 2006-11-05 13:20:26.000000000 +0100
-+++ postgresql-8.0.9/src/Makefile 2006-11-05 15:50:05.000000000 +0100
-@@ -18,7 +18,6 @@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -47,7 +46,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -61,7 +59,6 @@
- -$(MAKE) -C port $@
- -$(MAKE) -C timezone $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-8.0.9-sh.patch b/dev-db/postgresql/files/postgresql-8.0.9-sh.patch
deleted file mode 100644
index fc1dafe83d15..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.9-sh.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/include/storage/s_lock.h 2005-01-01 07:03:42.000000000 +0900
-+++ src/include/storage/s_lock.h 2005-08-17 23:09:19.000000000 +0900
-@@ -239,6 +239,31 @@
- #endif /* __s390__ || __s390x__ */
-
-
-+#if defined(__sh__)
-+#define HAS_TEST_AND_SET
-+
-+typedef unsigned char slock_t;
-+
-+#define TAS(lock) tas(lock)
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ register int _res = 1;
-+
-+ __asm__ __volatile__(
-+ "tas.b @%1\n\t"
-+ "movt %0\n\t"
-+ "xor #1,%0"
-+: "=z"(_res)
-+: "r"(lock)
-+: "t","memory");
-+ return _res;
-+}
-+
-+#endif /* __sh__ */
-+
-+
- #if defined(__sparc__)
- #define HAS_TEST_AND_SET
-
diff --git a/dev-db/postgresql/files/postgresql-8.1-gentoo.patch b/dev-db/postgresql/files/postgresql-8.1-gentoo.patch
deleted file mode 100644
index 942617ae0d08..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1-gentoo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naru postgresql-8.1.3.org/src/interfaces/Makefile postgresql-8.1.3/src/interfaces/Makefile
---- postgresql-8.1.3.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-8.1.3/src/interfaces/Makefile 2005-05-09 21:59:15.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS)
-
-diff -Naru postgresql-8.1.3.org/src/Makefile postgresql-8.1.3/src/Makefile
---- postgresql-8.1.3.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-8.1.3/src/Makefile 2005-05-09 21:59:54.000000000 +0100
-@@ -18,7 +18,6 @@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -47,7 +46,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -61,7 +59,6 @@
- -$(MAKE) -C port $@
- -$(MAKE) -C timezone $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-8.1-sh.patch b/dev-db/postgresql/files/postgresql-8.1-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1-sh.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/include/storage/s_lock.h~ 2005-01-01 07:03:42.000000000 +0900
-+++ src/include/storage/s_lock.h 2005-08-17 23:09:19.000000000 +0900
-@@ -239,6 +239,31 @@
- #endif /* __s390__ || __s390x__ */
-
-
-+#if defined(__sh__)
-+#define HAS_TEST_AND_SET
-+
-+typedef unsigned char slock_t;
-+
-+#define TAS(lock) tas(lock)
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ register int _res = 1;
-+
-+ __asm__ __volatile__(
-+ "tas.b @%1\n\t"
-+ "movt %0\n\t"
-+ "xor #1,%0"
-+: "=z"(_res)
-+: "r"(lock)
-+: "t","memory");
-+ return _res;
-+}
-+
-+#endif /* __sh__ */
-+
-+
- #if defined(__sparc__)
- #define HAS_TEST_AND_SET
-
diff --git a/dev-db/postgresql/files/postgresql-8.1.5-gentoo.patch b/dev-db/postgresql/files/postgresql-8.1.5-gentoo.patch
deleted file mode 100644
index 13c36350e049..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.5-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Nru postgresql-8.1.5.orig/src/bin/Makefile postgresql-8.1.5/src/bin/Makefile
---- postgresql-8.1.5.orig/src/bin/Makefile 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/bin/Makefile 2006-11-05 15:50:53.000000000 +0100
-@@ -14,7 +14,7 @@
- include $(top_builddir)/src/Makefile.global
-
- DIRS := initdb ipcclean pg_ctl pg_dump \
-- psql scripts pg_config pg_controldata pg_resetxlog
-+ psql scripts pg_controldata pg_resetxlog
- ifeq ($(PORTNAME), win32)
- DIRS+=pgevent
- endif
-diff -Nru postgresql-8.1.5.orig/src/interfaces/Makefile postgresql-8.1.5/src/interfaces/Makefile
---- postgresql-8.1.5.orig/src/interfaces/Makefile 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/interfaces/Makefile 2006-11-05 15:50:53.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS)
-
-diff -Nru postgresql-8.1.5.orig/src/Makefile postgresql-8.1.5/src/Makefile
---- postgresql-8.1.5.orig/src/Makefile 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/Makefile 2006-11-05 15:50:53.000000000 +0100
-@@ -18,7 +18,6 @@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -47,7 +46,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -61,7 +59,6 @@
- -$(MAKE) -C port $@
- -$(MAKE) -C timezone $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-8.1.5-regress_fix.patch b/dev-db/postgresql/files/postgresql-8.1.5-regress_fix.patch
deleted file mode 100644
index 0cb39d576f34..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.5-regress_fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/test/regress/sql/interval.sql 2006-08-05 14:45:52.000000000 +0200
-+++ src/test/regress/sql/interval.sql 2006-08-05 14:46:15.000000000 +0200
-@@ -61,12 +61,6 @@
-
- SELECT '' AS ten, * FROM INTERVAL_TBL;
-
---- test avg(interval), which is somewhat fragile since people have been
---- known to change the allowed input syntax for type interval without
---- updating pg_aggregate.agginitval
--
--select avg(f1) from interval_tbl;
--
- -- test long interval input
- select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval;
-
---- src/test/regress/expected/interval.out 2006-08-05 14:46:23.000000000 +0200
-+++ src/test/regress/expected/interval.out 2006-08-05 14:46:51.000000000 +0200
-@@ -212,15 +212,6 @@
- | @ 5 mons 12 hours
- (10 rows)
-
---- test avg(interval), which is somewhat fragile since people have been
---- known to change the allowed input syntax for type interval without
---- updating pg_aggregate.agginitval
--select avg(f1) from interval_tbl;
-- avg
---------------------------------------------------
-- @ 4 years 1 mon 9 days 28 hours 18 mins 23 secs
--(1 row)
--
- -- test long interval input
- select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval;
- interval
diff --git a/dev-db/postgresql/files/postgresql-8.1.5-regress_su.patch b/dev-db/postgresql/files/postgresql-8.1.5-regress_su.patch
deleted file mode 100644
index 28e29253dacb..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.5-regress_su.patch
+++ /dev/null
@@ -1,116 +0,0 @@
---- src/test/regress/pg_regress.sh 2006-08-01 10:57:17.000000000 +0200
-+++ src/test/regress/pg_regress.sh 2006-08-04 00:14:39.000000000 +0200
-@@ -81,8 +81,8 @@
- # Initialize default settings
- # ----------
-
--: ${inputdir=.}
--: ${outputdir=.}
-+: ${inputdir=PORTAGETEMPDIRPG}
-+: ${outputdir=PORTAGETEMPDIRPG}
-
- libdir='@libdir@'
- bindir='@bindir@'
-@@ -410,7 +410,8 @@
- message "initializing database system"
- [ "$debug" = yes ] && initdb_options="--debug"
- [ "$nolocale" = yes ] && initdb_options="$initdb_options --no-locale"
-- "$bindir/initdb" -D "$PGDATA" -L "$datadir" --noclean $initdb_options >"$LOGDIR/initdb.log" 2>&1
-+ chown portage "${datadir}" "${temp_install}" "${inputdir}/testtablespace"
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/initdb -D '$PGDATA' -L '$datadir' --noclean $initdb_options" >"$LOGDIR/initdb.log" 2>&1
-
- if [ $? -ne 0 ]
- then
-@@ -433,7 +434,7 @@
- else
- postmaster_options="$postmaster_options -c listen_addresses="
- fi
-- "$bindir/postmaster" -D "$PGDATA" -F $postmaster_options >"$LOGDIR/postmaster.log" 2>&1 &
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/postmaster -D '$PGDATA' -F $postmaster_options" >"$LOGDIR/postmaster.log" 2>&1 &
- postmaster_pid=$!
-
- # Wait till postmaster is able to accept connections (normally only
-@@ -441,7 +442,7 @@
- # wait forever, however.
- i=0
- max=60
-- until "$bindir/psql" -X $psql_options postgres </dev/null 2>/dev/null
-+ until su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/psql -X $psql_options postgres </dev/null 2>/dev/null"
- do
- i=`expr $i + 1`
- if [ $i -ge $max ]
-@@ -498,7 +499,7 @@
- fi
-
- message "dropping database \"$dbname\""
-- "$bindir/dropdb" $psql_options "$dbname"
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/dropdb $psql_options '$dbname'"
- # errors can be ignored
- fi
-
-@@ -538,17 +539,17 @@
- # ----------
-
- message "creating database \"$dbname\""
--"$bindir/createdb" $encoding_opt $psql_options --template template0 "$dbname"
-+su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/createdb $encoding_opt $psql_options --template template0 '$dbname'"
- if [ $? -ne 0 ]; then
- echo "$me: createdb failed"
- (exit 2); exit
- fi
-
--"$bindir/psql" -q -X $psql_options -c "\
-+su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/psql -q -X $psql_options -c \"\
- alter database \"$dbname\" set lc_messages to 'C';
- alter database \"$dbname\" set lc_monetary to 'C';
- alter database \"$dbname\" set lc_numeric to 'C';
--alter database \"$dbname\" set lc_time to 'C';" "$dbname"
-+alter database \"$dbname\" set lc_time to 'C';\" '$dbname'"
- if [ $? -ne 0 ]; then
- echo "$me: could not set database default locales"
- (exit 2); exit
-@@ -560,7 +561,7 @@
- # ----------
-
- message "dropping regression test user accounts"
--"$bindir/psql" -q -X $psql_options -c 'DROP GROUP regressgroup1; DROP GROUP regressgroup2; DROP USER regressuser1, regressuser2, regressuser3, regressuser4;' $dbname 2>/dev/null
-+su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/psql -q -X $psql_options -c 'DROP GROUP regressgroup1; DROP GROUP regressgroup2; DROP USER regressuser1, regressuser2, regressuser3, regressuser4;' '$dbname' 2>/dev/null"
- if [ $? -eq 2 ]; then
- echo "$me: could not drop user accounts"
- (exit 2); exit
-@@ -575,7 +576,7 @@
- for lang in xyzzy $load_langs ; do
- if [ "$lang" != "xyzzy" ]; then
- message "installing $lang"
-- "$bindir/createlang" $psql_options $lang $dbname
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/createlang $psql_options $lang '$dbname'"
- if [ $? -ne 0 ] && [ $? -ne 2 ]; then
- echo "$me: createlang $lang failed"
- (exit 2); exit
-@@ -635,7 +636,7 @@
- # Run a single test
- formatted=`echo $1 | awk '{printf "%-20.20s", $1;}'`
- $ECHO_N "test $formatted ... $ECHO_C"
-- ( $PSQL -d "$dbname" <"$inputdir/sql/$1.sql" >"$outputdir/results/$1.out" 2>&1 )&
-+ ( su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' ${PSQL} -d '${dbname}' < '${inputdir}/sql/${1}.sql' > '${outputdir}/results/${1}.out' 2>&1" )&
- wait
- else
- # Start a parallel group
-@@ -646,7 +647,7 @@
- fi
- for name do
- (
-- $PSQL -d "$dbname" <"$inputdir/sql/$name.sql" >"$outputdir/results/$name.out" 2>&1
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' ${PSQL} -d '${dbname}' < '${inputdir}/sql/${name}.sql' > '${outputdir}/results/${name}.out' 2>&1"
- $ECHO_N " $name$ECHO_C"
- ) &
- if [ $maxconnections -gt 0 ] ; then
-@@ -740,7 +741,7 @@
-
- if [ -n "$postmaster_pid" ]; then
- message "shutting down postmaster"
-- "$bindir/pg_ctl" -s -D "$PGDATA" stop
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/pg_ctl -s -D '$PGDATA' stop"
- wait "$postmaster_pid"
- unset postmaster_pid
- fi
diff --git a/dev-db/postgresql/files/postgresql-8.1.5-sh.patch b/dev-db/postgresql/files/postgresql-8.1.5-sh.patch
deleted file mode 100644
index 6350771080e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.5-sh.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/include/storage/s_lock.h 2005-01-01 07:03:42.000000000 +0900
-+++ src/include/storage/s_lock.h 2005-08-17 23:09:19.000000000 +0900
-@@ -300,6 +300,31 @@
- #endif /* __s390__ || __s390x__ */
-
-
-+#if defined(__sh__)
-+#define HAS_TEST_AND_SET
-+
-+typedef unsigned char slock_t;
-+
-+#define TAS(lock) tas(lock)
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ register int _res = 1;
-+
-+ __asm__ __volatile__(
-+ "tas.b @%1\n\t"
-+ "movt %0\n\t"
-+ "xor #1,%0"
-+: "=z"(_res)
-+: "r"(lock)
-+: "t","memory");
-+ return _res;
-+}
-+
-+#endif /* __sh__ */
-+
-+
- #if defined(__sparc__)
- #define HAS_TEST_AND_SET
-
diff --git a/dev-db/postgresql/files/postgresql-8.1.8-gentoo.patch b/dev-db/postgresql/files/postgresql-8.1.8-gentoo.patch
deleted file mode 100644
index 13c36350e049..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.8-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Nru postgresql-8.1.5.orig/src/bin/Makefile postgresql-8.1.5/src/bin/Makefile
---- postgresql-8.1.5.orig/src/bin/Makefile 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/bin/Makefile 2006-11-05 15:50:53.000000000 +0100
-@@ -14,7 +14,7 @@
- include $(top_builddir)/src/Makefile.global
-
- DIRS := initdb ipcclean pg_ctl pg_dump \
-- psql scripts pg_config pg_controldata pg_resetxlog
-+ psql scripts pg_controldata pg_resetxlog
- ifeq ($(PORTNAME), win32)
- DIRS+=pgevent
- endif
-diff -Nru postgresql-8.1.5.orig/src/interfaces/Makefile postgresql-8.1.5/src/interfaces/Makefile
---- postgresql-8.1.5.orig/src/interfaces/Makefile 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/interfaces/Makefile 2006-11-05 15:50:53.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS)
-
-diff -Nru postgresql-8.1.5.orig/src/Makefile postgresql-8.1.5/src/Makefile
---- postgresql-8.1.5.orig/src/Makefile 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/Makefile 2006-11-05 15:50:53.000000000 +0100
-@@ -18,7 +18,6 @@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -47,7 +46,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -61,7 +59,6 @@
- -$(MAKE) -C port $@
- -$(MAKE) -C timezone $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-8.1.8-regress_fix.patch b/dev-db/postgresql/files/postgresql-8.1.8-regress_fix.patch
deleted file mode 100644
index 0cb39d576f34..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.8-regress_fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/test/regress/sql/interval.sql 2006-08-05 14:45:52.000000000 +0200
-+++ src/test/regress/sql/interval.sql 2006-08-05 14:46:15.000000000 +0200
-@@ -61,12 +61,6 @@
-
- SELECT '' AS ten, * FROM INTERVAL_TBL;
-
---- test avg(interval), which is somewhat fragile since people have been
---- known to change the allowed input syntax for type interval without
---- updating pg_aggregate.agginitval
--
--select avg(f1) from interval_tbl;
--
- -- test long interval input
- select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval;
-
---- src/test/regress/expected/interval.out 2006-08-05 14:46:23.000000000 +0200
-+++ src/test/regress/expected/interval.out 2006-08-05 14:46:51.000000000 +0200
-@@ -212,15 +212,6 @@
- | @ 5 mons 12 hours
- (10 rows)
-
---- test avg(interval), which is somewhat fragile since people have been
---- known to change the allowed input syntax for type interval without
---- updating pg_aggregate.agginitval
--select avg(f1) from interval_tbl;
-- avg
---------------------------------------------------
-- @ 4 years 1 mon 9 days 28 hours 18 mins 23 secs
--(1 row)
--
- -- test long interval input
- select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval;
- interval
diff --git a/dev-db/postgresql/files/postgresql-8.1.8-regress_su.patch b/dev-db/postgresql/files/postgresql-8.1.8-regress_su.patch
deleted file mode 100644
index 28e29253dacb..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.8-regress_su.patch
+++ /dev/null
@@ -1,116 +0,0 @@
---- src/test/regress/pg_regress.sh 2006-08-01 10:57:17.000000000 +0200
-+++ src/test/regress/pg_regress.sh 2006-08-04 00:14:39.000000000 +0200
-@@ -81,8 +81,8 @@
- # Initialize default settings
- # ----------
-
--: ${inputdir=.}
--: ${outputdir=.}
-+: ${inputdir=PORTAGETEMPDIRPG}
-+: ${outputdir=PORTAGETEMPDIRPG}
-
- libdir='@libdir@'
- bindir='@bindir@'
-@@ -410,7 +410,8 @@
- message "initializing database system"
- [ "$debug" = yes ] && initdb_options="--debug"
- [ "$nolocale" = yes ] && initdb_options="$initdb_options --no-locale"
-- "$bindir/initdb" -D "$PGDATA" -L "$datadir" --noclean $initdb_options >"$LOGDIR/initdb.log" 2>&1
-+ chown portage "${datadir}" "${temp_install}" "${inputdir}/testtablespace"
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/initdb -D '$PGDATA' -L '$datadir' --noclean $initdb_options" >"$LOGDIR/initdb.log" 2>&1
-
- if [ $? -ne 0 ]
- then
-@@ -433,7 +434,7 @@
- else
- postmaster_options="$postmaster_options -c listen_addresses="
- fi
-- "$bindir/postmaster" -D "$PGDATA" -F $postmaster_options >"$LOGDIR/postmaster.log" 2>&1 &
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/postmaster -D '$PGDATA' -F $postmaster_options" >"$LOGDIR/postmaster.log" 2>&1 &
- postmaster_pid=$!
-
- # Wait till postmaster is able to accept connections (normally only
-@@ -441,7 +442,7 @@
- # wait forever, however.
- i=0
- max=60
-- until "$bindir/psql" -X $psql_options postgres </dev/null 2>/dev/null
-+ until su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/psql -X $psql_options postgres </dev/null 2>/dev/null"
- do
- i=`expr $i + 1`
- if [ $i -ge $max ]
-@@ -498,7 +499,7 @@
- fi
-
- message "dropping database \"$dbname\""
-- "$bindir/dropdb" $psql_options "$dbname"
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='ISO, MDY' $bindir/dropdb $psql_options '$dbname'"
- # errors can be ignored
- fi
-
-@@ -538,17 +539,17 @@
- # ----------
-
- message "creating database \"$dbname\""
--"$bindir/createdb" $encoding_opt $psql_options --template template0 "$dbname"
-+su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/createdb $encoding_opt $psql_options --template template0 '$dbname'"
- if [ $? -ne 0 ]; then
- echo "$me: createdb failed"
- (exit 2); exit
- fi
-
--"$bindir/psql" -q -X $psql_options -c "\
-+su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/psql -q -X $psql_options -c \"\
- alter database \"$dbname\" set lc_messages to 'C';
- alter database \"$dbname\" set lc_monetary to 'C';
- alter database \"$dbname\" set lc_numeric to 'C';
--alter database \"$dbname\" set lc_time to 'C';" "$dbname"
-+alter database \"$dbname\" set lc_time to 'C';\" '$dbname'"
- if [ $? -ne 0 ]; then
- echo "$me: could not set database default locales"
- (exit 2); exit
-@@ -560,7 +561,7 @@
- # ----------
-
- message "dropping regression test user accounts"
--"$bindir/psql" -q -X $psql_options -c 'DROP GROUP regressgroup1; DROP GROUP regressgroup2; DROP USER regressuser1, regressuser2, regressuser3, regressuser4;' $dbname 2>/dev/null
-+su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/psql -q -X $psql_options -c 'DROP GROUP regressgroup1; DROP GROUP regressgroup2; DROP USER regressuser1, regressuser2, regressuser3, regressuser4;' '$dbname' 2>/dev/null"
- if [ $? -eq 2 ]; then
- echo "$me: could not drop user accounts"
- (exit 2); exit
-@@ -575,7 +576,7 @@
- for lang in xyzzy $load_langs ; do
- if [ "$lang" != "xyzzy" ]; then
- message "installing $lang"
-- "$bindir/createlang" $psql_options $lang $dbname
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/createlang $psql_options $lang '$dbname'"
- if [ $? -ne 0 ] && [ $? -ne 2 ]; then
- echo "$me: createlang $lang failed"
- (exit 2); exit
-@@ -635,7 +636,7 @@
- # Run a single test
- formatted=`echo $1 | awk '{printf "%-20.20s", $1;}'`
- $ECHO_N "test $formatted ... $ECHO_C"
-- ( $PSQL -d "$dbname" <"$inputdir/sql/$1.sql" >"$outputdir/results/$1.out" 2>&1 )&
-+ ( su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' ${PSQL} -d '${dbname}' < '${inputdir}/sql/${1}.sql' > '${outputdir}/results/${1}.out' 2>&1" )&
- wait
- else
- # Start a parallel group
-@@ -646,7 +647,7 @@
- fi
- for name do
- (
-- $PSQL -d "$dbname" <"$inputdir/sql/$name.sql" >"$outputdir/results/$name.out" 2>&1
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' ${PSQL} -d '${dbname}' < '${inputdir}/sql/${name}.sql' > '${outputdir}/results/${name}.out' 2>&1"
- $ECHO_N " $name$ECHO_C"
- ) &
- if [ $maxconnections -gt 0 ] ; then
-@@ -740,7 +741,7 @@
-
- if [ -n "$postmaster_pid" ]; then
- message "shutting down postmaster"
-- "$bindir/pg_ctl" -s -D "$PGDATA" stop
-+ su -s /bin/sh -l portage -c "PGTZ='PST8PDT' PGDATESTYLE='Postgres, MDY' $bindir/pg_ctl -s -D '$PGDATA' stop"
- wait "$postmaster_pid"
- unset postmaster_pid
- fi
diff --git a/dev-db/postgresql/files/postgresql-8.1.8-sh.patch b/dev-db/postgresql/files/postgresql-8.1.8-sh.patch
deleted file mode 100644
index 6350771080e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.8-sh.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/include/storage/s_lock.h 2005-01-01 07:03:42.000000000 +0900
-+++ src/include/storage/s_lock.h 2005-08-17 23:09:19.000000000 +0900
-@@ -300,6 +300,31 @@
- #endif /* __s390__ || __s390x__ */
-
-
-+#if defined(__sh__)
-+#define HAS_TEST_AND_SET
-+
-+typedef unsigned char slock_t;
-+
-+#define TAS(lock) tas(lock)
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ register int _res = 1;
-+
-+ __asm__ __volatile__(
-+ "tas.b @%1\n\t"
-+ "movt %0\n\t"
-+ "xor #1,%0"
-+: "=z"(_res)
-+: "r"(lock)
-+: "t","memory");
-+ return _res;
-+}
-+
-+#endif /* __sh__ */
-+
-+
- #if defined(__sparc__)
- #define HAS_TEST_AND_SET
-
diff --git a/dev-db/postgresql/postgresql-7.3.15-r1.ebuild b/dev-db/postgresql/postgresql-7.3.15-r1.ebuild
deleted file mode 100644
index 3cb3c86367e2..000000000000
--- a/dev-db/postgresql/postgresql-7.3.15-r1.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.15-r1.ebuild,v 1.13 2007/04/28 22:04:20 tove Exp $
-
-inherit eutils gnuconfig flag-o-matic java-pkg multilib
-
-DESCRIPTION="sophisticated Object-Relational DBMS"
-
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ~ppc64 s390 sh sparc x86"
-IUSE="doc java libg++ nls pam perl python readline ssl tcl tk zlib threads selinux"
-
-DEPEND="~dev-db/libpq-7.3.15
- !>=dev-db/libpq-7.3.16
- sys-devel/autoconf
- >=sys-libs/ncurses-5.2
- zlib? ( >=sys-libs/zlib-1.1.3 )
- readline? ( >=sys-libs/readline-4.1 )
- tcl? ( >=dev-lang/tcl-8 )
- tk? ( >=dev-lang/tk-8.3.3-r1 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- java? ( >=virtual/jdk-1.3 >=dev-java/ant-1.3
- dev-java/java-config )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- nls? ( sys-devel/gettext )"
-# java dep workaround for portage bug
-# x86? ( java? ( =dev-java/sun-jdk-1.3* >=dev-java/ant-1.3 ) )
-RDEPEND="virtual/libc
- =dev-db/libpq-7.3.15*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcl? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- java? ( >=virtual/jdk-1.3 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )"
-
-PG_DIR="/var/lib/postgresql"
-
-pkg_setup() {
- if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
- PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
- PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
- if [ ${PG_MAJOR} -lt 7 ] || [ ${PG_MAJOR} -eq 7 -a ${PG_MINOR} -lt 3 ] ; then
- eerror "Postgres ${PV} cannot upgrade your existing databases, you must"
- eerror "use pg_dump to export your existing databases to a file, and then"
- eerror "pg_restore to import them when you have upgraded completely."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- fi
- fi
- enewgroup postgres 70 \
- || die "problem adding group postgres"
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres \
- || die "problem adding user postgres"
-}
-
-check_java_config() {
- JDKHOME="`java-config --jdk-home`"
- if [[ -z "${JDKHOME}" || ! -d "${JDKHOME}" ]]; then
- NOJDKERROR="You need to use java-config to set your JVM to a JDK!"
- eerror "${NOJDKERROR}"
- die "${NOJDKERROR}"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PN}-${PV%.*}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV%.*}-cubeparse.patch"
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcl && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- use java && myconf="$myconf --with-java"
- use ssl && myconf="$myconf --with-openssl"
- use nls && myconf="$myconf --enable-nls"
- use libg++ && myconf="$myconf --with-CXX"
- use pam && myconf="$myconf --with-pam"
- use readline || myconf="$myconf --without-readline"
- use zlib || myconf="$myconf --without-zlib"
- use threads && myconf="$myconf --enable-thread-safety"
-
- # these are the only working CFLAGS I could get on ppc, so locking them
- # down, anything more aggressive fails (i.e. -mcpu or -Ox)
- # Gerk - Nov 26, 2002
- use ppc && CFLAGS="-pipe -fsigned-char"
-
- # Detect mips systems properly
- gnuconfig_update
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --includedir=/usr/include/postgresql/pgsql \
- --enable-depend \
- --with-maxbackends=1024 \
- $myconf || die
-
- make || die
- cd contrib
- make || die
-}
-
-src_install() {
- if use perl; then
- mv ${S}/src/pl/plperl/Makefile ${S}/src/pl/plperl/Makefile_orig
- sed -e "s:(INST_DYNAMIC) /usr/lib:(INST_DYNAMIC) ${D}/usr/$(get_libdir):" \
- ${S}/src/pl/plperl/Makefile_orig > ${S}/src/pl/plperl/Makefile
- mv ${S}/src/pl/plperl/GNUmakefile ${S}/src/pl/plperl/GNUmakefile_orig
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- ${S}/src/pl/plperl/GNUmakefile_orig > ${S}/src/pl/plperl/GNUmakefile
- fi
-
- make DESTDIR=${D} includedir_server=/usr/include/postgresql/server \
- includedir_internal=/usr/include/postgresql/internal \
- LIBDIR=${D}/usr/$(get_libdir) \
- python_moduleexecdir="${python_execprefix}/$(get_libdir)/python${python_version}/site-packages" \
- install || die
- make DESTDIR=${D} includedir_server=/usr/include/postgresql/server includedir_internal=/usr/include/postgresql/internal install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die
- cd ${S}
- dodoc COPYRIGHT HISTORY INSTALL README register.txt
- dodoc contrib/adddepend/*
-
- if use java; then
- # we need to remove jar file after dojar; otherwise two same jar
- # file are installed.
- java-pkg_dojar ${D}/usr/share/postgresql/java/postgresql.jar
- rm ${D}/usr/share/postgresql/java/postgresql.jar
- fi
-
- # backward compatibility
- for i in ${D}/usr/include/postgresql/pgsql/*
- do
- ln -s ${i} ${D}/usr/include/
- done
-
- cd ${S}/doc
- dodoc FAQ* README.* TODO bug.template
- if use doc; then
- cd ${S}/doc
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- cd ${S}
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die
-
- keepdir /var/lib/postgresql
-}
-
-pkg_postinst() {
- einfo "Execute the following command"
- einfo "emerge --config =${PF}"
- einfo "to setup the initial database environment."
- einfo ""
- einfo "Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell"
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p ${PG_DIR}/data
- chown -Rf postgres:postgres ${PG_DIR}
- chmod 700 ${PG_DIR}/data
-
- einfo "Initializing the database ..."
- if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
- PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
- PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
- if [ ${PG_MAJOR} -lt 7 ] || [ ${PG_MAJOR} -eq 7 -a ${PG_MINOR} -lt 3 ] ; then
- eerror "Postgres ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- else
- einfon "A postgres data directory already exists from version "; cat ${PG_DIR}/data/PG_VERSION
- einfo "Read the documentation to check how to upgrade to version ${PV}."
- fi
- else
- # On hppa, postgresql need way more than the default sem index and shmmax
- if [ "${ARCH}" = "hppa" ]; then
- SEM_IDX_MIN=1024
- SHMMAX_MIN=100000000
- SEM_IDX=`sysctl kernel.sem | awk '{ print $6 }'`
- if [ $SEM_IDX -lt ${SEM_IDX_MIN} ]; then
- eerror "The last value of /proc/sys/kernel/sem is too low for postgresql to run"
- eerror "Temporary setting this value to ${SEM_IDX_MIN} while creating the initial database."
- cat /proc/sys/kernel/sem | sed -e "s/\t${SEM_IDX}/\t${SEM_IDX_MIN}/" > /proc/sys/kernel/sem
- fi
- fi
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ "${ARCH}" = "hppa" ]; then
- if [ ! `sysctl kernel.sem | awk '{ print $6 }'` -eq ${SEM_IDX} ] ; then
- cat /proc/sys/kernel/sem | sed -e "s/\t${SEM_IDX_MIN}/\t${SEM_IDX}/" > /proc/sys/kernel/sem
- ewarn "Restoring the sem idx value to the previous value"
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEM_IDX_MIN}"
- fi
-
- if [ `sysctl kernel.shmmax | awk '{ print $3 }'` -lt ${SHMMAX_MIN} ]; then
- eerror "The current value of /proc/sys/kernel/shmmax is too low"
- eerror "for postgresql to run. Please edit /etc/sysctl.conf and set"
- eerror "this value to at least ${SHMMAX_MIN}."
-
- fi
- fi
-
- einfo "If you are upgrading from a pre-7.3 version of PostgreSQL, please read"
- einfo "the README.adddepend file for information on how to properly migrate"
- einfo "all serial columns, unique keys and foreign keys to this version."
-
- einfo ""
- einfo "You can use /etc/init.d/postgresql script to run PostgreSQL instead of pg_ctl."
- einfo ""
- fi
-}
diff --git a/dev-db/postgresql/postgresql-7.3.16.ebuild b/dev-db/postgresql/postgresql-7.3.16.ebuild
deleted file mode 100644
index afaadd1d88dc..000000000000
--- a/dev-db/postgresql/postgresql-7.3.16.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.16.ebuild,v 1.12 2007/02/05 23:17:51 vapier Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
- >=sys-libs/ncurses-5.2
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- readline? ( >=sys-libs/readline-4.1 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- tcl? ( >=dev-lang/tcl-8 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )
- xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-pkg_setup() {
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- if [[ $(cat "${PG_DIR}/data/PG_VERSION") != $(get_version_component_range 1-2) ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases, you must"
- eerror "use pg_dump to export your existing databases to a file, and then"
- eerror "pg_restore to import them when you have upgraded completely."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- fi
- fi
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV}-cubeparse.patch"
-
- # Prepare package for future tests
- if use test ; then
- # We need to run the tests as a non-root user, portage seems the most fitting here,
- # so if userpriv is enabled, we use it directly. If userpriv is disabled, well, we
- # don't support that in this version of PostgreSQL ... :)
- mkdir -p "${S}/src/test/regress/tmp_check"
- chown portage "${S}/src/test/regress/tmp_check"
- einfo "Tests will be run as user portage."
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Correctly support the XML stuff
- if use xml ; then
- CFLAGS="${CFLAGS} $(pkg-config --cflags libxml-2.0)"
- LIBS="${LIBS} $(pkg-config --libs libxml-2.0)"
- fi
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/pgsql \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_enable pg-intdatetime integer-datetimes ) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- --without-tk \
- $(use_with zlib) \
- || die "configure failed"
-
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
- cd "${S}/contrib"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml emake failed"
- fi
-}
-
-src_install() {
- if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
- fi
-
- cd "${S}"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
- cd "${S}/contrib"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml emake install failed"
- fi
-
- cd "${S}"
- dodoc README HISTORY
- dodoc contrib/adddepend/*
-
- cd "${S}/doc"
- dodoc FAQ* README.* TODO bug.template
-
- if use doc ; then
- cd "${S}/doc"
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-}
-
-pkg_postinst() {
- elog "Execute the following command to setup the initial database environment:"
- elog
- elog "emerge --config =${PF}"
- elog
- elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p "${PG_DIR}/data"
- chown -Rf postgres:postgres "${PG_DIR}"
- chmod 0700 "${PG_DIR}/data"
-
- einfo "Initializing the database ..."
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- else
- if use kernel_linux ; then
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
- eerror "The current value of SEMMNI is too low"
- eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
-
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value."
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}:"
- ewarn
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
- eerror
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror
- fi
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- fi
-
- einfo
- einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
- einfo
- fi
-}
-
-src_test() {
- cd "${S}"
-
- einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if hasq userpriv ${FEATURES} ; then
- if ! emake -j1 check ; then
- hasq test ${FEATURES} && die "Make check failed. See above for details."
- hasq test ${FEATURES} || eerror "Make check failed. See above for details."
- fi
- else
- eerror "Tests won't be run if FEATURES=userpriv is disabled!"
- fi
-
- einfo "Yes, there are other tests which could be run."
- einfo "... and no, we don't plan to add/support them."
- einfo "For now, the main regressions tests will suffice."
- einfo "If you think other tests are necessary, please submit a"
- einfo "bug including a patch for this ebuild to enable them."
-}
diff --git a/dev-db/postgresql/postgresql-7.3.18.ebuild b/dev-db/postgresql/postgresql-7.3.18.ebuild
deleted file mode 100644
index 2480588ddc10..000000000000
--- a/dev-db/postgresql/postgresql-7.3.18.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.18.ebuild,v 1.8 2007/03/03 16:21:03 beandog Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
- >=sys-libs/ncurses-5.2
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- readline? ( >=sys-libs/readline-4.1 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- tcl? ( >=dev-lang/tcl-8 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )
- xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-pkg_setup() {
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- if [[ $(cat "${PG_DIR}/data/PG_VERSION") != $(get_version_component_range 1-2) ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases, you must"
- eerror "use pg_dump to export your existing databases to a file, and then"
- eerror "pg_restore to import them when you have upgraded completely."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- fi
- fi
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV}-cubeparse.patch"
-
- # Prepare package for future tests
- if use test ; then
- # We need to run the tests as a non-root user, portage seems the most fitting here,
- # so if userpriv is enabled, we use it directly. If userpriv is disabled, well, we
- # don't support that in this version of PostgreSQL ... :)
- mkdir -p "${S}/src/test/regress/tmp_check"
- chown portage "${S}/src/test/regress/tmp_check"
- einfo "Tests will be run as user portage."
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Correctly support the XML stuff
- if use xml ; then
- CFLAGS="${CFLAGS} $(pkg-config --cflags libxml-2.0)"
- LIBS="${LIBS} $(pkg-config --libs libxml-2.0)"
- fi
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/pgsql \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_enable pg-intdatetime integer-datetimes ) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- --without-tk \
- $(use_with zlib) \
- || die "configure failed"
-
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
- cd "${S}/contrib"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml emake failed"
- fi
-}
-
-src_install() {
- if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
- fi
-
- cd "${S}"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
- cd "${S}/contrib"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml emake install failed"
- fi
-
- cd "${S}"
- dodoc README HISTORY
- dodoc contrib/adddepend/*
-
- cd "${S}/doc"
- dodoc FAQ* README.* TODO bug.template
-
- if use doc ; then
- cd "${S}/doc"
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-}
-
-pkg_postinst() {
- elog "Execute the following command to setup the initial database environment:"
- elog
- elog "emerge --config =${PF}"
- elog
- elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p "${PG_DIR}/data"
- chown -Rf postgres:postgres "${PG_DIR}"
- chmod 0700 "${PG_DIR}/data"
-
- einfo "Initializing the database ..."
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- else
- if use kernel_linux ; then
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
- eerror "The current value of SEMMNI is too low"
- eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
-
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value."
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}:"
- ewarn
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
- eerror
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror
- fi
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- fi
-
- einfo
- einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
- einfo
- fi
-}
-
-src_test() {
- cd "${S}"
-
- einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if hasq userpriv ${FEATURES} ; then
- if ! emake -j1 check ; then
- hasq test ${FEATURES} && die "Make check failed. See above for details."
- hasq test ${FEATURES} || eerror "Make check failed. See above for details."
- fi
- else
- eerror "Tests won't be run if FEATURES=userpriv is disabled!"
- fi
-
- einfo "Yes, there are other tests which could be run."
- einfo "... and no, we don't plan to add/support them."
- einfo "For now, the main regressions tests will suffice."
- einfo "If you think other tests are necessary, please submit a"
- einfo "bug including a patch for this ebuild to enable them."
-}
diff --git a/dev-db/postgresql/postgresql-7.4.13.ebuild b/dev-db/postgresql/postgresql-7.4.13.ebuild
deleted file mode 100644
index 4ceb6cab589d..000000000000
--- a/dev-db/postgresql/postgresql-7.4.13.ebuild
+++ /dev/null
@@ -1,308 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.13.ebuild,v 1.14 2007/04/28 22:04:20 tove Exp $
-
-inherit eutils gnuconfig flag-o-matic java-pkg multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-P_HIERPG="hier-Pg7.4-0.5.3"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- pg-hier? ( ftp://gborg.postgresql.org/pub/hierpg/stable/${P_HIERPG}.tar.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="ssl nls java python tcl tk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads xml selinux"
-
-DEPEND="~dev-db/libpq-7.4.13
- !>=dev-db/libpq-7.4.14
- sys-devel/autoconf
- >=sys-libs/ncurses-5.2
- >=sys-devel/bison-1.875
- zlib? ( >=sys-libs/zlib-1.1.3 )
- readline? ( >=sys-libs/readline-4.1 )
- tcl? ( >=dev-lang/tcl-8 )
- tk? ( >=dev-lang/tk-8.3.3-r1 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- java? ( >=virtual/jdk-1.3 >=dev-java/ant-1.3
- dev-java/java-config )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- nls? ( sys-devel/gettext )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )"
-# java dep workaround for portage bug
-# x86? ( java? ( =dev-java/sun-jdk-1.3* >=dev-java/ant-1.3 ) )
-RDEPEND="virtual/libc
- =dev-db/libpq-7.4.13*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcl? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- java? ( >=virtual/jdk-1.3 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )"
-
-PG_DIR="/var/lib/postgresql"
-MAX_CONNECTIONS=1024
-
-pkg_setup() {
- if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
- PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
- PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
- if [ ${PG_MAJOR} -lt 7 ] || [ ${PG_MAJOR} -eq 7 -a ${PG_MINOR} -lt 4 ] ; then
- eerror "Postgres ${PV} cannot upgrade your existing databases, you must"
- eerror "use pg_dump to export your existing databases to a file, and then"
- eerror "pg_restore to import them when you have upgraded completely."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- fi
- fi
- enewgroup postgres 70 \
- || die "problem adding group postgres"
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres \
- || die "problem adding user postgres"
-}
-
-check_java_config() {
- JDKHOME="`java-config --jdk-home`"
- if [[ -z "${JDKHOME}" || ! -d "${JDKHOME}" ]]; then
- NOJDKERROR="You need to use java-config to set your JVM to a JDK!"
- eerror "${NOJDKERROR}"
- die "${NOJDKERROR}"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV%.*}-gentoo.patch"
-
- if use pg-hier ; then
- epatch "${WORKDIR}/${P_HIERPG}.diff"
- fi
-
- if use pg-vacuumdelay ; then
- epatch "${FILESDIR}/${PN}-${PV%.*}-vacuum-delay.patch"
- fi
-
- if [[ "${ARCH}" = "hppa" ]] ; then
- epatch "${FILESDIR}/${PN}-${PV%.*}-hppa-testandset.patch"
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcl && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- use java && myconf="$myconf --with-java"
- use ssl && myconf="$myconf --with-openssl"
- use nls && myconf="$myconf --enable-nls"
- use libg++ && myconf="$myconf --with-CXX"
- use pam && myconf="$myconf --with-pam"
- use readline || myconf="$myconf --without-readline"
- use zlib || myconf="$myconf --without-zlib"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
- use threads && myconf="$myconf --enable-thread-safety"
-
- # these are the only working CFLAGS I could get on ppc, so locking them
- # down, anything more aggressive fails (i.e. -mcpu or -Ox)
- # Gerk - Nov 26, 2002
- use ppc && CFLAGS="-pipe -fsigned-char"
- use xml && CFLAGS="${CFLAGS} $(pkg-config --cflags libxml-2.0)"
- use xml && LIBS="${LIBS} $(pkg-config --libs libxml-2.0)"
-
- # Detect mips systems properly
- gnuconfig_update
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --includedir=/usr/include/postgresql/pgsql \
- --enable-depend \
- --with-maxbackends=${MAX_CONNECTIONS} \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- make -C xml LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- fi
-}
-
-src_install() {
- if use perl; then
- mv ${S}/src/pl/plperl/Makefile ${S}/src/pl/plperl/Makefile_orig
- sed -e "s:(INST_DYNAMIC) /usr/lib:(INST_DYNAMIC) ${D}/usr/lib:" \
- ${S}/src/pl/plperl/Makefile_orig > ${S}/src/pl/plperl/Makefile
- mv ${S}/src/pl/plperl/GNUmakefile ${S}/src/pl/plperl/GNUmakefile_orig
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- ${S}/src/pl/plperl/GNUmakefile_orig > ${S}/src/pl/plperl/GNUmakefile
- fi
-
- make DESTDIR=${D} includedir_server=/usr/include/postgresql/server includedir_internal=/usr/include/postgresql/internal LIBDIR=${D}/usr/lib install || die
- make DESTDIR=${D} includedir_server=/usr/include/postgresql/server includedir_internal=/usr/include/postgresql/internal install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- make -C xml DESTDIR=${D} IBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- if use pg-hier; then
- dodoc ${WORKDIR}/README-${P_HIERPG}.html
- fi
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- if use java; then
- # we need to remove jar file after dojar; otherwise two same jar
- # file are installed.
- java-pkg_dojar ${D}/usr/share/postgresql/java/postgresql.jar || die
- rm ${D}/usr/share/postgresql/java/postgresql.jar
- java-pkg_dojar ${D}/usr/share/postgresql/java/postgresql-examples.jar || die
- rm ${D}/usr/share/postgresql/java/postgresql-examples.jar
- fi
-
- # backward compatibility
- for i in ${D}/usr/include/postgresql/pgsql/*
- do
- ln -s ${i} ${D}/usr/include/
- done
-
- cd ${S}/doc
- dodoc FAQ* README.* TODO bug.template
- if use doc; then
- cd ${S}/doc
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- cd ${S}
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die
- newinitd "${FILESDIR}/pg_autovacuum.init-${PV%.*}" pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die
- newconfd "${FILESDIR}/pg_autovacuum.conf-${PV%.*}" pg_autovacuum || die
-}
-
-pkg_postinst() {
- einfo "Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell"
-
- if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
- PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
- PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
- if [ ${PG_MAJOR} -lt 7 ] || [ ${PG_MAJOR} -eq 7 -a ${PG_MINOR} -eq 4 ] ; then
- ewarn ""
- ewarn "If you are upgrading from PostgreSQL 7.4 or 7.4.1, it is strongly recommended"
- ewarn "that you read the release notes concerning changes to the system catalogs."
- ewarn "You can run 7.4.2 without rerunning initdb, however you may still experience"
- ewarn "random crashes due to an error in pg_statistic."
- ewarn ""
- ewarn "If you prefer not to re-initdb your installation, the release notes contain"
- ewarn "a procedure for manually correcting the problem."
- ewarn ""
- fi
-
- if use pg-hier; then
- ewarn ""
- ewarn "REQUIRED!! After installing patched PostgreSQL by pg-hier"
- ewarn "it is required to run 'initdb'. Without this Pg will fail "
- ewarn "with error "
- ewarn "ERROR: did not find '}' at end of input node. "
- ewarn ""
- fi
- else
- einfo ""
- einfo "Execute the following command"
- einfo "emerge --config =${PF}"
- einfo "to setup the initial database environment."
- einfo ""
- fi
-
- einfo ""
- einfo "Python modules was removed from PostgreSQL package."
- einfo "If you need it, please run \"emerge dev-db/pygresql\"."
- einfo ""
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p ${PG_DIR}/data
- chown -Rf postgres:postgres ${PG_DIR}
- chmod 700 ${PG_DIR}/data
-
- einfo "Initializing the database ..."
- if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
- PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
- PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
- if [ ${PG_MAJOR} -lt 7 ] || [ ${PG_MAJOR} -eq 7 -a ${PG_MINOR} -lt 3 ] ; then
- eerror "Postgres ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- else
- einfon "A postgres data directory already exists from version "; cat ${PG_DIR}/data/PG_VERSION
- einfo "Read the documentation to check how to upgrade to version ${PV}."
- fi
- else
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 250000 + 30600 \* ${MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ]; then
- eerror "The current value of SEMMNI is too low"
- eerror "for postgresql to run ${MAX_CONNECTIONS} connections"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value"
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}"
- ewarn ""
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn ""
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ]; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}."
- eerror ""
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror ""
-
- fi
- einfo ""
- einfo "You can use /etc/init.d/postgresql script to run PostgreSQL instead of pg_ctl."
- einfo ""
- fi
-}
diff --git a/dev-db/postgresql/postgresql-7.4.14.ebuild b/dev-db/postgresql/postgresql-7.4.14.ebuild
deleted file mode 100644
index 511820cec567..000000000000
--- a/dev-db/postgresql/postgresql-7.4.14.ebuild
+++ /dev/null
@@ -1,271 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.14.ebuild,v 1.16 2007/02/05 23:17:51 vapier Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
- >=sys-libs/ncurses-5.2
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- readline? ( >=sys-libs/readline-4.1 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- tcl? ( >=dev-lang/tcl-8 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )
- xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-cluster_exists() {
- [[ -f "${PG_DIR}/data/PG_VERSION" ]] && return 0
- return 1
-}
-
-pkg_setup() {
- if hasq pg-hier ${USE} ; then
- ewarn "Warning: pg-hier USE-flag detected:"
- ewarn "The hier-patch has been dropped for this version and the pg-hier USE-flag is therefore deprecated."
- ewarn "If you really used the 'hier' patch in your database with the 'CONNECT BY' statement,"
- ewarn "you should stop now and reconsider. You will be able to reuse your data, but not"
- ewarn "any VIEWS or QUERIES based on that statement."
- ewarn "Please disable the pg-hier USE-flag!"
- ebeep 3
- if cluster_exists ; then
- eerror "There is already a database in '${PG_DIR}/data' and you have the pg-hier USE-flag set."
- eerror "Please read the message above first. If you decide that the warnings there don't"
- eerror "apply to your situation, dump the database using pg_dump and move the '${PG_DIR}/data'"
- eerror "away. Then restart the merge. After that create a new database cluster and use pg_restore to"
- eerror "re-import the previously dumped data."
- eerror "Moving '${PG_DIR}/data' temporarely away or just disable the 'pg-hier' USE-flag won't work."
- die "Can't update this database."
- fi
- fi
- if cluster_exists ; then
- local cluster_version=$(cat "${PG_DIR}/data/PG_VERSION")
- if [[ ${cluster_version} != $(get_version_component_range 1-2) ]] ; then
- eerror "There is a database in '${PG_DIR}/data' from PostgreSQL version ${cluster_version}."
- eerror "PostgreSQL doesn't support upgrades between major versions, you have to use pg_dump"
- eerror "to dump your existing database. Then move your '${PG_DIR}/data' directory away and"
- eerror "restart the merge. After that create a new database cluster and use pg_restore to"
- eerror "re-import the previously dumped data."
- die "Can't update this database."
- fi
- fi
-
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV}-hppa-testandset.patch"
-
- # Prepare package for future tests
- if use test ; then
- # We need to run the tests as a non-root user, portage seems the most fitting here,
- # so if userpriv is enabled, we use it directly. If userpriv is disabled, well, we
- # don't support that in this version of PostgreSQL ... :)
- mkdir -p "${S}/src/test/regress/tmp_check"
- chown portage "${S}/src/test/regress/tmp_check"
- einfo "Tests will be run as user portage."
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Correctly support the XML stuff
- if use xml ; then
- CFLAGS="${CFLAGS} $(pkg-config --cflags libxml-2.0)"
- LIBS="${LIBS} $(pkg-config --libs libxml-2.0)"
- fi
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/pgsql \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_enable pg-intdatetime integer-datetimes ) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- --without-tk \
- $(use_with zlib) \
- || die "configure failed"
-
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
- cd "${S}/contrib"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml emake failed"
- fi
-}
-
-src_install() {
- if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
- fi
-
- cd "${S}"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
- cd "${S}/contrib"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml emake install failed"
- fi
-
- cd "${S}"
- dodoc README HISTORY
- dodoc contrib/adddepend/*
-
- cd "${S}/doc"
- dodoc FAQ* README.* TODO bug.template
-
- if use doc ; then
- cd "${S}/doc"
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-
- newinitd "${FILESDIR}/pg_autovacuum.init-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum init.d-file failed"
- newconfd "${FILESDIR}/pg_autovacuum.conf-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum conf.d-file failed"
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-}
-
-pkg_postinst() {
- elog "Execute the following command to setup the initial database environment:"
- elog
- elog "emerge --config =${PF}"
- elog
- elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p "${PG_DIR}/data"
- chown -Rf postgres:postgres "${PG_DIR}"
- chmod 0700 "${PG_DIR}/data"
-
- einfo "Initializing the database ..."
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- else
- if use kernel_linux ; then
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
- eerror "The current value of SEMMNI is too low"
- eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
-
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value."
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}:"
- ewarn
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
- eerror
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror
- fi
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- fi
-
- einfo
- einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
- einfo
- fi
-}
-
-src_test() {
- cd "${S}"
-
- einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if hasq userpriv ${FEATURES} ; then
- if ! emake -j1 check ; then
- hasq test ${FEATURES} && die "Make check failed. See above for details."
- hasq test ${FEATURES} || eerror "Make check failed. See above for details."
- fi
- else
- eerror "Tests won't be run if FEATURES=userpriv is disabled!"
- fi
-
- einfo "Yes, there are other tests which could be run."
- einfo "... and no, we don't plan to add/support them."
- einfo "For now, the main regressions tests will suffice."
- einfo "If you think other tests are necessary, please submit a"
- einfo "bug including a patch for this ebuild to enable them."
-}
diff --git a/dev-db/postgresql/postgresql-7.4.16.ebuild b/dev-db/postgresql/postgresql-7.4.16.ebuild
deleted file mode 100644
index c632eca86084..000000000000
--- a/dev-db/postgresql/postgresql-7.4.16.ebuild
+++ /dev/null
@@ -1,271 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.16.ebuild,v 1.8 2007/03/04 11:14:50 blubb Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
- >=sys-libs/ncurses-5.2
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- readline? ( >=sys-libs/readline-4.1 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- tcl? ( >=dev-lang/tcl-8 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )
- xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-cluster_exists() {
- [[ -f "${PG_DIR}/data/PG_VERSION" ]] && return 0
- return 1
-}
-
-pkg_setup() {
- if hasq pg-hier ${USE} ; then
- ewarn "Warning: pg-hier USE-flag detected:"
- ewarn "The hier-patch has been dropped for this version and the pg-hier USE-flag is therefore deprecated."
- ewarn "If you really used the 'hier' patch in your database with the 'CONNECT BY' statement,"
- ewarn "you should stop now and reconsider. You will be able to reuse your data, but not"
- ewarn "any VIEWS or QUERIES based on that statement."
- ewarn "Please disable the pg-hier USE-flag!"
- ebeep 3
- if cluster_exists ; then
- eerror "There is already a database in '${PG_DIR}/data' and you have the pg-hier USE-flag set."
- eerror "Please read the message above first. If you decide that the warnings there don't"
- eerror "apply to your situation, dump the database using pg_dump and move the '${PG_DIR}/data'"
- eerror "away. Then restart the merge. After that create a new database cluster and use pg_restore to"
- eerror "re-import the previously dumped data."
- eerror "Moving '${PG_DIR}/data' temporarely away or just disable the 'pg-hier' USE-flag won't work."
- die "Can't update this database."
- fi
- fi
- if cluster_exists ; then
- local cluster_version=$(cat "${PG_DIR}/data/PG_VERSION")
- if [[ ${cluster_version} != $(get_version_component_range 1-2) ]] ; then
- eerror "There is a database in '${PG_DIR}/data' from PostgreSQL version ${cluster_version}."
- eerror "PostgreSQL doesn't support upgrades between major versions, you have to use pg_dump"
- eerror "to dump your existing database. Then move your '${PG_DIR}/data' directory away and"
- eerror "restart the merge. After that create a new database cluster and use pg_restore to"
- eerror "re-import the previously dumped data."
- die "Can't update this database."
- fi
- fi
-
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV}-hppa-testandset.patch"
-
- # Prepare package for future tests
- if use test ; then
- # We need to run the tests as a non-root user, portage seems the most fitting here,
- # so if userpriv is enabled, we use it directly. If userpriv is disabled, well, we
- # don't support that in this version of PostgreSQL ... :)
- mkdir -p "${S}/src/test/regress/tmp_check"
- chown portage "${S}/src/test/regress/tmp_check"
- einfo "Tests will be run as user portage."
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Correctly support the XML stuff
- if use xml ; then
- CFLAGS="${CFLAGS} $(pkg-config --cflags libxml-2.0)"
- LIBS="${LIBS} $(pkg-config --libs libxml-2.0)"
- fi
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/pgsql \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_enable pg-intdatetime integer-datetimes ) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- --without-tk \
- $(use_with zlib) \
- || die "configure failed"
-
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
- cd "${S}/contrib"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml emake failed"
- fi
-}
-
-src_install() {
- if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
- fi
-
- cd "${S}"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
- cd "${S}/contrib"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
- if use xml ; then
- cd "${S}/contrib/xml"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml emake install failed"
- fi
-
- cd "${S}"
- dodoc README HISTORY
- dodoc contrib/adddepend/*
-
- cd "${S}/doc"
- dodoc FAQ* README.* TODO bug.template
-
- if use doc ; then
- cd "${S}/doc"
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-
- newinitd "${FILESDIR}/pg_autovacuum.init-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum init.d-file failed"
- newconfd "${FILESDIR}/pg_autovacuum.conf-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum conf.d-file failed"
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-}
-
-pkg_postinst() {
- elog "Execute the following command to setup the initial database environment:"
- elog
- elog "emerge --config =${PF}"
- elog
- elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p "${PG_DIR}/data"
- chown -Rf postgres:postgres "${PG_DIR}"
- chmod 0700 "${PG_DIR}/data"
-
- einfo "Initializing the database ..."
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- else
- if use kernel_linux ; then
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
- eerror "The current value of SEMMNI is too low"
- eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
-
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value."
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}:"
- ewarn
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
- eerror
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror
- fi
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- fi
-
- einfo
- einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
- einfo
- fi
-}
-
-src_test() {
- cd "${S}"
-
- einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if hasq userpriv ${FEATURES} ; then
- if ! emake -j1 check ; then
- hasq test ${FEATURES} && die "Make check failed. See above for details."
- hasq test ${FEATURES} || eerror "Make check failed. See above for details."
- fi
- else
- eerror "Tests won't be run if FEATURES=userpriv is disabled!"
- fi
-
- einfo "Yes, there are other tests which could be run."
- einfo "... and no, we don't plan to add/support them."
- einfo "For now, the main regressions tests will suffice."
- einfo "If you think other tests are necessary, please submit a"
- einfo "bug including a patch for this ebuild to enable them."
-}
diff --git a/dev-db/postgresql/postgresql-8.0.9-r1.ebuild b/dev-db/postgresql/postgresql-8.0.9-r1.ebuild
deleted file mode 100644
index a63e7470e906..000000000000
--- a/dev-db/postgresql/postgresql-8.0.9-r1.ebuild
+++ /dev/null
@@ -1,267 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-8.0.9-r1.ebuild,v 1.12 2007/01/13 23:14:27 vapier Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
- >=sys-libs/ncurses-5.2
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- readline? ( >=sys-libs/readline-4.1 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- tcl? ( >=dev-lang/tcl-8 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )
- xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-cluster_exists() {
- [[ -f "${PG_DIR}/data/PG_VERSION" ]] && return 0
- return 1
-}
-
-pkg_setup() {
- if hasq pg-hier ${USE} ; then
- ewarn "Warning: pg-hier USE-flag detected:"
- ewarn "The hier-patch has been dropped for this version and the pg-hier USE-flag is therefore deprecated."
- ewarn "If you really used the 'hier' patch in your database with the 'CONNECT BY' statement,"
- ewarn "you should stop now and reconsider. You will be able to reuse your data, but not"
- ewarn "any VIEWS or QUERIES based on that statement."
- ewarn "Please disable the pg-hier USE-flag!"
- ebeep 3
- if cluster_exists ; then
- eerror "There is already a database in '${PG_DIR}/data' and you have the pg-hier USE-flag set."
- eerror "Please read the message above first. If you decide that the warnings there don't"
- eerror "apply to your situation, dump the database using pg_dump and move the '${PG_DIR}/data'"
- eerror "away. Then restart the merge. After that create a new database cluster and use pg_restore to"
- eerror "re-import the previously dumped data."
- eerror "Moving '${PG_DIR}/data' temporarely away or just disable the 'pg-hier' USE-flag won't work."
- die "Can't update this database."
- fi
- fi
- if cluster_exists ; then
- local cluster_version=$(cat "${PG_DIR}/data/PG_VERSION")
- if [[ ${cluster_version} != $(get_version_component_range 1-2) ]] ; then
- eerror "There is a database in '${PG_DIR}/data' from PostgreSQL version ${cluster_version}."
- eerror "PostgreSQL doesn't support upgrades between major versions, you have to use pg_dump"
- eerror "to dump your existing database. Then move your '${PG_DIR}/data' directory away and"
- eerror "restart the merge. After that create a new database cluster and use pg_restore to"
- eerror "re-import the previously dumped data."
- die "Can't update this database."
- fi
- fi
-
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV}-sh.patch"
-
- # Prepare package for future tests
- if use test ; then
- # Fix sandbox violation
- sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" -i src/test/regress/{input,output}/tablespace.source
-
- # We need to run the tests as a non-root user, portage seems the most fitting here,
- # so if userpriv is enabled, we use it directly. If userpriv is disabled, well, we
- # don't support that in this version of PostgreSQL ... :)
- mkdir -p "${S}/src/test/regress/tmp_check"
- chown portage "${S}/src/test/regress/tmp_check"
- einfo "Tests will be run as user portage."
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/pgsql \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_enable pg-intdatetime integer-datetimes ) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- $(use_with zlib) \
- || die "configure failed"
-
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
- cd "${S}/contrib"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
- if use xml ; then
- cd "${S}/contrib/xml2"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml2 emake failed"
- fi
-}
-
-src_install() {
- if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
- fi
-
- cd "${S}"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
- cd "${S}/contrib"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
- if use xml ; then
- cd "${S}/contrib/xml2"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml2 emake install failed"
- fi
-
- cd "${S}"
- dodoc README HISTORY
- dodoc contrib/adddepend/*
-
- cd "${S}/doc"
- dodoc FAQ* README.* TODO bug.template
-
- if use doc ; then
- cd "${S}/doc"
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-
- newinitd "${FILESDIR}/pg_autovacuum.init-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum init.d-file failed"
- newconfd "${FILESDIR}/pg_autovacuum.conf-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum conf.d-file failed"
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-}
-
-pkg_postinst() {
- elog "Execute the following command to setup the initial database environment:"
- elog
- elog "emerge --config =${PF}"
- elog
- elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p "${PG_DIR}/data"
- chown -Rf postgres:postgres "${PG_DIR}"
- chmod 0700 "${PG_DIR}/data"
-
- einfo "Initializing the database ..."
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- else
- if use kernel_linux ; then
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
- eerror "The current value of SEMMNI is too low"
- eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
-
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value."
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}:"
- ewarn
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
- eerror
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror
- fi
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- fi
-
- einfo
- einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
- einfo
- fi
-}
-
-src_test() {
- cd "${S}"
-
- einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if hasq userpriv ${FEATURES} ; then
- if ! emake -j1 check ; then
- hasq test ${FEATURES} && die "Make check failed. See above for details."
- hasq test ${FEATURES} || eerror "Make check failed. See above for details."
- fi
- else
- eerror "Tests won't be run if FEATURES=userpriv is disabled!"
- fi
-
- einfo "Yes, there are other tests which could be run."
- einfo "... and no, we don't plan to add/support them."
- einfo "For now, the main regressions tests will suffice."
- einfo "If you think other tests are necessary, please submit a"
- einfo "bug including a patch for this ebuild to enable them."
-}
diff --git a/dev-db/postgresql/postgresql-8.1.5-r1.ebuild b/dev-db/postgresql/postgresql-8.1.5-r1.ebuild
deleted file mode 100644
index 1e63bb8efcc2..000000000000
--- a/dev-db/postgresql/postgresql-8.1.5-r1.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-8.1.5-r1.ebuild,v 1.1 2006/12/13 07:59:07 dev-zero Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
- >=sys-libs/ncurses-5.2
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- readline? ( >=sys-libs/readline-4.1 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- tcl? ( >=dev-lang/tcl-8 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )
- xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-pkg_setup() {
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- if [[ $(cat "${PG_DIR}/data/PG_VERSION") != $(get_version_component_range 1-2) ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases, you must"
- eerror "use pg_dump to export your existing databases to a file, and then"
- eerror "pg_restore to import them when you have upgraded completely."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- fi
- fi
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV}-sh.patch"
-
- # Prepare package for future tests
- if use test ; then
- # Fix sandbox violation
- sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" -i src/test/regress/{input,output}/tablespace.source
-
- # Fix broken tests
- epatch "${FILESDIR}/${PN}-${PV}-regress_fix.patch"
-
- # We need to run the tests as a non-root user, portage seems the most fitting here,
- # so if userpriv is enabled, we use it directly. If userpriv is disabled, we need to
- # su - to a valid user, portage again, so we patch the test-scripts to do that.
- mkdir -p "${S}/src/test/regress/tmp_check"
- chown portage "${S}/src/test/regress/tmp_check"
- einfo "Tests will be run as user portage."
- if ! hasq userpriv ${FEATURES} ; then
- mkdir -p "${S}/src/test/regress/results"
- chown portage "${S}/src/test/regress/results"
- epatch "${FILESDIR}/${PN}-${PV}-regress_su.patch"
- sed -e "s|PORTAGETEMPDIRPG|${S}/src/test/regress|g" -i src/test/regress/pg_regress.sh
- fi
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/pgsql \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_enable pg-intdatetime integer-datetimes ) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- $(use_with zlib) \
- || die "configure failed"
-
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
- cd "${S}/contrib"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
- if use xml ; then
- cd "${S}/contrib/xml2"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml2 emake failed"
- fi
-}
-
-src_install() {
- if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
- fi
-
- cd "${S}"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
- cd "${S}/contrib"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
- if use xml ; then
- cd "${S}/contrib/xml2"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml2 emake install failed"
- fi
-
- cd "${S}"
- dodoc README HISTORY
- dodoc contrib/adddepend/*
-
- cd "${S}/doc"
- dodoc FAQ* README.* TODO bug.template
-
- if use doc ; then
- cd "${S}/doc"
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-}
-
-pkg_postinst() {
- elog "Execute the following command to setup the initial database environment:"
- elog
- elog "emerge --config =${PF}"
- elog
- elog "The autovacuum function, which was in contrib, has been moved to the main"
- elog "PostgreSQL functions starting with 8.1."
- elog "You can enable it in ${ROOT}/etc/postgresql/postgresql.conf."
- elog
- elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p "${PG_DIR}/data"
- chown -Rf postgres:postgres "${PG_DIR}"
- chmod 0700 "${PG_DIR}/data"
-
- einfo "Initializing the database ..."
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- else
- if use kernel_linux ; then
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
- eerror "The current value of SEMMNI is too low"
- eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
-
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value."
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}:"
- ewarn
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
- eerror
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror
- fi
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- fi
-
- einfo
- einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
- einfo
- fi
-}
-
-src_test() {
- cd "${S}"
-
- einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if ! emake -j1 check ; then
- hasq test ${FEATURES} && die "Make check failed. See above for details."
- hasq test ${FEATURES} || eerror "Make check failed. See above for details."
- fi
-
- einfo "Yes, there are other tests which could be run."
- einfo "... and no, we don't plan to add/support them."
- einfo "For now, the main regressions tests will suffice."
- einfo "If you think other tests are necessary, please submit a"
- einfo "bug including a patch for this ebuild to enable them."
-}
diff --git a/dev-db/postgresql/postgresql-8.1.8.ebuild b/dev-db/postgresql/postgresql-8.1.8.ebuild
deleted file mode 100644
index 9224d0b53b08..000000000000
--- a/dev-db/postgresql/postgresql-8.1.8.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-8.1.8.ebuild,v 1.1 2007/02/12 03:34:18 mjolnir Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
- test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
- >=sys-libs/ncurses-5.2
- kerberos? ( virtual/krb5 )
- pam? ( virtual/pam )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- readline? ( >=sys-libs/readline-4.1 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- tcl? ( >=dev-lang/tcl-8 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )
- xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-pkg_setup() {
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- if [[ $(cat "${PG_DIR}/data/PG_VERSION") != $(get_version_component_range 1-2) ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases, you must"
- eerror "use pg_dump to export your existing databases to a file, and then"
- eerror "pg_restore to import them when you have upgraded completely."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- fi
- fi
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV}-sh.patch"
-
- # Prepare package for future tests
- if use test ; then
- # Fix sandbox violation
- sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" -i src/test/regress/{input,output}/tablespace.source
-
- # Fix broken tests
- epatch "${FILESDIR}/${PN}-${PV}-regress_fix.patch"
-
- # We need to run the tests as a non-root user, portage seems the most fitting here,
- # so if userpriv is enabled, we use it directly. If userpriv is disabled, we need to
- # su - to a valid user, portage again, so we patch the test-scripts to do that.
- mkdir -p "${S}/src/test/regress/tmp_check"
- chown portage "${S}/src/test/regress/tmp_check"
- einfo "Tests will be run as user portage."
- if ! hasq userpriv ${FEATURES} ; then
- mkdir -p "${S}/src/test/regress/results"
- chown portage "${S}/src/test/regress/results"
- epatch "${FILESDIR}/${PN}-${PV}-regress_su.patch"
- sed -e "s|PORTAGETEMPDIRPG|${S}/src/test/regress|g" -i src/test/regress/pg_regress.sh
- fi
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/pgsql \
- --sysconfdir=/etc/postgresql \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $(use_with kerberos krb5) \
- $(use_enable nls ) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_enable pg-intdatetime integer-datetimes ) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- $(use_with zlib) \
- || die "configure failed"
-
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
- cd "${S}/contrib"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
- if use xml ; then
- cd "${S}/contrib/xml2"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml2 emake failed"
- fi
-}
-
-src_install() {
- if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
- fi
-
- cd "${S}"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
- cd "${S}/contrib"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
- if use xml ; then
- cd "${S}/contrib/xml2"
- emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml2 emake install failed"
- fi
-
- cd "${S}"
- dodoc README HISTORY
- dodoc contrib/adddepend/*
-
- cd "${S}/doc"
- dodoc FAQ* README.* TODO bug.template
-
- if use doc ; then
- cd "${S}/doc"
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-}
-
-pkg_postinst() {
- elog "Execute the following command to setup the initial database environment:"
- elog
- elog "emerge --config =${PF}"
- elog
- elog "The autovacuum function, which was in contrib, has been moved to the main"
- elog "PostgreSQL functions starting with 8.1."
- elog "You can enable it in ${ROOT}/etc/postgresql/postgresql.conf."
- elog
- elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p "${PG_DIR}/data"
- chown -Rf postgres:postgres "${PG_DIR}"
- chmod 0700 "${PG_DIR}/data"
-
- einfo "Initializing the database ..."
- if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
- eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- die "Remove your database directory to continue"
- else
- if use kernel_linux ; then
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
- eerror "The current value of SEMMNI is too low"
- eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
-
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value."
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}:"
- ewarn
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
- eerror
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror
- fi
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- fi
-
- einfo
- einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
- einfo
- fi
-}
-
-src_test() {
- cd "${S}"
-
- einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if ! emake -j1 check ; then
- hasq test ${FEATURES} && die "Make check failed. See above for details."
- hasq test ${FEATURES} || eerror "Make check failed. See above for details."
- fi
-
- einfo "Yes, there are other tests which could be run."
- einfo "... and no, we don't plan to add/support them."
- einfo "For now, the main regressions tests will suffice."
- einfo "If you think other tests are necessary, please submit a"
- einfo "bug including a patch for this ebuild to enable them."
-}