summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-07-30 22:31:11 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-07-30 22:31:11 +0000
commit183663c12e43404d359c59b31c653f9c09edade2 (patch)
tree5acdf7bed9a2e274a816a5641aae964f34a157c3 /dev-db
parentCleanup. (diff)
downloadgentoo-2-183663c12e43404d359c59b31c653f9c09edade2.tar.gz
gentoo-2-183663c12e43404d359c59b31c653f9c09edade2.tar.bz2
gentoo-2-183663c12e43404d359c59b31c653f9c09edade2.zip
Cleanup.
(Portage version: 2.1.1_pre4) (Unsigned Manifest commit)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/Manifest636
-rw-r--r--dev-db/postgresql/files/CAN-2005-1409-doc.patch37
-rw-r--r--dev-db/postgresql/files/CAN-2005-1409.patch24
-rw-r--r--dev-db/postgresql/files/CAN-2005-1410.patch83
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.139
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.149
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.6-r29
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.3.9-r19
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.1112
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.1212
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.7-r112
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.7-r212
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.812
-rw-r--r--dev-db/postgresql/files/digest-postgresql-7.4.912
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.312
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.412
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.612
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.712
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.1.29
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.1.39
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.1.3-r19
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-7.4.1114
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-7.4.1214
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-7.4.714
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-7.4.814
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-7.4.914
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-8.0.314
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-8.0.414
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-8.0.614
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.conf-8.0.714
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-7.4.1151
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-7.4.1251
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-7.4.751
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-7.4.851
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-7.4.951
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-8.0.351
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-8.0.451
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-8.0.651
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-8.0.751
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.11-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.13-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.14-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.9-gentoo.patch12
-rw-r--r--dev-db/postgresql/files/postgresql-7.3.9-securityfix.patch60
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.11-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.11-hppa-testandset.patch52
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.11-vacuum-delay.patch284
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.12-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.12-hppa-testandset.patch52
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.12-vacuum-delay.patch284
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.7-gentoo.patch28
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.7-hppa-testandset.patch52
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.7-securityfix.patch68
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.7-vacuum-delay.patch284
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.8-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.8-hppa-testandset.patch52
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.8-vacuum-delay.patch284
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.9-gentoo.patch51
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.9-hppa-testandset.patch52
-rw-r--r--dev-db/postgresql/files/postgresql-7.4.9-vacuum-delay.patch284
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.3-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.3-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.4-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.4-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.6-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.6-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.7-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.0.7-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.2-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.2-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.3-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.1.3-sh.patch34
-rw-r--r--dev-db/postgresql/files/postgresql.conf13
-rw-r--r--dev-db/postgresql/files/postgresql.conf-7.4.1114
-rw-r--r--dev-db/postgresql/files/postgresql.conf-7.4.1214
-rw-r--r--dev-db/postgresql/files/postgresql.conf-7.4.714
-rw-r--r--dev-db/postgresql/files/postgresql.conf-7.4.814
-rw-r--r--dev-db/postgresql/files/postgresql.conf-7.4.914
-rw-r--r--dev-db/postgresql/files/postgresql.conf-8.0.314
-rw-r--r--dev-db/postgresql/files/postgresql.conf-8.0.414
-rw-r--r--dev-db/postgresql/files/postgresql.conf-8.0.614
-rw-r--r--dev-db/postgresql/files/postgresql.conf-8.0.714
-rw-r--r--dev-db/postgresql/files/postgresql.conf-8.1.214
-rw-r--r--dev-db/postgresql/files/postgresql.conf-8.1.314
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.3.1163
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.3.1363
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.3.1463
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.3.663
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.3.963
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.4.1163
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.4.1263
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.4.763
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.4.863
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.4.963
-rw-r--r--dev-db/postgresql/files/postgresql.init-8.0.363
-rw-r--r--dev-db/postgresql/files/postgresql.init-8.0.463
-rw-r--r--dev-db/postgresql/files/postgresql.init-8.0.663
-rw-r--r--dev-db/postgresql/files/postgresql.init-8.0.763
-rw-r--r--dev-db/postgresql/files/postgresql.init-8.1.263
-rw-r--r--dev-db/postgresql/files/postgresql.init-8.1.363
-rw-r--r--dev-db/postgresql/postgresql-7.3.13.ebuild246
-rw-r--r--dev-db/postgresql/postgresql-7.3.14.ebuild246
-rw-r--r--dev-db/postgresql/postgresql-7.3.6-r2.ebuild230
-rw-r--r--dev-db/postgresql/postgresql-7.3.9-r1.ebuild234
-rw-r--r--dev-db/postgresql/postgresql-7.4.11.ebuild311
-rw-r--r--dev-db/postgresql/postgresql-7.4.12.ebuild311
-rw-r--r--dev-db/postgresql/postgresql-7.4.7-r1.ebuild308
-rw-r--r--dev-db/postgresql/postgresql-7.4.7-r2.ebuild313
-rw-r--r--dev-db/postgresql/postgresql-7.4.8.ebuild307
-rw-r--r--dev-db/postgresql/postgresql-7.4.9.ebuild311
-rw-r--r--dev-db/postgresql/postgresql-8.0.3.ebuild226
-rw-r--r--dev-db/postgresql/postgresql-8.0.4.ebuild230
-rw-r--r--dev-db/postgresql/postgresql-8.0.6.ebuild230
-rw-r--r--dev-db/postgresql/postgresql-8.0.7.ebuild230
-rw-r--r--dev-db/postgresql/postgresql-8.1.2.ebuild225
-rw-r--r--dev-db/postgresql/postgresql-8.1.3-r1.ebuild230
-rw-r--r--dev-db/postgresql/postgresql-8.1.3.ebuild225
117 files changed, 112 insertions, 9667 deletions
diff --git a/dev-db/postgresql/Manifest b/dev-db/postgresql/Manifest
index b249c4d14d28..f681aa4f0026 100644
--- a/dev-db/postgresql/Manifest
+++ b/dev-db/postgresql/Manifest
@@ -1,556 +1,144 @@
-AUX CAN-2005-1409-doc.patch 1749 RMD160 a01fb02931799230c9797dacba6f5d28b0b53ab9 SHA1 5c266765b5ebbfac4b0be9d4bb68617df8315b09 SHA256 6f5e52a18b6fafd50c36659eb8c9980b7987ad262c88bb621640f352208f938b
-MD5 8ca6301197c0d45d7530d4117d087b15 files/CAN-2005-1409-doc.patch 1749
-RMD160 a01fb02931799230c9797dacba6f5d28b0b53ab9 files/CAN-2005-1409-doc.patch 1749
-SHA256 6f5e52a18b6fafd50c36659eb8c9980b7987ad262c88bb621640f352208f938b files/CAN-2005-1409-doc.patch 1749
-AUX CAN-2005-1409.patch 1698 RMD160 0384c424267752491141968fc4420c2d42f4e048 SHA1 d003b859c569ef95b71392a98bc3953baa47f535 SHA256 7236d1036ea0c30423044bddfde1610e0ac53e831fad5f40cf6cc9f43e7c1cf6
-MD5 90acacf5efb7b8a73ec5d34128358c32 files/CAN-2005-1409.patch 1698
-RMD160 0384c424267752491141968fc4420c2d42f4e048 files/CAN-2005-1409.patch 1698
-SHA256 7236d1036ea0c30423044bddfde1610e0ac53e831fad5f40cf6cc9f43e7c1cf6 files/CAN-2005-1409.patch 1698
-AUX CAN-2005-1410.patch 2843 RMD160 6c7ad84e550b5a37b766355411cfb4f25709c864 SHA1 d275e6329f33e64cccb8a398e7cb7a0975db54d0 SHA256 582fb4ef7cc60a81a6b692a36a8eb319c44c85c4852a927322cad321d8d27a67
-MD5 3c53278e59e16caa55429700c0da42f9 files/CAN-2005-1410.patch 2843
-RMD160 6c7ad84e550b5a37b766355411cfb4f25709c864 files/CAN-2005-1410.patch 2843
-SHA256 582fb4ef7cc60a81a6b692a36a8eb319c44c85c4852a927322cad321d8d27a67 files/CAN-2005-1410.patch 2843
-AUX pg_autovacuum.conf-7.4.11 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-7.4.11 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-7.4.11 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-7.4.11 302
-AUX pg_autovacuum.conf-7.4.12 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-7.4.12 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-7.4.12 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-7.4.12 302
-AUX pg_autovacuum.conf-7.4.7 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-7.4.7 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-7.4.7 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-7.4.7 302
-AUX pg_autovacuum.conf-7.4.8 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-7.4.8 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-7.4.8 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-7.4.8 302
-AUX pg_autovacuum.conf-7.4.9 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-7.4.9 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-7.4.9 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-7.4.9 302
-AUX pg_autovacuum.conf-8.0.3 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-8.0.3 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-8.0.3 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-8.0.3 302
-AUX pg_autovacuum.conf-8.0.4 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-8.0.4 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-8.0.4 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-8.0.4 302
-AUX pg_autovacuum.conf-8.0.6 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-8.0.6 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-8.0.6 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-8.0.6 302
-AUX pg_autovacuum.conf-8.0.7 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
-MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-8.0.7 302
-RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-8.0.7 302
-SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-8.0.7 302
-AUX pg_autovacuum.init-7.4.11 1415 RMD160 35618b800621b8b887617bbccdb332b22d5c8832 SHA1 b303ddbd336dd0476ded8c2704986a7d973bedb3 SHA256 af86cf4b90863abe969ebc3cf1999643006d7310a440b2276e79aec11b8d178e
-MD5 e6efc761e2284959300e00943fdd37e8 files/pg_autovacuum.init-7.4.11 1415
-RMD160 35618b800621b8b887617bbccdb332b22d5c8832 files/pg_autovacuum.init-7.4.11 1415
-SHA256 af86cf4b90863abe969ebc3cf1999643006d7310a440b2276e79aec11b8d178e files/pg_autovacuum.init-7.4.11 1415
-AUX pg_autovacuum.init-7.4.12 1415 RMD160 a33e40da7adf8558966df90675b9aa88c57cae59 SHA1 cc60e5b9d28315781f7210751cf2f230210e4493 SHA256 04eaf332e806e6660ece8e45498a872b936fd28e0c0f066f9b7ab213652e3c8c
-MD5 ff9af62b6b34cd87b69075f64824e361 files/pg_autovacuum.init-7.4.12 1415
-RMD160 a33e40da7adf8558966df90675b9aa88c57cae59 files/pg_autovacuum.init-7.4.12 1415
-SHA256 04eaf332e806e6660ece8e45498a872b936fd28e0c0f066f9b7ab213652e3c8c files/pg_autovacuum.init-7.4.12 1415
-AUX pg_autovacuum.init-7.4.7 1414 RMD160 d199a15aed7afb7ee6949bd7b0d5c94462bc730a SHA1 dc004cecc46b0d39413c1982b6c3aba8f93b8eae SHA256 d153765d80043d9825f265c5f86abc5003c970c45cfbc1deaf268405890f269b
-MD5 ffe7e2e6a0ae65238f2addcbbbba59d0 files/pg_autovacuum.init-7.4.7 1414
-RMD160 d199a15aed7afb7ee6949bd7b0d5c94462bc730a files/pg_autovacuum.init-7.4.7 1414
-SHA256 d153765d80043d9825f265c5f86abc5003c970c45cfbc1deaf268405890f269b files/pg_autovacuum.init-7.4.7 1414
-AUX pg_autovacuum.init-7.4.8 1414 RMD160 1d7af860d4353430c9c24152ecdcfbcf342ced43 SHA1 e142467f4edbc08cfc724ada401875b7c0f6506b SHA256 9ae24e4ac071bc6b0f4b2196b740c89bfc9ab08c5b1eb8c0ec762da2a0669912
-MD5 50be58ef7b752834f53ae86c70f75d9a files/pg_autovacuum.init-7.4.8 1414
-RMD160 1d7af860d4353430c9c24152ecdcfbcf342ced43 files/pg_autovacuum.init-7.4.8 1414
-SHA256 9ae24e4ac071bc6b0f4b2196b740c89bfc9ab08c5b1eb8c0ec762da2a0669912 files/pg_autovacuum.init-7.4.8 1414
-AUX pg_autovacuum.init-7.4.9 1414 RMD160 e8f9327c33ad2f2d9bc2754702b4f7c7d3f4cb7c SHA1 96facdfd76495b5bcf7ce5bfd629ad64b13be504 SHA256 7da7b9b499529451075457553e42d76884192aba6584180461adfa9a328c24cc
-MD5 b35f19cbbb6d2ef9cdc62a3a61faed52 files/pg_autovacuum.init-7.4.9 1414
-RMD160 e8f9327c33ad2f2d9bc2754702b4f7c7d3f4cb7c files/pg_autovacuum.init-7.4.9 1414
-SHA256 7da7b9b499529451075457553e42d76884192aba6584180461adfa9a328c24cc files/pg_autovacuum.init-7.4.9 1414
-AUX pg_autovacuum.init-8.0.3 1414 RMD160 1876e10ea34e485d2df9c1b9a268a0f659a76d09 SHA1 e95e18233a3107b00d593b6248602882b83e9a8f SHA256 6d3f805ef0e128bac05f51d14022085f92e075e0517f35c946d6b1b343c1f19f
-MD5 9b0d09ffaaa125d93a200e3783af23cc files/pg_autovacuum.init-8.0.3 1414
-RMD160 1876e10ea34e485d2df9c1b9a268a0f659a76d09 files/pg_autovacuum.init-8.0.3 1414
-SHA256 6d3f805ef0e128bac05f51d14022085f92e075e0517f35c946d6b1b343c1f19f files/pg_autovacuum.init-8.0.3 1414
-AUX pg_autovacuum.init-8.0.4 1414 RMD160 cb8d98625b46f677fcc77414a12885dad581a4b1 SHA1 1fae7526718b0e3bcdaa8baa45f36c93dd8f69e3 SHA256 339bf5d359f4d4a9fdc9b571d380e18c387a6f0f6dc0c5ef2619c0e100b165c5
-MD5 3d69e95f9646cfacb2ba866b3b6bd2af files/pg_autovacuum.init-8.0.4 1414
-RMD160 cb8d98625b46f677fcc77414a12885dad581a4b1 files/pg_autovacuum.init-8.0.4 1414
-SHA256 339bf5d359f4d4a9fdc9b571d380e18c387a6f0f6dc0c5ef2619c0e100b165c5 files/pg_autovacuum.init-8.0.4 1414
-AUX pg_autovacuum.init-8.0.6 1414 RMD160 6be0d8deb0c55c1ced61743b76ecd4e97a871ed8 SHA1 7f93ad9242c89896746c381fb6b6babf63c948b4 SHA256 2d03a31129c3172ee4a86e453d5cf047117acd666af16d8be0e74a14855b3173
-MD5 ac0728eb97ad6adb664be79c73b74370 files/pg_autovacuum.init-8.0.6 1414
-RMD160 6be0d8deb0c55c1ced61743b76ecd4e97a871ed8 files/pg_autovacuum.init-8.0.6 1414
-SHA256 2d03a31129c3172ee4a86e453d5cf047117acd666af16d8be0e74a14855b3173 files/pg_autovacuum.init-8.0.6 1414
-AUX pg_autovacuum.init-8.0.7 1414 RMD160 7ea0f5619f382f6df71a618bf5185d453fa2767b SHA1 9ea3d0e06ce069bb8e2871434f5e174876aaf991 SHA256 4d2a125eb1287fd8a154214b6d7c5c920b1ec7b570f63f77342704f7828f6d5d
-MD5 7abad12cbfb6258a59f64e4bc5d5796a files/pg_autovacuum.init-8.0.7 1414
-RMD160 7ea0f5619f382f6df71a618bf5185d453fa2767b files/pg_autovacuum.init-8.0.7 1414
-SHA256 4d2a125eb1287fd8a154214b6d7c5c920b1ec7b570f63f77342704f7828f6d5d files/pg_autovacuum.init-8.0.7 1414
-AUX postgresql-7.3.11-gentoo.patch 1741 RMD160 4fb2f1a2c88432b62728582324d9ba4574b9225a SHA1 79b1b6111cbd217c4c61d5086ec2d6de8ffc0a76 SHA256 b9d828a4b9ff1e2f753a4944db8bc40f474ffc49d129c55cc9efd8fd1dd8a16c
-MD5 7fad73889572ccdf114ce0024e7170c6 files/postgresql-7.3.11-gentoo.patch 1741
-RMD160 4fb2f1a2c88432b62728582324d9ba4574b9225a files/postgresql-7.3.11-gentoo.patch 1741
-SHA256 b9d828a4b9ff1e2f753a4944db8bc40f474ffc49d129c55cc9efd8fd1dd8a16c files/postgresql-7.3.11-gentoo.patch 1741
-AUX postgresql-7.3.13-gentoo.patch 1741 RMD160 f9d6909ecf0edea0c2aec5d819aef6adf9109b5e SHA1 bf56117e320342d06ad36bdaf24724c3d4fed67b SHA256 6d2a27b388072d85c1bb78e3a7378145175fd9da6bd04c11b6c7d219f8d04d22
-MD5 10d8a35a93fb7252cf9674f6affd7643 files/postgresql-7.3.13-gentoo.patch 1741
-RMD160 f9d6909ecf0edea0c2aec5d819aef6adf9109b5e files/postgresql-7.3.13-gentoo.patch 1741
-SHA256 6d2a27b388072d85c1bb78e3a7378145175fd9da6bd04c11b6c7d219f8d04d22 files/postgresql-7.3.13-gentoo.patch 1741
-AUX postgresql-7.3.14-gentoo.patch 1741 RMD160 15fdb099bbaa8c3fcf139c09a5bbccdeb5e31a41 SHA1 ee81ac8d96dd2e349de24c33a4816ff2598348bb SHA256 998d5feaaacb5b2bdf54dccaa22a947ede262c6e72ac884c11b42376c4f3d2ae
-MD5 24dbe742a511f6c7bba4cbd940c8c4b5 files/postgresql-7.3.14-gentoo.patch 1741
-RMD160 15fdb099bbaa8c3fcf139c09a5bbccdeb5e31a41 files/postgresql-7.3.14-gentoo.patch 1741
-SHA256 998d5feaaacb5b2bdf54dccaa22a947ede262c6e72ac884c11b42376c4f3d2ae files/postgresql-7.3.14-gentoo.patch 1741
+AUX pg_autovacuum.conf-7.4 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
+MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-7.4 302
+RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-7.4 302
+SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-7.4 302
+AUX pg_autovacuum.conf-8.0 302 RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc SHA1 81d07dfb96416735f4ceb78949185c8076e47026 SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721
+MD5 999379432735e7e6a71ec6ccd5a784e1 files/pg_autovacuum.conf-8.0 302
+RMD160 8bdeef1a914659e7c55ce8d802b57cbeca6020bc files/pg_autovacuum.conf-8.0 302
+SHA256 9a8b0813bc67318f2df9e662fc067fa85ecd9bca2d19709715a94d5ab32bf721 files/pg_autovacuum.conf-8.0 302
+AUX pg_autovacuum.init-7.4 1412 RMD160 fdbb3166a979b6449b93b615493d4e097e7e2cb6 SHA1 e58e35ab680d9a9fceeec3da09c1be27dc592e12 SHA256 690f72c02621be315a2290cf0d7218c46d9ef6a469e8bd92eb4ca6c1f6651d58
+MD5 fd50e0bfe5d7ace42f5a7b7f4596c8a5 files/pg_autovacuum.init-7.4 1412
+RMD160 fdbb3166a979b6449b93b615493d4e097e7e2cb6 files/pg_autovacuum.init-7.4 1412
+SHA256 690f72c02621be315a2290cf0d7218c46d9ef6a469e8bd92eb4ca6c1f6651d58 files/pg_autovacuum.init-7.4 1412
+AUX pg_autovacuum.init-8.0 1412 RMD160 e87f6294e1c566458da73630a1d4a2eb1669649f SHA1 90a61fa920ff350783cb4415ef3f6fe92536bea5 SHA256 3ae8105f52afe90b04053e7ed83d6b05a71889bdf9013269c931f00208033c19
+MD5 284f7a3f5cfa4fa411e13e60c633a1f3 files/pg_autovacuum.init-8.0 1412
+RMD160 e87f6294e1c566458da73630a1d4a2eb1669649f files/pg_autovacuum.init-8.0 1412
+SHA256 3ae8105f52afe90b04053e7ed83d6b05a71889bdf9013269c931f00208033c19 files/pg_autovacuum.init-8.0 1412
+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.15-cubeparse.patch 1296 RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 SHA1 c128746e9938d7aaa4f2be6521530d07c7e207a8 SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada
MD5 5d36c9cda475e2aaf9609655dfb44ac1 files/postgresql-7.3.15-cubeparse.patch 1296
RMD160 9b9c0fcf4d58fb989ae77d9ada4588b1876400a6 files/postgresql-7.3.15-cubeparse.patch 1296
SHA256 1844950b55509b83f38bfdd113350df7422f96ca4c773def6d38ca2f48fcfada files/postgresql-7.3.15-cubeparse.patch 1296
-AUX postgresql-7.3.9-gentoo.patch 529 RMD160 1b2a484ab6f778d2c4ec7f9172272191766f2387 SHA1 f4053971d9b473d605922b7f46a0249ba66bf369 SHA256 5241da893d4f6d880597a0b52a09ef61df28955c7f38be736c31b2f8210ec51a
-MD5 4501816025cc701e272b5e57937d0de0 files/postgresql-7.3.9-gentoo.patch 529
-RMD160 1b2a484ab6f778d2c4ec7f9172272191766f2387 files/postgresql-7.3.9-gentoo.patch 529
-SHA256 5241da893d4f6d880597a0b52a09ef61df28955c7f38be736c31b2f8210ec51a files/postgresql-7.3.9-gentoo.patch 529
-AUX postgresql-7.3.9-securityfix.patch 1443 RMD160 f80f20c96bc1641c2e6749d6ea5a625ea224b7cb SHA1 ca28e90afb0d5c64d5cdc36676cd0dc016bb82cf SHA256 103cc6f0a3bdeee12819dd1641dcf3652df5d3103862afcb96a983104bd517f2
-MD5 dbe0601754b798a4d08f080137a57c43 files/postgresql-7.3.9-securityfix.patch 1443
-RMD160 f80f20c96bc1641c2e6749d6ea5a625ea224b7cb files/postgresql-7.3.9-securityfix.patch 1443
-SHA256 103cc6f0a3bdeee12819dd1641dcf3652df5d3103862afcb96a983104bd517f2 files/postgresql-7.3.9-securityfix.patch 1443
-AUX postgresql-7.4.11-gentoo.patch 1741 RMD160 484c42bb0f00101830dd006b33164706cd62d1ef SHA1 56dbd0d6b91784bc60e88884caeb27d159e31f79 SHA256 dd03b4669db061856bec385beb1f1fd0eb06b709c6405e56dbcf5d7f4ca19858
-MD5 ebabf34ee138e09c941f27b1fbf735a5 files/postgresql-7.4.11-gentoo.patch 1741
-RMD160 484c42bb0f00101830dd006b33164706cd62d1ef files/postgresql-7.4.11-gentoo.patch 1741
-SHA256 dd03b4669db061856bec385beb1f1fd0eb06b709c6405e56dbcf5d7f4ca19858 files/postgresql-7.4.11-gentoo.patch 1741
-AUX postgresql-7.4.11-hppa-testandset.patch 1604 RMD160 19b5078956e3c2ad2253b24cb06073ee364e24ae SHA1 de529a2a8c9c9c9c3168af82ca3fccf741e44873 SHA256 2e6140fbc3c9fb8ecefe16d92f1dd84bd16fe8d76879885aedac48cd4d6fc9a4
-MD5 edb862529983babeaece42f086c3c3ef files/postgresql-7.4.11-hppa-testandset.patch 1604
-RMD160 19b5078956e3c2ad2253b24cb06073ee364e24ae files/postgresql-7.4.11-hppa-testandset.patch 1604
-SHA256 2e6140fbc3c9fb8ecefe16d92f1dd84bd16fe8d76879885aedac48cd4d6fc9a4 files/postgresql-7.4.11-hppa-testandset.patch 1604
-AUX postgresql-7.4.11-vacuum-delay.patch 8918 RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 SHA1 fe701fd6ca6cc9519417ab1053ef61a50ca51281 SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123
-MD5 2e87af398df0a957bf2f2dff754ac174 files/postgresql-7.4.11-vacuum-delay.patch 8918
-RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 files/postgresql-7.4.11-vacuum-delay.patch 8918
-SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123 files/postgresql-7.4.11-vacuum-delay.patch 8918
-AUX postgresql-7.4.12-gentoo.patch 1741 RMD160 202f7c21d984a45a1adec0ac92ae727bd75535c6 SHA1 205293bd138db9948220cbcdc401f202eb9814a5 SHA256 9bd9fefdb9d5d8a62ec00c8ac0175322ae66ca860c3571593fea81ffd4add8dc
-MD5 048439fadb678ce304dec9629829bcc2 files/postgresql-7.4.12-gentoo.patch 1741
-RMD160 202f7c21d984a45a1adec0ac92ae727bd75535c6 files/postgresql-7.4.12-gentoo.patch 1741
-SHA256 9bd9fefdb9d5d8a62ec00c8ac0175322ae66ca860c3571593fea81ffd4add8dc files/postgresql-7.4.12-gentoo.patch 1741
-AUX postgresql-7.4.12-hppa-testandset.patch 1604 RMD160 5b35c3f819743df3b982916de8d2568ca4350c30 SHA1 d473d4c9a3d3e81ac7f80f03e13f50f8ae76214f SHA256 423e54452aaebb988488102c312214bc536600612049ab888fcf2a26eaa29668
-MD5 50c4723189d547a027340c928c0af87c files/postgresql-7.4.12-hppa-testandset.patch 1604
-RMD160 5b35c3f819743df3b982916de8d2568ca4350c30 files/postgresql-7.4.12-hppa-testandset.patch 1604
-SHA256 423e54452aaebb988488102c312214bc536600612049ab888fcf2a26eaa29668 files/postgresql-7.4.12-hppa-testandset.patch 1604
-AUX postgresql-7.4.12-vacuum-delay.patch 8918 RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 SHA1 fe701fd6ca6cc9519417ab1053ef61a50ca51281 SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123
-MD5 2e87af398df0a957bf2f2dff754ac174 files/postgresql-7.4.12-vacuum-delay.patch 8918
-RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 files/postgresql-7.4.12-vacuum-delay.patch 8918
-SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123 files/postgresql-7.4.12-vacuum-delay.patch 8918
-AUX postgresql-7.4.7-gentoo.patch 1160 RMD160 da957b1d950aad734f0f2624e11e8948ae8311db SHA1 c5d74499965fd3063f96d182f7fb1749161259e0 SHA256 d5c4eab076247d930c08e28784f91ead14419435f1aa40094a8a8b78dc396196
-MD5 e91e3b293273f041b209aa65ff6ceebc files/postgresql-7.4.7-gentoo.patch 1160
-RMD160 da957b1d950aad734f0f2624e11e8948ae8311db files/postgresql-7.4.7-gentoo.patch 1160
-SHA256 d5c4eab076247d930c08e28784f91ead14419435f1aa40094a8a8b78dc396196 files/postgresql-7.4.7-gentoo.patch 1160
-AUX postgresql-7.4.7-hppa-testandset.patch 1596 RMD160 995296d67babb1e7a37da2afecaddca3f5423588 SHA1 e4e537f1c8dc51a8176e0348aad5e06633874f4a SHA256 d227967f1a96117cd5b7459713bf1c3c00b98182499880d23a6b0f7da6e584eb
-MD5 bd8092be6ccc6918973d9654caacbfab files/postgresql-7.4.7-hppa-testandset.patch 1596
-RMD160 995296d67babb1e7a37da2afecaddca3f5423588 files/postgresql-7.4.7-hppa-testandset.patch 1596
-SHA256 d227967f1a96117cd5b7459713bf1c3c00b98182499880d23a6b0f7da6e584eb files/postgresql-7.4.7-hppa-testandset.patch 1596
-AUX postgresql-7.4.7-securityfix.patch 1773 RMD160 3c4bfc9c77b12632a5b2887c7362616916a3993e SHA1 5980fc7cad7850dca6424e9b499221360705d609 SHA256 66383262ea8759c0b33e9cea438dcddb367cff3a406d281c83d92a19463bc826
-MD5 df4fedbfa30df690a6f78da9f5a44196 files/postgresql-7.4.7-securityfix.patch 1773
-RMD160 3c4bfc9c77b12632a5b2887c7362616916a3993e files/postgresql-7.4.7-securityfix.patch 1773
-SHA256 66383262ea8759c0b33e9cea438dcddb367cff3a406d281c83d92a19463bc826 files/postgresql-7.4.7-securityfix.patch 1773
-AUX postgresql-7.4.7-vacuum-delay.patch 8918 RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 SHA1 fe701fd6ca6cc9519417ab1053ef61a50ca51281 SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123
-MD5 2e87af398df0a957bf2f2dff754ac174 files/postgresql-7.4.7-vacuum-delay.patch 8918
-RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 files/postgresql-7.4.7-vacuum-delay.patch 8918
-SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123 files/postgresql-7.4.7-vacuum-delay.patch 8918
-AUX postgresql-7.4.8-gentoo.patch 1729 RMD160 121ef1f11c872b2ced2e390f673897a6792f501a SHA1 1b6850f0e5a8016232944a2442e0f8a8a4989c78 SHA256 501a0dcc828533a1d7885eb5419fe53287a9c4ad5ab22c1e3b47957847359f4f
-MD5 1b27a8ad9d652b6d292ff34ad385b208 files/postgresql-7.4.8-gentoo.patch 1729
-RMD160 121ef1f11c872b2ced2e390f673897a6792f501a files/postgresql-7.4.8-gentoo.patch 1729
-SHA256 501a0dcc828533a1d7885eb5419fe53287a9c4ad5ab22c1e3b47957847359f4f files/postgresql-7.4.8-gentoo.patch 1729
-AUX postgresql-7.4.8-hppa-testandset.patch 1596 RMD160 995296d67babb1e7a37da2afecaddca3f5423588 SHA1 e4e537f1c8dc51a8176e0348aad5e06633874f4a SHA256 d227967f1a96117cd5b7459713bf1c3c00b98182499880d23a6b0f7da6e584eb
-MD5 bd8092be6ccc6918973d9654caacbfab files/postgresql-7.4.8-hppa-testandset.patch 1596
-RMD160 995296d67babb1e7a37da2afecaddca3f5423588 files/postgresql-7.4.8-hppa-testandset.patch 1596
-SHA256 d227967f1a96117cd5b7459713bf1c3c00b98182499880d23a6b0f7da6e584eb files/postgresql-7.4.8-hppa-testandset.patch 1596
-AUX postgresql-7.4.8-vacuum-delay.patch 8918 RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 SHA1 fe701fd6ca6cc9519417ab1053ef61a50ca51281 SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123
-MD5 2e87af398df0a957bf2f2dff754ac174 files/postgresql-7.4.8-vacuum-delay.patch 8918
-RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 files/postgresql-7.4.8-vacuum-delay.patch 8918
-SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123 files/postgresql-7.4.8-vacuum-delay.patch 8918
-AUX postgresql-7.4.9-gentoo.patch 1729 RMD160 654e34a1f06696c9079284b0d636400703d475e3 SHA1 e09964f21993f0f81d6d9bd50b2a7550d33e974b SHA256 945e65ffcf4131b3a79b004eaa9c5ab9983b57ac6bc4793879ef72715647f3c2
-MD5 64cac596c308b19865f5738cc5af02b1 files/postgresql-7.4.9-gentoo.patch 1729
-RMD160 654e34a1f06696c9079284b0d636400703d475e3 files/postgresql-7.4.9-gentoo.patch 1729
-SHA256 945e65ffcf4131b3a79b004eaa9c5ab9983b57ac6bc4793879ef72715647f3c2 files/postgresql-7.4.9-gentoo.patch 1729
-AUX postgresql-7.4.9-hppa-testandset.patch 1596 RMD160 995296d67babb1e7a37da2afecaddca3f5423588 SHA1 e4e537f1c8dc51a8176e0348aad5e06633874f4a SHA256 d227967f1a96117cd5b7459713bf1c3c00b98182499880d23a6b0f7da6e584eb
-MD5 bd8092be6ccc6918973d9654caacbfab files/postgresql-7.4.9-hppa-testandset.patch 1596
-RMD160 995296d67babb1e7a37da2afecaddca3f5423588 files/postgresql-7.4.9-hppa-testandset.patch 1596
-SHA256 d227967f1a96117cd5b7459713bf1c3c00b98182499880d23a6b0f7da6e584eb files/postgresql-7.4.9-hppa-testandset.patch 1596
-AUX postgresql-7.4.9-vacuum-delay.patch 8918 RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 SHA1 fe701fd6ca6cc9519417ab1053ef61a50ca51281 SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123
-MD5 2e87af398df0a957bf2f2dff754ac174 files/postgresql-7.4.9-vacuum-delay.patch 8918
-RMD160 dcd4fc4774277b0bf4a2158584c18bae2dc04232 files/postgresql-7.4.9-vacuum-delay.patch 8918
-SHA256 7112ea61b84ce5c6974cd74687039f2ef871e0b4b25a34b4394225c2695fc123 files/postgresql-7.4.9-vacuum-delay.patch 8918
-AUX postgresql-8.0.3-gentoo.patch 1200 RMD160 618ab6b0cf1de0b83bdc67dfb6c203fde800b961 SHA1 344bc550fa50716783ccdcca76867cf7540219d2 SHA256 6e3c116bac7e69addf8530372abf4ec1bc94bde19f25d84dfcf675cf9cb9ad0e
-MD5 01f69b667825048f2e9807555b79b73d files/postgresql-8.0.3-gentoo.patch 1200
-RMD160 618ab6b0cf1de0b83bdc67dfb6c203fde800b961 files/postgresql-8.0.3-gentoo.patch 1200
-SHA256 6e3c116bac7e69addf8530372abf4ec1bc94bde19f25d84dfcf675cf9cb9ad0e files/postgresql-8.0.3-gentoo.patch 1200
-AUX postgresql-8.0.3-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.0.3-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.0.3-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.0.3-sh.patch 618
-AUX postgresql-8.0.4-gentoo.patch 1200 RMD160 618ab6b0cf1de0b83bdc67dfb6c203fde800b961 SHA1 344bc550fa50716783ccdcca76867cf7540219d2 SHA256 6e3c116bac7e69addf8530372abf4ec1bc94bde19f25d84dfcf675cf9cb9ad0e
-MD5 01f69b667825048f2e9807555b79b73d files/postgresql-8.0.4-gentoo.patch 1200
-RMD160 618ab6b0cf1de0b83bdc67dfb6c203fde800b961 files/postgresql-8.0.4-gentoo.patch 1200
-SHA256 6e3c116bac7e69addf8530372abf4ec1bc94bde19f25d84dfcf675cf9cb9ad0e files/postgresql-8.0.4-gentoo.patch 1200
-AUX postgresql-8.0.4-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.0.4-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.0.4-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.0.4-sh.patch 618
-AUX postgresql-8.0.6-gentoo.patch 1200 RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 SHA1 64544332f2be6cae6c33b630feab224627d10681 SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd
-MD5 290d9cac9f228e7479e316b68aadfd7c files/postgresql-8.0.6-gentoo.patch 1200
-RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 files/postgresql-8.0.6-gentoo.patch 1200
-SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd files/postgresql-8.0.6-gentoo.patch 1200
-AUX postgresql-8.0.6-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.0.6-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.0.6-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.0.6-sh.patch 618
-AUX postgresql-8.0.7-gentoo.patch 1200 RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 SHA1 64544332f2be6cae6c33b630feab224627d10681 SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd
-MD5 290d9cac9f228e7479e316b68aadfd7c files/postgresql-8.0.7-gentoo.patch 1200
-RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 files/postgresql-8.0.7-gentoo.patch 1200
-SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd files/postgresql-8.0.7-gentoo.patch 1200
-AUX postgresql-8.0.7-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.0.7-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.0.7-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.0.7-sh.patch 618
-AUX postgresql-8.1.2-gentoo.patch 1200 RMD160 c4a478e0ab7418f540cf9989663a4b3cbbfca548 SHA1 715f0025b97f681f4db24414a232ce31b720677d SHA256 796bc0f5aa1cccc71a60f184021995fb503778b06024c84c30502139292640db
-MD5 241bb73cbd829c31037d86cd0530650b files/postgresql-8.1.2-gentoo.patch 1200
-RMD160 c4a478e0ab7418f540cf9989663a4b3cbbfca548 files/postgresql-8.1.2-gentoo.patch 1200
-SHA256 796bc0f5aa1cccc71a60f184021995fb503778b06024c84c30502139292640db files/postgresql-8.1.2-gentoo.patch 1200
-AUX postgresql-8.1.2-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.1.2-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.1.2-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.1.2-sh.patch 618
-AUX postgresql-8.1.3-gentoo.patch 1200 RMD160 41c3e001f530f7b67d2b6a346ad1a15b234670e9 SHA1 1894e4868514dc87e7c0f895ec9e23e55f3ea8f8 SHA256 ec9b02466ee78dc29aabb571f8ee5f324e116b300e7d23a1d33ae92842383799
-MD5 a8a16e7f40fc40211b4e497b0036aa7f files/postgresql-8.1.3-gentoo.patch 1200
-RMD160 41c3e001f530f7b67d2b6a346ad1a15b234670e9 files/postgresql-8.1.3-gentoo.patch 1200
-SHA256 ec9b02466ee78dc29aabb571f8ee5f324e116b300e7d23a1d33ae92842383799 files/postgresql-8.1.3-gentoo.patch 1200
-AUX postgresql-8.1.3-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.1.3-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.1.3-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.1.3-sh.patch 618
-AUX postgresql.conf 375 RMD160 88f1c276939d3f44b587d9a9edcc68d182b4a8b1 SHA1 fcb62138b540fa01505459ca6015aa003cb8c93f SHA256 d23be47e2716e18ad93faea432f92dc31234161b725ff4e60d344c082fdc5dfb
-MD5 2b0c84d2c26622573d4e2b7e0518fdad files/postgresql.conf 375
-RMD160 88f1c276939d3f44b587d9a9edcc68d182b4a8b1 files/postgresql.conf 375
-SHA256 d23be47e2716e18ad93faea432f92dc31234161b725ff4e60d344c082fdc5dfb files/postgresql.conf 375
-AUX postgresql.conf-7.4.11 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-7.4.11 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-7.4.11 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-7.4.11 390
-AUX postgresql.conf-7.4.12 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-7.4.12 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-7.4.12 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-7.4.12 390
-AUX postgresql.conf-7.4.7 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-7.4.7 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-7.4.7 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-7.4.7 390
-AUX postgresql.conf-7.4.8 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-7.4.8 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-7.4.8 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-7.4.8 390
-AUX postgresql.conf-7.4.9 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-7.4.9 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-7.4.9 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-7.4.9 390
-AUX postgresql.conf-8.0.3 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.0.3 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.0.3 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.0.3 390
-AUX postgresql.conf-8.0.4 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.0.4 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.0.4 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.0.4 390
-AUX postgresql.conf-8.0.6 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.0.6 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.0.6 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.0.6 390
-AUX postgresql.conf-8.0.7 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.0.7 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.0.7 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.0.7 390
-AUX postgresql.conf-8.1.2 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.1.2 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.1.2 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.1.2 390
-AUX postgresql.conf-8.1.3 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
-MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.1.3 390
-RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.1.3 390
-SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.1.3 390
-AUX postgresql.init-7.3.11 1280 RMD160 4ea2dc3b3e1449f11433c10745e2c6d61da755fb SHA1 b9885391b7f504e7dbe57fd316261b38c82e7c90 SHA256 1abc7773ab17920d1d3ea21f19746a2bcd7b6dce4f4af20d01cafb8e9ba138f7
-MD5 4165a3ef6d3e253340b56c719a866c87 files/postgresql.init-7.3.11 1280
-RMD160 4ea2dc3b3e1449f11433c10745e2c6d61da755fb files/postgresql.init-7.3.11 1280
-SHA256 1abc7773ab17920d1d3ea21f19746a2bcd7b6dce4f4af20d01cafb8e9ba138f7 files/postgresql.init-7.3.11 1280
-AUX postgresql.init-7.3.13 1280 RMD160 3f7594ae3093cc71dd6cf5a1eed8074ab63eb27d SHA1 58faa562ca5e56d9222389cd4efe8456e185f895 SHA256 b415e43d01d117ee3585af977d460a642ddd75bda21c456c423cd2145877660a
-MD5 680e9480b1eb1357df7dd92ab6b1dd75 files/postgresql.init-7.3.13 1280
-RMD160 3f7594ae3093cc71dd6cf5a1eed8074ab63eb27d files/postgresql.init-7.3.13 1280
-SHA256 b415e43d01d117ee3585af977d460a642ddd75bda21c456c423cd2145877660a files/postgresql.init-7.3.13 1280
-AUX postgresql.init-7.3.14 1280 RMD160 8391882fec9f284d52c7f5b6111b38cf44848f8d SHA1 f31086716873861e558e3873d0cafc75f9fc684f SHA256 a360a3900badcb7166d1bcd9b030b6f1b51e307d52c910ed88a60747c020f31a
-MD5 c8b34c4b216af10019ed7706eff1a3e8 files/postgresql.init-7.3.14 1280
-RMD160 8391882fec9f284d52c7f5b6111b38cf44848f8d files/postgresql.init-7.3.14 1280
-SHA256 a360a3900badcb7166d1bcd9b030b6f1b51e307d52c910ed88a60747c020f31a files/postgresql.init-7.3.14 1280
-AUX postgresql.init-7.3.6 1279 RMD160 0e2733c98116489d28f1d2ec6212f5743bba9f31 SHA1 2882858dfcc28d2d590523481d31531d7bca39d6 SHA256 911226e5794cc89961f6e6380814d5d502e248a4eee32d084487183b1f2ea5c6
-MD5 6237c18ae647e118e23425e3cb28c8aa files/postgresql.init-7.3.6 1279
-RMD160 0e2733c98116489d28f1d2ec6212f5743bba9f31 files/postgresql.init-7.3.6 1279
-SHA256 911226e5794cc89961f6e6380814d5d502e248a4eee32d084487183b1f2ea5c6 files/postgresql.init-7.3.6 1279
-AUX postgresql.init-7.3.9 1279 RMD160 c7bd7d0a72c26026eebe9a6b9b53d855822a1cb2 SHA1 a6274944a86100f1988a2974579da0a19a8d38e6 SHA256 6c9dd041b32d5ef4076b1b7720168b93ba501ffcb20264269c96a04299452f23
-MD5 5d90779b8c5b7d63ea0846f2a534fc87 files/postgresql.init-7.3.9 1279
-RMD160 c7bd7d0a72c26026eebe9a6b9b53d855822a1cb2 files/postgresql.init-7.3.9 1279
-SHA256 6c9dd041b32d5ef4076b1b7720168b93ba501ffcb20264269c96a04299452f23 files/postgresql.init-7.3.9 1279
-AUX postgresql.init-7.4.11 1280 RMD160 81ab4a7b63f6e74eeefd9f6839691b21dd1a6699 SHA1 23194b368e15a0721b092b474eff2d29b67a971e SHA256 47b63ea12bdb53c97f03daf461bbd89c866927abc44c6d4466a2fe6f80ce0578
-MD5 dc0694b879d17adc7e5504bfa64c9f4b files/postgresql.init-7.4.11 1280
-RMD160 81ab4a7b63f6e74eeefd9f6839691b21dd1a6699 files/postgresql.init-7.4.11 1280
-SHA256 47b63ea12bdb53c97f03daf461bbd89c866927abc44c6d4466a2fe6f80ce0578 files/postgresql.init-7.4.11 1280
-AUX postgresql.init-7.4.12 1280 RMD160 e1cadb6b8a1a8b38f6687eb3efe6a688ee2809a9 SHA1 95cff0972ba69eb1c952fb322423579d4a41e950 SHA256 1641686b8df36d50715a3ab69f51dbeaf57a2eb92520abe78c301a79525a00e3
-MD5 789aa330fa269b5597e0aaf5391e0e53 files/postgresql.init-7.4.12 1280
-RMD160 e1cadb6b8a1a8b38f6687eb3efe6a688ee2809a9 files/postgresql.init-7.4.12 1280
-SHA256 1641686b8df36d50715a3ab69f51dbeaf57a2eb92520abe78c301a79525a00e3 files/postgresql.init-7.4.12 1280
-AUX postgresql.init-7.4.7 1279 RMD160 e9e0b6898d35d354d40a63e380f4142f3787db6a SHA1 3abaca02d10c6b496194c011fb288d8f2d6b85f1 SHA256 e5cf8852854adfed655933315c5446e70f36759496944b0c0d8c1a9bc8e0f9fe
-MD5 8b2a2b4c8f40a1fdbe73d7a6fbcfb6fe files/postgresql.init-7.4.7 1279
-RMD160 e9e0b6898d35d354d40a63e380f4142f3787db6a files/postgresql.init-7.4.7 1279
-SHA256 e5cf8852854adfed655933315c5446e70f36759496944b0c0d8c1a9bc8e0f9fe files/postgresql.init-7.4.7 1279
-AUX postgresql.init-7.4.8 1279 RMD160 cdbb7073996952068a6f085ef628dbe612031f51 SHA1 ef6c8b598a7d37d114a3ffc682cb221358236935 SHA256 80e3033b0408c28bdbf5b73df6cb10ac82a40002397134d74e6daf8b3a185f10
-MD5 eae31db55e9908de6d955d3efc931bbc files/postgresql.init-7.4.8 1279
-RMD160 cdbb7073996952068a6f085ef628dbe612031f51 files/postgresql.init-7.4.8 1279
-SHA256 80e3033b0408c28bdbf5b73df6cb10ac82a40002397134d74e6daf8b3a185f10 files/postgresql.init-7.4.8 1279
-AUX postgresql.init-7.4.9 1279 RMD160 88c490bf5b432a39127ab45842a5ffee4367398e SHA1 0ff28b51e2eaa85f6676cc92b05efb887a517c77 SHA256 bbe9fb4f5374de9c91ab4565166b34edfdf363023cc4b54522de68be9bdf1b2c
-MD5 37e9be11579a5dd887ea56898555a013 files/postgresql.init-7.4.9 1279
-RMD160 88c490bf5b432a39127ab45842a5ffee4367398e files/postgresql.init-7.4.9 1279
-SHA256 bbe9fb4f5374de9c91ab4565166b34edfdf363023cc4b54522de68be9bdf1b2c files/postgresql.init-7.4.9 1279
-AUX postgresql.init-8.0.3 1279 RMD160 04364a9cc459ec245e43d2a4a29b391fc5647c4d SHA1 3aabd3a9fe2cdec3fa67d248fdc0b8ca03e3f885 SHA256 0b77a0002bb79c7e1f9e76df87400a5536ac7d7c3bf9970116dc49082d6683d1
-MD5 b7252dad787e4e9f4d645a47d7f74ad8 files/postgresql.init-8.0.3 1279
-RMD160 04364a9cc459ec245e43d2a4a29b391fc5647c4d files/postgresql.init-8.0.3 1279
-SHA256 0b77a0002bb79c7e1f9e76df87400a5536ac7d7c3bf9970116dc49082d6683d1 files/postgresql.init-8.0.3 1279
-AUX postgresql.init-8.0.4 1279 RMD160 d380c3f42f2b7e635e5ad5c70d2bec63ad33af5b SHA1 4938a640f07e74bb4fc1fcf75dc0bdaa9716f3e0 SHA256 65ebdf27972a0adb2317a91d3727803c80bc329f86bfded55d9bdde1ef78a55d
-MD5 11eb946998d42bb657f9408b804b3099 files/postgresql.init-8.0.4 1279
-RMD160 d380c3f42f2b7e635e5ad5c70d2bec63ad33af5b files/postgresql.init-8.0.4 1279
-SHA256 65ebdf27972a0adb2317a91d3727803c80bc329f86bfded55d9bdde1ef78a55d files/postgresql.init-8.0.4 1279
-AUX postgresql.init-8.0.6 1279 RMD160 bd32f15f7d7b6d0106293d618272ca7bb09e1698 SHA1 4b1d46309b73e0afc85616cc1142154284dd7ef9 SHA256 f9530c7fc50815da92cef9263f7078fb010de950de58b602617d515e2bc8f968
-MD5 707d5e3629dc849b2388c5d5cd117f5b files/postgresql.init-8.0.6 1279
-RMD160 bd32f15f7d7b6d0106293d618272ca7bb09e1698 files/postgresql.init-8.0.6 1279
-SHA256 f9530c7fc50815da92cef9263f7078fb010de950de58b602617d515e2bc8f968 files/postgresql.init-8.0.6 1279
-AUX postgresql.init-8.0.7 1279 RMD160 165e8cd54d897478f6736d088aaa686dcffcaf45 SHA1 27963b12dee64e5b54795875051bbc775dbba4b0 SHA256 fe99877824c146fc2a9a85c8fcc4bd13a8792f92d2686bc7406661d5b0ffa5de
-MD5 9f38ed98d246598441d7bd62d27bbcbb files/postgresql.init-8.0.7 1279
-RMD160 165e8cd54d897478f6736d088aaa686dcffcaf45 files/postgresql.init-8.0.7 1279
-SHA256 fe99877824c146fc2a9a85c8fcc4bd13a8792f92d2686bc7406661d5b0ffa5de files/postgresql.init-8.0.7 1279
-AUX postgresql.init-8.1.2 1279 RMD160 36fd1212f25c8d3ae23fbf672b3f6c7ac83daded SHA1 43a3d8ab2a4258eaa48d712f6e6070c13966614d SHA256 a4fb32d84c971e8b66c5ab7537ef5eb79f99057f097de4b740125f03e4eb43ca
-MD5 ab1b8fa9b6fc1ef8c17962be36b5fbc3 files/postgresql.init-8.1.2 1279
-RMD160 36fd1212f25c8d3ae23fbf672b3f6c7ac83daded files/postgresql.init-8.1.2 1279
-SHA256 a4fb32d84c971e8b66c5ab7537ef5eb79f99057f097de4b740125f03e4eb43ca files/postgresql.init-8.1.2 1279
-AUX postgresql.init-8.1.3 1279 RMD160 94b7af3e6cad645eabe96e17a57ce482faa13263 SHA1 28e7486f45101e25c6b850d56d65b686da6ab5d4 SHA256 af6e3161e7e2c7756f249910f33c35ad5860415f14a67dd2c1e59bfc7ec224ee
-MD5 131571cfc7e88de3b13725f6b6da91df files/postgresql.init-8.1.3 1279
-RMD160 94b7af3e6cad645eabe96e17a57ce482faa13263 files/postgresql.init-8.1.3 1279
-SHA256 af6e3161e7e2c7756f249910f33c35ad5860415f14a67dd2c1e59bfc7ec224ee files/postgresql.init-8.1.3 1279
+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-8.0-gentoo.patch 1200 RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 SHA1 64544332f2be6cae6c33b630feab224627d10681 SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd
+MD5 290d9cac9f228e7479e316b68aadfd7c files/postgresql-8.0-gentoo.patch 1200
+RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 files/postgresql-8.0-gentoo.patch 1200
+SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd files/postgresql-8.0-gentoo.patch 1200
+AUX postgresql-8.0-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
+MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.0-sh.patch 618
+RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.0-sh.patch 618
+SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.0-sh.patch 618
+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.conf-7.3 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
+MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-7.3 390
+RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-7.3 390
+SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-7.3 390
+AUX postgresql.conf-7.4 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
+MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-7.4 390
+RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-7.4 390
+SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-7.4 390
+AUX postgresql.conf-8.0 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
+MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.0 390
+RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.0 390
+SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.0 390
+AUX postgresql.conf-8.1 390 RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 SHA1 1b4939fe80dc811b883c8312d71c254a240f3195 SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e
+MD5 9787933dfca9cc3858468186231a9df1 files/postgresql.conf-8.1 390
+RMD160 f72be2badb3c8893825c6a9cef417a28cc58ac49 files/postgresql.conf-8.1 390
+SHA256 f4a4a40be4b60869e55b8e5408d29c9d458e0b04a01498f0d6919f6afbcac13e files/postgresql.conf-8.1 390
+AUX postgresql.init-7.3 1277 RMD160 b3456be3f9752a17b9cfa4bad02c3b308977e358 SHA1 e7a2555ed4e01057a32654a63103574015b51152 SHA256 fb18b5775d1545a48acec2ec1bb1045515693fbdbd0519dc6a8e5716cb508687
+MD5 b9a5cbe058306bf8983d256fd39ec19e files/postgresql.init-7.3 1277
+RMD160 b3456be3f9752a17b9cfa4bad02c3b308977e358 files/postgresql.init-7.3 1277
+SHA256 fb18b5775d1545a48acec2ec1bb1045515693fbdbd0519dc6a8e5716cb508687 files/postgresql.init-7.3 1277
+AUX postgresql.init-7.4 1283 RMD160 9a0c9f20f23c93891f60cb05be19fbb4ca15d8d8 SHA1 67e06eb67ae8ed5ff39edc829a65e90e0030a19c SHA256 9b97b2e7cea63ef7f20f3e56eae97a9dbdb3c870d14751127e0821bc34787978
+MD5 89d2f4fcc31104522af9ce12bcfc093e files/postgresql.init-7.4 1283
+RMD160 9a0c9f20f23c93891f60cb05be19fbb4ca15d8d8 files/postgresql.init-7.4 1283
+SHA256 9b97b2e7cea63ef7f20f3e56eae97a9dbdb3c870d14751127e0821bc34787978 files/postgresql.init-7.4 1283
+AUX postgresql.init-8.0 1277 RMD160 9f45adde10f7edf4f52534ee9385460bcda8a5d3 SHA1 d6bcdbf92372500fb0e6c5e96cf9ab8071c5c67c SHA256 250bc727e37eab4083138af95b71d5af3d9f6b2792a87ea57438ff61452482c0
+MD5 8ac396f81cf58a817040875ae7865652 files/postgresql.init-8.0 1277
+RMD160 9f45adde10f7edf4f52534ee9385460bcda8a5d3 files/postgresql.init-8.0 1277
+SHA256 250bc727e37eab4083138af95b71d5af3d9f6b2792a87ea57438ff61452482c0 files/postgresql.init-8.0 1277
+AUX postgresql.init-8.1 1277 RMD160 e6f5f307959424ac98a328e1db326ad1f2c6ce6d SHA1 e19d108a1854596c04c17f3017e9fea16ed74fd9 SHA256 c08fdcdd8d762c693929ce49f87545fc2c42838f5184d5759e411cee6df1e0dc
+MD5 73fad3a225fbffdde6c0841ad43c5135 files/postgresql.init-8.1 1277
+RMD160 e6f5f307959424ac98a328e1db326ad1f2c6ce6d files/postgresql.init-8.1 1277
+SHA256 c08fdcdd8d762c693929ce49f87545fc2c42838f5184d5759e411cee6df1e0dc files/postgresql.init-8.1 1277
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 SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda
-DIST postgresql-base-7.3.11.tar.bz2 5666278 RMD160 41d7cd6498127f6806d5e82d630de96f9e33b1a8 SHA256 4af458a34030a409a177f1a0b726a3f604f669ed5018f6a8f11a55ba4c509e0b
-DIST postgresql-base-7.3.13.tar.bz2 5668650 RMD160 10e7abd9025dd619458efa8ca6b586b04da1c9dc SHA256 d2dc69e976ebb4b5a20a495735d8d6151eedb44943585fb565d81cf7ed8e95dc
-DIST postgresql-base-7.3.14.tar.bz2 5669000 RMD160 14d791ec9b843e96ba61d66398c260a8203dd441 SHA256 3476db5e5ad575c934a4e8804d3e9a088ac705688ab284de00135d91861142de
+DIST hier-Pg8.0.1-0.5.4.diff.gz 30662 RMD160 f212f840d06a914fd668398848baef5a269875eb SHA1 c1a1141363c1d3c14025d97993b5367166c85da4 SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda
+DIST postgresql-base-7.3.11.tar.bz2 5666278 RMD160 41d7cd6498127f6806d5e82d630de96f9e33b1a8 SHA1 e098db97aa92e865e527c8d9dec0464dbcc6f18c SHA256 4af458a34030a409a177f1a0b726a3f604f669ed5018f6a8f11a55ba4c509e0b
DIST postgresql-base-7.3.15.tar.bz2 5695061 RMD160 55cc363e1ce26ea0c7f79c5adfd90714988afb46 SHA1 059f16d3e98df525e9c0962f29f2126a9397dc02 SHA256 81da1ab6c3d9e19aef068cc1db81ca696771dfa5c8ff262bcb1bf977ac7429dc
-DIST postgresql-base-7.3.6.tar.bz2 5647447 RMD160 1930b3ed737cb075526d1761383f7ffe30afd882 SHA1 4ac94c991b78a4335cfbc7cc4afabb8483fa4f0b SHA256 2a19c15217c18c7f9846dc629dfb78594c2861175ab816a3887b50d67b8b4d0c
-DIST postgresql-base-7.3.9.tar.bz2 5644088 RMD160 7972a4f37603e0ca646f5170f084ff361df9bb9a SHA256 aedb6d0f94641d0f7f04a783fe3f6606f696740e7cc87e599722aa5230868833
-DIST postgresql-base-7.4.11.tar.bz2 6601862 RMD160 04046e3ab5a0fb1385056ae1ca71328c76ee02f7 SHA256 da1847096b2902320c2f55c062854a098d76ea7985fdfbcab9eee9cba02f08d2
-DIST postgresql-base-7.4.12.tar.bz2 6601251 RMD160 9ffb0cb7c81a12ee2b4fb92d5d18fb356f474e8f SHA256 9e458eb084bac7816204e5b887d97278c3ad639accd1610b8c51d77f830b259e
DIST postgresql-base-7.4.13.tar.bz2 6576973 RMD160 5f90ed85fdceb06fe15e324620e931140e3617ef SHA1 cb326a788833e805a54a80d87aeeb6fa00fb7b1e SHA256 2e2fa6b1cf3fc7a66a58762acfb64ce42d358e0dd799a467316e937d3a116cf7
-DIST postgresql-base-7.4.7.tar.bz2 6582981 RMD160 89edbba88d3ab655fc5fef37f6b61cfeb391133f SHA1 ab7065a3380c44e948a9e0e2817ad364ff8ac290 SHA256 00070fbc8449d51722db16d084b305a537b8255a4908e46b77f1994c9b450403
-DIST postgresql-base-7.4.8.tar.bz2 6588745 RMD160 72115846c2620b174987655e402098836518377c SHA256 83249e973e1c6c6fb7b440b1c06b058b2f5e9d7fe586b665f11996fbb3b6bce0
-DIST postgresql-base-7.4.9.tar.bz2 6601210 RMD160 ee2f3b3433f7c6ff226b6719f94425076dbcd4f6 SHA256 de1ecf5076895a614c0232e1d32037f385a84d0018afc7f999665403ab61b3e2
-DIST postgresql-base-8.0.3.tar.bz2 7818251 RMD160 0e91b565876f747f384f71e4ab4f55acbe07dc25 SHA1 17671d94d0f65f855e583bde0366b9c59b3e3de3 SHA256 5d818472ffd4b502dbbd08755f2a9d37aa78f33afd3f4dd84ff7c889d055fd82
-DIST postgresql-base-8.0.4.tar.bz2 7825300 RMD160 75de92c8661174cfea03acc5e058d179ef6c3cf8 SHA1 d33019cd50b1b060b8141d6c21f254ad8ccac657 SHA256 4295f381760cbec0141d097799563e854de2d4c04ed41aba3f33354ce8144134
-DIST postgresql-base-8.0.6.tar.bz2 7825582 RMD160 f6f4603c5059c80618579ed49449ffed84e581e6 SHA256 3916a87c20f2f947bf4a546059d7b3fee714f8dbaf3630bd1265032ba29012d3
-DIST postgresql-base-8.0.7.tar.bz2 7824746 RMD160 566afde711f5b1b4ed45533680575954e338fe2f SHA256 638c303d0b18cd37d41971fd79581c01e59f9aa200836e50dfce288139ced7ee
DIST postgresql-base-8.0.8.tar.bz2 7823046 RMD160 2c60dc22f714bc0182051a94c3c1f513b30f574e SHA1 a5e5147497f0c2b548762d232d297b48d6e97d02 SHA256 906d86f2477309b9c2531d12fe720761fdffd73243a83ae31892bd7a0a618183
-DIST postgresql-base-8.1.2.tar.bz2 8042367 RMD160 b08044d5c80a255023ab8f8b31c84cc8e7936050 SHA1 d5d6cde5629ccf077b5dbd17763ce4590be09592 SHA256 f21ae59a5aa4fe19379a669bafac3604e00d107e6c2ce71e05ff9f8780dfd8f1
-DIST postgresql-base-8.1.3.tar.bz2 8044411 RMD160 539ec857517d01310225fff2e738ccd6698891ab SHA1 64fdc0c0d90a4998aea663f5b761e78a5588661a SHA256 39a776680997639a100ddbdc33128c210f610e7aadc114624d3d02fdd0350619
DIST postgresql-base-8.1.4.tar.bz2 8040435 RMD160 b3389c51a9d3cc89935dd1cc6405a9dd9c07042d SHA1 b1d7df18dabbbff78a810625f7d626c7601ec3bc SHA256 3d5e6cf4aa1593730c61676ffc4e3acbed73c0e13fb246035e54e4cf83fa60e1
-DIST postgresql-docs-7.3.11.tar.bz2 2347416 RMD160 37633d4d91fe766cc8f19cfe90b96311240a30bb SHA256 85fb4491c1987d4057721d4bec81d3685a7689da5b1c20ac55a1cf9b2f86fdb8
-DIST postgresql-docs-7.3.13.tar.bz2 2352275 RMD160 3f2028058e1c73132bd1c84a35cfe891b4b6fafe SHA256 4d371d2e7c2b86f0f02d72bffb224e0afce1347aed906bb2b0709555da56b251
-DIST postgresql-docs-7.3.14.tar.bz2 2352329 RMD160 80a9e01daa7b0ae30b06d0f4957f7fc213bb3c0c SHA256 39947cdd5f6215d5870add117bc04b29be8c17fe3c5e3ffc4d5e104c4d844e81
+DIST postgresql-docs-7.3.11.tar.bz2 2347416 RMD160 37633d4d91fe766cc8f19cfe90b96311240a30bb SHA1 4548460d5733e30ca8cc875cd2d28121bd0e5f4e SHA256 85fb4491c1987d4057721d4bec81d3685a7689da5b1c20ac55a1cf9b2f86fdb8
DIST postgresql-docs-7.3.15.tar.bz2 2361345 RMD160 7330f8f5e3d4061e28ec4fb28939011ae5038551 SHA1 3740ab265033d1827fd8e06eb0257b0275cd4ce4 SHA256 832239ebdef5501a8b32f3d2b2f1684c2e9c18fa6cec0370e950b20a62f07cf9
-DIST postgresql-docs-7.3.6.tar.bz2 2337333 RMD160 63a1e81f1d73a0f94bea76db7f3f15b4602e27a4 SHA256 a4ac9ec1353372b0563e25158d173884410e38114428dd9874ab9fb7bd540fd1
-DIST postgresql-docs-7.3.9.tar.bz2 2343410 RMD160 796a2f17865613931970fa619f95a32052cc8358 SHA256 040dec6c0cd564e1c43f5ceb6a09f08f99fb10773f3d6980300381cd6a55e862
-DIST postgresql-docs-7.4.11.tar.bz2 2430013 RMD160 ddf03b508964ed7d6c816a793050468175ee9f12 SHA256 9d57c580ffbfb1aa124d7ef7cb29875292b6377a0a0858b9aa1aa74a53816338
-DIST postgresql-docs-7.4.12.tar.bz2 2430951 RMD160 86278d542966b94bc737d3be942d43c03e030002 SHA256 6b42b5ab28f87275121239fc30c87122d1e9b978a6081985547ebe1af861cf1f
DIST postgresql-docs-7.4.13.tar.bz2 2426721 RMD160 4500c150a1638279394bf6f6882682f019ddf8ae SHA1 60c145ec822fca74cab03f3e11918df22752f899 SHA256 31d91342f23dc842839ee9f5b7475582a2e232c6831c6d514c3a414ed28ebdf8
-DIST postgresql-docs-7.4.7.tar.bz2 2417733 RMD160 fe7572d7fa2acd660c0b2c1bc7bf119d9122e55e SHA256 b028de9ced1c7f049c2a1f5996c0d315f7c9970e458b2e63912578d0f3972a41
-DIST postgresql-docs-7.4.8.tar.bz2 2424249 RMD160 19cd6af72aeefdcca1da162e31dc5b1c9670f7a7 SHA256 98a6f7692af732e8769b40ad3d7d6733a66b3d4ab3f52b0c2235a3aabd2dae7b
-DIST postgresql-docs-7.4.9.tar.bz2 2426803 RMD160 917781145f206df69e3ad8cd2fedb1358f7b55f4 SHA256 d8d94d7dcc6c77a7a90e9a8d25035899ba40b6d60ce32f7d749e1a13b37cb519
-DIST postgresql-docs-8.0.3.tar.bz2 2213693 RMD160 391e718ad936f16d04af6e2ae15f98f4512cfd8e SHA256 fd91a3c1c1992480a677bd287c73d21c290c56260e083c564909763decac74be
-DIST postgresql-docs-8.0.4.tar.bz2 2227623 RMD160 fcb6a2b25ecd9af47212982af19ead599cfa6504 SHA256 19a24a44058ab2c8f916721e2c1ea7f02be6543ce4b73eb28e1b57bfcac369b2
-DIST postgresql-docs-8.0.6.tar.bz2 2251094 RMD160 038b4d159409205c75031a94385fa0cb827c9190 SHA256 8d337bf5d1616dc615469e49a6763a5d4e3e06565e6c02e00533e2a663d119a7
-DIST postgresql-docs-8.0.7.tar.bz2 2255231 RMD160 da93e56195e4bfbf6094ed9abb122b4944ef65a6 SHA256 75087a5a57e74c54dc06eeafbe2f74a5f0f33d0635d5f6fb21b51ccbd18b8e5e
DIST postgresql-docs-8.0.8.tar.bz2 2260219 RMD160 e3dbde03b553000d5a263a93713c434e88dd4fe1 SHA1 2f845d6740c7ed88d0b9240b274a75d479658f7c SHA256 60a93ee5b2b80f517696328d85f4db24791cb1099d89a0adc375ee740201dc54
-DIST postgresql-docs-8.1.2.tar.bz2 2460342 RMD160 5157d4123b938e468d49949be5e6ea7db70996d5 SHA256 cd792cb42ff6e5c7271c3e1a263bb74f7097b1faebf39a9d7fde6a4cc69de1c7
-DIST postgresql-docs-8.1.3.tar.bz2 2467558 RMD160 b11f2405b4401f7342a7dabd5321f248bf27a2c0 SHA256 3aecc34a12e9f611ff83d109884bae90c28f0491cc11a372ae24f4b11a31e020
DIST postgresql-docs-8.1.4.tar.bz2 2485052 RMD160 4960b2d58da67ac88338c6b2508865cb20452b7e SHA1 e722612387eb668fbc9833fc19c213cd5cc8e1ba SHA256 1578423df71962e22fe94b1123db680983d4e2f82e5bbb4913d96d9f6265de7f
-DIST postgresql-opt-7.3.11.tar.bz2 340624 RMD160 efdab07df2ac0c3791c0e148454bb8f2b33b8b74 SHA256 fef7a8a7bf8439feb3ea023ca6486726f1a82b221db42126c3a267e34a837696
-DIST postgresql-opt-7.3.13.tar.bz2 340592 RMD160 fff45c15fc250a8f0b64e67553b8fbaa64b613e5 SHA256 cbbfb168d0ce3f9b21635e84f1a84ee012908cb5a9b92868541f1cf61d801cad
-DIST postgresql-opt-7.3.14.tar.bz2 340579 RMD160 ee210a3101f42b4e7480d334101a4681e2647a12 SHA256 6be0aa520387b19d1ddb013a6e8b18b71be65a1addd1521e77509399bb3ae811
+DIST postgresql-opt-7.3.11.tar.bz2 340624 RMD160 efdab07df2ac0c3791c0e148454bb8f2b33b8b74 SHA1 85e4e1da139b032dbf585f6552b38425481af218 SHA256 fef7a8a7bf8439feb3ea023ca6486726f1a82b221db42126c3a267e34a837696
DIST postgresql-opt-7.3.15.tar.bz2 341753 RMD160 8057276fff0ae87f49fb4853e6f3df681de405b9 SHA1 300ed5f2193367d5800c2fd1bdcab2e1764a2372 SHA256 9b513f3bdd2d63579698ecc9226866ca72fe2e13fd9f0367a07c5041dd8386f6
-DIST postgresql-opt-7.3.6.tar.bz2 341096 RMD160 fa63e4c1ece6e72ee0f63c4d03dc607b3cd8cc8c SHA1 339df559876a7636789f16a80927461c1ac8226f SHA256 e3d9ef22aee81a35e6989456c540d4a5d510280bd5a9fb9e5d7d532cae4bcb0d
-DIST postgresql-opt-7.3.9.tar.bz2 340736 RMD160 897a4a796e4e672103d92ef9c10b18c975860833 SHA256 6e914dd84a9c410f504af37252c95f0c81cb3b17bb56657a762012a27f7b949b
-DIST postgresql-opt-7.4.11.tar.bz2 332416 RMD160 8bbec48e97f560b02e866be2b4a1ce4e073eca41 SHA256 4a665978ab5de952c4e9f0857d94f237029f6443f4be40a5eb5f61df73060849
-DIST postgresql-opt-7.4.12.tar.bz2 332088 RMD160 34d1d769f4d61285e846abe44fb436a0859f6043 SHA256 9d4b69b348afe9e57d5567702400e64601ab3397e20567fee1bcf9fe2b8ab420
DIST postgresql-opt-7.4.13.tar.bz2 333860 RMD160 9fd1caacd6d842a473725450a0973173f68ae7b8 SHA1 79455e60f074a488ab3abafd10bfce4c63b33293 SHA256 8139a7161b2a55eba304b027896f0bfc81523dd41f7d1df222274b7a55e5aeab
-DIST postgresql-opt-7.4.7.tar.bz2 332158 RMD160 e600a704cf3260e9bdd26b55e302b682d9ca63e1 SHA1 cf115e01066619eaf4c7db0738346e60ea93ff50 SHA256 82d5edc4fa8fd59a4c830ad13a0729fbff1b6300af3fee4afcdf141a824307e8
-DIST postgresql-opt-7.4.8.tar.bz2 332225 RMD160 311093cf0317f577d04c8ce8969c93e179c1afdb SHA256 598609e6aecc6dac45d3118609ae85157e031fa220c9b4b5f51138276ca9560c
-DIST postgresql-opt-7.4.9.tar.bz2 332379 RMD160 87a076356b274b1f38e9fa2dc039313a86710516 SHA256 b9afd5d35d9682ac71ab6fdbf5be6337e45b99bd662c7a34b08de6270702927e
-DIST postgresql-opt-8.0.3.tar.bz2 133623 RMD160 8e4fec1ab3fa00ea943543dc085caea5a53e78cc SHA1 4600b9bdfa740e926c2a75666c2c3e33140cdefc SHA256 be8458226c563215692d1ddbb26feb80f879ab84dce24635112f816a913f511b
-DIST postgresql-opt-8.0.4.tar.bz2 133881 RMD160 b92b10abc930a17dfc6eb455f1742e29ed010fb0 SHA1 6082be00c6a2ba15a5d38f9f70aa720478dd8854 SHA256 f4c5fa0f8eead0506b75da7c953a4053233d153cd7369f11a0c65586e1d29da1
-DIST postgresql-opt-8.0.6.tar.bz2 133985 RMD160 4b3f1135f530c301af61888a7993da8eb9cfc629 SHA256 dddfd91f46611961428541682b55225f8204a4d00246b6d672bf36228e58959c
-DIST postgresql-opt-8.0.7.tar.bz2 134524 RMD160 b802fa6c48b20430562520798035a4e58c7e18fa SHA256 ac4deff14c8671d879e9dba824ed59bfea7038208b0d180737730e1f12544e34
DIST postgresql-opt-8.0.8.tar.bz2 134600 RMD160 352f07aa25d0dcf1d2e3502f5cec7295c40bc3d5 SHA1 081d0b8d755a49395001b46ca0585c4e2b5ecf4f SHA256 427e82253b068b35e47235a1b78c521c89a9774b80dcc2433946f86220a34926
-DIST postgresql-opt-8.1.2.tar.bz2 143541 RMD160 56e91a75972d031fce0d961d6bbea040e8196367 SHA1 50ef052510d3bd084a4ff42089f2d0c902c9ef31 SHA256 e2494279a0ae40b55eb55c87b7f4313084ddbb27b09f305941b035e32926f0f3
-DIST postgresql-opt-8.1.3.tar.bz2 144608 RMD160 0427f3b851c3bbaff53699baa0ebdf0c610303cf SHA1 90361a36aa54dd3356d324b3e9b0a8df99e887d4 SHA256 5f98160060e4fc78996c8b4312304fb4cc3ca4254a5be226cc3c4ff6ff2e5525
DIST postgresql-opt-8.1.4.tar.bz2 144696 RMD160 8f25c6137a8cbd786a647cf4d8ef59c95573012d SHA1 ba8ed68da796e67858f7c100f6d64f1586540f05 SHA256 5a6d27e303ad9b073f91e51658b13cfeb153e3d886af5e5c1093ea315e15738c
-EBUILD postgresql-7.3.11.ebuild 8314 RMD160 48bd23a9cc517c51d3961edc0c0659c91b8df5b6 SHA1 9d478d0d25d91f3d80556c91ccdece2afa63c038 SHA256 47764f4edb38098b0b4e65000feda16510a1b9a64e65f2ffd93a21c3b86156e0
-MD5 a30665b1b88f09c613692413e3245610 postgresql-7.3.11.ebuild 8314
-RMD160 48bd23a9cc517c51d3961edc0c0659c91b8df5b6 postgresql-7.3.11.ebuild 8314
-SHA256 47764f4edb38098b0b4e65000feda16510a1b9a64e65f2ffd93a21c3b86156e0 postgresql-7.3.11.ebuild 8314
-EBUILD postgresql-7.3.13.ebuild 8413 RMD160 db49794293f87b300bfe64007cc52eb5d8957b39 SHA1 69fd4764cf31861b715aeb2b817aedf837a3b531 SHA256 a264a12142df700af933c260f91f25124fdd8d41fc37305da50c280903319846
-MD5 7aa62e5bde9cd1b8fef5cfd18bb6f013 postgresql-7.3.13.ebuild 8413
-RMD160 db49794293f87b300bfe64007cc52eb5d8957b39 postgresql-7.3.13.ebuild 8413
-SHA256 a264a12142df700af933c260f91f25124fdd8d41fc37305da50c280903319846 postgresql-7.3.13.ebuild 8413
-EBUILD postgresql-7.3.14.ebuild 8411 RMD160 877d58f1aedab158f1073999922a2e4dcf132412 SHA1 e4e37d5103858b5a9eb2b520a124c50ded46782e SHA256 a62ceac060a5764c321cb4295c5a29c795a0a8f6d1e3b8bf574695549f3fea9c
-MD5 163ced305a55380148b04fffe10daf25 postgresql-7.3.14.ebuild 8411
-RMD160 877d58f1aedab158f1073999922a2e4dcf132412 postgresql-7.3.14.ebuild 8411
-SHA256 a62ceac060a5764c321cb4295c5a29c795a0a8f6d1e3b8bf574695549f3fea9c postgresql-7.3.14.ebuild 8411
-EBUILD postgresql-7.3.15-r1.ebuild 8530 RMD160 b72136e410c4f5c197c797cd0c63e9cd0c1904a6 SHA1 fd1101d689a51dbf8fb25cc2de6cc1e0a525e080 SHA256 9990c824888a8afa3a70a9b24e10b817cd35bb02d02ca11876cb092c8068789c
-MD5 96578a7c6d017d9ccd8ea9590a70163a postgresql-7.3.15-r1.ebuild 8530
-RMD160 b72136e410c4f5c197c797cd0c63e9cd0c1904a6 postgresql-7.3.15-r1.ebuild 8530
-SHA256 9990c824888a8afa3a70a9b24e10b817cd35bb02d02ca11876cb092c8068789c postgresql-7.3.15-r1.ebuild 8530
-EBUILD postgresql-7.3.6-r2.ebuild 7837 RMD160 ea5870a74e4a31a37580f2a47a488c7691852780 SHA1 d3d81597e535cb909d55f750d3ccd8433beff472 SHA256 d0473e726c26d665980f7a12b499070c9a2a6651c33dfdf0b19151cc861ea62e
-MD5 c25c9a7ffe3a89d13b05d6030f4d9889 postgresql-7.3.6-r2.ebuild 7837
-RMD160 ea5870a74e4a31a37580f2a47a488c7691852780 postgresql-7.3.6-r2.ebuild 7837
-SHA256 d0473e726c26d665980f7a12b499070c9a2a6651c33dfdf0b19151cc861ea62e postgresql-7.3.6-r2.ebuild 7837
-EBUILD postgresql-7.3.9-r1.ebuild 8028 RMD160 a5e1979cdba685ca13614478b6896002938095de SHA1 3ed69f84997863008598b429e7cd954bae374a18 SHA256 d543f41b27f0e710de2ddc9908e1397dadde9c71a47bdf92d2ff1c2d23858d1e
-MD5 2265cba6143f2d8471e41be421367c5b postgresql-7.3.9-r1.ebuild 8028
-RMD160 a5e1979cdba685ca13614478b6896002938095de postgresql-7.3.9-r1.ebuild 8028
-SHA256 d543f41b27f0e710de2ddc9908e1397dadde9c71a47bdf92d2ff1c2d23858d1e postgresql-7.3.9-r1.ebuild 8028
-EBUILD postgresql-7.4.11.ebuild 10683 RMD160 d675e90638ed978041e0ff34dcfce8493393bd16 SHA1 701c11a3bb8bb4a5438a50304550cdb7578a69ea SHA256 3a6d5f836b4bdabb137783a5cccd6fe33e2cbadc7b135be1f5f363b649731cf2
-MD5 e84e567c42464928f9a2e13a1a3a2fc5 postgresql-7.4.11.ebuild 10683
-RMD160 d675e90638ed978041e0ff34dcfce8493393bd16 postgresql-7.4.11.ebuild 10683
-SHA256 3a6d5f836b4bdabb137783a5cccd6fe33e2cbadc7b135be1f5f363b649731cf2 postgresql-7.4.11.ebuild 10683
-EBUILD postgresql-7.4.12.ebuild 10682 RMD160 ee62134021f1bec0b10c39bf90b6a48756e966f1 SHA1 0a3dbf66fc6ad9f27a89073a7cbb207fbc9991b3 SHA256 a05a8929ff90f8de16cbe61a5bc1f6697e0ae5ef20dd6890d8d1fa358feff91a
-MD5 ae5cbc648eeedd7d1619505850f951ef postgresql-7.4.12.ebuild 10682
-RMD160 ee62134021f1bec0b10c39bf90b6a48756e966f1 postgresql-7.4.12.ebuild 10682
-SHA256 a05a8929ff90f8de16cbe61a5bc1f6697e0ae5ef20dd6890d8d1fa358feff91a postgresql-7.4.12.ebuild 10682
-EBUILD postgresql-7.4.13.ebuild 10792 RMD160 e2090f7c27e0aa888e888f7dfab624727b30bf86 SHA1 f93727377e0a2f2b7226bdde0e24777b9ed06ca3 SHA256 5259ffb9509749979c840f59f43015b65dddfb0886a30d06668cde492ddc04ca
-MD5 02c8ab93310e56a8989b3e8f07307706 postgresql-7.4.13.ebuild 10792
-RMD160 e2090f7c27e0aa888e888f7dfab624727b30bf86 postgresql-7.4.13.ebuild 10792
-SHA256 5259ffb9509749979c840f59f43015b65dddfb0886a30d06668cde492ddc04ca postgresql-7.4.13.ebuild 10792
-EBUILD postgresql-7.4.7-r1.ebuild 10697 RMD160 5024c13654f438461bd821f7b619110af86faf3f SHA1 36af06a952acc75e4348db4efd82d7197b7f63cd SHA256 290ff1a0a6979911056baf60f3ddf8968a3ac003d17084dff8650334fb45c889
-MD5 50900a8ff785c9f6ca5d8ebc64ca937d postgresql-7.4.7-r1.ebuild 10697
-RMD160 5024c13654f438461bd821f7b619110af86faf3f postgresql-7.4.7-r1.ebuild 10697
-SHA256 290ff1a0a6979911056baf60f3ddf8968a3ac003d17084dff8650334fb45c889 postgresql-7.4.7-r1.ebuild 10697
-EBUILD postgresql-7.4.7-r2.ebuild 10851 RMD160 c5ca1d1bee0d2aa82da189c7a3df6db6d94ed579 SHA1 2effafd8b46e1229fbf0039cb79d980cd914ddaf SHA256 7e77044e4fedd1f3a9de07e1a6517c60e653bc1f550ee80fd24004e9d0a580a3
-MD5 678d215966541a09ed0bf4b5b3584d68 postgresql-7.4.7-r2.ebuild 10851
-RMD160 c5ca1d1bee0d2aa82da189c7a3df6db6d94ed579 postgresql-7.4.7-r2.ebuild 10851
-SHA256 7e77044e4fedd1f3a9de07e1a6517c60e653bc1f550ee80fd24004e9d0a580a3 postgresql-7.4.7-r2.ebuild 10851
-EBUILD postgresql-7.4.8.ebuild 10568 RMD160 50c66d796687ae3163917e2275172fae4fee7415 SHA1 3ea49ff9a3679dfd2118a832337d36bab9c91cb8 SHA256 62ba8a3fc6aed26d0627a862e4cf31ec6e95ab30fbdbc52cdbf2a09b83e8ef40
-MD5 75101fe4aa5308313ce99f4d73b5f0f4 postgresql-7.4.8.ebuild 10568
-RMD160 50c66d796687ae3163917e2275172fae4fee7415 postgresql-7.4.8.ebuild 10568
-SHA256 62ba8a3fc6aed26d0627a862e4cf31ec6e95ab30fbdbc52cdbf2a09b83e8ef40 postgresql-7.4.8.ebuild 10568
-EBUILD postgresql-7.4.9.ebuild 10733 RMD160 b0d57e544f8db1686c6c949c4bc4ec7c6b23fc50 SHA1 1d681af92478263568391b05ca627366bfd7c525 SHA256 55a7aa8033e9b1b41af9830d09a59bee1a9cd3bcb3d584a5ee81784848b1157a
-MD5 b8097ee8dc839a20d353212cef694cc5 postgresql-7.4.9.ebuild 10733
-RMD160 b0d57e544f8db1686c6c949c4bc4ec7c6b23fc50 postgresql-7.4.9.ebuild 10733
-SHA256 55a7aa8033e9b1b41af9830d09a59bee1a9cd3bcb3d584a5ee81784848b1157a postgresql-7.4.9.ebuild 10733
-EBUILD postgresql-8.0.3.ebuild 7508 RMD160 0ef4474f15a3a58a529dc2c660212c38740fe662 SHA1 8a951450beb7873ef782663388998d57bc234676 SHA256 68f07a090fc574fa61297abd4db414ec97859e55661cd3d21d6a722b427a8704
-MD5 30b245b68080012e1a20475195ca8245 postgresql-8.0.3.ebuild 7508
-RMD160 0ef4474f15a3a58a529dc2c660212c38740fe662 postgresql-8.0.3.ebuild 7508
-SHA256 68f07a090fc574fa61297abd4db414ec97859e55661cd3d21d6a722b427a8704 postgresql-8.0.3.ebuild 7508
-EBUILD postgresql-8.0.4.ebuild 7677 RMD160 315c25257fcfeb3c94047f2880931422b7f2be7d SHA1 b57d09b9b89d0ad557992e62fadb627616d82b31 SHA256 9cd72dcfd723eca5fcb0ad81e319c58909e81c40a7afe982f8477649e9ea384d
-MD5 963ede2bcdf44faac02ae373cb9a7881 postgresql-8.0.4.ebuild 7677
-RMD160 315c25257fcfeb3c94047f2880931422b7f2be7d postgresql-8.0.4.ebuild 7677
-SHA256 9cd72dcfd723eca5fcb0ad81e319c58909e81c40a7afe982f8477649e9ea384d postgresql-8.0.4.ebuild 7677
-EBUILD postgresql-8.0.6.ebuild 7631 RMD160 5a726c673036f4ee5bb79e55018f9d46f1ade37d SHA1 162668606555655686ccd0b317c8554057e3880d SHA256 7103b7aa98d5374cad269ad10beb7906cb4c23c381b8b7e91808510709ef4e0e
-MD5 cc7f6f3e18440012c6ef5ac16cd31817 postgresql-8.0.6.ebuild 7631
-RMD160 5a726c673036f4ee5bb79e55018f9d46f1ade37d postgresql-8.0.6.ebuild 7631
-SHA256 7103b7aa98d5374cad269ad10beb7906cb4c23c381b8b7e91808510709ef4e0e postgresql-8.0.6.ebuild 7631
-EBUILD postgresql-8.0.7.ebuild 7629 RMD160 11dcd812530f1460643b6c122db543ca0706af63 SHA1 810d5f35b15988c56f66de57d45f418d6ca62ab2 SHA256 79bdc3229bb2d7a29b4185c689d1a27e958454fa69d81c787db696bf33687c84
-MD5 cc8e82fb13094e91c6ce4b7d9a562f04 postgresql-8.0.7.ebuild 7629
-RMD160 11dcd812530f1460643b6c122db543ca0706af63 postgresql-8.0.7.ebuild 7629
-SHA256 79bdc3229bb2d7a29b4185c689d1a27e958454fa69d81c787db696bf33687c84 postgresql-8.0.7.ebuild 7629
-EBUILD postgresql-8.0.8.ebuild 7709 RMD160 f360a007b4b478e8511e46ec409e0a7d104a4bb7 SHA1 08a180907bc978fc0833e4ee7d3e89ded488def4 SHA256 b8509e0675490a021f5042fd38f7cfaaecfc06756b18bd04cccced36b6d2247d
-MD5 55fa41779b50236f31ec7bfd990d6600 postgresql-8.0.8.ebuild 7709
-RMD160 f360a007b4b478e8511e46ec409e0a7d104a4bb7 postgresql-8.0.8.ebuild 7709
-SHA256 b8509e0675490a021f5042fd38f7cfaaecfc06756b18bd04cccced36b6d2247d postgresql-8.0.8.ebuild 7709
-EBUILD postgresql-8.1.2.ebuild 7567 RMD160 7b29f9159a0a625ea36694127523334adf46541e SHA1 8042d93301d5e145263e036d61230c09aa867864 SHA256 b52e6580c94a1866295184671f2e982055b837e10452a3cca31a3b2fb752581e
-MD5 f473e46935f69ee45f0808603b621cd7 postgresql-8.1.2.ebuild 7567
-RMD160 7b29f9159a0a625ea36694127523334adf46541e postgresql-8.1.2.ebuild 7567
-SHA256 b52e6580c94a1866295184671f2e982055b837e10452a3cca31a3b2fb752581e postgresql-8.1.2.ebuild 7567
-EBUILD postgresql-8.1.3-r1.ebuild 7772 RMD160 dee1026cdaf7ff4b49fa24fd1a074108dc645e47 SHA1 5ac2170d3f4688483669b36a9eea948e3601a864 SHA256 c39b5498b437599e1cb27e8537781fe9186f5d2af0a9deea169c4bf78df0bf1a
-MD5 5b4ab27bf08f553416da8022233104e9 postgresql-8.1.3-r1.ebuild 7772
-RMD160 dee1026cdaf7ff4b49fa24fd1a074108dc645e47 postgresql-8.1.3-r1.ebuild 7772
-SHA256 c39b5498b437599e1cb27e8537781fe9186f5d2af0a9deea169c4bf78df0bf1a postgresql-8.1.3-r1.ebuild 7772
-EBUILD postgresql-8.1.3.ebuild 7567 RMD160 d688d8ab81862ce46d303b4d6a94ec4eca6fd69a SHA1 50e89dc0b0d3ad732b2ed55647efa33796e93f49 SHA256 e6df12d9aaf541a42e88d218c1d802cfc17124b9870cc74df634ddeed4d7c8c4
-MD5 c7ff3a5f2738c179f26d3dbee8daa187 postgresql-8.1.3.ebuild 7567
-RMD160 d688d8ab81862ce46d303b4d6a94ec4eca6fd69a postgresql-8.1.3.ebuild 7567
-SHA256 e6df12d9aaf541a42e88d218c1d802cfc17124b9870cc74df634ddeed4d7c8c4 postgresql-8.1.3.ebuild 7567
-EBUILD postgresql-8.1.4.ebuild 7844 RMD160 3b8cac5394a12fcbd0ba01826b7e9ad93be35962 SHA1 8d1abf5069effa18274417f8cf06e2d401467d7f SHA256 6961dade790d4bb46152714e8c4ef92576e9c4ac293bbb67f0d28635adfa9182
-MD5 b2314b8f7bd05b9008ff225816319e2b postgresql-8.1.4.ebuild 7844
-RMD160 3b8cac5394a12fcbd0ba01826b7e9ad93be35962 postgresql-8.1.4.ebuild 7844
-SHA256 6961dade790d4bb46152714e8c4ef92576e9c4ac293bbb67f0d28635adfa9182 postgresql-8.1.4.ebuild 7844
-MISC ChangeLog 56865 RMD160 5ede34724ad5cae18bb9fb3ee409bb47c4034a86 SHA1 554af0a2c86e84f3396f0d6f9e7d97e954772f71 SHA256 7efc6f6f8a8e41d650b876bfac08ac2ac9a3a65cf6a49a758b5af00a2fb93117
-MD5 2eeab726089dcae063f0e1a353fd2329 ChangeLog 56865
-RMD160 5ede34724ad5cae18bb9fb3ee409bb47c4034a86 ChangeLog 56865
-SHA256 7efc6f6f8a8e41d650b876bfac08ac2ac9a3a65cf6a49a758b5af00a2fb93117 ChangeLog 56865
-MISC metadata.xml 163 RMD160 70bbda1c1e8316a09d467334131898ae833a3205 SHA1 f43b9a4a2a82140936f9b04e4e63b3c9a495141f SHA256 f0699a4c3ad24cc38836c2d4a1ba03e4e403a9a5364b51df405db02014005891
-MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
-RMD160 70bbda1c1e8316a09d467334131898ae833a3205 metadata.xml 163
-SHA256 f0699a4c3ad24cc38836c2d4a1ba03e4e403a9a5364b51df405db02014005891 metadata.xml 163
+EBUILD postgresql-7.3.11.ebuild 8348 RMD160 7dc251351e4ffd839033a28bf4ebcbf5f11e8a4f SHA1 0d576536bbcee24fb3c53891269da464ea0faefa SHA256 0820cd2d839f5fb4a67f75578aae4d4336607ebfcb4e42813d42524b5366f108
+MD5 ad3c4faddadea446bd36cb60c74ef334 postgresql-7.3.11.ebuild 8348
+RMD160 7dc251351e4ffd839033a28bf4ebcbf5f11e8a4f postgresql-7.3.11.ebuild 8348
+SHA256 0820cd2d839f5fb4a67f75578aae4d4336607ebfcb4e42813d42524b5366f108 postgresql-7.3.11.ebuild 8348
+EBUILD postgresql-7.3.15-r1.ebuild 8511 RMD160 0d0e07fd36a84a5aae53dee34222a0e7aee9c491 SHA1 dcdcc8f7ba7871f2c996a0a3840151a48932c17f SHA256 177be9839f407de7870f623d2b7a8fab76f4d5a10064819b773512439d46df26
+MD5 a6bfb8a82fe0b64230442567e2264163 postgresql-7.3.15-r1.ebuild 8511
+RMD160 0d0e07fd36a84a5aae53dee34222a0e7aee9c491 postgresql-7.3.15-r1.ebuild 8511
+SHA256 177be9839f407de7870f623d2b7a8fab76f4d5a10064819b773512439d46df26 postgresql-7.3.15-r1.ebuild 8511
+EBUILD postgresql-7.4.13.ebuild 10693 RMD160 f97311b69d04a1678d9841039c6231c35541b4fb SHA1 a7105807b9ccec595879591370c029bcdc144d80 SHA256 fc9c0d89fa011c688b04b8bffce912b050bbb2f9994af52fe9a0bc5b0bfe1ffa
+MD5 1d77d6d9067b80d60ebf43a47fb2b354 postgresql-7.4.13.ebuild 10693
+RMD160 f97311b69d04a1678d9841039c6231c35541b4fb postgresql-7.4.13.ebuild 10693
+SHA256 fc9c0d89fa011c688b04b8bffce912b050bbb2f9994af52fe9a0bc5b0bfe1ffa postgresql-7.4.13.ebuild 10693
+EBUILD postgresql-8.0.8.ebuild 7659 RMD160 a9b57522b7e7fefa2201edc7340af81d922c37c4 SHA1 f02faa1f213b51fb80867b5991ce5ee155c0b906 SHA256 8665d5aa48507508fb7df6c13698c6cfe37a01470747f1a1e5d1c2fad026af64
+MD5 2e5eba62bc3161b3b0f0b0557e90edf5 postgresql-8.0.8.ebuild 7659
+RMD160 a9b57522b7e7fefa2201edc7340af81d922c37c4 postgresql-8.0.8.ebuild 7659
+SHA256 8665d5aa48507508fb7df6c13698c6cfe37a01470747f1a1e5d1c2fad026af64 postgresql-8.0.8.ebuild 7659
+EBUILD postgresql-8.1.4.ebuild 7743 RMD160 ffc6909b4c6c681f3d738f629da59288ba520639 SHA1 8b354052abd8d44d03ccb47bb157d57adfb84627 SHA256 88c47cc67a82754ef64b414e59b26e391c21f7cbe4a73e78125da2fecda3af12
+MD5 d9cc36dfcaa0734dd891473f9514d063 postgresql-8.1.4.ebuild 7743
+RMD160 ffc6909b4c6c681f3d738f629da59288ba520639 postgresql-8.1.4.ebuild 7743
+SHA256 88c47cc67a82754ef64b414e59b26e391c21f7cbe4a73e78125da2fecda3af12 postgresql-8.1.4.ebuild 7743
+MISC ChangeLog 61168 RMD160 be50db4fe8087f992283ed9318fc74d4fdbdf1e2 SHA1 d81c8be989fff8f2a70f6a86745b869eedb8e036 SHA256 5ba57d8cf5931c3dfe642a175f4b78b812dba1ab5adc6a695ebd34896cf0e6ab
+MD5 aabe455a8d630b3cf1247fa5482c10a6 ChangeLog 61168
+RMD160 be50db4fe8087f992283ed9318fc74d4fdbdf1e2 ChangeLog 61168
+SHA256 5ba57d8cf5931c3dfe642a175f4b78b812dba1ab5adc6a695ebd34896cf0e6ab ChangeLog 61168
+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 35589b408871c82d9bd3dec19fc23690 files/digest-postgresql-7.3.11 816
RMD160 b982e4787eb2bcd4200c50cebd672792da8fa4a4 files/digest-postgresql-7.3.11 816
SHA256 7733780dbdcadc82c18ed059d6735ef18760e82dc60ba3759b0a084e5443fd0a files/digest-postgresql-7.3.11 816
-MD5 39219b5b0a74fef2f69aad6b7f3a3b8f files/digest-postgresql-7.3.13 816
-RMD160 49134cef2db77bc074883409cc82b2b73ef0c5fc files/digest-postgresql-7.3.13 816
-SHA256 37eae6c026ecb00f8b930f46434721bdc3826f2aad22dd502ead4c662b3a4532 files/digest-postgresql-7.3.13 816
-MD5 ad96bef8340441fb15174abac6d311ae files/digest-postgresql-7.3.14 816
-RMD160 7ac41d45fed2ae4c04db29526835fe2e48b5cf5c files/digest-postgresql-7.3.14 816
-SHA256 d40f8571a877989c25def523f79d08f3d3cd8f57a64dacde6e43b382cbdb0ef5 files/digest-postgresql-7.3.14 816
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 bb8e8ff4928fc6d90298d48ec8b14a82 files/digest-postgresql-7.3.6-r2 807
-RMD160 fc0485403b5382284d9c20b4a637012baae81a62 files/digest-postgresql-7.3.6-r2 807
-SHA256 26f4958d21dcbb9edd6bb02697985c8bfa819dfdad04d9197abd07458d2b56f8 files/digest-postgresql-7.3.6-r2 807
-MD5 98fe6f190f684c06d206eba3f03bd1fb files/digest-postgresql-7.3.9-r1 807
-RMD160 c5759d79e83f3083128c464d720b29af4b08850c files/digest-postgresql-7.3.9-r1 807
-SHA256 62a60efaa3ddea7b3d73539576e899eb68c45a479fb1ebb3ef22657b1190772c files/digest-postgresql-7.3.9-r1 807
-MD5 aed81d72d484a31576476e9c6d0de7ba files/digest-postgresql-7.4.11 1063
-RMD160 e1275d025375756402dc60116a61c2937277aa57 files/digest-postgresql-7.4.11 1063
-SHA256 3c043497edb2be6c4fcf245fdef1acfa877c0dfd50a3d2717b1ea7bfe6ae16fc files/digest-postgresql-7.4.11 1063
-MD5 a8e9119caaa7ceea95ca1bcea4fb15ed files/digest-postgresql-7.4.12 1063
-RMD160 bf871c7d1cc571f67e332d72345559c542d43127 files/digest-postgresql-7.4.12 1063
-SHA256 f8d856205a50f07e9db1ab12189e1fd9ae9d2ee0e2f9499fd2490fcb1ca1fdeb files/digest-postgresql-7.4.12 1063
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 03dc7a7e78137c6974243f359cc96a88 files/digest-postgresql-7.4.7-r1 1054
-RMD160 72a93fa6d2c627a9a264ffdfc4a75bf11be3cf93 files/digest-postgresql-7.4.7-r1 1054
-SHA256 d8b6ece736f7b064c4b0d269d80ae7919546f27853fc4a34329bc45a19c39cc8 files/digest-postgresql-7.4.7-r1 1054
-MD5 03dc7a7e78137c6974243f359cc96a88 files/digest-postgresql-7.4.7-r2 1054
-RMD160 72a93fa6d2c627a9a264ffdfc4a75bf11be3cf93 files/digest-postgresql-7.4.7-r2 1054
-SHA256 d8b6ece736f7b064c4b0d269d80ae7919546f27853fc4a34329bc45a19c39cc8 files/digest-postgresql-7.4.7-r2 1054
-MD5 4de108f2e59951bdde11837a64bcb062 files/digest-postgresql-7.4.8 1054
-RMD160 93e8983edd2f80372df1d1096110b8cdaff792e7 files/digest-postgresql-7.4.8 1054
-SHA256 f81d25f987ea07bd8a981ef38db7b1908c061f32130122a2e1cbfd3390a7eaac files/digest-postgresql-7.4.8 1054
-MD5 c2207899a3d660207257dbc9f7b6f4b5 files/digest-postgresql-7.4.9 1054
-RMD160 4cb7f2f2b0b6f35277854c5ac1a7c65b9171b905 files/digest-postgresql-7.4.9 1054
-SHA256 87c8d5c9c39bfc72d112cfef8a6c2e40eb779624ad4b9b6dcc56d029b93e5ca4 files/digest-postgresql-7.4.9 1054
-MD5 00ee26f90b90732b5f09353ab3d5d8d3 files/digest-postgresql-8.0.3 1063
-RMD160 f4841d6e3a9b15fdaf29614b957c025d03ae414f files/digest-postgresql-8.0.3 1063
-SHA256 efe3622419968628c2f64acd22a477911dd8c51ee54b0f2606506482f265251d files/digest-postgresql-8.0.3 1063
-MD5 33a169f1d7caf19fb1e6da6d7f7270a1 files/digest-postgresql-8.0.4 1063
-RMD160 751a8d4cd3a89bb088c5458325f90110780b2358 files/digest-postgresql-8.0.4 1063
-SHA256 06e040907994316e8b656a5de91650083f77b0776fbcc3474e7f9949faebb013 files/digest-postgresql-8.0.4 1063
-MD5 6b2bf1b7039f434d8640bf5ddd7ace5a files/digest-postgresql-8.0.6 1063
-RMD160 dc1bb7b1fee59993eb021d42e82a4f95bbd21528 files/digest-postgresql-8.0.6 1063
-SHA256 a2763f22904901bd7e91762687add344e630d4e68e173556940bfe17f451a4c0 files/digest-postgresql-8.0.6 1063
-MD5 e96c26db4d61dc767df5028526617933 files/digest-postgresql-8.0.7 1063
-RMD160 0538c1a61d794d50cc0b2bc075e502c41ec974d1 files/digest-postgresql-8.0.7 1063
-SHA256 41c4d3d1e4fe03f0ea503a2d7d11d0bac9d386d86f7e75568a7218349e60e28a files/digest-postgresql-8.0.7 1063
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 e375d88c79b297df437e5a6b51939d3f files/digest-postgresql-8.1.2 807
-RMD160 505f23d9daf5b3dba0a84d1fb9345e6239b64d5f files/digest-postgresql-8.1.2 807
-SHA256 17d556ce08eb698d62a67980d1f4ec3b11cccfad27c1f95704b7a00f28419040 files/digest-postgresql-8.1.2 807
-MD5 712aa7c7262db68b90baea25f83f3c1a files/digest-postgresql-8.1.3 807
-RMD160 b1b32de704e2616a123976625c76c0b9e8d9186e files/digest-postgresql-8.1.3 807
-SHA256 3aa2506ab4a0b41b0f4f9b3a8451eaae207e24c3811b8c32edbfa11ecedb9265 files/digest-postgresql-8.1.3 807
-MD5 712aa7c7262db68b90baea25f83f3c1a files/digest-postgresql-8.1.3-r1 807
-RMD160 b1b32de704e2616a123976625c76c0b9e8d9186e files/digest-postgresql-8.1.3-r1 807
-SHA256 3aa2506ab4a0b41b0f4f9b3a8451eaae207e24c3811b8c32edbfa11ecedb9265 files/digest-postgresql-8.1.3-r1 807
MD5 20af4faa9f933e71bc61470e58caf2f8 files/digest-postgresql-8.1.4 807
RMD160 41d5cd19229d85a091d9888318b579f0ce9c56f0 files/digest-postgresql-8.1.4 807
SHA256 997e9446f28bbd1e923e1d57e774db013094dfd4e547f3044902f6a154143695 files/digest-postgresql-8.1.4 807
diff --git a/dev-db/postgresql/files/CAN-2005-1409-doc.patch b/dev-db/postgresql/files/CAN-2005-1409-doc.patch
deleted file mode 100644
index 85ff53329cb2..000000000000
--- a/dev-db/postgresql/files/CAN-2005-1409-doc.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -ruN postgresql-7.4.5-old/doc/src/sgml/ref/create_conversion.sgml postgresql-7.4.5/doc/src/sgml/ref/create_conversion.sgml
---- postgresql-7.4.5-old/doc/src/sgml/ref/create_conversion.sgml 2003-09-22 02:16:57.000000000 +0200
-+++ postgresql-7.4.5/doc/src/sgml/ref/create_conversion.sgml 2005-05-04 12:49:46.643170384 +0200
-@@ -8,7 +8,7 @@
-
- <refnamediv>
- <refname>CREATE CONVERSION</refname>
-- <refpurpose>define a new conversion</refpurpose>
-+ <refpurpose>define a new encoding conversion</refpurpose>
- </refnamediv>
-
- <indexterm zone="sql-createconversion">
-@@ -26,10 +26,12 @@
- <title>Description</title>
-
- <para>
-- <command>CREATE CONVERSION</command> defines a new encoding
-- conversion. Conversion names may be used in the <function>convert</function> function
-+ <command>CREATE CONVERSION</command> defines a new conversion between
-+ character set encodings. Conversion names may be used in the
-+ <function>convert</function> function
- to specify a particular encoding conversion. Also, conversions that
-- are marked <literal>DEFAULT</> can be used for automatic encoding conversion between
-+ are marked <literal>DEFAULT</> can be used for automatic encoding
-+ conversion between
- client and server. For this purpose, two conversions, from encoding A to
- B <emphasis>and</emphasis> from encoding B to A, must be defined.
- </para>
-@@ -109,7 +111,7 @@
- integer, -- source encoding ID
- integer, -- destination encoding ID
- cstring, -- source string (null terminated C string)
-- cstring, -- destination string (null terminated C string)
-+ internal, -- destination (fill with a null terminated C string)
- integer -- source string length
- ) RETURNS void;
- </programlisting>
diff --git a/dev-db/postgresql/files/CAN-2005-1409.patch b/dev-db/postgresql/files/CAN-2005-1409.patch
deleted file mode 100644
index 38070f2d34fd..000000000000
--- a/dev-db/postgresql/files/CAN-2005-1409.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ruN postgresql-7.4.5-old/src/backend/commands/conversioncmds.c postgresql-7.4.5/src/backend/commands/conversioncmds.c
---- postgresql-7.4.5-old/src/backend/commands/conversioncmds.c 2003-08-04 04:39:58.000000000 +0200
-+++ postgresql-7.4.5/src/backend/commands/conversioncmds.c 2005-05-04 12:49:46.654168712 +0200
-@@ -46,7 +46,7 @@
- const char *from_encoding_name = stmt->for_encoding_name;
- const char *to_encoding_name = stmt->to_encoding_name;
- List *func_name = stmt->func_name;
-- static Oid funcargs[] = {INT4OID, INT4OID, CSTRINGOID, CSTRINGOID, INT4OID};
-+ static Oid funcargs[] = {INT4OID, INT4OID, CSTRINGOID, INTERNALOID, INT4OID};
-
- /* Convert list of names to a name and namespace */
- namespaceId = QualifiedNameGetCreationNamespace(stmt->conversion_name,
-diff -ruN postgresql-7.4.5-old/src/backend/utils/mb/conversion_procs/Makefile postgresql-7.4.5/src/backend/utils/mb/conversion_procs/Makefile
---- postgresql-7.4.5-old/src/backend/utils/mb/conversion_procs/Makefile 2004-01-21 20:25:11.000000000 +0100
-+++ postgresql-7.4.5/src/backend/utils/mb/conversion_procs/Makefile 2005-05-04 12:49:46.671166128 +0200
-@@ -157,7 +157,7 @@
- func=$$1; shift; \
- obj=$$1; shift; \
- echo "-- $$se --> $$de"; \
-- echo "CREATE OR REPLACE FUNCTION $$func (INTEGER, INTEGER, CSTRING, CSTRING, INTEGER) RETURNS VOID AS '$$"libdir"/$$obj', '$$func' LANGUAGE 'c' STRICT;"; \
-+ echo "CREATE OR REPLACE FUNCTION $$func (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$$"libdir"/$$obj', '$$func' LANGUAGE 'c' STRICT;"; \
- echo "DROP CONVERSION pg_catalog.$$name;"; \
- echo "CREATE DEFAULT CONVERSION pg_catalog.$$name FOR '$$se' TO '$$de' FROM $$func;"; \
- done > $@
diff --git a/dev-db/postgresql/files/CAN-2005-1410.patch b/dev-db/postgresql/files/CAN-2005-1410.patch
deleted file mode 100644
index 611f0770b7ff..000000000000
--- a/dev-db/postgresql/files/CAN-2005-1410.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-diff -ruN postgresql-7.4.5-old/contrib/tsearch2/gendict/sql.IN postgresql-7.4.5/contrib/tsearch2/gendict/sql.IN
---- postgresql-7.4.5-old/contrib/tsearch2/gendict/sql.IN 2003-07-21 12:27:00.000000000 +0200
-+++ postgresql-7.4.5/contrib/tsearch2/gendict/sql.IN 2005-05-04 12:58:47.886888832 +0200
-@@ -1,7 +1,7 @@
- SET search_path = public;
- BEGIN;
-
--HASINIT create function dinit_CFG_MODNAME(text)
-+HASINIT create function dinit_CFG_MODNAME(internal)
- HASINIT returns internal
- HASINIT as 'MODULE_PATHNAME'
- HASINIT language 'C';
-diff -ruN postgresql-7.4.5-old/contrib/tsearch2/tsearch.sql.in postgresql-7.4.5/contrib/tsearch2/tsearch.sql.in
---- postgresql-7.4.5-old/contrib/tsearch2/tsearch.sql.in 2004-02-21 04:48:55.000000000 +0100
-+++ postgresql-7.4.5/contrib/tsearch2/tsearch.sql.in 2005-05-04 12:58:47.888888528 +0200
-@@ -44,7 +44,7 @@
- with (isstrict);
-
- --built-in dictionaries
--CREATE FUNCTION dex_init(text)
-+CREATE FUNCTION dex_init(internal)
- returns internal
- as 'MODULE_PATHNAME'
- language 'C';
-@@ -63,7 +63,7 @@
- 'Simple example of dictionary.'
- ;
-
--CREATE FUNCTION snb_en_init(text)
-+CREATE FUNCTION snb_en_init(internal)
- returns internal
- as 'MODULE_PATHNAME'
- language 'C';
-@@ -82,7 +82,7 @@
- 'English Stemmer. Snowball.'
- ;
-
--CREATE FUNCTION snb_ru_init(text)
-+CREATE FUNCTION snb_ru_init(internal)
- returns internal
- as 'MODULE_PATHNAME'
- language 'C';
-@@ -95,7 +95,7 @@
- 'Russian Stemmer. Snowball.'
- ;
-
--CREATE FUNCTION spell_init(text)
-+CREATE FUNCTION spell_init(internal)
- returns internal
- as 'MODULE_PATHNAME'
- language 'C';
-@@ -114,7 +114,7 @@
- 'ISpell interface. Must have .dict and .aff files'
- ;
-
--CREATE FUNCTION syn_init(text)
-+CREATE FUNCTION syn_init(internal)
- returns internal
- as 'MODULE_PATHNAME'
- language 'C';
-diff -ruN postgresql-7.4.5-old/contrib/tsearch2/untsearch.sql.in postgresql-7.4.5/contrib/tsearch2/untsearch.sql.in
---- postgresql-7.4.5-old/contrib/tsearch2/untsearch.sql.in 2003-08-06 11:19:20.000000000 +0200
-+++ postgresql-7.4.5/contrib/tsearch2/untsearch.sql.in 2005-05-04 12:58:47.891888072 +0200
-@@ -34,14 +34,14 @@
- DROP FUNCTION lexize(text);
- DROP FUNCTION set_curdict(int);
- DROP FUNCTION set_curdict(text);
--DROP FUNCTION dex_init(text);
-+DROP FUNCTION dex_init(internal);
- DROP FUNCTION dex_lexize(internal,internal,int4);
--DROP FUNCTION snb_en_init(text);
-+DROP FUNCTION snb_en_init(internal);
- DROP FUNCTION snb_lexize(internal,internal,int4);
--DROP FUNCTION snb_ru_init(text);
--DROP FUNCTION spell_init(text);
-+DROP FUNCTION snb_ru_init(internal);
-+DROP FUNCTION spell_init(internal);
- DROP FUNCTION spell_lexize(internal,internal,int4);
--DROP FUNCTION syn_init(text);
-+DROP FUNCTION syn_init(internal);
- DROP FUNCTION syn_lexize(internal,internal,int4);
- DROP FUNCTION set_curprs(int);
- DROP FUNCTION set_curprs(text);
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.13 b/dev-db/postgresql/files/digest-postgresql-7.3.13
deleted file mode 100644
index a22f40a36104..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.13
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 458852cd6ebc5eb87ea71c73041fa4e9 postgresql-base-7.3.13.tar.bz2 5668650
-RMD160 10e7abd9025dd619458efa8ca6b586b04da1c9dc postgresql-base-7.3.13.tar.bz2 5668650
-SHA256 d2dc69e976ebb4b5a20a495735d8d6151eedb44943585fb565d81cf7ed8e95dc postgresql-base-7.3.13.tar.bz2 5668650
-MD5 250ad8f52cd95ac0edc6017e4797a927 postgresql-docs-7.3.13.tar.bz2 2352275
-RMD160 3f2028058e1c73132bd1c84a35cfe891b4b6fafe postgresql-docs-7.3.13.tar.bz2 2352275
-SHA256 4d371d2e7c2b86f0f02d72bffb224e0afce1347aed906bb2b0709555da56b251 postgresql-docs-7.3.13.tar.bz2 2352275
-MD5 756c647118ac629048811f4e97c9ce6b postgresql-opt-7.3.13.tar.bz2 340592
-RMD160 fff45c15fc250a8f0b64e67553b8fbaa64b613e5 postgresql-opt-7.3.13.tar.bz2 340592
-SHA256 cbbfb168d0ce3f9b21635e84f1a84ee012908cb5a9b92868541f1cf61d801cad postgresql-opt-7.3.13.tar.bz2 340592
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.14 b/dev-db/postgresql/files/digest-postgresql-7.3.14
deleted file mode 100644
index 4e195a519213..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.14
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 bb925420098bd7921a8684d7f279bc97 postgresql-base-7.3.14.tar.bz2 5669000
-RMD160 14d791ec9b843e96ba61d66398c260a8203dd441 postgresql-base-7.3.14.tar.bz2 5669000
-SHA256 3476db5e5ad575c934a4e8804d3e9a088ac705688ab284de00135d91861142de postgresql-base-7.3.14.tar.bz2 5669000
-MD5 94d403ab6d06efdc3c7925fd1f003d23 postgresql-docs-7.3.14.tar.bz2 2352329
-RMD160 80a9e01daa7b0ae30b06d0f4957f7fc213bb3c0c postgresql-docs-7.3.14.tar.bz2 2352329
-SHA256 39947cdd5f6215d5870add117bc04b29be8c17fe3c5e3ffc4d5e104c4d844e81 postgresql-docs-7.3.14.tar.bz2 2352329
-MD5 984035524d18c1597771b17b0ab440cb postgresql-opt-7.3.14.tar.bz2 340579
-RMD160 ee210a3101f42b4e7480d334101a4681e2647a12 postgresql-opt-7.3.14.tar.bz2 340579
-SHA256 6be0aa520387b19d1ddb013a6e8b18b71be65a1addd1521e77509399bb3ae811 postgresql-opt-7.3.14.tar.bz2 340579
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.6-r2 b/dev-db/postgresql/files/digest-postgresql-7.3.6-r2
deleted file mode 100644
index 406a5a5cda5c..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.6-r2
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 80b1649458ed7b0e765fb19bcb81c7aa postgresql-base-7.3.6.tar.bz2 5647447
-RMD160 1930b3ed737cb075526d1761383f7ffe30afd882 postgresql-base-7.3.6.tar.bz2 5647447
-SHA256 2a19c15217c18c7f9846dc629dfb78594c2861175ab816a3887b50d67b8b4d0c postgresql-base-7.3.6.tar.bz2 5647447
-MD5 ec0cf85996049eb0180a2163c482c02c postgresql-docs-7.3.6.tar.bz2 2337333
-RMD160 63a1e81f1d73a0f94bea76db7f3f15b4602e27a4 postgresql-docs-7.3.6.tar.bz2 2337333
-SHA256 a4ac9ec1353372b0563e25158d173884410e38114428dd9874ab9fb7bd540fd1 postgresql-docs-7.3.6.tar.bz2 2337333
-MD5 49b6faa1698c6d9f357e13236f7ca777 postgresql-opt-7.3.6.tar.bz2 341096
-RMD160 fa63e4c1ece6e72ee0f63c4d03dc607b3cd8cc8c postgresql-opt-7.3.6.tar.bz2 341096
-SHA256 e3d9ef22aee81a35e6989456c540d4a5d510280bd5a9fb9e5d7d532cae4bcb0d postgresql-opt-7.3.6.tar.bz2 341096
diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.9-r1 b/dev-db/postgresql/files/digest-postgresql-7.3.9-r1
deleted file mode 100644
index 6f9f0e076ecc..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.3.9-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 acf807dfbc7389556dd8b9745588d04c postgresql-base-7.3.9.tar.bz2 5644088
-RMD160 7972a4f37603e0ca646f5170f084ff361df9bb9a postgresql-base-7.3.9.tar.bz2 5644088
-SHA256 aedb6d0f94641d0f7f04a783fe3f6606f696740e7cc87e599722aa5230868833 postgresql-base-7.3.9.tar.bz2 5644088
-MD5 0e19d3bad8b8bb9c56a0c466e5765449 postgresql-docs-7.3.9.tar.bz2 2343410
-RMD160 796a2f17865613931970fa619f95a32052cc8358 postgresql-docs-7.3.9.tar.bz2 2343410
-SHA256 040dec6c0cd564e1c43f5ceb6a09f08f99fb10773f3d6980300381cd6a55e862 postgresql-docs-7.3.9.tar.bz2 2343410
-MD5 cc5df63bb78d6b021477fb8c4596037c postgresql-opt-7.3.9.tar.bz2 340736
-RMD160 897a4a796e4e672103d92ef9c10b18c975860833 postgresql-opt-7.3.9.tar.bz2 340736
-SHA256 6e914dd84a9c410f504af37252c95f0c81cb3b17bb56657a762012a27f7b949b postgresql-opt-7.3.9.tar.bz2 340736
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.11 b/dev-db/postgresql/files/digest-postgresql-7.4.11
deleted file mode 100644
index 08cb0f86c033..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.11
+++ /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 eba9721a4223c1c2fad003666c678395 postgresql-base-7.4.11.tar.bz2 6601862
-RMD160 04046e3ab5a0fb1385056ae1ca71328c76ee02f7 postgresql-base-7.4.11.tar.bz2 6601862
-SHA256 da1847096b2902320c2f55c062854a098d76ea7985fdfbcab9eee9cba02f08d2 postgresql-base-7.4.11.tar.bz2 6601862
-MD5 a765c102b296e8c91e2f67982ceeb2a0 postgresql-docs-7.4.11.tar.bz2 2430013
-RMD160 ddf03b508964ed7d6c816a793050468175ee9f12 postgresql-docs-7.4.11.tar.bz2 2430013
-SHA256 9d57c580ffbfb1aa124d7ef7cb29875292b6377a0a0858b9aa1aa74a53816338 postgresql-docs-7.4.11.tar.bz2 2430013
-MD5 820a0e99ee3c7d76430b3368571ea660 postgresql-opt-7.4.11.tar.bz2 332416
-RMD160 8bbec48e97f560b02e866be2b4a1ce4e073eca41 postgresql-opt-7.4.11.tar.bz2 332416
-SHA256 4a665978ab5de952c4e9f0857d94f237029f6443f4be40a5eb5f61df73060849 postgresql-opt-7.4.11.tar.bz2 332416
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.12 b/dev-db/postgresql/files/digest-postgresql-7.4.12
deleted file mode 100644
index 69e964acccfd..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.12
+++ /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 289b9cbb231bc0adb757641edd9508a8 postgresql-base-7.4.12.tar.bz2 6601251
-RMD160 9ffb0cb7c81a12ee2b4fb92d5d18fb356f474e8f postgresql-base-7.4.12.tar.bz2 6601251
-SHA256 9e458eb084bac7816204e5b887d97278c3ad639accd1610b8c51d77f830b259e postgresql-base-7.4.12.tar.bz2 6601251
-MD5 79b0ac16295e5a72380320ed17ec42d2 postgresql-docs-7.4.12.tar.bz2 2430951
-RMD160 86278d542966b94bc737d3be942d43c03e030002 postgresql-docs-7.4.12.tar.bz2 2430951
-SHA256 6b42b5ab28f87275121239fc30c87122d1e9b978a6081985547ebe1af861cf1f postgresql-docs-7.4.12.tar.bz2 2430951
-MD5 02fbdaa2c9f625412e0e4b5d693c31e6 postgresql-opt-7.4.12.tar.bz2 332088
-RMD160 34d1d769f4d61285e846abe44fb436a0859f6043 postgresql-opt-7.4.12.tar.bz2 332088
-SHA256 9d4b69b348afe9e57d5567702400e64601ab3397e20567fee1bcf9fe2b8ab420 postgresql-opt-7.4.12.tar.bz2 332088
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.7-r1 b/dev-db/postgresql/files/digest-postgresql-7.4.7-r1
deleted file mode 100644
index d935a349ac7b..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.7-r1
+++ /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 70c07688c89f5fc7dbd9b8caee123582 postgresql-base-7.4.7.tar.bz2 6582981
-RMD160 89edbba88d3ab655fc5fef37f6b61cfeb391133f postgresql-base-7.4.7.tar.bz2 6582981
-SHA256 00070fbc8449d51722db16d084b305a537b8255a4908e46b77f1994c9b450403 postgresql-base-7.4.7.tar.bz2 6582981
-MD5 4fed2346dd0ec798554c055afaa84a89 postgresql-docs-7.4.7.tar.bz2 2417733
-RMD160 fe7572d7fa2acd660c0b2c1bc7bf119d9122e55e postgresql-docs-7.4.7.tar.bz2 2417733
-SHA256 b028de9ced1c7f049c2a1f5996c0d315f7c9970e458b2e63912578d0f3972a41 postgresql-docs-7.4.7.tar.bz2 2417733
-MD5 b72409a2d57c73bf6347e0d19b2cfb6e postgresql-opt-7.4.7.tar.bz2 332158
-RMD160 e600a704cf3260e9bdd26b55e302b682d9ca63e1 postgresql-opt-7.4.7.tar.bz2 332158
-SHA256 82d5edc4fa8fd59a4c830ad13a0729fbff1b6300af3fee4afcdf141a824307e8 postgresql-opt-7.4.7.tar.bz2 332158
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.7-r2 b/dev-db/postgresql/files/digest-postgresql-7.4.7-r2
deleted file mode 100644
index d935a349ac7b..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.7-r2
+++ /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 70c07688c89f5fc7dbd9b8caee123582 postgresql-base-7.4.7.tar.bz2 6582981
-RMD160 89edbba88d3ab655fc5fef37f6b61cfeb391133f postgresql-base-7.4.7.tar.bz2 6582981
-SHA256 00070fbc8449d51722db16d084b305a537b8255a4908e46b77f1994c9b450403 postgresql-base-7.4.7.tar.bz2 6582981
-MD5 4fed2346dd0ec798554c055afaa84a89 postgresql-docs-7.4.7.tar.bz2 2417733
-RMD160 fe7572d7fa2acd660c0b2c1bc7bf119d9122e55e postgresql-docs-7.4.7.tar.bz2 2417733
-SHA256 b028de9ced1c7f049c2a1f5996c0d315f7c9970e458b2e63912578d0f3972a41 postgresql-docs-7.4.7.tar.bz2 2417733
-MD5 b72409a2d57c73bf6347e0d19b2cfb6e postgresql-opt-7.4.7.tar.bz2 332158
-RMD160 e600a704cf3260e9bdd26b55e302b682d9ca63e1 postgresql-opt-7.4.7.tar.bz2 332158
-SHA256 82d5edc4fa8fd59a4c830ad13a0729fbff1b6300af3fee4afcdf141a824307e8 postgresql-opt-7.4.7.tar.bz2 332158
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.8 b/dev-db/postgresql/files/digest-postgresql-7.4.8
deleted file mode 100644
index 453dbc8ee2f7..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.8
+++ /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 c066dd74a746e15a49e0fded93a45329 postgresql-base-7.4.8.tar.bz2 6588745
-RMD160 72115846c2620b174987655e402098836518377c postgresql-base-7.4.8.tar.bz2 6588745
-SHA256 83249e973e1c6c6fb7b440b1c06b058b2f5e9d7fe586b665f11996fbb3b6bce0 postgresql-base-7.4.8.tar.bz2 6588745
-MD5 c395130c09c98fdf333ef3ab1621b341 postgresql-docs-7.4.8.tar.bz2 2424249
-RMD160 19cd6af72aeefdcca1da162e31dc5b1c9670f7a7 postgresql-docs-7.4.8.tar.bz2 2424249
-SHA256 98a6f7692af732e8769b40ad3d7d6733a66b3d4ab3f52b0c2235a3aabd2dae7b postgresql-docs-7.4.8.tar.bz2 2424249
-MD5 b178144bdb13a2dd8eb0d17a49532296 postgresql-opt-7.4.8.tar.bz2 332225
-RMD160 311093cf0317f577d04c8ce8969c93e179c1afdb postgresql-opt-7.4.8.tar.bz2 332225
-SHA256 598609e6aecc6dac45d3118609ae85157e031fa220c9b4b5f51138276ca9560c postgresql-opt-7.4.8.tar.bz2 332225
diff --git a/dev-db/postgresql/files/digest-postgresql-7.4.9 b/dev-db/postgresql/files/digest-postgresql-7.4.9
deleted file mode 100644
index 70804677e067..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-7.4.9
+++ /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 174761481d118d89f198d36afd1ca27d postgresql-base-7.4.9.tar.bz2 6601210
-RMD160 ee2f3b3433f7c6ff226b6719f94425076dbcd4f6 postgresql-base-7.4.9.tar.bz2 6601210
-SHA256 de1ecf5076895a614c0232e1d32037f385a84d0018afc7f999665403ab61b3e2 postgresql-base-7.4.9.tar.bz2 6601210
-MD5 58da72c07bfbbcefb83fe96d701c3c2f postgresql-docs-7.4.9.tar.bz2 2426803
-RMD160 917781145f206df69e3ad8cd2fedb1358f7b55f4 postgresql-docs-7.4.9.tar.bz2 2426803
-SHA256 d8d94d7dcc6c77a7a90e9a8d25035899ba40b6d60ce32f7d749e1a13b37cb519 postgresql-docs-7.4.9.tar.bz2 2426803
-MD5 c772b28f6b86efa10f707cc0b12d18fc postgresql-opt-7.4.9.tar.bz2 332379
-RMD160 87a076356b274b1f38e9fa2dc039313a86710516 postgresql-opt-7.4.9.tar.bz2 332379
-SHA256 b9afd5d35d9682ac71ab6fdbf5be6337e45b99bd662c7a34b08de6270702927e postgresql-opt-7.4.9.tar.bz2 332379
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.3 b/dev-db/postgresql/files/digest-postgresql-8.0.3
deleted file mode 100644
index cfbcae70d0ec..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.0.3
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 1d410cfb38253675fee36c8f9ee655e2 hier-Pg8.0.1-0.5.4.diff.gz 30662
-RMD160 f212f840d06a914fd668398848baef5a269875eb hier-Pg8.0.1-0.5.4.diff.gz 30662
-SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda hier-Pg8.0.1-0.5.4.diff.gz 30662
-MD5 35ff2b9a3bc5c65f55b4192a334b0e88 postgresql-base-8.0.3.tar.bz2 7818251
-RMD160 0e91b565876f747f384f71e4ab4f55acbe07dc25 postgresql-base-8.0.3.tar.bz2 7818251
-SHA256 5d818472ffd4b502dbbd08755f2a9d37aa78f33afd3f4dd84ff7c889d055fd82 postgresql-base-8.0.3.tar.bz2 7818251
-MD5 a9bb1e0dbc7ff862a30b6b9ca00b6470 postgresql-docs-8.0.3.tar.bz2 2213693
-RMD160 391e718ad936f16d04af6e2ae15f98f4512cfd8e postgresql-docs-8.0.3.tar.bz2 2213693
-SHA256 fd91a3c1c1992480a677bd287c73d21c290c56260e083c564909763decac74be postgresql-docs-8.0.3.tar.bz2 2213693
-MD5 ea1ce6f570a4408e934af914de71da0e postgresql-opt-8.0.3.tar.bz2 133623
-RMD160 8e4fec1ab3fa00ea943543dc085caea5a53e78cc postgresql-opt-8.0.3.tar.bz2 133623
-SHA256 be8458226c563215692d1ddbb26feb80f879ab84dce24635112f816a913f511b postgresql-opt-8.0.3.tar.bz2 133623
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.4 b/dev-db/postgresql/files/digest-postgresql-8.0.4
deleted file mode 100644
index 5885ad92c069..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.0.4
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 1d410cfb38253675fee36c8f9ee655e2 hier-Pg8.0.1-0.5.4.diff.gz 30662
-RMD160 f212f840d06a914fd668398848baef5a269875eb hier-Pg8.0.1-0.5.4.diff.gz 30662
-SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda hier-Pg8.0.1-0.5.4.diff.gz 30662
-MD5 ece2604b7bc6c4c460d34113b1542725 postgresql-base-8.0.4.tar.bz2 7825300
-RMD160 75de92c8661174cfea03acc5e058d179ef6c3cf8 postgresql-base-8.0.4.tar.bz2 7825300
-SHA256 4295f381760cbec0141d097799563e854de2d4c04ed41aba3f33354ce8144134 postgresql-base-8.0.4.tar.bz2 7825300
-MD5 37580606f2ca2ed2deacc65461693391 postgresql-docs-8.0.4.tar.bz2 2227623
-RMD160 fcb6a2b25ecd9af47212982af19ead599cfa6504 postgresql-docs-8.0.4.tar.bz2 2227623
-SHA256 19a24a44058ab2c8f916721e2c1ea7f02be6543ce4b73eb28e1b57bfcac369b2 postgresql-docs-8.0.4.tar.bz2 2227623
-MD5 27b8817f6ad1b81b55cdc8da55ed8295 postgresql-opt-8.0.4.tar.bz2 133881
-RMD160 b92b10abc930a17dfc6eb455f1742e29ed010fb0 postgresql-opt-8.0.4.tar.bz2 133881
-SHA256 f4c5fa0f8eead0506b75da7c953a4053233d153cd7369f11a0c65586e1d29da1 postgresql-opt-8.0.4.tar.bz2 133881
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.6 b/dev-db/postgresql/files/digest-postgresql-8.0.6
deleted file mode 100644
index 780a4d1709d0..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.0.6
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 1d410cfb38253675fee36c8f9ee655e2 hier-Pg8.0.1-0.5.4.diff.gz 30662
-RMD160 f212f840d06a914fd668398848baef5a269875eb hier-Pg8.0.1-0.5.4.diff.gz 30662
-SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda hier-Pg8.0.1-0.5.4.diff.gz 30662
-MD5 106faa96ca820ca7fb55936db394996b postgresql-base-8.0.6.tar.bz2 7825582
-RMD160 f6f4603c5059c80618579ed49449ffed84e581e6 postgresql-base-8.0.6.tar.bz2 7825582
-SHA256 3916a87c20f2f947bf4a546059d7b3fee714f8dbaf3630bd1265032ba29012d3 postgresql-base-8.0.6.tar.bz2 7825582
-MD5 3d289f9aad770a22293caf293bc9da9e postgresql-docs-8.0.6.tar.bz2 2251094
-RMD160 038b4d159409205c75031a94385fa0cb827c9190 postgresql-docs-8.0.6.tar.bz2 2251094
-SHA256 8d337bf5d1616dc615469e49a6763a5d4e3e06565e6c02e00533e2a663d119a7 postgresql-docs-8.0.6.tar.bz2 2251094
-MD5 4ce9485061082e9d837735071f7b03d6 postgresql-opt-8.0.6.tar.bz2 133985
-RMD160 4b3f1135f530c301af61888a7993da8eb9cfc629 postgresql-opt-8.0.6.tar.bz2 133985
-SHA256 dddfd91f46611961428541682b55225f8204a4d00246b6d672bf36228e58959c postgresql-opt-8.0.6.tar.bz2 133985
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.7 b/dev-db/postgresql/files/digest-postgresql-8.0.7
deleted file mode 100644
index 49586ffb90d3..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.0.7
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 1d410cfb38253675fee36c8f9ee655e2 hier-Pg8.0.1-0.5.4.diff.gz 30662
-RMD160 f212f840d06a914fd668398848baef5a269875eb hier-Pg8.0.1-0.5.4.diff.gz 30662
-SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda hier-Pg8.0.1-0.5.4.diff.gz 30662
-MD5 8d15064ffa1da6ee6629a444f782c7dd postgresql-base-8.0.7.tar.bz2 7824746
-RMD160 566afde711f5b1b4ed45533680575954e338fe2f postgresql-base-8.0.7.tar.bz2 7824746
-SHA256 638c303d0b18cd37d41971fd79581c01e59f9aa200836e50dfce288139ced7ee postgresql-base-8.0.7.tar.bz2 7824746
-MD5 d8159d0cc01b35fec59d181d1d16a5e0 postgresql-docs-8.0.7.tar.bz2 2255231
-RMD160 da93e56195e4bfbf6094ed9abb122b4944ef65a6 postgresql-docs-8.0.7.tar.bz2 2255231
-SHA256 75087a5a57e74c54dc06eeafbe2f74a5f0f33d0635d5f6fb21b51ccbd18b8e5e postgresql-docs-8.0.7.tar.bz2 2255231
-MD5 e18314b1d70f2b0bae83cc31b1aa3192 postgresql-opt-8.0.7.tar.bz2 134524
-RMD160 b802fa6c48b20430562520798035a4e58c7e18fa postgresql-opt-8.0.7.tar.bz2 134524
-SHA256 ac4deff14c8671d879e9dba824ed59bfea7038208b0d180737730e1f12544e34 postgresql-opt-8.0.7.tar.bz2 134524
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.2 b/dev-db/postgresql/files/digest-postgresql-8.1.2
deleted file mode 100644
index 307041a95ce1..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.1.2
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 20fa7e49ea3a7f8f4948c6132bbebd9c postgresql-base-8.1.2.tar.bz2 8042367
-RMD160 b08044d5c80a255023ab8f8b31c84cc8e7936050 postgresql-base-8.1.2.tar.bz2 8042367
-SHA256 f21ae59a5aa4fe19379a669bafac3604e00d107e6c2ce71e05ff9f8780dfd8f1 postgresql-base-8.1.2.tar.bz2 8042367
-MD5 ed4048c4b740d2d5f590aef12b9b5a0c postgresql-docs-8.1.2.tar.bz2 2460342
-RMD160 5157d4123b938e468d49949be5e6ea7db70996d5 postgresql-docs-8.1.2.tar.bz2 2460342
-SHA256 cd792cb42ff6e5c7271c3e1a263bb74f7097b1faebf39a9d7fde6a4cc69de1c7 postgresql-docs-8.1.2.tar.bz2 2460342
-MD5 50108c8e6c0327f00414913faaadae3c postgresql-opt-8.1.2.tar.bz2 143541
-RMD160 56e91a75972d031fce0d961d6bbea040e8196367 postgresql-opt-8.1.2.tar.bz2 143541
-SHA256 e2494279a0ae40b55eb55c87b7f4313084ddbb27b09f305941b035e32926f0f3 postgresql-opt-8.1.2.tar.bz2 143541
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.3 b/dev-db/postgresql/files/digest-postgresql-8.1.3
deleted file mode 100644
index 040a253b9f0e..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.1.3
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 4b9466e42b7951d7ec7be4455f64b13f postgresql-base-8.1.3.tar.bz2 8044411
-RMD160 539ec857517d01310225fff2e738ccd6698891ab postgresql-base-8.1.3.tar.bz2 8044411
-SHA256 39a776680997639a100ddbdc33128c210f610e7aadc114624d3d02fdd0350619 postgresql-base-8.1.3.tar.bz2 8044411
-MD5 9ca0b7f6b4c2edcd51b9995d4e3a8a42 postgresql-docs-8.1.3.tar.bz2 2467558
-RMD160 b11f2405b4401f7342a7dabd5321f248bf27a2c0 postgresql-docs-8.1.3.tar.bz2 2467558
-SHA256 3aecc34a12e9f611ff83d109884bae90c28f0491cc11a372ae24f4b11a31e020 postgresql-docs-8.1.3.tar.bz2 2467558
-MD5 ad1dd1d66c9c608180418375e36aafcb postgresql-opt-8.1.3.tar.bz2 144608
-RMD160 0427f3b851c3bbaff53699baa0ebdf0c610303cf postgresql-opt-8.1.3.tar.bz2 144608
-SHA256 5f98160060e4fc78996c8b4312304fb4cc3ca4254a5be226cc3c4ff6ff2e5525 postgresql-opt-8.1.3.tar.bz2 144608
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.3-r1 b/dev-db/postgresql/files/digest-postgresql-8.1.3-r1
deleted file mode 100644
index 040a253b9f0e..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.1.3-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 4b9466e42b7951d7ec7be4455f64b13f postgresql-base-8.1.3.tar.bz2 8044411
-RMD160 539ec857517d01310225fff2e738ccd6698891ab postgresql-base-8.1.3.tar.bz2 8044411
-SHA256 39a776680997639a100ddbdc33128c210f610e7aadc114624d3d02fdd0350619 postgresql-base-8.1.3.tar.bz2 8044411
-MD5 9ca0b7f6b4c2edcd51b9995d4e3a8a42 postgresql-docs-8.1.3.tar.bz2 2467558
-RMD160 b11f2405b4401f7342a7dabd5321f248bf27a2c0 postgresql-docs-8.1.3.tar.bz2 2467558
-SHA256 3aecc34a12e9f611ff83d109884bae90c28f0491cc11a372ae24f4b11a31e020 postgresql-docs-8.1.3.tar.bz2 2467558
-MD5 ad1dd1d66c9c608180418375e36aafcb postgresql-opt-8.1.3.tar.bz2 144608
-RMD160 0427f3b851c3bbaff53699baa0ebdf0c610303cf postgresql-opt-8.1.3.tar.bz2 144608
-SHA256 5f98160060e4fc78996c8b4312304fb4cc3ca4254a5be226cc3c4ff6ff2e5525 postgresql-opt-8.1.3.tar.bz2 144608
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.11 b/dev-db/postgresql/files/pg_autovacuum.conf-7.4.11
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.11
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.12 b/dev-db/postgresql/files/pg_autovacuum.conf-7.4.12
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.12
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.7 b/dev-db/postgresql/files/pg_autovacuum.conf-7.4.7
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.7
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.8 b/dev-db/postgresql/files/pg_autovacuum.conf-7.4.8
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.8
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.9 b/dev-db/postgresql/files/pg_autovacuum.conf-7.4.9
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-7.4.9
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.3 b/dev-db/postgresql/files/pg_autovacuum.conf-8.0.3
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.3
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.4 b/dev-db/postgresql/files/pg_autovacuum.conf-8.0.4
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.4
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.6 b/dev-db/postgresql/files/pg_autovacuum.conf-8.0.6
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.6
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.7 b/dev-db/postgresql/files/pg_autovacuum.conf-8.0.7
deleted file mode 100644
index f342ebfd2a47..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.conf-8.0.7
+++ /dev/null
@@ -1,14 +0,0 @@
-# The PostgreSQL user is:
-PGUSER=postgres
-
-# LOG file is:
-PG_AUTOVACUUM_LOG=/var/lib/postgresql/data/pg_autovacuum.log
-
-# See the pg_autovacuum documentation for the details of how these
-# parameters affect pg_autovacuum's aggressiveness.
-
-VACUUM_BASE=1000
-VACUUM_SCALE=2
-
-SLEEP_BASE=300
-SLEEP_SCALE=2
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-7.4.11 b/dev-db/postgresql/files/pg_autovacuum.init-7.4.11
deleted file mode 100644
index e19ae0f5e45f..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-7.4.11
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.11,v 1.1 2006/01/28 21:24:39 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-7.4.12 b/dev-db/postgresql/files/pg_autovacuum.init-7.4.12
deleted file mode 100644
index ca9f1a7a0980..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-7.4.12
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.12,v 1.1 2006/02/15 12:55:05 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-7.4.7 b/dev-db/postgresql/files/pg_autovacuum.init-7.4.7
deleted file mode 100644
index c32a61302766..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-7.4.7
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.7,v 1.1 2005/02/01 19:58:31 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-7.4.8 b/dev-db/postgresql/files/pg_autovacuum.init-7.4.8
deleted file mode 100644
index 8c632270fe3c..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-7.4.8
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.8,v 1.1 2005/05/16 06:54:44 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-7.4.9 b/dev-db/postgresql/files/pg_autovacuum.init-7.4.9
deleted file mode 100644
index 77f918be80c3..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-7.4.9
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.9,v 1.1 2005/10/08 23:06:24 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-8.0.3 b/dev-db/postgresql/files/pg_autovacuum.init-8.0.3
deleted file mode 100644
index 1df769eff6de..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-8.0.3
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-8.0.3,v 1.1 2005/05/16 06:54:44 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-8.0.4 b/dev-db/postgresql/files/pg_autovacuum.init-8.0.4
deleted file mode 100644
index 494dd3e2f538..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-8.0.4
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-8.0.4,v 1.1 2005/10/08 23:06:24 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-8.0.6 b/dev-db/postgresql/files/pg_autovacuum.init-8.0.6
deleted file mode 100644
index 33f16d206549..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-8.0.6
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-8.0.6,v 1.1 2006/01/28 21:24:39 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-8.0.7 b/dev-db/postgresql/files/pg_autovacuum.init-8.0.7
deleted file mode 100644
index fe630e64c3a2..000000000000
--- a/dev-db/postgresql/files/pg_autovacuum.init-8.0.7
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-8.0.7,v 1.1 2006/02/15 12:55:05 nakano Exp $
-
-depend() {
- need postgresql logger
-}
-
-start() {
- ebegin "Starting pg_autovacuum"
- echo ""
- echo -n "Waiting max. 10 sec. for postgresql to start "
- CONTINUE=0
- TOO_LONG=0
- while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 10 ]
- do
- psql -U $PGUSER -d template1 -c "SELECT 1" 1> /dev/null 2> /dev/null
- if [ "$?" -eq 0 ]
- then
- CONTINUE=1
- else
- echo -n "."
- TOO_LONG=`expr $TOO_LONG + 1`
- sleep 1
- fi
- done
- start-stop-daemon -o --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
-
- sleep 1
- pidof /usr/bin/pg_autovacuum > /dev/null
- if [ $? -eq 0 ]; then
- eend 0
- else
- eerror ""
- eerror "Please see log file: $PG_AUTOVACUUM_LOG"
- eerror "You may need to add following lines in /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL."
- eerror " stats_start_collector = true"
- eerror " stats_row_level = true"
-
- eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details."
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping pg_autovacuum"
- start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
- result=$?
- eend $result
-}
diff --git a/dev-db/postgresql/files/postgresql-7.3.11-gentoo.patch b/dev-db/postgresql/files/postgresql-7.3.11-gentoo.patch
deleted file mode 100644
index 24b0a29ab55f..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.11-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naru postgresql-7.3.11.org/src/interfaces/Makefile postgresql-7.3.11/src/interfaces/Makefile
---- postgresql-7.3.11.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-7.3.11/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.11.org/src/Makefile postgresql-7.3.11/src/Makefile
---- postgresql-7.3.11.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-7.3.11/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.11.org/configure postgresql-7.3.11/configure
---- postgresql-7.3.11.org/configure 2004-08-15 01:51:58.000000000 +0100
-+++ postgresql-7.3.11/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.13-gentoo.patch b/dev-db/postgresql/files/postgresql-7.3.13-gentoo.patch
deleted file mode 100644
index 8f601b04c2be..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.13-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naru postgresql-7.3.13.org/src/interfaces/Makefile postgresql-7.3.13/src/interfaces/Makefile
---- postgresql-7.3.13.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-7.3.13/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.13.org/src/Makefile postgresql-7.3.13/src/Makefile
---- postgresql-7.3.13.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-7.3.13/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.13.org/configure postgresql-7.3.13/configure
---- postgresql-7.3.13.org/configure 2004-08-15 01:51:58.000000000 +0100
-+++ postgresql-7.3.13/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.14-gentoo.patch b/dev-db/postgresql/files/postgresql-7.3.14-gentoo.patch
deleted file mode 100644
index 3c0776ef2fde..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.14-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.9-gentoo.patch b/dev-db/postgresql/files/postgresql-7.3.9-gentoo.patch
deleted file mode 100644
index 4661d23e7a9f..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.9-gentoo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naru postgresql-7.3.9.org/configure postgresql-7.3.9/configure
---- postgresql-7.3.9.org/configure 2004-08-15 01:51:58.000000000 +0100
-+++ postgresql-7.3.9/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.9-securityfix.patch b/dev-db/postgresql/files/postgresql-7.3.9-securityfix.patch
deleted file mode 100644
index 85540103d76c..000000000000
--- a/dev-db/postgresql/files/postgresql-7.3.9-securityfix.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- pgsql/src/pl/plpgsql/src/gram.y 2005/01/27 01:44:42 1.39.2.1
-+++ pgsql/src/pl/plpgsql/src/gram.y 2005/02/08 18:22:45 1.39.2.2
-@@ -1612,6 +1612,14 @@ read_sql_construct(int until,
- }
- if (plpgsql_SpaceScanned)
- plpgsql_dstring_append(&ds, " ");
-+
-+ /* Check for array overflow */
-+ if (nparams >= 1024)
-+ {
-+ plpgsql_error_lineno = lno;
-+ elog(ERROR, "too many variables specified in SQL statement");
-+ }
-+
- switch (tok)
- {
- case T_VARIABLE:
-@@ -1761,6 +1769,13 @@ make_select_stmt(void)
-
- while ((tok = yylex()) == ',')
- {
-+ /* Check for array overflow */
-+ if (nfields >= 1024)
-+ {
-+ plpgsql_error_lineno = yylineno;
-+ elog(ERROR, "too many INTO variables specified");
-+ }
-+
- tok = yylex();
- switch(tok)
- {
-@@ -1809,6 +1824,14 @@ make_select_stmt(void)
-
- if (plpgsql_SpaceScanned)
- plpgsql_dstring_append(&ds, " ");
-+
-+ /* Check for array overflow */
-+ if (nparams >= 1024)
-+ {
-+ plpgsql_error_lineno = yylineno;
-+ elog(ERROR, "too many variables specified in SQL statement");
-+ }
-+
- switch (tok)
- {
- case T_VARIABLE:
-@@ -1892,6 +1915,13 @@ make_fetch_stmt(void)
-
- while ((tok = yylex()) == ',')
- {
-+ /* Check for array overflow */
-+ if (nfields >= 1024)
-+ {
-+ plpgsql_error_lineno = yylineno;
-+ elog(ERROR, "too many INTO variables specified");
-+ }
-+
- tok = yylex();
- switch(tok)
- {
diff --git a/dev-db/postgresql/files/postgresql-7.4.11-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4.11-gentoo.patch
deleted file mode 100644
index 128dcb60980c..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.11-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naru postgresql-7.4.11.org/configure postgresql-7.4.11/configure
---- postgresql-7.4.11.org/configure 2004-08-18 04:11:24.000000000 +0100
-+++ postgresql-7.4.11/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.11.org/src/interfaces/Makefile postgresql-7.4.11/src/interfaces/Makefile
---- postgresql-7.4.11.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-7.4.11/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.11.org/src/Makefile postgresql-7.4.11/src/Makefile
---- postgresql-7.4.11.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-7.4.11/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.11-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.11-hppa-testandset.patch
deleted file mode 100644
index c20e53ea8be1..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.11-hppa-testandset.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -urN postgresql-7.4.11.orig/src/include/port/linux.h postgresql-7.4.11/src/include/port/linux.h
---- postgresql-7.4.11.orig/src/include/port/linux.h 2003-10-26 01:41:10.000000000 +0000
-+++ postgresql-7.4.11/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.11.orig/src/include/storage/s_lock.h postgresql-7.4.11/src/include/storage/s_lock.h
---- postgresql-7.4.11.orig/src/include/storage/s_lock.h 2003-11-04 09:43:56.000000000 +0000
-+++ postgresql-7.4.11/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.11-vacuum-delay.patch b/dev-db/postgresql/files/postgresql-7.4.11-vacuum-delay.patch
deleted file mode 100644
index e0f499859009..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.11-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.12-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4.12-gentoo.patch
deleted file mode 100644
index 536189faed33..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.12-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.12-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.12-hppa-testandset.patch
deleted file mode 100644
index dc3313146d7a..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.12-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.12-vacuum-delay.patch b/dev-db/postgresql/files/postgresql-7.4.12-vacuum-delay.patch
deleted file mode 100644
index e0f499859009..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.12-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.7-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4.7-gentoo.patch
deleted file mode 100644
index 0a5772a6ac9d..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.7-gentoo.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Naru postgresql-7.4.7.org/configure postgresql-7.4.7/configure
---- postgresql-7.4.7.org/configure 2004-08-18 04:11:24.000000000 +0100
-+++ postgresql-7.4.7/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.7.org/src/bin/initdb/initdb.sh postgresql-7.4.7/src/bin/initdb/initdb.sh
---- postgresql-7.4.7.org/src/bin/initdb/initdb.sh 2004-05-05 17:09:56.000000000 +0100
-+++ postgresql-7.4.7/src/bin/initdb/initdb.sh 2004-09-15 20:28:35.507026977 +0100
-@@ -1145,11 +1145,7 @@
- echo
- echo "Success. You can now start the database server using:"
- echo ""
--echo " $PGPATH/postmaster -D $PGDATA"
--echo "or"
--# (Advertise -l option here, otherwise we have a background
--# process writing to the terminal.)
--echo " $PGPATH/pg_ctl -D $PGDATA -l logfile start"
-+echo " /etc/init.d/postgresql start"
- echo
-
- exit 0
diff --git a/dev-db/postgresql/files/postgresql-7.4.7-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.7-hppa-testandset.patch
deleted file mode 100644
index 010a42a4088e..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.7-hppa-testandset.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -urN postgresql-7.4.1.orig/src/include/port/linux.h postgresql-7.4.1/src/include/port/linux.h
---- postgresql-7.4.1.orig/src/include/port/linux.h 2003-10-26 01:41:10.000000000 +0000
-+++ postgresql-7.4.1/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.1.orig/src/include/storage/s_lock.h postgresql-7.4.1/src/include/storage/s_lock.h
---- postgresql-7.4.1.orig/src/include/storage/s_lock.h 2003-11-04 09:43:56.000000000 +0000
-+++ postgresql-7.4.1/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.7-securityfix.patch b/dev-db/postgresql/files/postgresql-7.4.7-securityfix.patch
deleted file mode 100644
index 1d6bffde056b..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.7-securityfix.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- pgsql/src/pl/plpgsql/src/gram.y 2005/01/21 00:31:21 1.48.2.1
-+++ pgsql/src/pl/plpgsql/src/gram.y 2005/02/08 18:22:11 1.48.2.3
-@@ -1699,6 +1699,16 @@ read_sql_construct(int until,
- }
- if (plpgsql_SpaceScanned)
- plpgsql_dstring_append(&ds, " ");
-+
-+ /* Check for array overflow */
-+ if (nparams >= 1024)
-+ {
-+ plpgsql_error_lineno = lno;
-+ ereport(ERROR,
-+ (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
-+ errmsg("too many variables specified in SQL statement")));
-+ }
-+
- switch (tok)
- {
- case T_VARIABLE:
-@@ -1856,6 +1866,15 @@ make_select_stmt(void)
-
- while ((tok = yylex()) == ',')
- {
-+ /* Check for array overflow */
-+ if (nfields >= 1024)
-+ {
-+ plpgsql_error_lineno = plpgsql_scanner_lineno();
-+ ereport(ERROR,
-+ (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
-+ errmsg("too many INTO variables specified")));
-+ }
-+
- tok = yylex();
- switch(tok)
- {
-@@ -1906,6 +1925,16 @@ make_select_stmt(void)
-
- if (plpgsql_SpaceScanned)
- plpgsql_dstring_append(&ds, " ");
-+
-+ /* Check for array overflow */
-+ if (nparams >= 1024)
-+ {
-+ plpgsql_error_lineno = plpgsql_scanner_lineno();
-+ ereport(ERROR,
-+ (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
-+ errmsg("too many variables specified in SQL statement")));
-+ }
-+
- switch (tok)
- {
- case T_VARIABLE:
-@@ -1989,6 +2018,15 @@ make_fetch_stmt(void)
-
- while ((tok = yylex()) == ',')
- {
-+ /* Check for array overflow */
-+ if (nfields >= 1024)
-+ {
-+ plpgsql_error_lineno = plpgsql_scanner_lineno();
-+ ereport(ERROR,
-+ (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
-+ errmsg("too many INTO variables specified")));
-+ }
-+
- tok = yylex();
- switch(tok)
- {
diff --git a/dev-db/postgresql/files/postgresql-7.4.7-vacuum-delay.patch b/dev-db/postgresql/files/postgresql-7.4.7-vacuum-delay.patch
deleted file mode 100644
index e0f499859009..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.7-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.8-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4.8-gentoo.patch
deleted file mode 100644
index 91f26af4a4ed..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.8-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naru postgresql-7.4.8.org/configure postgresql-7.4.8/configure
---- postgresql-7.4.8.org/configure 2004-08-18 04:11:24.000000000 +0100
-+++ postgresql-7.4.8/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.8.org/src/interfaces/Makefile postgresql-7.4.8/src/interfaces/Makefile
---- postgresql-7.4.8.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-7.4.8/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.8.org/src/Makefile postgresql-7.4.8/src/Makefile
---- postgresql-7.4.8.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-7.4.8/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.8-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.8-hppa-testandset.patch
deleted file mode 100644
index 010a42a4088e..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.8-hppa-testandset.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -urN postgresql-7.4.1.orig/src/include/port/linux.h postgresql-7.4.1/src/include/port/linux.h
---- postgresql-7.4.1.orig/src/include/port/linux.h 2003-10-26 01:41:10.000000000 +0000
-+++ postgresql-7.4.1/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.1.orig/src/include/storage/s_lock.h postgresql-7.4.1/src/include/storage/s_lock.h
---- postgresql-7.4.1.orig/src/include/storage/s_lock.h 2003-11-04 09:43:56.000000000 +0000
-+++ postgresql-7.4.1/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.8-vacuum-delay.patch b/dev-db/postgresql/files/postgresql-7.4.8-vacuum-delay.patch
deleted file mode 100644
index e0f499859009..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.8-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.9-gentoo.patch b/dev-db/postgresql/files/postgresql-7.4.9-gentoo.patch
deleted file mode 100644
index cc2dc8a99b4a..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.9-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naru postgresql-7.4.9.org/configure postgresql-7.4.9/configure
---- postgresql-7.4.9.org/configure 2004-08-18 04:11:24.000000000 +0100
-+++ postgresql-7.4.9/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.9.org/src/interfaces/Makefile postgresql-7.4.9/src/interfaces/Makefile
---- postgresql-7.4.9.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-7.4.9/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.9.org/src/Makefile postgresql-7.4.9/src/Makefile
---- postgresql-7.4.9.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-7.4.9/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.9-hppa-testandset.patch b/dev-db/postgresql/files/postgresql-7.4.9-hppa-testandset.patch
deleted file mode 100644
index 010a42a4088e..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.9-hppa-testandset.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -urN postgresql-7.4.1.orig/src/include/port/linux.h postgresql-7.4.1/src/include/port/linux.h
---- postgresql-7.4.1.orig/src/include/port/linux.h 2003-10-26 01:41:10.000000000 +0000
-+++ postgresql-7.4.1/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.1.orig/src/include/storage/s_lock.h postgresql-7.4.1/src/include/storage/s_lock.h
---- postgresql-7.4.1.orig/src/include/storage/s_lock.h 2003-11-04 09:43:56.000000000 +0000
-+++ postgresql-7.4.1/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.9-vacuum-delay.patch b/dev-db/postgresql/files/postgresql-7.4.9-vacuum-delay.patch
deleted file mode 100644
index e0f499859009..000000000000
--- a/dev-db/postgresql/files/postgresql-7.4.9-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-8.0.3-gentoo.patch b/dev-db/postgresql/files/postgresql-8.0.3-gentoo.patch
deleted file mode 100644
index 7cac7ad65b3b..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.3-gentoo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naru postgresql-8.0.3.org/src/interfaces/Makefile postgresql-8.0.3/src/interfaces/Makefile
---- postgresql-8.0.3.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-8.0.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.0.3.org/src/Makefile postgresql-8.0.3/src/Makefile
---- postgresql-8.0.3.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-8.0.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.0.3-sh.patch b/dev-db/postgresql/files/postgresql-8.0.3-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.3-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.0.4-gentoo.patch b/dev-db/postgresql/files/postgresql-8.0.4-gentoo.patch
deleted file mode 100644
index 7cac7ad65b3b..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.4-gentoo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naru postgresql-8.0.3.org/src/interfaces/Makefile postgresql-8.0.3/src/interfaces/Makefile
---- postgresql-8.0.3.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-8.0.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.0.3.org/src/Makefile postgresql-8.0.3/src/Makefile
---- postgresql-8.0.3.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-8.0.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.0.4-sh.patch b/dev-db/postgresql/files/postgresql-8.0.4-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.4-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.0.6-gentoo.patch b/dev-db/postgresql/files/postgresql-8.0.6-gentoo.patch
deleted file mode 100644
index d922fabed2e4..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.6-gentoo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naru postgresql-8.0.4.org/src/interfaces/Makefile postgresql-8.0.4/src/interfaces/Makefile
---- postgresql-8.0.4.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-8.0.4/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.0.4.org/src/Makefile postgresql-8.0.4/src/Makefile
---- postgresql-8.0.4.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-8.0.4/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.0.6-sh.patch b/dev-db/postgresql/files/postgresql-8.0.6-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.6-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.0.7-gentoo.patch b/dev-db/postgresql/files/postgresql-8.0.7-gentoo.patch
deleted file mode 100644
index d922fabed2e4..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.7-gentoo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naru postgresql-8.0.4.org/src/interfaces/Makefile postgresql-8.0.4/src/interfaces/Makefile
---- postgresql-8.0.4.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-8.0.4/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.0.4.org/src/Makefile postgresql-8.0.4/src/Makefile
---- postgresql-8.0.4.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-8.0.4/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.0.7-sh.patch b/dev-db/postgresql/files/postgresql-8.0.7-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0.7-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.2-gentoo.patch b/dev-db/postgresql/files/postgresql-8.1.2-gentoo.patch
deleted file mode 100644
index fd28cbe8a424..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.2-gentoo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naru postgresql-8.1.2.org/src/interfaces/Makefile postgresql-8.1.2/src/interfaces/Makefile
---- postgresql-8.1.2.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-8.1.2/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.2.org/src/Makefile postgresql-8.1.2/src/Makefile
---- postgresql-8.1.2.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-8.1.2/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.2-sh.patch b/dev-db/postgresql/files/postgresql-8.1.2-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.2-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.3-gentoo.patch b/dev-db/postgresql/files/postgresql-8.1.3-gentoo.patch
deleted file mode 100644
index 942617ae0d08..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.3-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.3-sh.patch b/dev-db/postgresql/files/postgresql-8.1.3-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.1.3-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.conf b/dev-db/postgresql/files/postgresql.conf
deleted file mode 100644
index e63730f090e2..000000000000
--- a/dev-db/postgresql/files/postgresql.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-PGOPTS="-N 1024 -B 2048"
-
diff --git a/dev-db/postgresql/files/postgresql.conf-7.4.11 b/dev-db/postgresql/files/postgresql.conf-7.4.11
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-7.4.11
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-7.4.12 b/dev-db/postgresql/files/postgresql.conf-7.4.12
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-7.4.12
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-7.4.7 b/dev-db/postgresql/files/postgresql.conf-7.4.7
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-7.4.7
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-7.4.8 b/dev-db/postgresql/files/postgresql.conf-7.4.8
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-7.4.8
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-7.4.9 b/dev-db/postgresql/files/postgresql.conf-7.4.9
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-7.4.9
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-8.0.3 b/dev-db/postgresql/files/postgresql.conf-8.0.3
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-8.0.3
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-8.0.4 b/dev-db/postgresql/files/postgresql.conf-8.0.4
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-8.0.4
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-8.0.6 b/dev-db/postgresql/files/postgresql.conf-8.0.6
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-8.0.6
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-8.0.7 b/dev-db/postgresql/files/postgresql.conf-8.0.7
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-8.0.7
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-8.1.2 b/dev-db/postgresql/files/postgresql.conf-8.1.2
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-8.1.2
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.conf-8.1.3 b/dev-db/postgresql/files/postgresql.conf-8.1.3
deleted file mode 100644
index e8dab3e4c827..000000000000
--- a/dev-db/postgresql/files/postgresql.conf-8.1.3
+++ /dev/null
@@ -1,14 +0,0 @@
-# PostgreSQL's Database Directory
-PGDATA=/var/lib/postgresql/data
-
-# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
-PGLOG=/var/lib/postgresql/data/postgresql.log
-
-# Run the PostgreSQL user as:
-PGUSER=postgres
-
-# Extra options to run postmaster with.
-# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
-# PGOPTS="-N 1024 -B 2048 -i"
-PGOPTS=""
-
diff --git a/dev-db/postgresql/files/postgresql.init-7.3.11 b/dev-db/postgresql/files/postgresql.init-7.3.11
deleted file mode 100644
index 0930d133d050..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.3.11
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.3.11,v 1.1 2005/10/08 23:06:24 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.3.13 b/dev-db/postgresql/files/postgresql.init-7.3.13
deleted file mode 100644
index 5b07a8ab882f..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.3.13
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.3.13,v 1.1 2006/01/28 21:24:39 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.3.14 b/dev-db/postgresql/files/postgresql.init-7.3.14
deleted file mode 100644
index 5e36a8051d5b..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.3.14
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.3.14,v 1.1 2006/02/15 12:55:05 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.3.6 b/dev-db/postgresql/files/postgresql.init-7.3.6
deleted file mode 100644
index 38ad684245e6..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.3.6
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.3.6,v 1.4 2005/04/13 11:09:46 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.3.9 b/dev-db/postgresql/files/postgresql.init-7.3.9
deleted file mode 100644
index cfa1bb3e8821..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.3.9
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.3.9,v 1.1 2005/02/01 19:58:31 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.4.11 b/dev-db/postgresql/files/postgresql.init-7.4.11
deleted file mode 100644
index dc6c2ba9abcb..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.4.11
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.11,v 1.1 2006/01/28 21:24:39 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.4.12 b/dev-db/postgresql/files/postgresql.init-7.4.12
deleted file mode 100644
index 114ff097f2f6..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.4.12
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.12,v 1.1 2006/02/15 12:55:05 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.4.7 b/dev-db/postgresql/files/postgresql.init-7.4.7
deleted file mode 100644
index a12daa4e8745..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.4.7
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.7,v 1.1 2005/02/01 19:58:31 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.4.8 b/dev-db/postgresql/files/postgresql.init-7.4.8
deleted file mode 100644
index e725650d7d10..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.4.8
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.8,v 1.1 2005/05/16 06:54:44 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-7.4.9 b/dev-db/postgresql/files/postgresql.init-7.4.9
deleted file mode 100644
index 7c0b57c3e76b..000000000000
--- a/dev-db/postgresql/files/postgresql.init-7.4.9
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.9,v 1.1 2005/10/08 23:06:24 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-8.0.3 b/dev-db/postgresql/files/postgresql.init-8.0.3
deleted file mode 100644
index bd47a36e4957..000000000000
--- a/dev-db/postgresql/files/postgresql.init-8.0.3
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-8.0.3,v 1.1 2005/05/16 06:54:44 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-8.0.4 b/dev-db/postgresql/files/postgresql.init-8.0.4
deleted file mode 100644
index ea0b8ed3b931..000000000000
--- a/dev-db/postgresql/files/postgresql.init-8.0.4
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-8.0.4,v 1.1 2005/10/08 23:06:24 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-8.0.6 b/dev-db/postgresql/files/postgresql.init-8.0.6
deleted file mode 100644
index 047e45892418..000000000000
--- a/dev-db/postgresql/files/postgresql.init-8.0.6
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-8.0.6,v 1.1 2006/01/28 21:24:39 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-8.0.7 b/dev-db/postgresql/files/postgresql.init-8.0.7
deleted file mode 100644
index e7a4a505617e..000000000000
--- a/dev-db/postgresql/files/postgresql.init-8.0.7
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-8.0.7,v 1.1 2006/02/15 12:55:05 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-8.1.2 b/dev-db/postgresql/files/postgresql.init-8.1.2
deleted file mode 100644
index 3c7e40f90ff7..000000000000
--- a/dev-db/postgresql/files/postgresql.init-8.1.2
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-8.1.2,v 1.1 2006/01/28 21:24:39 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/files/postgresql.init-8.1.3 b/dev-db/postgresql/files/postgresql.init-8.1.3
deleted file mode 100644
index 4ca1baaefada..000000000000
--- a/dev-db/postgresql/files/postgresql.init-8.1.3
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-8.1.3,v 1.1 2006/02/14 19:12:20 nakano Exp $
-
-opts="${opts} reload"
-
-depend() {
- use net
-}
-
-checkconfig() {
- if [ ! -d $PGDATA ]; then
- eerror "directory not found: $PGDATA"
- eerror "You should create PGDATA directory first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting PostgreSQL"
- if [ -f $PGDATA/postmaster.pid ]; then
- rm $PGDATA/postmaster.pid
- fi
- su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'"
-
- while :
- do
- cnt=$(($cnt + 1))
- if [ -f "$PGDATA/postmaster.pid" ]; then
- ret=0
- break
- fi
-
- if [ $cnt -eq 30 ]; then
- eerror "Please see log file: $PGLOG"
- ret=1
- break
- fi
- sleep 1
- done
- eend $ret
-}
-
-stop() {
- ebegin "Stopping PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
- eend $?
-}
-
-svc_restart() {
- ebegin "Restarting PostgreSQL"
- su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
- eend $?
-}
-
-reload() {
- ebegin "Reloading PostgreSQL configuration"
- su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
- eend $?
-}
diff --git a/dev-db/postgresql/postgresql-7.3.13.ebuild b/dev-db/postgresql/postgresql-7.3.13.ebuild
deleted file mode 100644
index 401b6acdb361..000000000000
--- a/dev-db/postgresql/postgresql-7.3.13.ebuild
+++ /dev/null
@@ -1,246 +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-7.3.13.ebuild,v 1.1 2006/01/28 21:24:39 nakano 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 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
-IUSE="doc java libg++ nls pam perl python readline ssl tcltk zlib threads selinux"
-
-DEPEND="virtual/libc
- =dev-db/libpq-7.3.13*
- sys-devel/autoconf
- >=sys-libs/ncurses-5.2
- zlib? ( >=sys-libs/zlib-1.1.3 )
- readline? ( >=sys-libs/readline-4.1 )
- tcltk? ( >=dev-lang/tcl-8 >=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.13*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf 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.14.ebuild b/dev-db/postgresql/postgresql-7.3.14.ebuild
deleted file mode 100644
index e53c22aa8284..000000000000
--- a/dev-db/postgresql/postgresql-7.3.14.ebuild
+++ /dev/null
@@ -1,246 +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-7.3.14.ebuild,v 1.2 2006/02/20 06:23:13 kumba 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 ~hppa ~ia64 mips ~ppc ~sparc ~x86"
-IUSE="doc java libg++ nls pam perl python readline ssl tcltk zlib threads selinux"
-
-DEPEND="virtual/libc
- =dev-db/libpq-7.3.14*
- sys-devel/autoconf
- >=sys-libs/ncurses-5.2
- zlib? ( >=sys-libs/zlib-1.1.3 )
- readline? ( >=sys-libs/readline-4.1 )
- tcltk? ( >=dev-lang/tcl-8 >=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.14*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf 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.6-r2.ebuild b/dev-db/postgresql/postgresql-7.3.6-r2.ebuild
deleted file mode 100644
index b0170bacb1f7..000000000000
--- a/dev-db/postgresql/postgresql-7.3.6-r2.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.6-r2.ebuild,v 1.9 2005/11/12 22:48:12 nakano Exp $
-
-inherit gnuconfig flag-o-matic java-pkg
-
-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="x86 ~ppc ~sparc ~alpha ~amd64 ~hppa ~ia64 ~mips"
-IUSE="doc java libg++ nls pam perl python readline ssl tcltk zlib"
-
-DEPEND="virtual/libc
- sys-devel/autoconf
- >=sys-libs/ncurses-5.2
- zlib? ( >=sys-libs/zlib-1.1.3 )
- readline? ( >=sys-libs/readline-4.1 )
- tcltk? ( >=dev-lang/tcl-8 >=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
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- java? ( >=virtual/jdk-1.3 )
- 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
-}
-
-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} || die
- cd ${S} || die
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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"
-
- # 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/lib \
- --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/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
- 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 || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf 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."
- fi
-}
diff --git a/dev-db/postgresql/postgresql-7.3.9-r1.ebuild b/dev-db/postgresql/postgresql-7.3.9-r1.ebuild
deleted file mode 100644
index 88565ad2b0b4..000000000000
--- a/dev-db/postgresql/postgresql-7.3.9-r1.ebuild
+++ /dev/null
@@ -1,234 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.3.9-r1.ebuild,v 1.12 2005/11/12 22:48:12 nakano Exp $
-
-inherit eutils gnuconfig flag-o-matic java-pkg
-
-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="x86 ppc sparc alpha amd64 hppa ia64 mips"
-IUSE="doc java libg++ nls pam perl python readline ssl tcltk zlib threads selinux"
-
-DEPEND="virtual/libc
- sys-devel/autoconf
- >=sys-libs/ncurses-5.2
- zlib? ( >=sys-libs/zlib-1.1.3 )
- readline? ( >=sys-libs/readline-4.1 )
- tcltk? ( >=dev-lang/tcl-8 >=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
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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
-}
-
-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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
- cd ${S}
- epatch ${FILESDIR}/${P}-securityfix.patch
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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/lib \
- --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/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
- 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 || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf 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."
- fi
-}
diff --git a/dev-db/postgresql/postgresql-7.4.11.ebuild b/dev-db/postgresql/postgresql-7.4.11.ebuild
deleted file mode 100644
index ca03a16bee79..000000000000
--- a/dev-db/postgresql/postgresql-7.4.11.ebuild
+++ /dev/null
@@ -1,311 +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-7.4.11.ebuild,v 1.2 2006/07/05 07:45:33 mr_bones_ 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 tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads xml selinux"
-
-DEPEND="virtual/libc
- =dev-db/libpq-7.4.11*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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.11*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
-
- if use pg-hier; then
- cd ${S} || die
- epatch ${WORKDIR}/${P_HIERPG}.diff
- fi
-
- if use pg-vacuumdelay; then
- cd ${S} || die
- epatch ${FILESDIR}/${P}-vacuum-delay.patch
- fi
-
- if [ "${ARCH}" = "hppa" ]
- then
- cd ${S}
- epatch ${FILESDIR}/${P}-hppa-testandset.patch
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${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.12.ebuild b/dev-db/postgresql/postgresql-7.4.12.ebuild
deleted file mode 100644
index a1b0f78012f0..000000000000
--- a/dev-db/postgresql/postgresql-7.4.12.ebuild
+++ /dev/null
@@ -1,311 +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-7.4.12.ebuild,v 1.3 2006/07/05 07:45:33 mr_bones_ 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 tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads xml selinux"
-
-DEPEND="virtual/libc
- =dev-db/libpq-7.4.12*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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.12*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
-
- if use pg-hier; then
- cd ${S} || die
- epatch ${WORKDIR}/${P_HIERPG}.diff
- fi
-
- if use pg-vacuumdelay; then
- cd ${S} || die
- epatch ${FILESDIR}/${P}-vacuum-delay.patch
- fi
-
- if [ "${ARCH}" = "hppa" ]
- then
- cd ${S}
- epatch ${FILESDIR}/${P}-hppa-testandset.patch
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${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.7-r1.ebuild b/dev-db/postgresql/postgresql-7.4.7-r1.ebuild
deleted file mode 100644
index b8f9ea33fdf6..000000000000
--- a/dev-db/postgresql/postgresql-7.4.7-r1.ebuild
+++ /dev/null
@@ -1,308 +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-7.4.7-r1.ebuild,v 1.16 2006/07/05 07:45:33 mr_bones_ 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="x86 ppc sparc mips alpha arm hppa amd64 ia64 s390 ppc64"
-IUSE="ssl nls java python tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads xml selinux"
-
-DEPEND="virtual/libc
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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
-}
-
-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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
- cd ${S}
- epatch ${FILESDIR}/${P}-securityfix.patch
-
- if use pg-hier; then
- cd ${S} || die
- epatch ${WORKDIR}/${P_HIERPG}.diff
- fi
-
- if use pg-vacuumdelay; then
- cd ${S} || die
- epatch ${FILESDIR}/${P}-vacuum-delay.patch
- fi
-
- if [ "${ARCH}" = "hppa" ]
- then
- cd ${S}
- epatch ${FILESDIR}/${P}-hppa-testandset.patch
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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 || die
- 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 || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${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 "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."
- fi
-}
diff --git a/dev-db/postgresql/postgresql-7.4.7-r2.ebuild b/dev-db/postgresql/postgresql-7.4.7-r2.ebuild
deleted file mode 100644
index 8895eeeb77cc..000000000000
--- a/dev-db/postgresql/postgresql-7.4.7-r2.ebuild
+++ /dev/null
@@ -1,313 +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-7.4.7-r2.ebuild,v 1.12 2006/07/05 07:45:33 mr_bones_ 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 tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads xml selinux"
-
-DEPEND="virtual/libc
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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
-}
-
-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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
- cd ${S}
- epatch ${FILESDIR}/${P}-securityfix.patch
-
- if use pg-hier; then
- cd ${S} || die
- epatch ${WORKDIR}/${P_HIERPG}.diff
- fi
-
- if use pg-vacuumdelay; then
- cd ${S} || die
- epatch ${FILESDIR}/${P}-vacuum-delay.patch
- fi
-
- if [ "${ARCH}" = "hppa" ]
- then
- cd ${S}
- epatch ${FILESDIR}/${P}-hppa-testandset.patch
- fi
-
- # Bug 91231
- epatch ${FILESDIR}/CAN-2005-1409.patch
- epatch ${FILESDIR}/CAN-2005-1410.patch
- use doc && epatch ${FILESDIR}/CAN-2005-1409-doc.patch
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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 || die
- 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 || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${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 "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."
- fi
-}
diff --git a/dev-db/postgresql/postgresql-7.4.8.ebuild b/dev-db/postgresql/postgresql-7.4.8.ebuild
deleted file mode 100644
index bc30e0f44dc2..000000000000
--- a/dev-db/postgresql/postgresql-7.4.8.ebuild
+++ /dev/null
@@ -1,307 +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-7.4.8.ebuild,v 1.8 2006/07/05 07:45:33 mr_bones_ 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 tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads xml selinux"
-
-DEPEND="virtual/libc
- =dev-db/libpq-7.4.8*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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.8*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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
-}
-
-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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
-
- if use pg-hier; then
- cd ${S} || die
- epatch ${WORKDIR}/${P_HIERPG}.diff
- fi
-
- if use pg-vacuumdelay; then
- cd ${S} || die
- epatch ${FILESDIR}/${P}-vacuum-delay.patch
- fi
-
- if [ "${ARCH}" = "hppa" ]
- then
- cd ${S}
- epatch ${FILESDIR}/${P}-hppa-testandset.patch
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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 || die
- 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 || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${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.9.ebuild b/dev-db/postgresql/postgresql-7.4.9.ebuild
deleted file mode 100644
index c1250d7e91d2..000000000000
--- a/dev-db/postgresql/postgresql-7.4.9.ebuild
+++ /dev/null
@@ -1,311 +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-7.4.9.ebuild,v 1.12 2006/07/05 07:45:33 mr_bones_ 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 tcltk perl libg++ pam readline zlib doc pg-hier pg-vacuumdelay pg-intdatetime threads xml selinux"
-
-DEPEND="virtual/libc
- =dev-db/libpq-7.4.9*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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.9*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=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} || die
- epatch ${FILESDIR}/${P}-gentoo.patch
-
- if use pg-hier; then
- cd ${S} || die
- epatch ${WORKDIR}/${P_HIERPG}.diff
- fi
-
- if use pg-vacuumdelay; then
- cd ${S} || die
- epatch ${FILESDIR}/${P}-vacuum-delay.patch
- fi
-
- if [ "${ARCH}" = "hppa" ]
- then
- cd ${S}
- epatch ${FILESDIR}/${P}-hppa-testandset.patch
- fi
-}
-
-src_compile() {
- filter-flags -ffast-math
-
- if use java; then
- check_java_config
- fi
-
- local myconf
- use tcltk && 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 || die
- 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 || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${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-8.0.3.ebuild b/dev-db/postgresql/postgresql-8.0.3.ebuild
deleted file mode 100644
index 175333bc08dd..000000000000
--- a/dev-db/postgresql/postgresql-8.0.3.ebuild
+++ /dev/null
@@ -1,226 +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.0.3.ebuild,v 1.15 2006/07/05 07:45:33 mr_bones_ Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-P_HIERPG="hier-Pg8.0.1-0.5.4"
-MY_PV=${PV/_/}
-MY_P=${PN}-${MY_PV}
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${MY_PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${MY_PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${MY_PV}.tar.bz2 )
- pg-hier? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-
-S=${WORKDIR}/${MY_P}
-DEPEND="virtual/libc
- =dev-db/libpq-8.0.3*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.0.3*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-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 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 0 ] ; then
- eerror "Postgres ${MY_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
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
- use pg-hier && epatch ${WORKDIR}/${P_HIERPG}.diff
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-sh.patch
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcltk && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- 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 kerberos && myconf="$myconf --with-krb5"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
-
- # 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} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make 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} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- cd ${S}/doc
- dodoc FAQ* README.* TODO bug.template
- if use doc; then
- cd ${S}/doc
- docinto FAQ_html || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${FILESDIR}/pg_autovacuum.conf-${PV} pg_autovacuum || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-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
- einfo ""
- einfo "Execute the following command"
- einfo "emerge --config =${PF}"
- einfo "to setup the initial database environment."
- einfo ""
- fi
-}
-
-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
- eerror "Postgres ${MY_PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- 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 + 8200 \* 1000 + 14200 \* 100`
-
- 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-8.0.4.ebuild b/dev-db/postgresql/postgresql-8.0.4.ebuild
deleted file mode 100644
index 81176b886af7..000000000000
--- a/dev-db/postgresql/postgresql-8.0.4.ebuild
+++ /dev/null
@@ -1,230 +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.0.4.ebuild,v 1.13 2006/07/05 07:45:33 mr_bones_ Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-P_HIERPG="hier-Pg8.0.1-0.5.4"
-MY_PV=${PV/_/}
-MY_P=${PN}-${MY_PV}
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${MY_PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${MY_PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${MY_PV}.tar.bz2 )
- pg-hier? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-
-S=${WORKDIR}/${MY_P}
-DEPEND="virtual/libc
- =dev-db/libpq-8.0.4*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.0.4*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-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 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 0 ] ; then
- eerror "Postgres ${MY_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"
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
- use pg-hier && epatch ${WORKDIR}/${P_HIERPG}.diff
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-sh.patch
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcltk && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- 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 kerberos && myconf="$myconf --with-krb5"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
-
- # 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} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make 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} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- cd ${S}/doc
- dodoc FAQ* README.* TODO bug.template
- if use doc; then
- cd ${S}/doc
- docinto FAQ_html || die
- dodoc src/FAQ/* || die
- docinto sgml || die
- dodoc src/sgml/*.{sgml,dsl} || die
- docinto sgml/ref || die
- dodoc src/sgml/ref/*.sgml || die
- docinto TODO.detail || die
- dodoc TODO.detail/* || die
- fi
-
- cd ${S}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${FILESDIR}/pg_autovacuum.conf-${PV} pg_autovacuum || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-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
- einfo ""
- einfo "Execute the following command"
- einfo "emerge --config =${PF}"
- einfo "to setup the initial database environment."
- einfo ""
- fi
-}
-
-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
- eerror "Postgres ${MY_PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- 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 + 8200 \* 1000 + 14200 \* 100`
-
- 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-8.0.6.ebuild b/dev-db/postgresql/postgresql-8.0.6.ebuild
deleted file mode 100644
index 8116d0940922..000000000000
--- a/dev-db/postgresql/postgresql-8.0.6.ebuild
+++ /dev/null
@@ -1,230 +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.0.6.ebuild,v 1.2 2006/07/05 07:45:33 mr_bones_ Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-P_HIERPG="hier-Pg8.0.1-0.5.4"
-MY_PV=${PV/_/}
-MY_P=${PN}-${MY_PV}
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${MY_PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${MY_PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${MY_PV}.tar.bz2 )
- pg-hier? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-
-S=${WORKDIR}/${MY_P}
-DEPEND="virtual/libc
- =dev-db/libpq-8.0.6*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.0.6*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-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 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 0 ] ; then
- eerror "Postgres ${MY_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"
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
- use pg-hier && epatch ${WORKDIR}/${P_HIERPG}.diff
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-sh.patch
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcltk && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- 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 kerberos && myconf="$myconf --with-krb5"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
-
- # 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} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make 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} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${FILESDIR}/pg_autovacuum.conf-${PV} pg_autovacuum || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-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
- einfo ""
- einfo "Execute the following command"
- einfo "emerge --config =${PF}"
- einfo "to setup the initial database environment."
- einfo ""
- fi
-}
-
-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
- eerror "Postgres ${MY_PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- 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 + 8200 \* 1000 + 14200 \* 100`
-
- 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-8.0.7.ebuild b/dev-db/postgresql/postgresql-8.0.7.ebuild
deleted file mode 100644
index a73dfe223709..000000000000
--- a/dev-db/postgresql/postgresql-8.0.7.ebuild
+++ /dev/null
@@ -1,230 +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.0.7.ebuild,v 1.4 2006/07/05 07:45:33 mr_bones_ Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-P_HIERPG="hier-Pg8.0.1-0.5.4"
-MY_PV=${PV/_/}
-MY_P=${PN}-${MY_PV}
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${MY_PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${MY_PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${MY_PV}.tar.bz2 )
- pg-hier? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-
-S=${WORKDIR}/${MY_P}
-DEPEND="virtual/libc
- =dev-db/libpq-8.0.7*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.0.7*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-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 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 0 ] ; then
- eerror "Postgres ${MY_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"
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
- use pg-hier && epatch ${WORKDIR}/${P_HIERPG}.diff
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-sh.patch
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcltk && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- 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 kerberos && myconf="$myconf --with-krb5"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
-
- # 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} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make 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} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
- newexe ${FILESDIR}/pg_autovacuum.init-${PV} pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
- newins ${FILESDIR}/pg_autovacuum.conf-${PV} pg_autovacuum || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-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
- einfo ""
- einfo "Execute the following command"
- einfo "emerge --config =${PF}"
- einfo "to setup the initial database environment."
- einfo ""
- fi
-}
-
-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
- eerror "Postgres ${MY_PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- 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 + 8200 \* 1000 + 14200 \* 100`
-
- 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-8.1.2.ebuild b/dev-db/postgresql/postgresql-8.1.2.ebuild
deleted file mode 100644
index e516687d7a67..000000000000
--- a/dev-db/postgresql/postgresql-8.1.2.ebuild
+++ /dev/null
@@ -1,225 +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.2.ebuild,v 1.2 2006/07/05 07:45:33 mr_bones_ Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-#P_HIERPG="hier-Pg8.0.1-0.5.4"
-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? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-#IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime"
-
-DEPEND="virtual/libc
- =dev-db/libpq-8.1.2*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.1.2*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-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 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 1 ] ; 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"
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
-# use pg-hier && epatch ${WORKDIR}/${P_HIERPG}.diff
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-sh.patch
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcltk && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- 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 kerberos && myconf="$myconf --with-krb5"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
-
- # 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} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make 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} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-pkg_postinst() {
- einfo "Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell"
-
- einfo ""
- einfo "Execute the following command when you want to setup the initial database environment."
- einfo "emerge --config =${PF}"
- einfo ""
- einfo "autovacuum function, which was in contrib, has moved to main PostgreSQL function from 8.1."
- einfo "You can enable it in postgresql.conf."
- 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
- 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
- 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 + 8200 \* 1000 + 14200 \* 100`
-
- 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-8.1.3-r1.ebuild b/dev-db/postgresql/postgresql-8.1.3-r1.ebuild
deleted file mode 100644
index 41fd6c2dc461..000000000000
--- a/dev-db/postgresql/postgresql-8.1.3-r1.ebuild
+++ /dev/null
@@ -1,230 +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.3-r1.ebuild,v 1.3 2006/07/05 07:45:33 mr_bones_ Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-#P_HIERPG="hier-Pg8.0.1-0.5.4"
-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? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-#IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime threads"
-
-DEPEND="virtual/libc
- =dev-db/libpq-8.1.3*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.1.3*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-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 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 1 ] ; 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"
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
-# use pg-hier && epatch ${WORKDIR}/${P_HIERPG}.diff
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-sh.patch
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcltk && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- 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 kerberos && myconf="$myconf --with-krb5"
- 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"
-
- # Detect mips systems properly
- gnuconfig_update
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make 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} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-pkg_postinst() {
- einfo "Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell"
-
- einfo ""
- einfo "Execute the following command when you want to setup the initial database environment."
- einfo "emerge --config =${PF}"
- einfo ""
- einfo "autovacuum function, which was in contrib, has moved to main PostgreSQL function from 8.1."
- einfo "You can enable it in postgresql.conf."
- 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
- 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
- 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 \( ${MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 250000 + 8200 \* 1000 + 14200 \* 100`
-
- 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
- else
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
- 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-8.1.3.ebuild b/dev-db/postgresql/postgresql-8.1.3.ebuild
deleted file mode 100644
index 6bc024c7f6d9..000000000000
--- a/dev-db/postgresql/postgresql-8.1.3.ebuild
+++ /dev/null
@@ -1,225 +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.3.ebuild,v 1.4 2006/07/05 07:45:33 mr_bones_ Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-#P_HIERPG="hier-Pg8.0.1-0.5.4"
-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? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-#IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-IUSE="ssl nls python tcltk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime"
-
-DEPEND="virtual/libc
- =dev-db/libpq-8.1.3*
- 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 )
- tcltk? ( >=dev-lang/tcl-8 >=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 )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.1.3*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcltk? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-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 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 1 ] ; 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"
-}
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
-# use pg-hier && epatch ${WORKDIR}/${P_HIERPG}.diff
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-sh.patch
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcltk && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- 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 kerberos && myconf="$myconf --with-krb5"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
-
- # 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} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make 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} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- 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}
- exeinto /etc/init.d/
- newexe ${FILESDIR}/postgresql.init-${PV} postgresql || die
-
- insinto /etc/conf.d/
- newins ${FILESDIR}/postgresql.conf-${PV} postgresql || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-pkg_postinst() {
- einfo "Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell"
-
- einfo ""
- einfo "Execute the following command when you want to setup the initial database environment."
- einfo "emerge --config =${PF}"
- einfo ""
- einfo "autovacuum function, which was in contrib, has moved to main PostgreSQL function from 8.1."
- einfo "You can enable it in postgresql.conf."
- 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
- 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
- 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 + 8200 \* 1000 + 14200 \* 100`
-
- 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
-}