diff options
author | 2008-03-19 15:28:50 +0000 | |
---|---|---|
committer | 2008-03-19 15:28:50 +0000 | |
commit | 19cb71618d5b8e01b8be76f748f85217f5e35ca2 (patch) | |
tree | 5c62af1ae88f9260e412754eb8e4eb5a078c70ee | |
parent | Removed postgresql-{libs,client} (diff) | |
download | experimental-19cb71618d5b8e01b8be76f748f85217f5e35ca2.tar.gz experimental-19cb71618d5b8e01b8be76f748f85217f5e35ca2.tar.bz2 experimental-19cb71618d5b8e01b8be76f748f85217f5e35ca2.zip |
Removed postgresql-{libs,client}
svn path=/experimental/; revision=345
58 files changed, 0 insertions, 4113 deletions
diff --git a/dev-db/postgresql-client/ChangeLog b/dev-db/postgresql-client/ChangeLog deleted file mode 100644 index a99d833..0000000 --- a/dev-db/postgresql-client/ChangeLog +++ /dev/null @@ -1,10 +0,0 @@ -# ChangeLog for dev-db/postgresql-client -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 20 Mar 2007; Tiziano Müller <dev-zero@gentoo.org> - postgresql-client-7.3.18.ebuild, postgresql-client-7.4.16.ebuild, - postgresql-client-8.0.12.ebuild, postgresql-client-8.1.8.ebuild, - postgresql-client-8.2.3.ebuild: - Added doc USE-flag and PDEPEND on postgresql-docs - diff --git a/dev-db/postgresql-client/Manifest b/dev-db/postgresql-client/Manifest deleted file mode 100644 index 052bd94..0000000 --- a/dev-db/postgresql-client/Manifest +++ /dev/null @@ -1,116 +0,0 @@ -AUX pg_autovacuum.conf-7.4 480 RMD160 aa372b5108f9d163f5762c4150011b7c6c9a5638 SHA1 89cf741bdf091950feaa5a88f657ffc23906c23c SHA256 0884af8014efa76f40f7a646fdd90f57d8786cf6963ab7fc8913fe1b9987aeef -MD5 52d7822ad65be246f412833576c1bf0c files/pg_autovacuum.conf-7.4 480 -RMD160 aa372b5108f9d163f5762c4150011b7c6c9a5638 files/pg_autovacuum.conf-7.4 480 -SHA256 0884af8014efa76f40f7a646fdd90f57d8786cf6963ab7fc8913fe1b9987aeef files/pg_autovacuum.conf-7.4 480 -AUX pg_autovacuum.conf-8.0 480 RMD160 5607b2e5154d2275224100b2fdf9bf75881b013d SHA1 745eb02b4e173c328ca291f84704cca76c21ed3a SHA256 bb131d8b44c2836d920802347a591600b7145eac38bc0e418e23c599611965da -MD5 c0f1122acd598dd72018b083622111f1 files/pg_autovacuum.conf-8.0 480 -RMD160 5607b2e5154d2275224100b2fdf9bf75881b013d files/pg_autovacuum.conf-8.0 480 -SHA256 bb131d8b44c2836d920802347a591600b7145eac38bc0e418e23c599611965da files/pg_autovacuum.conf-8.0 480 -AUX pg_autovacuum.init-7.4 1409 RMD160 7aee45ef77ff01b65088ce588d2c88a7e5a05b2f SHA1 5e394a3479ffc2e3c9bf24740de9e6697ca1e0f7 SHA256 513abf3f4c73c3262af487dc2d8a0c68eabd02be3c669d0a99666125b0192743 -MD5 e1271ac837401f533ee966b9dc73cfcd files/pg_autovacuum.init-7.4 1409 -RMD160 7aee45ef77ff01b65088ce588d2c88a7e5a05b2f files/pg_autovacuum.init-7.4 1409 -SHA256 513abf3f4c73c3262af487dc2d8a0c68eabd02be3c669d0a99666125b0192743 files/pg_autovacuum.init-7.4 1409 -AUX pg_autovacuum.init-8.0 1409 RMD160 47fd6ce37fe067e21660034194625cd7ae3eddfe SHA1 583f359538884712bc65ac04b0698508b7ffb96c SHA256 e5691194b84a22f5720d16fb00a74f4bacd7c716715530851e22908059d53d58 -MD5 0247f6ce4f15fc609330fe3eaba888f8 files/pg_autovacuum.init-8.0 1409 -RMD160 47fd6ce37fe067e21660034194625cd7ae3eddfe files/pg_autovacuum.init-8.0 1409 -SHA256 e5691194b84a22f5720d16fb00a74f4bacd7c716715530851e22908059d53d58 files/pg_autovacuum.init-8.0 1409 -AUX postgresql-7.3-client.patch 5177 RMD160 19563ae70a5c6e00ac7aa293d2c23835ac7b433f SHA1 f1bb4b20ed2d8c6826f4557e3a6176b486188e12 SHA256 5590bbd2488c4e67cf1196a28af4edddd2801e08bf62870acd3ad2f216a41428 -MD5 4808e7c25ac60be8b9c16c3e52c37fd9 files/postgresql-7.3-client.patch 5177 -RMD160 19563ae70a5c6e00ac7aa293d2c23835ac7b433f files/postgresql-7.3-client.patch 5177 -SHA256 5590bbd2488c4e67cf1196a28af4edddd2801e08bf62870acd3ad2f216a41428 files/postgresql-7.3-client.patch 5177 -AUX postgresql-7.3.21-autoconf.patch 2141 RMD160 3bff01abeeeb094f04469960d4725c977657fb1c SHA1 aceb7ebafde14fde0efe6eefc68115fd8b4cb95a SHA256 9444af9ac2908f18fc69ef2db6fe78584384a46d28dd4c8af10740f9138796a8 -MD5 c5f90d21354c3a73b68ed583da9320df files/postgresql-7.3.21-autoconf.patch 2141 -RMD160 3bff01abeeeb094f04469960d4725c977657fb1c files/postgresql-7.3.21-autoconf.patch 2141 -SHA256 9444af9ac2908f18fc69ef2db6fe78584384a46d28dd4c8af10740f9138796a8 files/postgresql-7.3.21-autoconf.patch 2141 -AUX postgresql-7.4-client.patch 4359 RMD160 0c72d031a49513e91975ae113526a0e444debf67 SHA1 66db3077f39e027e60c35fe7fb3c0dd22bcfe165 SHA256 712b7a1a0b8f1949cf2039ec839b31e1951b05805b4dd87f2d7361de1fdcf46d -MD5 5e9ef25dc96f9253502e2b4687d77d6a files/postgresql-7.4-client.patch 4359 -RMD160 0c72d031a49513e91975ae113526a0e444debf67 files/postgresql-7.4-client.patch 4359 -SHA256 712b7a1a0b8f1949cf2039ec839b31e1951b05805b4dd87f2d7361de1fdcf46d files/postgresql-7.4-client.patch 4359 -AUX postgresql-7.4.19-autoconf.patch 1870 RMD160 92e49d3bc82ebfce6c798b4d56008da5c8f46d33 SHA1 a42d03a9c4d7b5df7a69a3d23c9e527c6d901eba SHA256 dccd9553b9cfdc88ffe98e445e27d1714426b4f1e6f405af438243ba06b93b6e -MD5 e70130009db4999da7c71240e01bab56 files/postgresql-7.4.19-autoconf.patch 1870 -RMD160 92e49d3bc82ebfce6c798b4d56008da5c8f46d33 files/postgresql-7.4.19-autoconf.patch 1870 -SHA256 dccd9553b9cfdc88ffe98e445e27d1714426b4f1e6f405af438243ba06b93b6e files/postgresql-7.4.19-autoconf.patch 1870 -AUX postgresql-8.0-client.patch 3258 RMD160 e7a637416cd2ddbbffb5e497058266e9154cffb0 SHA1 76567219620f8fca34b6f3430ae21ea538aa6100 SHA256 9425b11b6105454fda3ce8ffec73db5b6291206914255a350729f4e8c10f021a -MD5 089d57e9df6d6bdc9d813d430d6753c4 files/postgresql-8.0-client.patch 3258 -RMD160 e7a637416cd2ddbbffb5e497058266e9154cffb0 files/postgresql-8.0-client.patch 3258 -SHA256 9425b11b6105454fda3ce8ffec73db5b6291206914255a350729f4e8c10f021a files/postgresql-8.0-client.patch 3258 -AUX postgresql-8.0-common.patch 2294 RMD160 4f0028f6b5e95d74328f2c3981aa558420739181 SHA1 be649bf09bd5082e6e2af58c44cc470456e37780 SHA256 eca25d56bd157a3a7883d4c4305e4e0b7d22b8dd0cbca93da88add24da28b681 -MD5 bac29f949dff50568abc3b298d2402d6 files/postgresql-8.0-common.patch 2294 -RMD160 4f0028f6b5e95d74328f2c3981aa558420739181 files/postgresql-8.0-common.patch 2294 -SHA256 eca25d56bd157a3a7883d4c4305e4e0b7d22b8dd0cbca93da88add24da28b681 files/postgresql-8.0-common.patch 2294 -AUX postgresql-8.1-client.patch 2709 RMD160 3752f4b1f07bac441b4ecaeb0042675d70c179bf SHA1 6bcf3e749aa1aaef002961c4c705a0fbab373721 SHA256 84895318c3b8aead8f07c2ed1d269fe2328f17f46f97947c745b6a2ffd815241 -MD5 cb4637b3df0d0554a03223ad59c02b94 files/postgresql-8.1-client.patch 2709 -RMD160 3752f4b1f07bac441b4ecaeb0042675d70c179bf files/postgresql-8.1-client.patch 2709 -SHA256 84895318c3b8aead8f07c2ed1d269fe2328f17f46f97947c745b6a2ffd815241 files/postgresql-8.1-client.patch 2709 -AUX postgresql-8.1-common.patch 2290 RMD160 ba1f803b045a8d3f430231b0c22b8817e2eb8cf6 SHA1 facf27b2c396fe9f2347eb4cec3b2714a8587b70 SHA256 f80c8dd5a31b88df330c15de4331db1600ae078a789650ab28d61620f27056f5 -MD5 824168c489f9f0c020e3ec9a0bbf7329 files/postgresql-8.1-common.patch 2290 -RMD160 ba1f803b045a8d3f430231b0c22b8817e2eb8cf6 files/postgresql-8.1-common.patch 2290 -SHA256 f80c8dd5a31b88df330c15de4331db1600ae078a789650ab28d61620f27056f5 files/postgresql-8.1-common.patch 2290 -AUX postgresql-8.2-client.patch 2784 RMD160 be0029fef2bb08598b304ef9484de1a57d608e47 SHA1 f7f631a5ee657a42a079318240a07742bec8fbd9 SHA256 da45ba885a0cfefac40a308a00fc0fbb2374888eb724115bbbed6c305d300668 -MD5 96ac74e5f1fdd08fbac85df2d4abe066 files/postgresql-8.2-client.patch 2784 -RMD160 be0029fef2bb08598b304ef9484de1a57d608e47 files/postgresql-8.2-client.patch 2784 -SHA256 da45ba885a0cfefac40a308a00fc0fbb2374888eb724115bbbed6c305d300668 files/postgresql-8.2-client.patch 2784 -AUX postgresql-8.2-common.patch 2640 RMD160 b25ba915d5d6ad9c12c1d51426363c196b830923 SHA1 7b946d57bfed34e2e7e1338c3ab3004341d7ab12 SHA256 36ca9cb4f26424c302fdd704b7c1a268e87612afa3006bf008d4594dabe080f8 -MD5 510f7cca742d90f09d5fd32d05ddaa08 files/postgresql-8.2-common.patch 2640 -RMD160 b25ba915d5d6ad9c12c1d51426363c196b830923 files/postgresql-8.2-common.patch 2640 -SHA256 36ca9cb4f26424c302fdd704b7c1a268e87612afa3006bf008d4594dabe080f8 files/postgresql-8.2-common.patch 2640 -AUX postgresql-8.3-client.patch 2987 RMD160 660cbe610899935c4e7611dc7026229201cbcbf5 SHA1 d8b89f7e74d728f5cf9313ed52ff581a5a22bcea SHA256 1fddcfc380affe20c8e5a4d4dd5114eabc6e96719e4f617211cf19305f3c4fac -MD5 d4c6df93ca0dd4e2e771ec231000df13 files/postgresql-8.3-client.patch 2987 -RMD160 660cbe610899935c4e7611dc7026229201cbcbf5 files/postgresql-8.3-client.patch 2987 -SHA256 1fddcfc380affe20c8e5a4d4dd5114eabc6e96719e4f617211cf19305f3c4fac files/postgresql-8.3-client.patch 2987 -AUX postgresql-8.3-common.patch 2641 RMD160 0822bf1512457e91d5f32f9d192de6f197db9c55 SHA1 e4bdbd5eee1023e8f0b42ef408b34b57495d1e2b SHA256 e416c26d9c3d266b306ddbc0a2b648054739b7ace35e2b4e449fbdaf094bc197 -MD5 e1d116082e50ab3c8c00da5cff4cb5a4 files/postgresql-8.3-common.patch 2641 -RMD160 0822bf1512457e91d5f32f9d192de6f197db9c55 files/postgresql-8.3-common.patch 2641 -SHA256 e416c26d9c3d266b306ddbc0a2b648054739b7ace35e2b4e449fbdaf094bc197 files/postgresql-8.3-common.patch 2641 -DIST postgresql-7.3.21.tar.bz2 9284558 RMD160 f9de4676b4fbe3d96e6d1462b8bc3c05600d6525 SHA1 bdfa3bddc483c6642cc2ee271d076bfaa4c20c92 SHA256 bf44e0ac259e9f6e14ac102f2977496b6996ecea2fd227fbdcea5fa70e342888 -DIST postgresql-7.4.19.tar.bz2 10307396 RMD160 c9a1c7dc8e7bf9ce93c3b4f061af0563b1cc2627 SHA1 19c563d47b0d5deeef03b5ca7707c9f1917853ce SHA256 447ac7070aa0a547f17a307e842734fc27e2716cb4a251fa9a810b178d44c389 -DIST postgresql-8.0.15.tar.bz2 11253897 RMD160 6aff5c63dce73eea609f0b6e013cd043ae8b7a37 SHA1 66a6fef7749afb91471200005511c04fc1ac2706 SHA256 59408a00db1c73e638a11af10438a827507b7a72b53916d58f2d44c477718714 -DIST postgresql-8.1.11.tar.bz2 11735420 RMD160 9fb98eadc4f1015205970f26b31b68ea0378bda9 SHA1 73c0f09754fc8e3c7f8d7de49d70244b76927416 SHA256 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e -DIST postgresql-8.2.6.tar.bz2 12559117 RMD160 fa12ce310919cb52be3558d38a7e329bc73bbe33 SHA1 8934dfbd4c1d8c4f2945cb80f02072611681f967 SHA256 ee41327e821f933de2894d6e0c319edc4b63e80cb902e673b490b7eaf4ead114 -DIST postgresql-8.3RC1.tar.bz2 13801207 RMD160 5be543b40dcac92ad1153bb5527b0b069c98d246 SHA1 b58a3a3e26198469e23829697cdc33d02b2530f5 SHA256 a05953dffa0e62288364cc17e96e0be351106ada128dc76a8b0c54e16c730a0a -EBUILD postgresql-client-7.3.21.ebuild 2741 RMD160 95352563cd90c82dfd2f1c3854a559ecbace2429 SHA1 9b1ca0d41e5b2f1b0202ef2615ce0d24fea9bc18 SHA256 64cb434f98ea2ab9e9c3f9524fba0e9de050aace5a97d72a081fcb6d4164db86 -MD5 00dbe64954d96e4bb8032a63d03b83c4 postgresql-client-7.3.21.ebuild 2741 -RMD160 95352563cd90c82dfd2f1c3854a559ecbace2429 postgresql-client-7.3.21.ebuild 2741 -SHA256 64cb434f98ea2ab9e9c3f9524fba0e9de050aace5a97d72a081fcb6d4164db86 postgresql-client-7.3.21.ebuild 2741 -EBUILD postgresql-client-7.4.19.ebuild 3088 RMD160 5e37bfbc388e70878b4267627889702169a325be SHA1 7fa3c63324a8a4c09ee26cb0019f1e7d810f963b SHA256 4cd24c6b47d37cdcab933a53be3c789683e2de2bb327c0cefd0b1452503d33b6 -MD5 dc90ad8d729a1c714c05e9c49c1f8334 postgresql-client-7.4.19.ebuild 3088 -RMD160 5e37bfbc388e70878b4267627889702169a325be postgresql-client-7.4.19.ebuild 3088 -SHA256 4cd24c6b47d37cdcab933a53be3c789683e2de2bb327c0cefd0b1452503d33b6 postgresql-client-7.4.19.ebuild 3088 -EBUILD postgresql-client-8.0.15.ebuild 3401 RMD160 b0bacdc1d7babd853b755173e9831092b2a85c3a SHA1 fa0a6a89c7fe799e10c48130ced3e34b6cadbfa8 SHA256 fdb376d334fe6a931c08ee773b9b1075557ea301f7c17ac428f7b0b2e175ad93 -MD5 58dc5650204a1e91715a8c6899642d37 postgresql-client-8.0.15.ebuild 3401 -RMD160 b0bacdc1d7babd853b755173e9831092b2a85c3a postgresql-client-8.0.15.ebuild 3401 -SHA256 fdb376d334fe6a931c08ee773b9b1075557ea301f7c17ac428f7b0b2e175ad93 postgresql-client-8.0.15.ebuild 3401 -EBUILD postgresql-client-8.1.11.ebuild 3128 RMD160 a8787491081f8a2dc5acbe6f506e299fab47fd12 SHA1 6b407d09a725efdfcf6911d43a574902c0d20460 SHA256 98a8fcf86de53fa534445e1a2affcc34f98e331382c27b13c9ca0a7909902611 -MD5 0ba90eff54dd418f84a5b3446776c32b postgresql-client-8.1.11.ebuild 3128 -RMD160 a8787491081f8a2dc5acbe6f506e299fab47fd12 postgresql-client-8.1.11.ebuild 3128 -SHA256 98a8fcf86de53fa534445e1a2affcc34f98e331382c27b13c9ca0a7909902611 postgresql-client-8.1.11.ebuild 3128 -EBUILD postgresql-client-8.2.6.ebuild 3250 RMD160 6d1a93dc11ddef86f7e64ed4faf5b56d4c6c3051 SHA1 b003b2e83967a9cbc7c9f574229e39a99d83f1e0 SHA256 39acd92db3792df8170f740ee13d66ae24a70e0fdd5f6a7f2adc66b5e29d0d0e -MD5 7ada7f43b9f54ec270499bd3b3987c25 postgresql-client-8.2.6.ebuild 3250 -RMD160 6d1a93dc11ddef86f7e64ed4faf5b56d4c6c3051 postgresql-client-8.2.6.ebuild 3250 -SHA256 39acd92db3792df8170f740ee13d66ae24a70e0fdd5f6a7f2adc66b5e29d0d0e postgresql-client-8.2.6.ebuild 3250 -EBUILD postgresql-client-8.3_rc1.ebuild 3271 RMD160 a552e483f455d55cc58400f5e21e8401358f5322 SHA1 c6a2e085a5e446e7590da85e1cd24517c689ffc6 SHA256 ae9b4d2c69699e9594477ae8465e7824601cae8d69109205d036cbe45562b775 -MD5 e31af871f4c376e9aea2545ecf517ab3 postgresql-client-8.3_rc1.ebuild 3271 -RMD160 a552e483f455d55cc58400f5e21e8401358f5322 postgresql-client-8.3_rc1.ebuild 3271 -SHA256 ae9b4d2c69699e9594477ae8465e7824601cae8d69109205d036cbe45562b775 postgresql-client-8.3_rc1.ebuild 3271 -MISC ChangeLog 400 RMD160 202fdecd325c69bd3e320935dd4a482004ab3230 SHA1 cde5fb2153e5d699a5b81832fa8982e975102f7a SHA256 33dfa19bf969f887c795d0a79da85fb66f089f721713ff453e8357468ab37ad9 -MD5 f46c4d0bd3dd41451e001bf66e6ccc5b ChangeLog 400 -RMD160 202fdecd325c69bd3e320935dd4a482004ab3230 ChangeLog 400 -SHA256 33dfa19bf969f887c795d0a79da85fb66f089f721713ff453e8357468ab37ad9 ChangeLog 400 -MD5 6a3445a4a42effc608ada08460d79d23 files/digest-postgresql-client-7.3.21 259 -RMD160 ae6f019781a5bec259542ac5a4dbb9fd0727e24f files/digest-postgresql-client-7.3.21 259 -SHA256 4a09b60d4700c7feb998b1d07118eab0b930bee7a325ab3a138246c2c7e86ec6 files/digest-postgresql-client-7.3.21 259 -MD5 d98b405b951efbaa919ed890118f3262 files/digest-postgresql-client-7.4.19 262 -RMD160 fa3e756851fbf3b72ea22b402837260263e6371c files/digest-postgresql-client-7.4.19 262 -SHA256 e68f25453b492b1b956e0fe7a6511d375befb38d43a3a456f52db0af80b6c18a files/digest-postgresql-client-7.4.19 262 -MD5 e0438519efec2797b6430212965d56eb files/digest-postgresql-client-8.0.15 262 -RMD160 1ad7b4f3a03631b3b6dbcf2fcf75bd8b3facb344 files/digest-postgresql-client-8.0.15 262 -SHA256 b7dedc99319f205c529bfc325277f1df69e4b605c49772db743936f31945f11f files/digest-postgresql-client-8.0.15 262 -MD5 8e0b9ba7ccb589a185904e1b7e564181 files/digest-postgresql-client-8.1.11 262 -RMD160 7f74888cad6f2898b7066b15796e33793986bfc7 files/digest-postgresql-client-8.1.11 262 -SHA256 0f8bbcf23f2f4a78191e2354d70d371e2fcdbf5bd931907c360b65270245d68e files/digest-postgresql-client-8.1.11 262 -MD5 82e0a8c26d6b4ca23a88e14f9c1364dd files/digest-postgresql-client-8.2.6 259 -RMD160 eaeca374a581f849a0d441e81a9a195696422978 files/digest-postgresql-client-8.2.6 259 -SHA256 dd2fd7fd45f83726f1cdcdd60e97ae51bb222030679916ff44a3f623a41930e9 files/digest-postgresql-client-8.2.6 259 -MD5 f2a20168d6f9484e0ace623b4ce6de6e files/digest-postgresql-client-8.3_rc1 262 -RMD160 019bc970caed3347a76f9e7099c8b6a2cf70385d files/digest-postgresql-client-8.3_rc1 262 -SHA256 8584bc879e3ab91baac2b3d7a4e5041ec2e13d74a00b603272af761d88c1554a files/digest-postgresql-client-8.3_rc1 262 diff --git a/dev-db/postgresql-client/files/digest-postgresql-client-7.3.21 b/dev-db/postgresql-client/files/digest-postgresql-client-7.3.21 deleted file mode 100644 index acc9f8c..0000000 --- a/dev-db/postgresql-client/files/digest-postgresql-client-7.3.21 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e0068d0de0540a2d7247749ea830833f postgresql-7.3.21.tar.bz2 9284558 -RMD160 f9de4676b4fbe3d96e6d1462b8bc3c05600d6525 postgresql-7.3.21.tar.bz2 9284558 -SHA256 bf44e0ac259e9f6e14ac102f2977496b6996ecea2fd227fbdcea5fa70e342888 postgresql-7.3.21.tar.bz2 9284558 diff --git a/dev-db/postgresql-client/files/digest-postgresql-client-7.4.19 b/dev-db/postgresql-client/files/digest-postgresql-client-7.4.19 deleted file mode 100644 index fb3a431..0000000 --- a/dev-db/postgresql-client/files/digest-postgresql-client-7.4.19 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0be8c193fb73113930d043c60200598b postgresql-7.4.19.tar.bz2 10307396 -RMD160 c9a1c7dc8e7bf9ce93c3b4f061af0563b1cc2627 postgresql-7.4.19.tar.bz2 10307396 -SHA256 447ac7070aa0a547f17a307e842734fc27e2716cb4a251fa9a810b178d44c389 postgresql-7.4.19.tar.bz2 10307396 diff --git a/dev-db/postgresql-client/files/digest-postgresql-client-8.0.15 b/dev-db/postgresql-client/files/digest-postgresql-client-8.0.15 deleted file mode 100644 index e7881b8..0000000 --- a/dev-db/postgresql-client/files/digest-postgresql-client-8.0.15 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3ee548b3643e0a0a4b76493e81b336f3 postgresql-8.0.15.tar.bz2 11253897 -RMD160 6aff5c63dce73eea609f0b6e013cd043ae8b7a37 postgresql-8.0.15.tar.bz2 11253897 -SHA256 59408a00db1c73e638a11af10438a827507b7a72b53916d58f2d44c477718714 postgresql-8.0.15.tar.bz2 11253897 diff --git a/dev-db/postgresql-client/files/digest-postgresql-client-8.1.11 b/dev-db/postgresql-client/files/digest-postgresql-client-8.1.11 deleted file mode 100644 index 86701fa..0000000 --- a/dev-db/postgresql-client/files/digest-postgresql-client-8.1.11 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 48922512bcf683d5ea22a99df5eaaecd postgresql-8.1.11.tar.bz2 11735420 -RMD160 9fb98eadc4f1015205970f26b31b68ea0378bda9 postgresql-8.1.11.tar.bz2 11735420 -SHA256 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e postgresql-8.1.11.tar.bz2 11735420 diff --git a/dev-db/postgresql-client/files/digest-postgresql-client-8.2.6 b/dev-db/postgresql-client/files/digest-postgresql-client-8.2.6 deleted file mode 100644 index eb9626c..0000000 --- a/dev-db/postgresql-client/files/digest-postgresql-client-8.2.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 17b9049b4fcad42ee95410833c1db228 postgresql-8.2.6.tar.bz2 12559117 -RMD160 fa12ce310919cb52be3558d38a7e329bc73bbe33 postgresql-8.2.6.tar.bz2 12559117 -SHA256 ee41327e821f933de2894d6e0c319edc4b63e80cb902e673b490b7eaf4ead114 postgresql-8.2.6.tar.bz2 12559117 diff --git a/dev-db/postgresql-client/files/digest-postgresql-client-8.3_rc1 b/dev-db/postgresql-client/files/digest-postgresql-client-8.3_rc1 deleted file mode 100644 index 9e44c24..0000000 --- a/dev-db/postgresql-client/files/digest-postgresql-client-8.3_rc1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c0994ab0d16aa7410d05102344f819fe postgresql-8.3RC1.tar.bz2 13801207 -RMD160 5be543b40dcac92ad1153bb5527b0b069c98d246 postgresql-8.3RC1.tar.bz2 13801207 -SHA256 a05953dffa0e62288364cc17e96e0be351106ada128dc76a8b0c54e16c730a0a postgresql-8.3RC1.tar.bz2 13801207 diff --git a/dev-db/postgresql-client/files/pg_autovacuum.conf-7.4 b/dev-db/postgresql-client/files/pg_autovacuum.conf-7.4 deleted file mode 100644 index 304977e..0000000 --- a/dev-db/postgresql-client/files/pg_autovacuum.conf-7.4 +++ /dev/null @@ -1,18 +0,0 @@ -# Logfile path (NOTE: This must be owned by the uid/gid of $PGUSER!) -PG_AUTOVACUUM_LOG="/var/lib/postgresql/7.4/data/pg_autovacuum.log" - -# PostgreSQL user -PGUSER="postgres" - -# 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" - -# Add more options to pg_autovacuum, for instance -H to specify host or -# -p to specify port -PG_AUTOVACUUM_OPTS="" diff --git a/dev-db/postgresql-client/files/pg_autovacuum.conf-8.0 b/dev-db/postgresql-client/files/pg_autovacuum.conf-8.0 deleted file mode 100644 index 6d87e27..0000000 --- a/dev-db/postgresql-client/files/pg_autovacuum.conf-8.0 +++ /dev/null @@ -1,18 +0,0 @@ -# Logfile path (NOTE: This must be owned by the uid/gid of $PGUSER!) -PG_AUTOVACUUM_LOG="/var/lib/postgresql/8.0/data/pg_autovacuum.log" - -# PostgreSQL user -PGUSER="postgres" - -# 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" - -# Add more options to pg_autovacuum, for instance -H to specify host or -# -p to specify port -PG_AUTOVACUUM_OPTS="" diff --git a/dev-db/postgresql-client/files/pg_autovacuum.init-7.4 b/dev-db/postgresql-client/files/pg_autovacuum.init-7.4 deleted file mode 100644 index cf4d80a..0000000 --- a/dev-db/postgresql-client/files/pg_autovacuum.init-7.4 +++ /dev/null @@ -1,54 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - use postgresql-7.4 - need logger -} - -start() { - ebegin "Starting pg_autovacuum" - - echo - echo -n "Waiting max. 20 sec. for PostgreSQL to start " - CONTINUE=0 - TOO_LONG=0 - while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 20 ] - 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/lib/postgresql-7.4/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG $PG_AUTOVACUUM_OPTS - - sleep 1 - pidof /usr/lib/postgresql-7.4/bin/pg_autovacuum > /dev/null - if [ $? -eq 0 ] ; then - eend 0 - else - eerror - eerror "Please check the $PG_AUTOVACUUM_LOG log file for errors." - eerror "You may need to add the following lines to /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL." - eerror " stats_start_collector = true" - eerror " stats_row_level = true" - eerror - eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details!" - eerror - eend 1 - fi -} - -stop() { - ebegin "Stopping pg_autovacuum" - start-stop-daemon --stop --quiet --exec /usr/lib/postgresql-7.4/bin/pg_autovacuum - eend $? -} diff --git a/dev-db/postgresql-client/files/pg_autovacuum.init-8.0 b/dev-db/postgresql-client/files/pg_autovacuum.init-8.0 deleted file mode 100644 index a3b6ffe..0000000 --- a/dev-db/postgresql-client/files/pg_autovacuum.init-8.0 +++ /dev/null @@ -1,54 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - use postgresql-8.0 - need logger -} - -start() { - ebegin "Starting pg_autovacuum" - - echo - echo -n "Waiting max. 20 sec. for PostgreSQL to start " - CONTINUE=0 - TOO_LONG=0 - while [ "$CONTINUE" -eq 0 ] && [ $TOO_LONG -lt 20 ] - 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/lib/postgresql-8.0/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG $PG_AUTOVACUUM_OPTS - - sleep 1 - pidof /usr/lib/postgresql-8.0/bin/pg_autovacuum > /dev/null - if [ $? -eq 0 ] ; then - eend 0 - else - eerror - eerror "Please check the $PG_AUTOVACUUM_LOG log file for errors." - eerror "You may need to add the following lines to /var/lib/postgresql/data/postgresql.conf and restart PostgreSQL." - eerror " stats_start_collector = true" - eerror " stats_row_level = true" - eerror - eerror "Please read ___DOCDIR___/contrib/README.pg_autovacuum for details!" - eerror - eend 1 - fi -} - -stop() { - ebegin "Stopping pg_autovacuum" - start-stop-daemon --stop --quiet --exec /usr/lib/postgresql-8.0/bin/pg_autovacuum - eend $? -} diff --git a/dev-db/postgresql-client/files/postgresql-7.3-client.patch b/dev-db/postgresql-client/files/postgresql-7.3-client.patch deleted file mode 100644 index a8ca94f..0000000 --- a/dev-db/postgresql-client/files/postgresql-7.3-client.patch +++ /dev/null @@ -1,174 +0,0 @@ -diff --git a/contrib/Makefile b/contrib/Makefile -index 66753e8..dd73c03 100644 ---- a/contrib/Makefile -+++ b/contrib/Makefile -@@ -5,40 +5,10 @@ top_builddir = .. - include $(top_builddir)/src/Makefile.global - - WANTED_DIRS = \ -- array \ -- btree_gist \ -- chkpass \ -- cube \ -- dbase \ -- dblink \ -- dbmirror \ -- dbsize \ -- earthdistance \ - findoidjoins \ -- fulltextindex \ -- fuzzystrmatch \ -- intagg \ -- intarray \ -- isbn_issn \ -- lo \ -- ltree \ -- miscutil \ -- noupdate \ - oid2name \ - pg_dumplo \ -- pg_logger \ - pgbench \ -- pgcrypto \ -- pgstattuple \ -- rserv \ -- rtree_gist \ -- seg \ -- spi \ -- string \ -- tablefunc \ -- tips \ -- tsearch \ -- userlock \ - vacuumlo - - # Missing: -diff --git a/src/Makefile b/src/Makefile -index cd6e5e6..e7b6f6e 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -16,14 +16,9 @@ include Makefile.global - all install installdirs uninstall dep depend distprep: - $(MAKE) -C port $@ - $(MAKE) -C backend $@ -- $(MAKE) -C backend/utils/mb/conversion_procs $@ -- $(MAKE) -C include $@ -- $(MAKE) -C interfaces $@ - $(MAKE) -C bin $@ -- $(MAKE) -C pl $@ - - install-all-headers: -- $(MAKE) -C include $@ - - clean: - $(MAKE) -C port $@ -diff --git a/src/Makefile.global.in b/src/Makefile.global.in -index e0fd91d..88b8f46 100644 ---- a/src/Makefile.global.in -+++ b/src/Makefile.global.in -@@ -282,11 +282,11 @@ endif - # Some variables needed to find some client interfaces - - libpq_srcdir = $(top_srcdir)/src/interfaces/libpq --libpq_builddir = $(top_builddir)/src/interfaces/libpq --libpq = -L$(libpq_builddir) -lpq -+libpq_builddir = /usr/include/postgresql-${SLOT}/libpq -+libpq = -L/usr/lib/postgresql-${SLOT}/lib -lpq - - submake-libpq: -- $(MAKE) -C $(libpq_builddir) all -+ @true $(MAKE) -C $(libpq_builddir) all - - submake-libpgport: - $(MAKE) -C $(top_builddir)/src/port all -diff --git a/src/backend/Makefile b/src/backend/Makefile -index 5cdfeca..651b6d8 100644 ---- a/src/backend/Makefile -+++ b/src/backend/Makefile -@@ -29,7 +29,7 @@ endif - - ########################################################################## - --all: submake-libpgport postgres $(POSTGRES_IMP) -+all: someheaders - - ifneq ($(PORTNAME), win) - -@@ -78,8 +78,7 @@ $(OBJS): $(DIRS:%=%-recursive) ; - - .PHONY: $(DIRS:%=%-recursive) - # Update the commonly used headers before building the subdirectories --$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h -- $(MAKE) -C $(subst -recursive,,$@) all -+someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h - - - $(DLLINIT): $(DLLINIT:%.o=%.c) -@@ -125,16 +124,7 @@ distprep: - - ########################################################################## - --install: all installdirs install-bin --ifeq ($(PORTNAME), win) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a --endif --endif -- $(MAKE) -C catalog install-bki -- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample -- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample -- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample -+install: - - install-bin: postgres $(POSTGRES_IMP) installdirs - $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X) -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 3035f61..fb889fb 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,9 +13,8 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \ -- psql scripts pg_config pg_controldata pg_resetxlog \ -- pg_encoding -+DIRS := pg_dump \ -+ psql scripts - - ifeq ($(with_tcl), yes) - DIRS += pgtclsh -diff --git a/src/bin/pg_dump/Makefile b/src/bin/pg_dump/Makefile -index f18280b..839296f 100644 ---- a/src/bin/pg_dump/Makefile -+++ b/src/bin/pg_dump/Makefile -@@ -24,13 +24,13 @@ override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) -DBINDIR=\"$(bindir)\" - - all: submake-libpq submake-libpgport submake-backend pg_dump pg_restore pg_dumpall - --pg_dump: pg_dump.o common.o $(OBJS) $(libpq_builddir)/libpq.a -+pg_dump: pg_dump.o common.o $(OBJS) - $(CC) $(CFLAGS) pg_dump.o common.o $(OBJS) $(EXTRA_OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - --pg_restore: pg_restore.o $(OBJS) $(libpq_builddir)/libpq.a -+pg_restore: pg_restore.o $(OBJS) - $(CC) $(CFLAGS) pg_restore.o $(OBJS) $(EXTRA_OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - --pg_dumpall: pg_dumpall.o $(libpq_builddir)/libpq.a -+pg_dumpall: pg_dumpall.o - $(CC) $(CFLAGS) pg_dumpall.o dumputils.o sprompt.o $(EXTRA_OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - - .PHONY: submake-backend -diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile -index dbaa583..3726aa4 100644 ---- a/src/bin/psql/Makefile -+++ b/src/bin/psql/Makefile -@@ -23,7 +23,7 @@ OBJS=command.o common.o help.o input.o stringutils.o mainloop.o copy.o \ - - all: submake-libpq submake-libpgport psql - --psql: $(OBJS) $(libpq_builddir)/libpq.a -+psql: $(OBJS) - $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - - help.o: $(srcdir)/sql_help.h diff --git a/dev-db/postgresql-client/files/postgresql-7.3.21-autoconf.patch b/dev-db/postgresql-client/files/postgresql-7.3.21-autoconf.patch deleted file mode 100644 index 0b526b2..0000000 --- a/dev-db/postgresql-client/files/postgresql-7.3.21-autoconf.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 35d9e2b..c681983 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index 07cc529..37fdded 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,17 +19,8 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - dnl - dnl The GNU folks apparently haven't heard that some people don't use - dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir". --m4_define([info], [doc]) --m4_define([infodir], [docdir]) - AC_INIT([PostgreSQL], [7.3.21], [pgsql-bugs@postgresql.org]) --m4_undefine([infodir]) --m4_undefine([info]) --AC_SUBST(docdir) -- --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.53], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) -+ - AC_COPYRIGHT([Copyright 2002 PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -@@ -626,7 +617,7 @@ AC_CHECK_LIB(PW, main) - AC_CHECK_LIB(resolv, main) - AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt]) - # QNX: --AC_CHECK_LIB([[unix]], main) -+AC_CHECK_LIB([unix], main) - AC_SEARCH_LIBS(crypt, crypt) - # BeOS: - AC_CHECK_LIB(bind, __inet_ntoa) diff --git a/dev-db/postgresql-client/files/postgresql-7.4-client.patch b/dev-db/postgresql-client/files/postgresql-7.4-client.patch deleted file mode 100644 index 59008c6..0000000 --- a/dev-db/postgresql-client/files/postgresql-7.4-client.patch +++ /dev/null @@ -1,155 +0,0 @@ -diff --git a/contrib/Makefile b/contrib/Makefile -index 74310cf..7d7da92 100644 ---- a/contrib/Makefile -+++ b/contrib/Makefile -@@ -5,41 +5,11 @@ top_builddir = .. - include $(top_builddir)/src/Makefile.global - - WANTED_DIRS = \ -- btree_gist \ -- chkpass \ -- cube \ -- dbase \ -- dblink \ -- dbmirror \ -- dbsize \ -- earthdistance \ - findoidjoins \ -- fulltextindex \ -- fuzzystrmatch \ -- intagg \ -- intarray \ -- isbn_issn \ -- lo \ -- ltree \ -- miscutil \ -- noupdate \ - oid2name \ - pg_autovacuum \ - pg_dumplo \ -- pg_logger \ - pgbench \ -- pgcrypto \ -- pgstattuple \ -- rserv \ -- rtree_gist \ -- seg \ -- spi \ -- string \ -- tablefunc \ -- tips \ -- tsearch \ -- tsearch2 \ -- userlock \ - vacuumlo - - # Missing: -diff --git a/src/Makefile b/src/Makefile -index cd6e5e6..f0bee6f 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -14,16 +14,9 @@ include Makefile.global - - - all install installdirs uninstall dep depend distprep: -- $(MAKE) -C port $@ -- $(MAKE) -C backend $@ -- $(MAKE) -C backend/utils/mb/conversion_procs $@ -- $(MAKE) -C include $@ -- $(MAKE) -C interfaces $@ - $(MAKE) -C bin $@ -- $(MAKE) -C pl $@ - - install-all-headers: -- $(MAKE) -C include $@ - - clean: - $(MAKE) -C port $@ -diff --git a/src/Makefile.global.in b/src/Makefile.global.in -index 19c49d1..af4af77 100644 ---- a/src/Makefile.global.in -+++ b/src/Makefile.global.in -@@ -287,14 +287,16 @@ endif - # Some variables needed to find some client interfaces - - libpq_srcdir = $(top_srcdir)/src/interfaces/libpq --libpq_builddir = $(top_builddir)/src/interfaces/libpq --libpq = -L$(libpq_builddir) -lpq -+#libpq_builddir = $(top_builddir)/src/interfaces/libpq -+libpq_builddir = -I/usr/include/postgresql-${SLOT}/libpq -+#libpq = -L$(libpq_builddir) -lpq -+libpq = -L/usr/lib/postgresql-${SLOT}/lib -lpq - - submake-libpq: -- $(MAKE) -C $(libpq_builddir) all -+ @true $(MAKE) -C $(libpq_builddir) all - - submake-libpgport: -- $(MAKE) -C $(top_builddir)/src/port all -+ @true $(MAKE) -C $(top_builddir)/src/port all - - .PHONY: submake-libpq submake-libpgport - -diff --git a/src/backend/parser/Makefile b/src/backend/parser/Makefile -index b6698d2..81fa31c 100644 ---- a/src/backend/parser/Makefile -+++ b/src/backend/parser/Makefile -@@ -10,7 +10,7 @@ subdir = src/backend/parser - top_builddir = ../../.. - include $(top_builddir)/src/Makefile.global - --override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -+override CPPFLAGS := -I. -I.. $(CPPFLAGS) - - OBJS= analyze.o gram.o keywords.o parser.o parse_agg.o parse_clause.o \ - parse_expr.o parse_func.o parse_node.o parse_oper.o parse_relation.o \ -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 3035f61..fb889fb 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,9 +13,8 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \ -- psql scripts pg_config pg_controldata pg_resetxlog \ -- pg_encoding -+DIRS := pg_dump \ -+ psql scripts - - ifeq ($(with_tcl), yes) - DIRS += pgtclsh -diff --git a/src/bin/pg_dump/Makefile b/src/bin/pg_dump/Makefile -index 5594593..927d367 100644 ---- a/src/bin/pg_dump/Makefile -+++ b/src/bin/pg_dump/Makefile -@@ -24,13 +24,13 @@ override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) -DBINDIR=\"$(bindir)\" - - all: submake-libpq submake-libpgport submake-backend pg_dump pg_restore pg_dumpall - --pg_dump: pg_dump.o common.o $(OBJS) $(libpq_builddir)/libpq.a -+pg_dump: pg_dump.o common.o $(OBJS) - $(CC) $(CFLAGS) pg_dump.o common.o $(OBJS) $(EXTRA_OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - --pg_restore: pg_restore.o $(OBJS) $(libpq_builddir)/libpq.a -+pg_restore: pg_restore.o $(OBJS) - $(CC) $(CFLAGS) pg_restore.o $(OBJS) $(EXTRA_OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - --pg_dumpall: pg_dumpall.o $(libpq_builddir)/libpq.a -+pg_dumpall: pg_dumpall.o - $(CC) $(CFLAGS) pg_dumpall.o dumputils.o $(EXTRA_OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - - .PHONY: submake-backend -diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile -index e8afcf6..e70a8bf 100644 ---- a/src/bin/psql/Makefile -+++ b/src/bin/psql/Makefile -@@ -23,7 +23,7 @@ OBJS= command.o common.o help.o input.o stringutils.o mainloop.o copy.o \ - - all: submake-libpq submake-libpgport psql - --psql: $(OBJS) $(libpq_builddir)/libpq.a -+psql: $(OBJS) - $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ - - help.o: $(srcdir)/sql_help.h diff --git a/dev-db/postgresql-client/files/postgresql-7.4.19-autoconf.patch b/dev-db/postgresql-client/files/postgresql-7.4.19-autoconf.patch deleted file mode 100644 index 3913a0b..0000000 --- a/dev-db/postgresql-client/files/postgresql-7.4.19-autoconf.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index ae3b91a..6af24d2 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index f7bdec3..c8b5b7e 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,17 +19,8 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - dnl - dnl The GNU folks apparently haven't heard that some people don't use - dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir". --m4_define([info], [doc]) --m4_define([infodir], [docdir]) - AC_INIT([PostgreSQL], [7.4.19], [pgsql-bugs@postgresql.org]) --m4_undefine([infodir]) --m4_undefine([info]) --AC_SUBST(docdir) -- --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.53], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) -+ - AC_COPYRIGHT([Copyright 2004 PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) diff --git a/dev-db/postgresql-client/files/postgresql-8.0-client.patch b/dev-db/postgresql-client/files/postgresql-8.0-client.patch deleted file mode 100644 index 7438cf0..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.0-client.patch +++ /dev/null @@ -1,137 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index c451bd6..a048ce7 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -11,19 +11,16 @@ include $(top_builddir)/src/Makefile.global - all: - $(MAKE) -C doc all - $(MAKE) -C src all -- $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall distprep: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - - # clean, distclean, etc should apply to contrib too, even though - # it's not built by default -diff --git a/contrib/Makefile b/contrib/Makefile -index 166ed86..cf189eb 100644 ---- a/contrib/Makefile -+++ b/contrib/Makefile -@@ -5,41 +5,12 @@ top_builddir = .. - include $(top_builddir)/src/Makefile.global - - WANTED_DIRS = \ -- btree_gist \ -- chkpass \ -- cube \ -- dbase \ -- dblink \ -- dbmirror \ -- dbsize \ -- earthdistance \ - findoidjoins \ -- fulltextindex \ -- fuzzystrmatch \ -- intagg \ -- intarray \ -- isbn_issn \ -- lo \ -- ltree \ -- miscutil \ - mysql \ -- noupdate \ - oid2name \ - pg_autovacuum \ - pg_dumplo \ -- pg_trgm \ - pgbench \ -- pgcrypto \ -- pgstattuple \ -- rtree_gist \ -- seg \ -- spi \ -- string \ -- tablefunc \ -- tips \ -- tsearch \ -- tsearch2 \ -- userlock \ - vacuumlo - - # Missing: -diff --git a/contrib/pg_autovacuum/Makefile b/contrib/pg_autovacuum/Makefile -index c512d18..e822063 100644 ---- a/contrib/pg_autovacuum/Makefile -+++ b/contrib/pg_autovacuum/Makefile -@@ -18,5 +18,5 @@ include $(top_builddir)/src/Makefile.global - include $(top_srcdir)/contrib/contrib-global.mk - endif - --dllist.c: $(top_srcdir)/src/backend/lib/dllist.c -+dllist.c: ../../src/backend/lib/dllist.c - rm -f $@ && $(LN_S) $< . -diff --git a/src/Makefile b/src/Makefile -index 0963f88..155323c 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -14,18 +14,9 @@ include Makefile.global - - - all install installdirs uninstall dep depend distprep: -- $(MAKE) -C port $@ -- $(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 $@ -- $(MAKE) -C makefiles $@ -- $(MAKE) -C utils $@ - --install: install-local -+install: - - install-local: installdirs-local - $(INSTALL_DATA) Makefile.global $(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global -diff --git a/src/Makefile.global.in b/src/Makefile.global.in -index e57265e..e081618 100644 ---- a/src/Makefile.global.in -+++ b/src/Makefile.global.in -@@ -336,10 +336,10 @@ endif - - - submake-libpq: -- $(MAKE) -C $(libpq_builddir) all -+ @true $(MAKE) -C $(libpq_builddir) all - - submake-libpgport: -- $(MAKE) -C $(top_builddir)/src/port all -+ @true $(MAKE) -C $(top_builddir)/src/port all - - .PHONY: submake-libpq submake-libpgport - -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 8309db1..7c1c47f 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,8 +13,8 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog -+DIRS := pg_dump \ -+ psql scripts - ifeq ($(PORTNAME), win32) - DIRS+=pgevent - endif diff --git a/dev-db/postgresql-client/files/postgresql-8.0-common.patch b/dev-db/postgresql-client/files/postgresql-8.0-common.patch deleted file mode 100644 index 40932ec..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.0-common.patch +++ /dev/null @@ -1,76 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 3f87396..9c7fbf0 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index c71b175..674036a 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.0.15], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.53], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2005, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 0c2dff0..d548d4d 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -239,6 +239,31 @@ tas(volatile slock_t *lock) - #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-client/files/postgresql-8.1-client.patch b/dev-db/postgresql-client/files/postgresql-8.1-client.patch deleted file mode 100644 index 5e87355..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.1-client.patch +++ /dev/null @@ -1,117 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index 0216527..7ed3520 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -11,19 +11,16 @@ include $(top_builddir)/src/Makefile.global - all: - $(MAKE) -C doc all - $(MAKE) -C src all -- $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall distprep: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - - # clean, distclean, etc should apply to contrib too, even though - # it's not built by default -diff --git a/contrib/Makefile b/contrib/Makefile -index 7367163..fa2a5c6 100644 ---- a/contrib/Makefile -+++ b/contrib/Makefile -@@ -5,32 +5,8 @@ top_builddir = .. - include $(top_builddir)/src/Makefile.global - - WANTED_DIRS = \ -- btree_gist \ -- chkpass \ -- cube \ -- dbase \ -- dblink \ -- dbmirror \ -- earthdistance \ -- fulltextindex \ -- fuzzystrmatch \ -- intagg \ -- intarray \ -- isbn_issn \ -- lo \ -- ltree \ - oid2name \ -- pg_buffercache \ -- pg_trgm \ - pgbench \ -- pgcrypto \ -- pgstattuple \ -- seg \ -- spi \ -- tablefunc \ -- tips \ -- tsearch2 \ -- userlock \ - vacuumlo - - # Missing: -diff --git a/src/Makefile b/src/Makefile -index 0963f88..155323c 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -14,18 +14,9 @@ include Makefile.global - - - all install installdirs uninstall dep depend distprep: -- $(MAKE) -C port $@ -- $(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 $@ -- $(MAKE) -C makefiles $@ -- $(MAKE) -C utils $@ - --install: install-local -+install: - - install-local: installdirs-local - $(INSTALL_DATA) Makefile.global $(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global -diff --git a/src/Makefile.global.in b/src/Makefile.global.in -index 20d7a1d..12533a2 100644 ---- a/src/Makefile.global.in -+++ b/src/Makefile.global.in -@@ -360,10 +360,10 @@ endif - - - submake-libpq: -- $(MAKE) -C $(libpq_builddir) all -+ @true $(MAKE) -C $(libpq_builddir) all - - submake-libpgport: -- $(MAKE) -C $(top_builddir)/src/port all -+ @true $(MAKE) -C $(top_builddir)/src/port all - - .PHONY: submake-libpq submake-libpgport - -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 8309db1..7c1c47f 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,8 +13,8 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog -+DIRS := pg_dump \ -+ psql scripts - ifeq ($(PORTNAME), win32) - DIRS+=pgevent - endif diff --git a/dev-db/postgresql-client/files/postgresql-8.1-common.patch b/dev-db/postgresql-client/files/postgresql-8.1-common.patch deleted file mode 100644 index 56704f0..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.1-common.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 3f87396..9c7fbf0 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index d071f00..b203648 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.1.11], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2005, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index c5731fd..8ec70b4 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -299,6 +299,29 @@ tas(volatile slock_t *lock) - - #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-client/files/postgresql-8.2-client.patch b/dev-db/postgresql-client/files/postgresql-8.2-client.patch deleted file mode 100644 index 3250484..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.2-client.patch +++ /dev/null @@ -1,122 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index 16f9057..0f6cee7 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -11,19 +11,16 @@ include $(top_builddir)/src/Makefile.global - all: - $(MAKE) -C doc all - $(MAKE) -C src all -- $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - - distprep: - $(MAKE) -C doc $@ -diff --git a/contrib/Makefile b/contrib/Makefile -index 1787a1b..26610d8 100644 ---- a/contrib/Makefile -+++ b/contrib/Makefile -@@ -5,37 +5,10 @@ top_builddir = .. - include $(top_builddir)/src/Makefile.global - - WANTED_DIRS = \ -- adminpack \ -- btree_gist \ -- chkpass \ -- cube \ -- dblink \ -- earthdistance \ -- fuzzystrmatch \ -- hstore \ -- intagg \ -- intarray \ -- isn \ -- lo \ -- ltree \ - oid2name \ -- pg_buffercache \ -- pg_freespacemap \ -- pg_trgm \ - pgbench \ -- pgcrypto \ -- pgrowlocks \ -- pgstattuple \ -- seg \ -- spi \ -- tablefunc \ -- tsearch2 \ - vacuumlo - --ifeq ($(with_openssl),yes) --WANTED_DIRS += sslinfo --endif -- - # Missing: - # start-scripts \ (does not have a makefile) - # xml2 \ (requires libxml installed) -diff --git a/src/Makefile b/src/Makefile -index 6d9043a..5099025 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -14,18 +14,9 @@ include Makefile.global - - - all install installdirs uninstall dep depend distprep: -- $(MAKE) -C port $@ -- $(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 $@ -- $(MAKE) -C makefiles $@ -- $(MAKE) -C test/regress $@ - --install: install-local -+install: - - install-local: installdirs-local - $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global' -diff --git a/src/Makefile.global.in b/src/Makefile.global.in -index 820dfd5..2619acd 100644 ---- a/src/Makefile.global.in -+++ b/src/Makefile.global.in -@@ -365,10 +365,10 @@ endif - - - submake-libpq: -- $(MAKE) -C $(libpq_builddir) all -+ @true $(MAKE) -C $(libpq_builddir) all - - submake-libpgport: -- $(MAKE) -C $(top_builddir)/src/port all -+ @true $(MAKE) -C $(top_builddir)/src/port all - - .PHONY: submake-libpq submake-libpgport - -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 0d86213..5dba7c8 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,8 +13,8 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog -+DIRS := pg_dump \ -+ psql scripts - ifeq ($(PORTNAME), win32) - DIRS+=pgevent - endif diff --git a/dev-db/postgresql-client/files/postgresql-8.2-common.patch b/dev-db/postgresql-client/files/postgresql-8.2-common.patch deleted file mode 100644 index e6e8e46..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.2-common.patch +++ /dev/null @@ -1,88 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index fb9793f..3510942 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -162,8 +162,12 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) - AC_SUBST(localedir) - ])# PGAC_CHECK_GETTEXT - -diff --git a/configure.in b/configure.in -index 908a1ae..30dd3bb 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.2.6], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2006, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 23f4cc9..707c303 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -298,6 +298,29 @@ tas(volatile slock_t *lock) - - #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__) /* Sparc */ - #define HAS_TEST_AND_SET -diff --git a/src/makefiles/Makefile.darwin b/src/makefiles/Makefile.darwin -index 9f761d4..83b2974 100644 ---- a/src/makefiles/Makefile.darwin -+++ b/src/makefiles/Makefile.darwin -@@ -5,7 +5,15 @@ DLSUFFIX = .so - CFLAGS_SL = - - ifdef PGXS -+ifdef PGXS_IN_SERVER -+ifndef PGXS_WITH_SERVER -+BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres -+else -+BE_DLLLIBS= -bundle_loader ${PGXS_WITH_SERVER} -+endif -+else - BE_DLLLIBS= -bundle_loader $(bindir)/postgres -+endif - else - BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres - endif diff --git a/dev-db/postgresql-client/files/postgresql-8.3-client.patch b/dev-db/postgresql-client/files/postgresql-8.3-client.patch deleted file mode 100644 index 9345184..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.3-client.patch +++ /dev/null @@ -1,138 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index f7bcc67..ec8fcf1 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -11,19 +11,16 @@ include $(top_builddir)/src/Makefile.global - all: - $(MAKE) -C doc all - $(MAKE) -C src all -- $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall: - $(MAKE) -C doc $@ - $(MAKE) -C src $@ -- $(MAKE) -C config $@ - - distprep: - $(MAKE) -C doc $@ -diff --git a/contrib/Makefile b/contrib/Makefile -index c55c95c..81bfdeb 100644 ---- a/contrib/Makefile -+++ b/contrib/Makefile -@@ -5,52 +5,9 @@ top_builddir = .. - include $(top_builddir)/src/Makefile.global - - WANTED_DIRS = \ -- adminpack \ -- btree_gist \ -- chkpass \ -- cube \ -- dblink \ -- dict_int \ -- dict_xsyn \ -- earthdistance \ -- fuzzystrmatch \ -- hstore \ -- intagg \ -- intarray \ -- isn \ -- lo \ -- ltree \ -- oid2name \ -- pageinspect \ -- pg_buffercache \ -- pg_freespacemap \ -- pg_standby \ -- pg_trgm \ - pgbench \ -- pgcrypto \ -- pgrowlocks \ -- pgstattuple \ -- seg \ -- spi \ -- tablefunc \ -- test_parser \ -- tsearch2 \ - vacuumlo - --ifeq ($(with_openssl),yes) --WANTED_DIRS += sslinfo --endif -- --ifeq ($(with_ossp_uuid),yes) --WANTED_DIRS += uuid-ossp --endif -- --ifeq ($(with_libxml),yes) --ifeq ($(with_libxslt),yes) --WANTED_DIRS += xml2 --endif --endif -- - # Missing: - # start-scripts \ (does not have a makefile) - -diff --git a/src/Makefile b/src/Makefile -index 8d66bf6..8db6434 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -13,20 +13,10 @@ top_builddir = .. - include Makefile.global - - --all install installdirs uninstall distprep: -- $(MAKE) -C port $@ -- $(MAKE) -C timezone $@ -- $(MAKE) -C backend $@ -- $(MAKE) -C backend/utils/mb/conversion_procs $@ -- $(MAKE) -C backend/snowball $@ -- $(MAKE) -C include $@ -- $(MAKE) -C interfaces $@ -+all install installdirs uninstall dep depend distprep: - $(MAKE) -C bin $@ -- $(MAKE) -C pl $@ -- $(MAKE) -C makefiles $@ -- $(MAKE) -C test/regress $@ - --install: install-local -+install: - - install-local: installdirs-local - $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global' -diff --git a/src/Makefile.global.in b/src/Makefile.global.in -index aa41ee9..6f64051 100644 ---- a/src/Makefile.global.in -+++ b/src/Makefile.global.in -@@ -373,10 +373,8 @@ endif - - - submake-libpq: -- $(MAKE) -C $(libpq_builddir) all - - submake-libpgport: -- $(MAKE) -C $(top_builddir)/src/port all - - .PHONY: submake-libpq submake-libpgport - -diff --git a/src/bin/Makefile b/src/bin/Makefile -index ec8f7ce..366a412 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,8 +13,8 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS = initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog -+DIRS = pg_dump \ -+ psql scripts - ifeq ($(PORTNAME), win32) - DIRS+=pgevent - endif diff --git a/dev-db/postgresql-client/files/postgresql-8.3-common.patch b/dev-db/postgresql-client/files/postgresql-8.3-common.patch deleted file mode 100644 index c9f2ad2..0000000 --- a/dev-db/postgresql-client/files/postgresql-8.3-common.patch +++ /dev/null @@ -1,88 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 9434113..d72b35c 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -202,8 +202,12 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) - AC_SUBST(localedir) - ])# PGAC_CHECK_GETTEXT - -diff --git a/configure.in b/configure.in -index 58cc61c..07ffc38 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.3RC1], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2008, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 7d9448f..07799bc 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -298,6 +298,29 @@ tas(volatile slock_t *lock) - - #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__) /* Sparc */ - #define HAS_TEST_AND_SET -diff --git a/src/makefiles/Makefile.darwin b/src/makefiles/Makefile.darwin -index 9f761d4..83b2974 100644 ---- a/src/makefiles/Makefile.darwin -+++ b/src/makefiles/Makefile.darwin -@@ -5,7 +5,15 @@ DLSUFFIX = .so - CFLAGS_SL = - - ifdef PGXS -+ifdef PGXS_IN_SERVER -+ifndef PGXS_WITH_SERVER -+BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres -+else -+BE_DLLLIBS= -bundle_loader ${PGXS_WITH_SERVER} -+endif -+else - BE_DLLLIBS= -bundle_loader $(bindir)/postgres -+endif - else - BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres - endif diff --git a/dev-db/postgresql-client/postgresql-client-7.3.21.ebuild b/dev-db/postgresql-client/postgresql-client-7.3.21.ebuild deleted file mode 100644 index b938c6b..0000000 --- a/dev-db/postgresql-client/postgresql-client-7.3.21.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" - -inherit eutils gnuconfig multilib toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL client applications" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_cs linguas_de linguas_es linguas_fr linguas_hr linguas_hu - linguas_pt_BR linguas_ru linguas_sv linguas_tr linguas_zh_CN - linguas_zh_TW" -IUSE="doc nls ${IUSE_LINGUAS}" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -DEPEND="~dev-db/postgresql-libs-${PV}" -RDEPEND="${DEPEND}" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/postgresql-${PV}-autoconf.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-client.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ - || die "configure failed" - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd LD="$(tc-getLD) $(get_abi_LDFLAGS)" \ - docdir=/usr/share/doc/${PF} SLOT=${SLOT} || die "emake in $bd failed" - done -} - -src_install() { - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd install DESTDIR="${D}" \ - docdir=/usr/share/doc/${PF} SLOT=${SLOT} || die "emake install in $bd failed" - done - - rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_config,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster,initlocation,ecpg}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" >${D}/usr/lib/eselect-postgresql/slots/${SLOT}/client -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-client/postgresql-client-7.4.19.ebuild b/dev-db/postgresql-client/postgresql-client-7.4.19.ebuild deleted file mode 100644 index 7ab6f4a..0000000 --- a/dev-db/postgresql-client/postgresql-client-7.4.19.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" - -inherit eutils gnuconfig multilib toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL client applications" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_cs linguas_de linguas_es linguas_fr linguas_hr linguas_hu - linguas_it linguas_nb linguas_pt_BR linguas_ru linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc nls ${IUSE_LINGUAS}" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -DEPEND="~dev-db/postgresql-libs-${PV}" -RDEPEND="${DEPEND}" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/postgresql-${PV}-autoconf.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-client.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ - || die "configure failed" - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd LD="$(tc-getLD) $(get_abi_LDFLAGS)" \ - docdir=/usr/share/doc/${PF} SLOT=${SLOT} || die "emake in $bd failed" - done -} - -src_install() { - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd install DESTDIR="${D}" \ - docdir=/usr/share/doc/${PF} SLOT=${SLOT} || die "emake install in $bd failed" - done - - newconfd "${FILESDIR}/pg_autovacuum.conf-${SLOT}" pg_autovacuum-${SLOT} || die "Failed to do conf.d for autovacuum" - newinitd "${FILESDIR}/pg_autovacuum.init-${SLOT}" pg_autovacuum-${SLOT} || die "Failed to do init.d for autovacuum" - dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum-${SLOT} - - rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_config,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster,initlocation,ecpg}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" >${D}/usr/lib/eselect-postgresql/slots/${SLOT}/client -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-client/postgresql-client-8.0.15.ebuild b/dev-db/postgresql-client/postgresql-client-8.0.15.ebuild deleted file mode 100644 index d4bb88a..0000000 --- a/dev-db/postgresql-client/postgresql-client-8.0.15.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" - -inherit eutils multilib toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL client applications" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc nls ${IUSE_LINGUAS}" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -DEPEND="~dev-db/postgresql-libs-${PV}" -RDEPEND="${DEPEND}" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-client.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - # because psql/help.c includes the file - ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ - || die "configure failed" - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd LD="$(tc-getLD) $(get_abi_LDFLAGS)" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake in $bd failed" - done -} - -src_install() { - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd install DESTDIR="${D}" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake install in $bd failed" - done - - newconfd "${FILESDIR}/pg_autovacuum.conf-${SLOT}" pg_autovacuum-${SLOT} || die "Failed to do conf.d for autovacuum" - newinitd "${FILESDIR}/pg_autovacuum.init-${SLOT}" pg_autovacuum-${SLOT} || die "Failed to do init.d for autovacuum" - dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum-${SLOT} - - rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_config,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster,ecpg}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" >${D}/usr/lib/eselect-postgresql/slots/${SLOT}/client -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-client/postgresql-client-8.1.11.ebuild b/dev-db/postgresql-client/postgresql-client-8.1.11.ebuild deleted file mode 100644 index 2fdcc97..0000000 --- a/dev-db/postgresql-client/postgresql-client-8.1.11.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" - -inherit eutils multilib toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL client applications" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc nls ${IUSE_LINGUAS}" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -DEPEND="~dev-db/postgresql-libs-${PV}" -RDEPEND="${DEPEND}" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-client.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - # because psql/help.c includes the file - ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ - || die "configure failed" - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd LD="$(tc-getLD) $(get_abi_LDFLAGS)" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake in $bd failed" - done -} - -src_install() { - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd install DESTDIR="${D}" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake install in $bd failed" - done - - rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_config,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster,ecpg}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" >${D}/usr/lib/eselect-postgresql/slots/${SLOT}/client -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-client/postgresql-client-8.2.6.ebuild b/dev-db/postgresql-client/postgresql-client-8.2.6.ebuild deleted file mode 100644 index 465b175..0000000 --- a/dev-db/postgresql-client/postgresql-client-8.2.6.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" - -inherit eutils multilib toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL client applications" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc nls ${IUSE_LINGUAS}" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -DEPEND="~dev-db/postgresql-libs-${PV}" -RDEPEND="${DEPEND}" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-client.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - # because psql/help.c includes the file - ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - - # 1. threadsafety is disabled to avoid pulling in test tarball in absense of - # which configure would fail. The configure output in the large part goes - # unnoticed as the installed pgxs stuff is used instead. - # 2. eval is needed to get along with pg_config quotation of space-rich - # entities. - eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ - --disable-thread-safety \ - || die "configure failed" - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd LD="$(tc-getLD) $(get_abi_LDFLAGS)" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake in $bd failed" - done -} - -src_install() { - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd install DESTDIR="${D}" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake install in $bd failed" - done - - rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_config,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster,ecpg}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" >${D}/usr/lib/eselect-postgresql/slots/${SLOT}/client -} - -pkg_postinst() { - eselect postgresql update -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-client/postgresql-client-8.3_rc1.ebuild b/dev-db/postgresql-client/postgresql-client-8.3_rc1.ebuild deleted file mode 100644 index ed20b69..0000000 --- a/dev-db/postgresql-client/postgresql-client-8.3_rc1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" - -inherit eutils multilib toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL client applications" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV/_rc/RC}/postgresql-${PV/_rc/RC}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc nls ${IUSE_LINGUAS}" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -DEPEND="~dev-db/postgresql-libs-${PV}" -RDEPEND="${DEPEND}" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV/_rc/RC}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-client.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - # because psql/help.c includes the file - ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - - # 1. threadsafety is disabled to avoid pulling in test tarball in absense of - # which configure would fail. The configure output in the large part goes - # unnoticed as the installed pgxs stuff is used instead. - # 2. eval is needed to get along with pg_config quotation of space-rich - # entities. - eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ - --disable-thread-safety \ - || die "configure failed" - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd LD="$(tc-getLD) $(get_abi_LDFLAGS)" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake in $bd failed" - done -} - -src_install() { - - for bd in . contrib ; do - PATH="/usr/lib/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd install DESTDIR="${D}" \ - PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ - NO_PGXS=0 USE_PGXS=1 docdir=/usr/share/doc/${PF} || die "emake install in $bd failed" - done - - rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_config,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster,ecpg}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" >${D}/usr/lib/eselect-postgresql/slots/${SLOT}/client -} - -pkg_postinst() { - eselect postgresql update -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-libs/ChangeLog b/dev-db/postgresql-libs/ChangeLog deleted file mode 100644 index c00b86f..0000000 --- a/dev-db/postgresql-libs/ChangeLog +++ /dev/null @@ -1,10 +0,0 @@ -# ChangeLog for dev-db/postgresql-libs -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 20 Mar 2007; Tiziano Müller <dev-zero@gentoo.org> - postgresql-libs-7.3.18.ebuild, postgresql-libs-7.4.16.ebuild, - postgresql-libs-8.0.12.ebuild, postgresql-libs-8.1.8.ebuild, - postgresql-libs-8.2.3.ebuild: - Added postgresql-docs dependency via doc-USE-flag in PDEPEND. - diff --git a/dev-db/postgresql-libs/Manifest b/dev-db/postgresql-libs/Manifest deleted file mode 100644 index e4c01fc..0000000 --- a/dev-db/postgresql-libs/Manifest +++ /dev/null @@ -1,108 +0,0 @@ -AUX postgresql-7.3-libs.patch 3061 RMD160 7d846335bea21ac9e166f87e102e8311f0e0de52 SHA1 0fa0a444cd5c435ad1272164c4c806717fc79904 SHA256 297f44ae666b62e6cd61e5b345b9639abf16fe00f97fe3357e5a48704361adef -MD5 a5ba3f757febabcf541197cccb63bd45 files/postgresql-7.3-libs.patch 3061 -RMD160 7d846335bea21ac9e166f87e102e8311f0e0de52 files/postgresql-7.3-libs.patch 3061 -SHA256 297f44ae666b62e6cd61e5b345b9639abf16fe00f97fe3357e5a48704361adef files/postgresql-7.3-libs.patch 3061 -AUX postgresql-7.3.21-autoconf.patch 2141 RMD160 3bff01abeeeb094f04469960d4725c977657fb1c SHA1 aceb7ebafde14fde0efe6eefc68115fd8b4cb95a SHA256 9444af9ac2908f18fc69ef2db6fe78584384a46d28dd4c8af10740f9138796a8 -MD5 c5f90d21354c3a73b68ed583da9320df files/postgresql-7.3.21-autoconf.patch 2141 -RMD160 3bff01abeeeb094f04469960d4725c977657fb1c files/postgresql-7.3.21-autoconf.patch 2141 -SHA256 9444af9ac2908f18fc69ef2db6fe78584384a46d28dd4c8af10740f9138796a8 files/postgresql-7.3.21-autoconf.patch 2141 -AUX postgresql-7.4-hppa.patch 1433 RMD160 4c4021ab6654d4c131704d6def2b2d689df7f527 SHA1 2234eff32e0ae4bdecd4b21eb9f6c7be33023652 SHA256 4424694fecd4f16655cd5ff9603489fa644175ab344498040f2c88cb0962aa6b -MD5 d098cc4f48bf9153e17260fdde299327 files/postgresql-7.4-hppa.patch 1433 -RMD160 4c4021ab6654d4c131704d6def2b2d689df7f527 files/postgresql-7.4-hppa.patch 1433 -SHA256 4424694fecd4f16655cd5ff9603489fa644175ab344498040f2c88cb0962aa6b files/postgresql-7.4-hppa.patch 1433 -AUX postgresql-7.4-libs.patch 3068 RMD160 9fb11c3a7ec425df657870e24145d87a273240cc SHA1 93a2f026e08fe2e96bba844d2f2dc93bf2f39268 SHA256 a819dfef215ff14c4cfc949302e9625403e9d33eaf4e68c82e7fc7c6ed780cb1 -MD5 4c1ef062224e28526431aab8e820ca68 files/postgresql-7.4-libs.patch 3068 -RMD160 9fb11c3a7ec425df657870e24145d87a273240cc files/postgresql-7.4-libs.patch 3068 -SHA256 a819dfef215ff14c4cfc949302e9625403e9d33eaf4e68c82e7fc7c6ed780cb1 files/postgresql-7.4-libs.patch 3068 -AUX postgresql-7.4.19-autoconf.patch 1870 RMD160 92e49d3bc82ebfce6c798b4d56008da5c8f46d33 SHA1 a42d03a9c4d7b5df7a69a3d23c9e527c6d901eba SHA256 dccd9553b9cfdc88ffe98e445e27d1714426b4f1e6f405af438243ba06b93b6e -MD5 e70130009db4999da7c71240e01bab56 files/postgresql-7.4.19-autoconf.patch 1870 -RMD160 92e49d3bc82ebfce6c798b4d56008da5c8f46d33 files/postgresql-7.4.19-autoconf.patch 1870 -SHA256 dccd9553b9cfdc88ffe98e445e27d1714426b4f1e6f405af438243ba06b93b6e files/postgresql-7.4.19-autoconf.patch 1870 -AUX postgresql-8.0-common.patch 2294 RMD160 4f0028f6b5e95d74328f2c3981aa558420739181 SHA1 be649bf09bd5082e6e2af58c44cc470456e37780 SHA256 eca25d56bd157a3a7883d4c4305e4e0b7d22b8dd0cbca93da88add24da28b681 -MD5 bac29f949dff50568abc3b298d2402d6 files/postgresql-8.0-common.patch 2294 -RMD160 4f0028f6b5e95d74328f2c3981aa558420739181 files/postgresql-8.0-common.patch 2294 -SHA256 eca25d56bd157a3a7883d4c4305e4e0b7d22b8dd0cbca93da88add24da28b681 files/postgresql-8.0-common.patch 2294 -AUX postgresql-8.0-libs.patch 3362 RMD160 5b68981c490aff2a0739b70e204f54e249208e36 SHA1 d8fe8bb990623b283ae7014ed1a92a362b55edbe SHA256 468edf9f8e218083ce0b976a2900cd8930efebddbe59632f1f43ecdaa2dabc88 -MD5 69190f1b2e105ffc4605894b9794c46d files/postgresql-8.0-libs.patch 3362 -RMD160 5b68981c490aff2a0739b70e204f54e249208e36 files/postgresql-8.0-libs.patch 3362 -SHA256 468edf9f8e218083ce0b976a2900cd8930efebddbe59632f1f43ecdaa2dabc88 files/postgresql-8.0-libs.patch 3362 -AUX postgresql-8.1-common.patch 2290 RMD160 ba1f803b045a8d3f430231b0c22b8817e2eb8cf6 SHA1 facf27b2c396fe9f2347eb4cec3b2714a8587b70 SHA256 f80c8dd5a31b88df330c15de4331db1600ae078a789650ab28d61620f27056f5 -MD5 824168c489f9f0c020e3ec9a0bbf7329 files/postgresql-8.1-common.patch 2290 -RMD160 ba1f803b045a8d3f430231b0c22b8817e2eb8cf6 files/postgresql-8.1-common.patch 2290 -SHA256 f80c8dd5a31b88df330c15de4331db1600ae078a789650ab28d61620f27056f5 files/postgresql-8.1-common.patch 2290 -AUX postgresql-8.1-libs.patch 3362 RMD160 717aec6bba86eb6843facd6edc0b44853afb0768 SHA1 b406fea97d4cc867d2d48e14499d69c23aecb6d1 SHA256 92775273222907f1dfdd4b000ae3c8368567c1426bff0fa02cff385254b9013d -MD5 b32bda6bff919622d80502647a95b702 files/postgresql-8.1-libs.patch 3362 -RMD160 717aec6bba86eb6843facd6edc0b44853afb0768 files/postgresql-8.1-libs.patch 3362 -SHA256 92775273222907f1dfdd4b000ae3c8368567c1426bff0fa02cff385254b9013d files/postgresql-8.1-libs.patch 3362 -AUX postgresql-8.2-common.patch 2640 RMD160 b25ba915d5d6ad9c12c1d51426363c196b830923 SHA1 7b946d57bfed34e2e7e1338c3ab3004341d7ab12 SHA256 36ca9cb4f26424c302fdd704b7c1a268e87612afa3006bf008d4594dabe080f8 -MD5 510f7cca742d90f09d5fd32d05ddaa08 files/postgresql-8.2-common.patch 2640 -RMD160 b25ba915d5d6ad9c12c1d51426363c196b830923 files/postgresql-8.2-common.patch 2640 -SHA256 36ca9cb4f26424c302fdd704b7c1a268e87612afa3006bf008d4594dabe080f8 files/postgresql-8.2-common.patch 2640 -AUX postgresql-8.2-libs.patch 3399 RMD160 06674b5a524ab321b301965e1493ba7a09ab32cc SHA1 71ae3a6ce2a34d8d90d04109001b1b3e4eecaae4 SHA256 bf56f69add42b84646346310266e0f14b8cc02a71d6ade96a2f7a05158f4aabd -MD5 ae6a526180b90402632a533fbaad4c1f files/postgresql-8.2-libs.patch 3399 -RMD160 06674b5a524ab321b301965e1493ba7a09ab32cc files/postgresql-8.2-libs.patch 3399 -SHA256 bf56f69add42b84646346310266e0f14b8cc02a71d6ade96a2f7a05158f4aabd files/postgresql-8.2-libs.patch 3399 -AUX postgresql-8.3-common.patch 2641 RMD160 0822bf1512457e91d5f32f9d192de6f197db9c55 SHA1 e4bdbd5eee1023e8f0b42ef408b34b57495d1e2b SHA256 e416c26d9c3d266b306ddbc0a2b648054739b7ace35e2b4e449fbdaf094bc197 -MD5 e1d116082e50ab3c8c00da5cff4cb5a4 files/postgresql-8.3-common.patch 2641 -RMD160 0822bf1512457e91d5f32f9d192de6f197db9c55 files/postgresql-8.3-common.patch 2641 -SHA256 e416c26d9c3d266b306ddbc0a2b648054739b7ace35e2b4e449fbdaf094bc197 files/postgresql-8.3-common.patch 2641 -AUX postgresql-8.3-libs.patch 3453 RMD160 d8424fe836d720840e01353e7c8ba6c282ce8a28 SHA1 8e1550b7150b3f931faeaf56c0158fc9b6944392 SHA256 65841a48331f8e399dd3efd1e77bacd568acd2f02109d79dc98eea73fe7af3b6 -MD5 e515de6cd026ce2be35c919df1d0ad3c files/postgresql-8.3-libs.patch 3453 -RMD160 d8424fe836d720840e01353e7c8ba6c282ce8a28 files/postgresql-8.3-libs.patch 3453 -SHA256 65841a48331f8e399dd3efd1e77bacd568acd2f02109d79dc98eea73fe7af3b6 files/postgresql-8.3-libs.patch 3453 -DIST postgresql-7.3.21.tar.bz2 9284558 RMD160 f9de4676b4fbe3d96e6d1462b8bc3c05600d6525 SHA1 bdfa3bddc483c6642cc2ee271d076bfaa4c20c92 SHA256 bf44e0ac259e9f6e14ac102f2977496b6996ecea2fd227fbdcea5fa70e342888 -DIST postgresql-7.4.19.tar.bz2 10307396 RMD160 c9a1c7dc8e7bf9ce93c3b4f061af0563b1cc2627 SHA1 19c563d47b0d5deeef03b5ca7707c9f1917853ce SHA256 447ac7070aa0a547f17a307e842734fc27e2716cb4a251fa9a810b178d44c389 -DIST postgresql-8.0.15.tar.bz2 11253897 RMD160 6aff5c63dce73eea609f0b6e013cd043ae8b7a37 SHA1 66a6fef7749afb91471200005511c04fc1ac2706 SHA256 59408a00db1c73e638a11af10438a827507b7a72b53916d58f2d44c477718714 -DIST postgresql-8.1.11.tar.bz2 11735420 RMD160 9fb98eadc4f1015205970f26b31b68ea0378bda9 SHA1 73c0f09754fc8e3c7f8d7de49d70244b76927416 SHA256 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e -DIST postgresql-8.2.6.tar.bz2 12559117 RMD160 fa12ce310919cb52be3558d38a7e329bc73bbe33 SHA1 8934dfbd4c1d8c4f2945cb80f02072611681f967 SHA256 ee41327e821f933de2894d6e0c319edc4b63e80cb902e673b490b7eaf4ead114 -DIST postgresql-8.3RC1.tar.bz2 13801207 RMD160 5be543b40dcac92ad1153bb5527b0b069c98d246 SHA1 b58a3a3e26198469e23829697cdc33d02b2530f5 SHA256 a05953dffa0e62288364cc17e96e0be351106ada128dc76a8b0c54e16c730a0a -EBUILD postgresql-libs-7.3.21.ebuild 3891 RMD160 bc286ee2a82197968d4dd680e39b4135a311d0b1 SHA1 6f881bedae696aa0962f933c89b1cf60a4ae4ebd SHA256 be30b4ca67bdd2a05f94720e6be36cde11f5d1a3ff3d93fd143a72891ad72186 -MD5 6c5897a042fa47c614443560a17c4135 postgresql-libs-7.3.21.ebuild 3891 -RMD160 bc286ee2a82197968d4dd680e39b4135a311d0b1 postgresql-libs-7.3.21.ebuild 3891 -SHA256 be30b4ca67bdd2a05f94720e6be36cde11f5d1a3ff3d93fd143a72891ad72186 postgresql-libs-7.3.21.ebuild 3891 -EBUILD postgresql-libs-7.4.19.ebuild 4066 RMD160 6fb448cb8eee622aecc65509a38a125ee9062b73 SHA1 90624de2082f66dd049bba8498d0e8666c77a9e5 SHA256 7715be7a26287d1682bcb630627a95af18d4a8bca4cba09dc57f67086d3918d3 -MD5 c579241162e3538616cdb98d6897330c postgresql-libs-7.4.19.ebuild 4066 -RMD160 6fb448cb8eee622aecc65509a38a125ee9062b73 postgresql-libs-7.4.19.ebuild 4066 -SHA256 7715be7a26287d1682bcb630627a95af18d4a8bca4cba09dc57f67086d3918d3 postgresql-libs-7.4.19.ebuild 4066 -EBUILD postgresql-libs-8.0.15.ebuild 4037 RMD160 ded279d505e28a540f129f067145a4639e0b1b33 SHA1 a180e6531c09cb5d4e3e16b1f312c19b05df0dfc SHA256 6c5cb04211f68c291e567c15234c8dcadeba11df0da0b324fabe04eacb18b164 -MD5 e55f86399698424d82f68bdb4d908edb postgresql-libs-8.0.15.ebuild 4037 -RMD160 ded279d505e28a540f129f067145a4639e0b1b33 postgresql-libs-8.0.15.ebuild 4037 -SHA256 6c5cb04211f68c291e567c15234c8dcadeba11df0da0b324fabe04eacb18b164 postgresql-libs-8.0.15.ebuild 4037 -EBUILD postgresql-libs-8.1.11.ebuild 4036 RMD160 df1e09bf927c7a99fa23497e14b9520e709c0876 SHA1 81816239fea0ebf13d7d72d66d8becf54d6c0dde SHA256 1ab1f618c0c7dab8f11dcdbf5ca9ec9de46bc4a931bdb4f4f50cd2034782024a -MD5 a3719c6a81b6d46d2c563998aa9ccb1f postgresql-libs-8.1.11.ebuild 4036 -RMD160 df1e09bf927c7a99fa23497e14b9520e709c0876 postgresql-libs-8.1.11.ebuild 4036 -SHA256 1ab1f618c0c7dab8f11dcdbf5ca9ec9de46bc4a931bdb4f4f50cd2034782024a postgresql-libs-8.1.11.ebuild 4036 -EBUILD postgresql-libs-8.2.6.ebuild 4111 RMD160 9c521cdada7e9eaca58f5c22795a936391eca5f3 SHA1 23e81441da626c31f51ffe504e5fd1ecfbe738a9 SHA256 e814e91652e743b3949f91a2e46cdd657d9b955e0b23a7a928943b92c5c7f27c -MD5 194aea1e34c1d9600e1647a5782d6f59 postgresql-libs-8.2.6.ebuild 4111 -RMD160 9c521cdada7e9eaca58f5c22795a936391eca5f3 postgresql-libs-8.2.6.ebuild 4111 -SHA256 e814e91652e743b3949f91a2e46cdd657d9b955e0b23a7a928943b92c5c7f27c postgresql-libs-8.2.6.ebuild 4111 -EBUILD postgresql-libs-8.3_rc1.ebuild 4132 RMD160 6a605d7e7e4019e24085eea40b0eb83e1d19b722 SHA1 3f54010f30441691e960137cdf2c91083523b77d SHA256 c1b3c9ac99318c2a2134337531e1537db61eb1cb9592b3f5698043e6adde781a -MD5 c9dc57a489c58de480bdce1e8720c32e postgresql-libs-8.3_rc1.ebuild 4132 -RMD160 6a605d7e7e4019e24085eea40b0eb83e1d19b722 postgresql-libs-8.3_rc1.ebuild 4132 -SHA256 c1b3c9ac99318c2a2134337531e1537db61eb1cb9592b3f5698043e6adde781a postgresql-libs-8.3_rc1.ebuild 4132 -MISC ChangeLog 400 RMD160 ca729246e5c726e3b01b2c0c62718b505842dfb2 SHA1 8ed3d5e9213e84edcd426bd58cf19478e0c2c7d3 SHA256 37e34604de47ded00b6da91224ab32be7bd9cee7af0df9f80a4f0c661e88b171 -MD5 fa0d2242fded2ca473e1b749069da17c ChangeLog 400 -RMD160 ca729246e5c726e3b01b2c0c62718b505842dfb2 ChangeLog 400 -SHA256 37e34604de47ded00b6da91224ab32be7bd9cee7af0df9f80a4f0c661e88b171 ChangeLog 400 -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 6a3445a4a42effc608ada08460d79d23 files/digest-postgresql-libs-7.3.21 259 -RMD160 ae6f019781a5bec259542ac5a4dbb9fd0727e24f files/digest-postgresql-libs-7.3.21 259 -SHA256 4a09b60d4700c7feb998b1d07118eab0b930bee7a325ab3a138246c2c7e86ec6 files/digest-postgresql-libs-7.3.21 259 -MD5 d98b405b951efbaa919ed890118f3262 files/digest-postgresql-libs-7.4.19 262 -RMD160 fa3e756851fbf3b72ea22b402837260263e6371c files/digest-postgresql-libs-7.4.19 262 -SHA256 e68f25453b492b1b956e0fe7a6511d375befb38d43a3a456f52db0af80b6c18a files/digest-postgresql-libs-7.4.19 262 -MD5 e0438519efec2797b6430212965d56eb files/digest-postgresql-libs-8.0.15 262 -RMD160 1ad7b4f3a03631b3b6dbcf2fcf75bd8b3facb344 files/digest-postgresql-libs-8.0.15 262 -SHA256 b7dedc99319f205c529bfc325277f1df69e4b605c49772db743936f31945f11f files/digest-postgresql-libs-8.0.15 262 -MD5 8e0b9ba7ccb589a185904e1b7e564181 files/digest-postgresql-libs-8.1.11 262 -RMD160 7f74888cad6f2898b7066b15796e33793986bfc7 files/digest-postgresql-libs-8.1.11 262 -SHA256 0f8bbcf23f2f4a78191e2354d70d371e2fcdbf5bd931907c360b65270245d68e files/digest-postgresql-libs-8.1.11 262 -MD5 82e0a8c26d6b4ca23a88e14f9c1364dd files/digest-postgresql-libs-8.2.6 259 -RMD160 eaeca374a581f849a0d441e81a9a195696422978 files/digest-postgresql-libs-8.2.6 259 -SHA256 dd2fd7fd45f83726f1cdcdd60e97ae51bb222030679916ff44a3f623a41930e9 files/digest-postgresql-libs-8.2.6 259 -MD5 f2a20168d6f9484e0ace623b4ce6de6e files/digest-postgresql-libs-8.3_rc1 262 -RMD160 019bc970caed3347a76f9e7099c8b6a2cf70385d files/digest-postgresql-libs-8.3_rc1 262 -SHA256 8584bc879e3ab91baac2b3d7a4e5041ec2e13d74a00b603272af761d88c1554a files/digest-postgresql-libs-8.3_rc1 262 diff --git a/dev-db/postgresql-libs/files/digest-postgresql-libs-7.3.21 b/dev-db/postgresql-libs/files/digest-postgresql-libs-7.3.21 deleted file mode 100644 index acc9f8c..0000000 --- a/dev-db/postgresql-libs/files/digest-postgresql-libs-7.3.21 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e0068d0de0540a2d7247749ea830833f postgresql-7.3.21.tar.bz2 9284558 -RMD160 f9de4676b4fbe3d96e6d1462b8bc3c05600d6525 postgresql-7.3.21.tar.bz2 9284558 -SHA256 bf44e0ac259e9f6e14ac102f2977496b6996ecea2fd227fbdcea5fa70e342888 postgresql-7.3.21.tar.bz2 9284558 diff --git a/dev-db/postgresql-libs/files/digest-postgresql-libs-7.4.19 b/dev-db/postgresql-libs/files/digest-postgresql-libs-7.4.19 deleted file mode 100644 index fb3a431..0000000 --- a/dev-db/postgresql-libs/files/digest-postgresql-libs-7.4.19 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0be8c193fb73113930d043c60200598b postgresql-7.4.19.tar.bz2 10307396 -RMD160 c9a1c7dc8e7bf9ce93c3b4f061af0563b1cc2627 postgresql-7.4.19.tar.bz2 10307396 -SHA256 447ac7070aa0a547f17a307e842734fc27e2716cb4a251fa9a810b178d44c389 postgresql-7.4.19.tar.bz2 10307396 diff --git a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.0.15 b/dev-db/postgresql-libs/files/digest-postgresql-libs-8.0.15 deleted file mode 100644 index e7881b8..0000000 --- a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.0.15 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3ee548b3643e0a0a4b76493e81b336f3 postgresql-8.0.15.tar.bz2 11253897 -RMD160 6aff5c63dce73eea609f0b6e013cd043ae8b7a37 postgresql-8.0.15.tar.bz2 11253897 -SHA256 59408a00db1c73e638a11af10438a827507b7a72b53916d58f2d44c477718714 postgresql-8.0.15.tar.bz2 11253897 diff --git a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.1.11 b/dev-db/postgresql-libs/files/digest-postgresql-libs-8.1.11 deleted file mode 100644 index 86701fa..0000000 --- a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.1.11 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 48922512bcf683d5ea22a99df5eaaecd postgresql-8.1.11.tar.bz2 11735420 -RMD160 9fb98eadc4f1015205970f26b31b68ea0378bda9 postgresql-8.1.11.tar.bz2 11735420 -SHA256 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e postgresql-8.1.11.tar.bz2 11735420 diff --git a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.2.6 b/dev-db/postgresql-libs/files/digest-postgresql-libs-8.2.6 deleted file mode 100644 index eb9626c..0000000 --- a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.2.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 17b9049b4fcad42ee95410833c1db228 postgresql-8.2.6.tar.bz2 12559117 -RMD160 fa12ce310919cb52be3558d38a7e329bc73bbe33 postgresql-8.2.6.tar.bz2 12559117 -SHA256 ee41327e821f933de2894d6e0c319edc4b63e80cb902e673b490b7eaf4ead114 postgresql-8.2.6.tar.bz2 12559117 diff --git a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.3_rc1 b/dev-db/postgresql-libs/files/digest-postgresql-libs-8.3_rc1 deleted file mode 100644 index 9e44c24..0000000 --- a/dev-db/postgresql-libs/files/digest-postgresql-libs-8.3_rc1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c0994ab0d16aa7410d05102344f819fe postgresql-8.3RC1.tar.bz2 13801207 -RMD160 5be543b40dcac92ad1153bb5527b0b069c98d246 postgresql-8.3RC1.tar.bz2 13801207 -SHA256 a05953dffa0e62288364cc17e96e0be351106ada128dc76a8b0c54e16c730a0a postgresql-8.3RC1.tar.bz2 13801207 diff --git a/dev-db/postgresql-libs/files/postgresql-7.3-libs.patch b/dev-db/postgresql-libs/files/postgresql-7.3-libs.patch deleted file mode 100644 index b4d7d78..0000000 --- a/dev-db/postgresql-libs/files/postgresql-7.3-libs.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index 2b17d47..daabe55 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -9,17 +9,14 @@ top_builddir = . - include $(top_builddir)/src/Makefile.global - - all: -- $(MAKE) -C doc all - $(MAKE) -C src all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: -- $(MAKE) -C doc install - $(MAKE) -C src install - @echo "PostgreSQL installation complete." - - installdirs uninstall distprep: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - - install-all-headers: -diff --git a/src/Makefile b/src/Makefile -index cd6e5e6..bc535d5 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -16,11 +16,9 @@ include Makefile.global - all install installdirs uninstall dep depend distprep: - $(MAKE) -C port $@ - $(MAKE) -C backend $@ -- $(MAKE) -C backend/utils/mb/conversion_procs $@ - $(MAKE) -C include $@ - $(MAKE) -C interfaces $@ - $(MAKE) -C bin $@ -- $(MAKE) -C pl $@ - - install-all-headers: - $(MAKE) -C include $@ -diff --git a/src/backend/Makefile b/src/backend/Makefile -index 5cdfeca..651b6d8 100644 ---- a/src/backend/Makefile -+++ b/src/backend/Makefile -@@ -29,7 +29,7 @@ endif - - ########################################################################## - --all: submake-libpgport postgres $(POSTGRES_IMP) -+all: someheaders - - ifneq ($(PORTNAME), win) - -@@ -78,8 +78,7 @@ $(OBJS): $(DIRS:%=%-recursive) ; - - .PHONY: $(DIRS:%=%-recursive) - # Update the commonly used headers before building the subdirectories --$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h -- $(MAKE) -C $(subst -recursive,,$@) all -+someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h - - - $(DLLINIT): $(DLLINIT:%.o=%.c) -@@ -125,16 +124,7 @@ distprep: - - ########################################################################## - --install: all installdirs install-bin --ifeq ($(PORTNAME), win) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a --endif --endif -- $(MAKE) -C catalog install-bki -- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample -- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample -- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample -+install: - - install-bin: postgres $(POSTGRES_IMP) installdirs - $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X) -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 3035f61..469c6e0 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,14 +13,10 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \ -- psql scripts pg_config pg_controldata pg_resetxlog \ -+DIRS := \ -+ pg_config \ - pg_encoding - --ifeq ($(with_tcl), yes) -- DIRS += pgtclsh --endif -- - all install installdirs uninstall depend distprep: - @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done - diff --git a/dev-db/postgresql-libs/files/postgresql-7.3.21-autoconf.patch b/dev-db/postgresql-libs/files/postgresql-7.3.21-autoconf.patch deleted file mode 100644 index 0b526b2..0000000 --- a/dev-db/postgresql-libs/files/postgresql-7.3.21-autoconf.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 35d9e2b..c681983 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index 07cc529..37fdded 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,17 +19,8 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - dnl - dnl The GNU folks apparently haven't heard that some people don't use - dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir". --m4_define([info], [doc]) --m4_define([infodir], [docdir]) - AC_INIT([PostgreSQL], [7.3.21], [pgsql-bugs@postgresql.org]) --m4_undefine([infodir]) --m4_undefine([info]) --AC_SUBST(docdir) -- --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.53], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) -+ - AC_COPYRIGHT([Copyright 2002 PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -@@ -626,7 +617,7 @@ AC_CHECK_LIB(PW, main) - AC_CHECK_LIB(resolv, main) - AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt]) - # QNX: --AC_CHECK_LIB([[unix]], main) -+AC_CHECK_LIB([unix], main) - AC_SEARCH_LIBS(crypt, crypt) - # BeOS: - AC_CHECK_LIB(bind, __inet_ntoa) diff --git a/dev-db/postgresql-libs/files/postgresql-7.4-hppa.patch b/dev-db/postgresql-libs/files/postgresql-7.4-hppa.patch deleted file mode 100644 index f19eb38..0000000 --- a/dev-db/postgresql-libs/files/postgresql-7.4-hppa.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/src/include/port/linux.h b/src/include/port/linux.h -index 159db31..bef4c9e 100644 ---- a/src/include/port/linux.h -+++ b/src/include/port/linux.h -@@ -3,6 +3,11 @@ typedef unsigned char slock_t; - - #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 --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 578d8cf..ceed34a 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -112,6 +112,33 @@ tas(volatile slock_t *lock) - - #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-libs/files/postgresql-7.4-libs.patch b/dev-db/postgresql-libs/files/postgresql-7.4-libs.patch deleted file mode 100644 index a619303..0000000 --- a/dev-db/postgresql-libs/files/postgresql-7.4-libs.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index 563532a..d2bd525 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -9,17 +9,14 @@ top_builddir = . - include $(top_builddir)/src/Makefile.global - - all: -- $(MAKE) -C doc all - $(MAKE) -C src all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: -- $(MAKE) -C doc install - $(MAKE) -C src install - @echo "PostgreSQL installation complete." - - installdirs uninstall distprep: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - - install-all-headers: -diff --git a/src/Makefile b/src/Makefile -index cd6e5e6..bc535d5 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -16,11 +16,9 @@ include Makefile.global - all install installdirs uninstall dep depend distprep: - $(MAKE) -C port $@ - $(MAKE) -C backend $@ -- $(MAKE) -C backend/utils/mb/conversion_procs $@ - $(MAKE) -C include $@ - $(MAKE) -C interfaces $@ - $(MAKE) -C bin $@ -- $(MAKE) -C pl $@ - - install-all-headers: - $(MAKE) -C include $@ -diff --git a/src/backend/Makefile b/src/backend/Makefile -index 82cdd0f..88d302a 100644 ---- a/src/backend/Makefile -+++ b/src/backend/Makefile -@@ -29,7 +29,7 @@ endif - - ########################################################################## - --all: submake-libpgport postgres $(POSTGRES_IMP) -+all: someheaders - - ifneq ($(PORTNAME), cygwin) - -@@ -78,8 +78,7 @@ $(OBJS): $(DIRS:%=%-recursive) ; - - .PHONY: $(DIRS:%=%-recursive) - # Update the commonly used headers before building the subdirectories --$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h -- $(MAKE) -C $(subst -recursive,,$@) all -+someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h - - - $(DLLINIT): $(DLLINIT:%.o=%.c) -@@ -125,16 +124,7 @@ distprep: - - ########################################################################## - --install: all installdirs install-bin --ifeq ($(PORTNAME), cygwin) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a --endif --endif -- $(MAKE) -C catalog install-data -- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample -- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample -- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample -+install: - - install-bin: postgres $(POSTGRES_IMP) installdirs - $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X) -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 3035f61..469c6e0 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,14 +13,10 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \ -- psql scripts pg_config pg_controldata pg_resetxlog \ -+DIRS := \ -+ pg_config \ - pg_encoding - --ifeq ($(with_tcl), yes) -- DIRS += pgtclsh --endif -- - all install installdirs uninstall depend distprep: - @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done - diff --git a/dev-db/postgresql-libs/files/postgresql-7.4.19-autoconf.patch b/dev-db/postgresql-libs/files/postgresql-7.4.19-autoconf.patch deleted file mode 100644 index 3913a0b..0000000 --- a/dev-db/postgresql-libs/files/postgresql-7.4.19-autoconf.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index ae3b91a..6af24d2 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index f7bdec3..c8b5b7e 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,17 +19,8 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - dnl - dnl The GNU folks apparently haven't heard that some people don't use - dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir". --m4_define([info], [doc]) --m4_define([infodir], [docdir]) - AC_INIT([PostgreSQL], [7.4.19], [pgsql-bugs@postgresql.org]) --m4_undefine([infodir]) --m4_undefine([info]) --AC_SUBST(docdir) -- --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.53], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) -+ - AC_COPYRIGHT([Copyright 2004 PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) diff --git a/dev-db/postgresql-libs/files/postgresql-8.0-common.patch b/dev-db/postgresql-libs/files/postgresql-8.0-common.patch deleted file mode 100644 index 40932ec..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.0-common.patch +++ /dev/null @@ -1,76 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 3f87396..9c7fbf0 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index c71b175..674036a 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.0.15], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.53], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2005, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 0c2dff0..d548d4d 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -239,6 +239,31 @@ tas(volatile slock_t *lock) - #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-libs/files/postgresql-8.0-libs.patch b/dev-db/postgresql-libs/files/postgresql-8.0-libs.patch deleted file mode 100644 index ba9ed64..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.0-libs.patch +++ /dev/null @@ -1,106 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index c451bd6..10f8f42 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -9,19 +9,16 @@ top_builddir = . - include $(top_builddir)/src/Makefile.global - - all: -- $(MAKE) -C doc all - $(MAKE) -C src all - $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall distprep: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - -diff --git a/src/Makefile b/src/Makefile -index 0963f88..dc7cdb9 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -15,13 +15,10 @@ include Makefile.global - - all install installdirs uninstall dep depend distprep: - $(MAKE) -C port $@ -- $(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 $@ - $(MAKE) -C makefiles $@ - $(MAKE) -C utils $@ - -diff --git a/src/backend/Makefile b/src/backend/Makefile -index 2bbdc8e..79aabf1 100644 ---- a/src/backend/Makefile -+++ b/src/backend/Makefile -@@ -34,7 +34,7 @@ endif - - ########################################################################## - --all: submake-libpgport postgres $(POSTGRES_IMP) -+all: someheaders - - ifneq ($(PORTNAME), cygwin) - ifneq ($(PORTNAME), win32) -@@ -104,8 +104,7 @@ $(SUBSYSOBJS): $(DIRS:%=%-recursive) ; - - .PHONY: $(DIRS:%=%-recursive) - # Update the commonly used headers before building the subdirectories --$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h -- $(MAKE) -C $(subst -recursive,,$@) all -+someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h - - - $(DLLINIT): $(DLLINIT:%.o=%.c) -@@ -151,22 +150,7 @@ distprep: - - ########################################################################## - --install: all installdirs install-bin --ifeq ($(PORTNAME), cygwin) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a --endif --endif --ifeq ($(PORTNAME), win32) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a --endif --endif -- $(MAKE) -C catalog install-data -- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample -- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample -- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample -- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample $(DESTDIR)$(datadir)/recovery.conf.sample -+install: - - install-bin: postgres $(POSTGRES_IMP) installdirs - $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X) -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 8309db1..e645ff2 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,11 +13,7 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog --ifeq ($(PORTNAME), win32) --DIRS+=pgevent --endif -+DIRS := pg_config - - all install installdirs uninstall depend distprep: - @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done diff --git a/dev-db/postgresql-libs/files/postgresql-8.1-common.patch b/dev-db/postgresql-libs/files/postgresql-8.1-common.patch deleted file mode 100644 index 56704f0..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.1-common.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 3f87396..9c7fbf0 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -- if test x"$prefix" = x"NONE"; then -- exp_localedir="$ac_default_prefix/share/locale" -- else -- exp_localedir="$prefix/share/locale" -- fi -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) -+ exp_localedir="${localedir}" - - AC_SUBST(localedir) - AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"], -diff --git a/configure.in b/configure.in -index d071f00..b203648 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.1.11], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2005, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index c5731fd..8ec70b4 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -299,6 +299,29 @@ tas(volatile slock_t *lock) - - #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-libs/files/postgresql-8.1-libs.patch b/dev-db/postgresql-libs/files/postgresql-8.1-libs.patch deleted file mode 100644 index df84437..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.1-libs.patch +++ /dev/null @@ -1,106 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index 0216527..004d111 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -9,19 +9,16 @@ top_builddir = . - include $(top_builddir)/src/Makefile.global - - all: -- $(MAKE) -C doc all - $(MAKE) -C src all - $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall distprep: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - -diff --git a/src/Makefile b/src/Makefile -index 0963f88..dc7cdb9 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -15,13 +15,10 @@ include Makefile.global - - all install installdirs uninstall dep depend distprep: - $(MAKE) -C port $@ -- $(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 $@ - $(MAKE) -C makefiles $@ - $(MAKE) -C utils $@ - -diff --git a/src/backend/Makefile b/src/backend/Makefile -index f735039..1b478f1 100644 ---- a/src/backend/Makefile -+++ b/src/backend/Makefile -@@ -34,7 +34,7 @@ endif - - ########################################################################## - --all: submake-libpgport postgres $(POSTGRES_IMP) -+all: someheaders - - ifneq ($(PORTNAME), cygwin) - ifneq ($(PORTNAME), win32) -@@ -106,8 +106,7 @@ $(SUBSYSOBJS): $(DIRS:%=%-recursive) ; - - .PHONY: $(DIRS:%=%-recursive) - # Update the commonly used headers before building the subdirectories --$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h -- $(MAKE) -C $(subst -recursive,,$@) all -+someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h - - - $(DLLINIT): $(DLLINIT:%.o=%.c) -@@ -153,22 +152,7 @@ distprep: - - ########################################################################## - --install: all installdirs install-bin --ifeq ($(PORTNAME), cygwin) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a --endif --endif --ifeq ($(PORTNAME), win32) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a --endif --endif -- $(MAKE) -C catalog install-data -- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample -- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample -- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample -- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample $(DESTDIR)$(datadir)/recovery.conf.sample -+install: - - install-bin: postgres $(POSTGRES_IMP) installdirs - $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X) -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 8309db1..e645ff2 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,11 +13,7 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog --ifeq ($(PORTNAME), win32) --DIRS+=pgevent --endif -+DIRS := pg_config - - all install installdirs uninstall depend distprep: - @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done diff --git a/dev-db/postgresql-libs/files/postgresql-8.2-common.patch b/dev-db/postgresql-libs/files/postgresql-8.2-common.patch deleted file mode 100644 index e6e8e46..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.2-common.patch +++ /dev/null @@ -1,88 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index fb9793f..3510942 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -162,8 +162,12 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) - AC_SUBST(localedir) - ])# PGAC_CHECK_GETTEXT - -diff --git a/configure.in b/configure.in -index 908a1ae..30dd3bb 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.2.6], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2006, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 23f4cc9..707c303 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -298,6 +298,29 @@ tas(volatile slock_t *lock) - - #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__) /* Sparc */ - #define HAS_TEST_AND_SET -diff --git a/src/makefiles/Makefile.darwin b/src/makefiles/Makefile.darwin -index 9f761d4..83b2974 100644 ---- a/src/makefiles/Makefile.darwin -+++ b/src/makefiles/Makefile.darwin -@@ -5,7 +5,15 @@ DLSUFFIX = .so - CFLAGS_SL = - - ifdef PGXS -+ifdef PGXS_IN_SERVER -+ifndef PGXS_WITH_SERVER -+BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres -+else -+BE_DLLLIBS= -bundle_loader ${PGXS_WITH_SERVER} -+endif -+else - BE_DLLLIBS= -bundle_loader $(bindir)/postgres -+endif - else - BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres - endif diff --git a/dev-db/postgresql-libs/files/postgresql-8.2-libs.patch b/dev-db/postgresql-libs/files/postgresql-8.2-libs.patch deleted file mode 100644 index a57c8be..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.2-libs.patch +++ /dev/null @@ -1,105 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index 16f9057..cbf1f91 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -9,19 +9,16 @@ top_builddir = . - include $(top_builddir)/src/Makefile.global - - all: -- $(MAKE) -C doc all - $(MAKE) -C src all - $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - -diff --git a/src/Makefile b/src/Makefile -index 6d9043a..3935983 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -15,15 +15,11 @@ include Makefile.global - - all install installdirs uninstall dep depend distprep: - $(MAKE) -C port $@ -- $(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 $@ - $(MAKE) -C makefiles $@ -- $(MAKE) -C test/regress $@ - - install: install-local - -diff --git a/src/backend/Makefile b/src/backend/Makefile -index 9329db0..abbb8f9 100644 ---- a/src/backend/Makefile -+++ b/src/backend/Makefile -@@ -33,7 +33,7 @@ LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS) - - ########################################################################## - --all: submake-libpgport postgres $(POSTGRES_IMP) -+all: someheaders - - ifneq ($(PORTNAME), cygwin) - ifneq ($(PORTNAME), win32) -@@ -105,8 +105,7 @@ $(SUBSYSOBJS): $(DIRS:%=%-recursive) ; - - .PHONY: $(DIRS:%=%-recursive) - # Update the commonly used headers before building the subdirectories --$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h -- $(MAKE) -C $(subst -recursive,,$@) all -+someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h - - - # The postgres.o target is needed by the rule in Makefile.global that -@@ -153,22 +152,7 @@ distprep: - - ########################################################################## - --install: all installdirs install-bin --ifeq ($(PORTNAME), cygwin) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' --endif --endif --ifeq ($(PORTNAME), win32) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' --endif --endif -- $(MAKE) -C catalog install-data -- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample' -- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample' -- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample' -- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample' -+install: - - install-bin: postgres $(POSTGRES_IMP) installdirs - $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)' -diff --git a/src/bin/Makefile b/src/bin/Makefile -index 0d86213..b8e01fc 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,8 +13,7 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS := initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog -+DIRS := pg_config - ifeq ($(PORTNAME), win32) - DIRS+=pgevent - endif diff --git a/dev-db/postgresql-libs/files/postgresql-8.3-common.patch b/dev-db/postgresql-libs/files/postgresql-8.3-common.patch deleted file mode 100644 index c9f2ad2..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.3-common.patch +++ /dev/null @@ -1,88 +0,0 @@ -diff --git a/config/programs.m4 b/config/programs.m4 -index 9434113..d72b35c 100644 ---- a/config/programs.m4 -+++ b/config/programs.m4 -@@ -202,8 +202,12 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], - dnl FIXME: We should probably check for version >=0.10.36. - AC_CHECK_PROGS(XGETTEXT, xgettext) - -- # Note: share/locale is always the default, independent of $datadir -- localedir='${prefix}/share/locale' -+ # Note: share/locale *WAS* always the default, independent of $datadir -+ AC_ARG_WITH([locale-dir], -+ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]), -+ [ localedir="${withval}" ], -+ [ localedir='${prefix}/share/locale' ] -+ ) - AC_SUBST(localedir) - ])# PGAC_CHECK_GETTEXT - -diff --git a/configure.in b/configure.in -index 58cc61c..07ffc38 100644 ---- a/configure.in -+++ b/configure.in -@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - - AC_INIT([PostgreSQL], [8.3RC1], [pgsql-bugs@postgresql.org]) - --m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. --Untested combinations of 'autoconf' and PostgreSQL versions are not --recommended. You can remove the check from 'configure.in' but it is then --your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2008, PostgreSQL Global Development Group]) - AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) - AC_CONFIG_AUX_DIR(config) -diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 7d9448f..07799bc 100644 ---- a/src/include/storage/s_lock.h -+++ b/src/include/storage/s_lock.h -@@ -298,6 +298,29 @@ tas(volatile slock_t *lock) - - #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__) /* Sparc */ - #define HAS_TEST_AND_SET -diff --git a/src/makefiles/Makefile.darwin b/src/makefiles/Makefile.darwin -index 9f761d4..83b2974 100644 ---- a/src/makefiles/Makefile.darwin -+++ b/src/makefiles/Makefile.darwin -@@ -5,7 +5,15 @@ DLSUFFIX = .so - CFLAGS_SL = - - ifdef PGXS -+ifdef PGXS_IN_SERVER -+ifndef PGXS_WITH_SERVER -+BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres -+else -+BE_DLLLIBS= -bundle_loader ${PGXS_WITH_SERVER} -+endif -+else - BE_DLLLIBS= -bundle_loader $(bindir)/postgres -+endif - else - BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres - endif diff --git a/dev-db/postgresql-libs/files/postgresql-8.3-libs.patch b/dev-db/postgresql-libs/files/postgresql-8.3-libs.patch deleted file mode 100644 index 60d7289..0000000 --- a/dev-db/postgresql-libs/files/postgresql-8.3-libs.patch +++ /dev/null @@ -1,107 +0,0 @@ -diff --git a/GNUmakefile.in b/GNUmakefile.in -index f7bcc67..67715ef 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -9,19 +9,16 @@ top_builddir = . - include $(top_builddir)/src/Makefile.global - - all: -- $(MAKE) -C doc all - $(MAKE) -C src all - $(MAKE) -C config all - @echo "All of PostgreSQL successfully made. Ready to install." - - install: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - @echo "PostgreSQL installation complete." - - installdirs uninstall: -- $(MAKE) -C doc $@ - $(MAKE) -C src $@ - $(MAKE) -C config $@ - -diff --git a/src/Makefile b/src/Makefile -index 8d66bf6..335350d 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -15,16 +15,11 @@ include Makefile.global - - all install installdirs uninstall distprep: - $(MAKE) -C port $@ -- $(MAKE) -C timezone $@ - $(MAKE) -C backend $@ -- $(MAKE) -C backend/utils/mb/conversion_procs $@ -- $(MAKE) -C backend/snowball $@ - $(MAKE) -C include $@ - $(MAKE) -C interfaces $@ - $(MAKE) -C bin $@ -- $(MAKE) -C pl $@ - $(MAKE) -C makefiles $@ -- $(MAKE) -C test/regress $@ - - install: install-local - -diff --git a/src/backend/Makefile b/src/backend/Makefile -index 7e67bd3..8638d5d 100644 ---- a/src/backend/Makefile -+++ b/src/backend/Makefile -@@ -34,7 +34,7 @@ LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS) - - ########################################################################## - --all: submake-libpgport postgres $(POSTGRES_IMP) -+all: someheaders - - ifneq ($(PORTNAME), cygwin) - ifneq ($(PORTNAME), win32) -@@ -107,8 +107,7 @@ $(SUBSYSOBJS): $(DIRS:%=%-recursive) ; - - .PHONY: $(DIRS:%=%-recursive) - # Update the commonly used headers before building the subdirectories --$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h -- $(MAKE) -C $(subst -recursive,,$@) all -+someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h - - - # The postgres.o target is needed by the rule in Makefile.global that -@@ -155,23 +154,7 @@ distprep: - - ########################################################################## - --install: all installdirs install-bin --ifeq ($(PORTNAME), cygwin) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' --endif --endif --ifeq ($(PORTNAME), win32) --ifeq ($(MAKE_DLL), true) -- $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' --endif --endif -- $(MAKE) -C catalog install-data -- $(MAKE) -C tsearch install-data -- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample' -- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample' -- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample' -- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample' -+install: - - install-bin: postgres $(POSTGRES_IMP) installdirs - $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)' -diff --git a/src/bin/Makefile b/src/bin/Makefile -index ec8f7ce..5e5f63a 100644 ---- a/src/bin/Makefile -+++ b/src/bin/Makefile -@@ -13,8 +13,7 @@ subdir = src/bin - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - --DIRS = initdb ipcclean pg_ctl pg_dump \ -- psql scripts pg_config pg_controldata pg_resetxlog -+DIRS = pg_config - ifeq ($(PORTNAME), win32) - DIRS+=pgevent - endif diff --git a/dev-db/postgresql-libs/metadata.xml b/dev-db/postgresql-libs/metadata.xml deleted file mode 100644 index d06e452..0000000 --- a/dev-db/postgresql-libs/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>postgresql</herd> -</pkgmetadata> diff --git a/dev-db/postgresql-libs/postgresql-libs-7.3.21.ebuild b/dev-db/postgresql-libs/postgresql-libs-7.3.21.ebuild deleted file mode 100644 index 21fd42f..0000000 --- a/dev-db/postgresql-libs/postgresql-libs-7.3.21.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" -inherit eutils gnuconfig toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL libraries" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_cs linguas_de linguas_es linguas_fr linguas_hr linguas_hu - linguas_pt_BR linguas_ru linguas_sv linguas_tr linguas_zh_CN - linguas_zh_TW" -IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ${IUSE_LINGUAS}" -RESTRICT="test" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -RDEPEND="kerberos? ( virtual/krb5 ) - pam? ( virtual/pam ) - readline? ( >=sys-libs/readline-4.1 ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( >=sys-libs/zlib-1.1.3 ) - >=app-admin/eselect-postgresql-0.2 - " -DEPEND="${RDEPEND} - >=sys-devel/bison-1.875 - nls? ( sys-devel/gettext )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/postgresql-${PV}-autoconf.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-libs.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ - --datadir=/usr/share/postgresql-${SLOT} \ - --sysconfdir=/etc/postgresql-${SLOT} \ - --includedir=/usr/include/postgresql-${SLOT} \ - --with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ - --mandir=/usr/share/postgresql-${SLOT}/man \ - --host=${CHOST} \ - --with-docdir=/usr/share/doc/${PF} \ - --without-perl \ - --without-python \ - --without-tcl \ - $(use_with kerberos krb5) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable pg-intdatetime integer-datetimes ) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety ) \ - $(use_with zlib) \ - || die "configure failed" - - emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install install-all-headers || die "emake install failed" - dodir /usr/share/postgresql-${SLOT}/man/man1 - tar -zxf ${S}/doc/man.tar.gz -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - { - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" - echo "postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT}" - echo "postgres_datadir=/usr/share/postgresql-${SLOT}" - echo "postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin" - echo "postgres_symlinks=(" - IDIR="/usr/include/postgresql-${SLOT}" - echo " " ${IDIR} /usr/include/postgresql - echo " " {${IDIR},/usr/include}/libpq-fe.h - echo " " {${IDIR},/usr/include}/libpq - echo " " {${IDIR},/usr/include}/postgres_ext.h - echo ")" - } >"${D}/usr/lib/eselect-postgresql/slots/${SLOT}/libs" - cat >"${T}/50postgresql-99-${SLOT}" <<-__EOF__ - LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) - MANPATH=/usr/share/postgresql-${SLOT}/man - __EOF__ - doenvd "${T}/50postgresql-99-${SLOT}" -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} - elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-libs/postgresql-libs-7.4.19.ebuild b/dev-db/postgresql-libs/postgresql-libs-7.4.19.ebuild deleted file mode 100644 index cf4bc08..0000000 --- a/dev-db/postgresql-libs/postgresql-libs-7.4.19.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" -inherit eutils gnuconfig toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL libraries" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_cs linguas_de linguas_es linguas_fr linguas_hr linguas_hu - linguas_it linguas_nb linguas_pt_BR linguas_ru linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ${IUSE_LINGUAS}" -RESTRICT="test" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -RDEPEND="kerberos? ( virtual/krb5 ) - pam? ( virtual/pam ) - readline? ( >=sys-libs/readline-4.1 ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( >=sys-libs/zlib-1.1.3 ) - >=app-admin/eselect-postgresql-0.2 - " -DEPEND="${RDEPEND} - >=sys-devel/bison-1.875 - nls? ( sys-devel/gettext )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/postgresql-${PV}-autoconf.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-hppa.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-libs.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoreconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ - --datadir=/usr/share/postgresql-${SLOT} \ - --sysconfdir=/etc/postgresql-${SLOT} \ - --includedir=/usr/include/postgresql-${SLOT} \ - --with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ - --mandir=/usr/share/postgresql-${SLOT}/man \ - --host=${CHOST} \ - --with-docdir=/usr/share/doc/${PF} \ - --without-perl \ - --without-python \ - --without-tcl \ - $(use_with kerberos krb5) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable pg-intdatetime integer-datetimes ) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety ) \ - $(use_with zlib) \ - || die "configure failed" - - emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install install-all-headers \ - || die "emake install failed" - dodir /usr/share/postgresql-${SLOT}/man/man1 - tar -zxf "${S}/doc/man.tar.gz" -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - { - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" - echo "postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT}" - echo "postgres_datadir=/usr/share/postgresql-${SLOT}" - echo "postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin" - echo "postgres_symlinks=(" - IDIR="/usr/include/postgresql-${SLOT}" - echo " " ${IDIR} /usr/include/postgresql - echo " " {${IDIR},/usr/include}/libpq-fe.h - echo " " {${IDIR},/usr/include}/libpq - echo " " {${IDIR},/usr/include}/postgres_ext.h - echo ")" - } >"${D}/usr/lib/eselect-postgresql/slots/${SLOT}/libs" - cat >"${T}/50postgresql-98-${SLOT}" <<-__EOF__ - LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) - MANPATH=/usr/share/postgresql-${SLOT}/man - __EOF__ - doenvd "${T}/50postgresql-98-${SLOT}" - - into /usr/$(get_libdir)/postgresql-${SLOT} - dolib.a "${S}/src/port/libpgport.a" -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} - elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-libs/postgresql-libs-8.0.15.ebuild b/dev-db/postgresql-libs/postgresql-libs-8.0.15.ebuild deleted file mode 100644 index 4f9451c..0000000 --- a/dev-db/postgresql-libs/postgresql-libs-8.0.15.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" -inherit eutils toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL libraries" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ${IUSE_LINGUAS}" -RESTRICT="test" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -RDEPEND="kerberos? ( virtual/krb5 ) - pam? ( virtual/pam ) - readline? ( >=sys-libs/readline-4.1 ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( >=sys-libs/zlib-1.1.3 ) - >=app-admin/eselect-postgresql-0.2 - " -DEPEND="${RDEPEND} - >=sys-devel/bison-1.875 - nls? ( sys-devel/gettext )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-libs.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ - --datadir=/usr/share/postgresql-${SLOT} \ - --sysconfdir=/etc/postgresql-${SLOT} \ - --includedir=/usr/include/postgresql-${SLOT} \ - --with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ - --mandir=/usr/share/postgresql-${SLOT}/man \ - --with-docdir=/usr/share/doc/${PF} \ - --without-perl \ - --without-python \ - --without-tcl \ - $(use_with kerberos krb5) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable pg-intdatetime integer-datetimes ) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety ) \ - $(use_with zlib) \ - || die "configure failed" - - emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - dodir /usr/share/postgresql-${SLOT}/man/man1 - tar -zxf "${S}"/doc/man.tar.gz -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - { - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" - echo "postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT}" - echo "postgres_datadir=/usr/share/postgresql-${SLOT}" - echo "postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin" - echo "postgres_symlinks=(" - IDIR="/usr/include/postgresql-${SLOT}" - echo " " ${IDIR} /usr/include/postgresql - echo " " {${IDIR},/usr/include}/libpq-fe.h - echo " " {${IDIR},/usr/include}/libpq - echo " " {${IDIR},/usr/include}/postgres_ext.h - echo ")" - } >"${D}/usr/lib/eselect-postgresql/slots/${SLOT}/libs" - cat >"${T}/50postgresql-97-${SLOT}" <<-__EOF__ - LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) - MANPATH=/usr/share/postgresql-${SLOT}/man - __EOF__ - doenvd "${T}/50postgresql-97-${SLOT}" -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} - elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-libs/postgresql-libs-8.1.11.ebuild b/dev-db/postgresql-libs/postgresql-libs-8.1.11.ebuild deleted file mode 100644 index 196a6eb..0000000 --- a/dev-db/postgresql-libs/postgresql-libs-8.1.11.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" -inherit eutils toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL libraries" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ${IUSE_LINGUAS}" -RESTRICT="test" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -RDEPEND="kerberos? ( virtual/krb5 ) - pam? ( virtual/pam ) - readline? ( >=sys-libs/readline-4.1 ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( >=sys-libs/zlib-1.1.3 ) - >=app-admin/eselect-postgresql-0.2 - " -DEPEND="${RDEPEND} - >=sys-devel/bison-1.875 - nls? ( sys-devel/gettext )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-libs.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ - --datadir=/usr/share/postgresql-${SLOT} \ - --sysconfdir=/etc/postgresql-${SLOT} \ - --includedir=/usr/include/postgresql-${SLOT} \ - --with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ - --mandir=/usr/share/postgresql-${SLOT}/man \ - --with-docdir=/usr/share/doc/${PF} \ - --without-perl \ - --without-python \ - --without-tcl \ - $(use_with kerberos krb5) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable pg-intdatetime integer-datetimes ) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety ) \ - $(use_with zlib) \ - || die "configure failed" - - emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - dodir /usr/share/postgresql-${SLOT}/man/man1 - tar -zxf "${S}"/doc/man.tar.gz -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - { - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" - echo "postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT}" - echo "postgres_datadir=/usr/share/postgresql-${SLOT}" - echo "postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin" - echo "postgres_symlinks=(" - IDIR="/usr/include/postgresql-${SLOT}" - echo " " ${IDIR} /usr/include/postgresql - echo " " {${IDIR},/usr/include}/libpq-fe.h - echo " " {${IDIR},/usr/include}/libpq - echo " " {${IDIR},/usr/include}/postgres_ext.h - echo ")" - } >"${D}/usr/lib/eselect-postgresql/slots/${SLOT}/libs" - cat >"${T}/50postgresql-96-${SLOT}" <<-__EOF__ - LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) - MANPATH=/usr/share/postgresql-${SLOT}/man - __EOF__ - doenvd "${T}/50postgresql-96-${SLOT}" -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} - elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-libs/postgresql-libs-8.2.6.ebuild b/dev-db/postgresql-libs/postgresql-libs-8.2.6.ebuild deleted file mode 100644 index 5a53800..0000000 --- a/dev-db/postgresql-libs/postgresql-libs-8.2.6.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" -inherit eutils toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL libraries" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ldap ${IUSE_LINGUAS}" -RESTRICT="test" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -RDEPEND="kerberos? ( virtual/krb5 ) - pam? ( virtual/pam ) - readline? ( >=sys-libs/readline-4.1 ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( >=sys-libs/zlib-1.1.3 ) - >=app-admin/eselect-postgresql-0.2 - ldap? ( net-nds/openldap ) - " -DEPEND="${RDEPEND} - >=sys-devel/bison-1.875 - nls? ( sys-devel/gettext )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-libs.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ - --datadir=/usr/share/postgresql-${SLOT} \ - --sysconfdir=/etc/postgresql-${SLOT} \ - --includedir=/usr/include/postgresql-${SLOT} \ - --with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ - --mandir=/usr/share/postgresql-${SLOT}/man \ - --with-docdir=/usr/share/doc/${PF} \ - --enable-depend \ - --without-tcl \ - --without-perl \ - --without-python \ - $(use_with kerberos krb5) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable pg-intdatetime integer-datetimes ) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety ) \ - $(use_with zlib) \ - $(use_with ldap) \ - || die "configure failed" - - emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - dodir /usr/share/postgresql-${SLOT}/man/man1 - tar -zxf "${S}"/doc/man.tar.gz -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - { - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" - echo "postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT}" - echo "postgres_datadir=/usr/share/postgresql-${SLOT}" - echo "postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin" - echo "postgres_symlinks=(" - IDIR="/usr/include/postgresql-${SLOT}" - echo " " ${IDIR} /usr/include/postgresql - echo " " {${IDIR},/usr/include}/libpq-fe.h - echo " " {${IDIR},/usr/include}/libpq - echo " " {${IDIR},/usr/include}/postgres_ext.h - echo ")" - } >"${D}/usr/lib/eselect-postgresql/slots/${SLOT}/libs" - cat >"${T}"/50postgresql-95-${SLOT} <<-__EOF__ - LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) - MANPATH=/usr/share/postgresql-${SLOT}/man - __EOF__ - doenvd "${T}/50postgresql-95-${SLOT}" -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} - elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." -} - -pkg_postrm() { - eselect postgresql update -} diff --git a/dev-db/postgresql-libs/postgresql-libs-8.3_rc1.ebuild b/dev-db/postgresql-libs/postgresql-libs-8.3_rc1.ebuild deleted file mode 100644 index f79d024..0000000 --- a/dev-db/postgresql-libs/postgresql-libs-8.3_rc1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="none" -inherit eutils toolchain-funcs versionator autotools - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -DESCRIPTION="PostgreSQL libraries" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV/_rc/RC}/postgresql-${PV/_rc/RC}.tar.bz2" -LICENSE="POSTGRESQL" -SLOT="$(get_version_component_range 1-2)" -# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/' -IUSE_LINGUAS=" - linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr - linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl - linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv - linguas_tr linguas_zh_CN linguas_zh_TW" -IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ldap ${IUSE_LINGUAS}" -RESTRICT="test" - -wanted_languages() { - for u in ${IUSE_LINGUAS} ; do - use $u && echo ${u#linguas_} - done -} - -RDEPEND="kerberos? ( virtual/krb5 ) - pam? ( virtual/pam ) - readline? ( >=sys-libs/readline-4.1 ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( >=sys-libs/zlib-1.1.3 ) - >=app-admin/eselect-postgresql-0.2 - ldap? ( net-nds/openldap ) - " -DEPEND="${RDEPEND} - >=sys-devel/bison-1.875 - nls? ( sys-devel/gettext )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -S="${WORKDIR}/postgresql-${PV/_rc/RC}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" - epatch "${FILESDIR}/postgresql-${SLOT}-libs.patch" - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - eautoconf -} - -src_compile() { - # TODO: test if PPC really cannot work with other CFLAGS settings - # use ppc && CFLAGS="-pipe -fsigned-char" - econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ - --datadir=/usr/share/postgresql-${SLOT} \ - --sysconfdir=/etc/postgresql-${SLOT} \ - --includedir=/usr/include/postgresql-${SLOT} \ - --with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ - --mandir=/usr/share/postgresql-${SLOT}/man \ - --with-docdir=/usr/share/doc/${PF} \ - --enable-depend \ - --without-tcl \ - --without-perl \ - --without-python \ - $(use_with kerberos krb5) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable pg-intdatetime integer-datetimes ) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety ) \ - $(use_with zlib) \ - $(use_with ldap) \ - || die "configure failed" - - emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - dodir /usr/share/postgresql-${SLOT}/man/man1 - tar -zxf "${S}"/doc/man.tar.gz -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 - - dodoc README HISTORY doc/{README.*,TODO,bug.template} - - dodir /usr/lib/eselect-postgresql/slots/${SLOT} - { - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" - echo "postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT}" - echo "postgres_datadir=/usr/share/postgresql-${SLOT}" - echo "postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin" - echo "postgres_symlinks=(" - IDIR="/usr/include/postgresql-${SLOT}" - echo " " ${IDIR} /usr/include/postgresql - echo " " {${IDIR},/usr/include}/libpq-fe.h - echo " " {${IDIR},/usr/include}/libpq - echo " " {${IDIR},/usr/include}/postgres_ext.h - echo ")" - } >"${D}/usr/lib/eselect-postgresql/slots/${SLOT}/libs" - cat >"${T}"/50postgresql-95-${SLOT} <<-__EOF__ - LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) - MANPATH=/usr/share/postgresql-${SLOT}/man - __EOF__ - doenvd "${T}/50postgresql-95-${SLOT}" -} - -pkg_postinst() { - eselect postgresql update - [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} - elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." -} - -pkg_postrm() { - eselect postgresql update -} |