summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAaron Swenson <titanofold@gentoo.org>2013-04-04 16:24:30 +0000
committerAaron Swenson <titanofold@gentoo.org>2013-04-04 16:24:30 +0000
commitf0ae543eaba37929fb836f5e5baa9c3e0a6e36c3 (patch)
tree6be98f2daa53ac58fe8a7ef4a22826e902cbf0ce /dev-db
parentDrop unnecessary usage of autotools-utils and add support for (diff)
downloadhistorical-f0ae543eaba37929fb836f5e5baa9c3e0a6e36c3.tar.gz
historical-f0ae543eaba37929fb836f5e5baa9c3e0a6e36c3.tar.bz2
historical-f0ae543eaba37929fb836f5e5baa9c3e0a6e36c3.zip
Security bump. Bug 463884.
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64 Manifest-Sign-Key: 0xD1BBFDA0
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql-base/ChangeLog13
-rw-r--r--dev-db/postgresql-base/Manifest33
-rw-r--r--dev-db/postgresql-base/postgresql-base-8.4.17.ebuild (renamed from dev-db/postgresql-base/postgresql-base-8.3.23.ebuild)24
-rw-r--r--dev-db/postgresql-base/postgresql-base-9.0.13.ebuild162
-rw-r--r--dev-db/postgresql-base/postgresql-base-9.1.9.ebuild167
-rw-r--r--dev-db/postgresql-base/postgresql-base-9.2.4.ebuild173
-rw-r--r--dev-db/postgresql-base/postgresql-base-9999.ebuild2
-rw-r--r--dev-db/postgresql-docs/ChangeLog13
-rw-r--r--dev-db/postgresql-docs/Manifest30
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-8.4.17.ebuild (renamed from dev-db/postgresql-docs/postgresql-docs-8.3.23.ebuild)10
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-9.0.13.ebuild51
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-9.1.9.ebuild51
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-9.2.4.ebuild59
-rw-r--r--dev-db/postgresql-server/ChangeLog13
-rw-r--r--dev-db/postgresql-server/Manifest33
-rw-r--r--dev-db/postgresql-server/postgresql-server-8.4.17.ebuild (renamed from dev-db/postgresql-server/postgresql-server-8.3.23-r1.ebuild)79
-rw-r--r--dev-db/postgresql-server/postgresql-server-9.0.13.ebuild351
-rw-r--r--dev-db/postgresql-server/postgresql-server-9.1.9.ebuild346
-rw-r--r--dev-db/postgresql-server/postgresql-server-9.2.4.ebuild355
-rw-r--r--dev-db/postgresql-server/postgresql-server-9999.ebuild2
20 files changed, 1845 insertions, 122 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog
index bad4f4d66087..ae8ea32fd69e 100644
--- a/dev-db/postgresql-base/ChangeLog
+++ b/dev-db/postgresql-base/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-db/postgresql-base
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.231 2013/02/26 19:13:45 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.232 2013/04/04 16:21:44 titanofold Exp $
+
+*postgresql-base-9.2.4 (04 Apr 2013)
+*postgresql-base-9.1.9 (04 Apr 2013)
+*postgresql-base-9.0.13 (04 Apr 2013)
+*postgresql-base-8.4.17 (04 Apr 2013)
+
+ 04 Apr 2013; Aaron W. Swenson <titanofold@gentoo.org>
+ -postgresql-base-8.3.23.ebuild, +postgresql-base-8.4.17.ebuild,
+ +postgresql-base-9.0.13.ebuild, +postgresql-base-9.1.9.ebuild,
+ +postgresql-base-9.2.4.ebuild, postgresql-base-9999.ebuild:
+ Security bump. Bug 463884.
26 Feb 2013; Agostino Sarubbo <ago@gentoo.org> -postgresql-base-8.3.20.ebuild,
-postgresql-base-8.3.21.ebuild, -postgresql-base-8.3.22-r1.ebuild,
diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest
index 908c22013e32..3a06dfffd711 100644
--- a/dev-db/postgresql-base/Manifest
+++ b/dev-db/postgresql-base/Manifest
@@ -1,39 +1,34 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-DIST postgresql-8.3.23.tar.bz2 14684669 SHA256 17a46617ddbeb16f37d79b43f4e72301b051e6ef888a2eac960375bf579018d9 SHA512 fa8e01c615298e4e4c77e0c0bf26913a96572d4c578c48c77fd9197ab20fe5c43ed1e72b9552ed266ff272d859014da0c8c8d11a120b6c01bf561c7d0f77fdc1 WHIRLPOOL 25d737bcac9e77529e3cf07741acfb156e3991f6bc6f154d7007ee879b5c510261eab96b7147c2cc485506c28cfc6692b0165a6d370a50e6de0dbdf7900c0b50
DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5
+DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514
+DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d
+DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82
-DIST postgresql-patches-8.3-r3.tbz2 5490 SHA256 5c791bd4ddea564341f4c2766dec6749756938c5da9c289e35ed92e98a3c2bef SHA512 fa70d615df28b82159aa6d120f6fffc5700902b6b7a2c36d023a0ab4c113b7fbe5ca9dbc391ee6f1e934e3582c61d6b2e6cd73121f9dbb403d32c56d585e2140 WHIRLPOOL e126798b28496ceb6be2979c39cf9036ea4c5cbee19cdad65f5ff0a6072f417be8b332e16ca5f358f57326afd577a4145ac964d5abef9b069cf32f84692f9e9c
+DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-patches-8.4-r3.tbz2 4821 SHA256 f2c47ff5cf6af20020c87bc34362615af66675d7d44dd020ccfae425880e1ace SHA512 149434a1a55f130b91b87591ac6bbbd263893e90facfdc47418320561a91cb818dea6367af5b8afbb6c9cccea6053692ee3008c62cbe40e8819c7cac04389334 WHIRLPOOL 30d5945bd65e07f114d8ee27bcbc1dc7ae136a2b5a1f62ec44aad325208dc8387ae11f58c21ebf1447822b35fe35b79d64c86cf763e146dc9c2b5da7dc883d47
DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334012b8098361c321bd3f562ca9c32f6b8 SHA512 1e792eaf1e194e7a109a860216de98929bc12e6905846524e795fed7e8506f8f0e2e7349ead4fd9ba196c8eb6af2f5b143d0eecdb4cb7061253257acbce37873 WHIRLPOOL 8a32c0cd7f6b845496df8d1f6a0b2497625c0da36c5af1d651be086e9cd4faec48b56b04dca894a0e43e91309868db3014213d9989da5fd1d52d5b3775f8c1ad
DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82
DIST postgresql-patches-9.2.tbz2 4431 SHA256 8ce635671d5af4d2c8d9a0fc741b26f82f1fda16bb6a36726a32dae47021a632 SHA512 4c971bd3f4ae86a48f5e21a1e4ab087865d41f2445f5a9ddfcd7d11f1abab7be8968e5a1bcfbe4a1f7799e7ca1728604aa01641883c47746ebfab658c189f6e5 WHIRLPOOL 712fae68cdf5b06e05f98e23760d896c7361fe0b548839082b8b0c488597bd0f38b80585677d380f8ccb7ded39e759ee42fa9eff838439468b5ac3a501004e8d
DIST postgresql-patches-9.2beta2.tbz2 4466 SHA256 7033657bf66255fda3881ee6797ad0aa920e1910619228206b174065e5e348d2 SHA512 64150e055aabe04e1a298170a992c607313299d3990c05ac4146c05e6bb2a55e29999d45cf29d7111df5fda0f135980665c4c6c6c83d3f1df26c27334daf17bb WHIRLPOOL f67a99b39e99ab26e8d1125886493b53a3589908433618e7601281735dee4d2e54fdaed84e4608961264723cf27284e9ead798087f9b896a5ada8bdc70c51f9d
-EBUILD postgresql-base-8.3.23.ebuild 4335 SHA256 aca7a36a441346a771d7ece249f4b73f22e5eaf1433d07b89c904cfefbc8c717 SHA512 d50265f4bdca8633a2112256831c8252ab2375179da91590a1f8f6c4cf74f9fbe5ed00bb3e101c5cb643b7894b5baa6d717d01fb720641de3bded4b7c0d104bd WHIRLPOOL 6042e6ac644c94f0554b0abaaaf769dce73413691ce8aa8b4f23e62bf1f7b14fc75de694f8b0fb97162cfa624db04876b033bdb77f65c18c7877eaa5bb6c7389
EBUILD postgresql-base-8.4.16.ebuild 4334 SHA256 9cbd90708511efb30bb28d349e1c352ee3cf2f9e9ef776156ce8274b9dc101e0 SHA512 67be24885d8b7464324ef747ede81660afb9bc0cbdf1c4499f17b6f5e0883dc16e57ec948a67be08fbf82e3751a70a2a03accb757c2e3130faace0bdc4c10dae WHIRLPOOL e9a1b559b2347c6b53a2bf974671108840a73f9271e1c20b1ee840b2e87c12fd958323148bba7356b634f130a896ccf993635d709459e3b41fb1df8fcd5d7e4b
+EBUILD postgresql-base-8.4.17.ebuild 4351 SHA256 992350c44583a290199040770500de5819a98801eb9671cdf72ebb0556e19749 SHA512 4c14fb281155a9226e7ab4586a7d1d5583f142829e741524517d01aba90083b93fa0f847371c88cb735c555b8f0658d09e01629ffab1de1d0a3ec30227ff02d9 WHIRLPOOL f6f58919fa9eb21e027ab2c327da3911af4300a253c1d75a793ba8178f1ca1ab27077d38fce042b53345bb88fabb9ca3ba79bea13c9a6d7e90e644f3e8258d9c
EBUILD postgresql-base-9.0.12.ebuild 4488 SHA256 335d5173e08fbddd0b5a655072b65a23efbc9e105524f51b32830c18a5c11519 SHA512 42f36b984b4fa9c7f18acd24bf2e36a527dd6239107267f2855eee538c0a225ced8725736b46a65973ba2e2a8bf6f366208081a2b04234124fb796547546162a WHIRLPOOL 2d5640c2321a27b6249619a30f20c163adb4a9d9d3de72fd3725753fc970383b7eed1ed4c4d7e8d6a8bb1e737f2b619c9112da92e1b2ac13d7aaf90ecf8661e7
+EBUILD postgresql-base-9.0.13.ebuild 4505 SHA256 3b3822f9d0037bfbdad1a6f8021729ca4231b363dc6b97bbea16cbe27c56a032 SHA512 e4f99561c7a26b72a68c3d33c12e29685dd9b7df4a94b87b55a931356168dceaed1abfd66b2f2090d66b798bca1d950b963f354384e6df577b529962de348318 WHIRLPOOL b96a03ac09a9fd22afd4e1f0d8388b56d904a2a0078b846998f9baac723cdcc3fa141f3bf8ccb0d5b01e0761c6fa4889c79c26be2ceee733f0fa7d73457471d5
EBUILD postgresql-base-9.1.8.ebuild 4501 SHA256 9d752a03f327bef103be63c63cfae5d848a8acb0d29464443df01085862a43f8 SHA512 0b394677250ae717b841dfeacf176d8cfe8a7f5fb49100e910c5e983e988386c5e5360cd6d45d126d94457dbf2520c0790fb93edfd5a51d2430de5a4fc39fa42 WHIRLPOOL d3e5d569732b3d30ed96b1a4c51f1af1b80b532abd2ed1e6f41c663c92d2cd2d5a54c7dc316d83f9ecfd24ec1391b4ca3f1118df11a2c5ccb8a2f7f4bf2504f8
+EBUILD postgresql-base-9.1.9.ebuild 4518 SHA256 21f5403e9e6486558dd2618a2e74469dfb2df9ed9e658a2b26e969a8c9d89a80 SHA512 426322f293d8c924e36ea766382df939371cebc299c557ac14f218886b88f3176cbf778cca342968ce554ba619f0c11ee6a9ad1faedadfe56858c697ce03d22f WHIRLPOOL c4fdb6b22334e76cca7296c75b6ec324406708aab58a10d0e27aeeefe2bfd34bcc52542492cef10980aa60bae068bae096e19c5fd9da1b5752f075b78d04b6e9
EBUILD postgresql-base-9.2.3-r1.ebuild 4750 SHA256 0af8fc4241559770587c31b8d6cb1cd27b1703e021850c3fe2df3982f4cea007 SHA512 0c37a92d3e1a477687d11e04223edfff2a031b2a0a278572980a0271cc69c504751f8eabc56dd4ad8b1a5570a25594b2506c9ebd96fb1742a021b9e95c350cf0 WHIRLPOOL a9711c63e6a297d6975709ec3a4ce8ade0abb417a3e671ea949123951b1fdb0fc74b7edc3084ca4ae7d16b71edee2f89d828e4ad78ae2f353b2b4ab3c7ec7f36
-EBUILD postgresql-base-9999.ebuild 5040 SHA256 967c218b8f794452ff730a0fc92bee593fbd9b85c8ac81601f698c08bbd906c6 SHA512 6024b6909c7b735e336f36b244779965ed1aaf1eafc88d3aef9966bfebb6b8de503d362de03493fa5217a604de84ebb1676c8d914207c5372cbf6233337c84f8 WHIRLPOOL 84ef242e25fe88af6c99ecf3978eca61bf31a98516329e40a5119421f068d67d0ac0243f6cddbc5b70fff604b74f2890f20fe2704ee4aa2d1b5f0de8124a6f28
-MISC ChangeLog 59901 SHA256 5750f1a5b36362e25949d83e74e4d5df9ac859980b6b9f01bf426672002a564a SHA512 b4bedfe7bb9e2420c74dd4e037e59dc2dfb7f8a50b4b4ee11f4c81ccf655573e8359d5c6d21f86a677e17ca710dfb9d2e9e8c003da560216aad63d27eb7422b1 WHIRLPOOL aa1c2199f33b17df27c1dadd5c9b2036d1968fc2f3b7431b3752fef51bc2e05ce05046a4d904d7a0b343be65e43927dd83165251721679cc6c7af4dc0eb788e6
+EBUILD postgresql-base-9.2.4.ebuild 4764 SHA256 7a7693fb82ff0bdb2c3925559c9ae3edbb0b6f4117392bdbfaf5d9fbb8d4a81f SHA512 800662b45331b6f11eeb1f840c5bba6367f2677108136bb1818868e1dd277cdc009f708a34209fc0c8070c97bd25b0d8a4318d15ed9aaf7a02ab5770fa70fa52 WHIRLPOOL 17bb4885926bfb34c11d999fd20168f564c0d8fbd598209cd6fe0f641fd54b52daa79801e9f63b58ea9360d9a3b81159571d0dac6d458ffc6e3fa66aa327123d
+EBUILD postgresql-base-9999.ebuild 5040 SHA256 598a242edb66be0405ee9b71d2afc36b22d0a4c4a344a0a929c99d45458ac429 SHA512 6d6fbf35a949dbe59e6789c2eeb73273ab9616a9cd198174331fd3bf729c67a8381f9f778f7b498e4733f4c55da4343e9ea510f6445eb373c27aeeaefed26910 WHIRLPOOL 9253b4773ce66c8f15e869f59c6dd0f3461c4a0a203e50ea598099b07c2882ad3c693fa9a5a49c0786f2c9947a951691ee132af5efe3514c9da12530d8472497
+MISC ChangeLog 60338 SHA256 4422fa040613f45d8b88bff1d01f944a49c4cb177cc08dcfd83206b452b7c756 SHA512 9045d00e56a6f5a7d895809cb935d9d6b46935b05a71da92e0c840acf4699342e223b03a6642887415ca00b0d977b34e8d79bdda6f5685e010ea6bf019858db5 WHIRLPOOL da4ef463563244c7c5f4ef814d0c1f4fc8d891e9187ee40f29310c7723fc0a23eb7ae96fca6bf088e6acf8b64e004d55c0a7992a3f7444a724030dcf2a44c60f
MISC metadata.xml 472 SHA256 ee20753f4083988318c4c30155901e99a800dc8fb19fd77c80f9947c72abbf4c SHA512 e2006ed7628e82b2f97543cf1fa3cc04707e9094dfcce5a7a28facc3f7b2712089cbbc00163aeed9d42a0703163db4bb5c7c4b032bfe4c83bfd83cff5cdc194c WHIRLPOOL 354ead8d64f98d69d74be1e69128bed50df6e0fd77d79a6e8c599f8bb12010014a43ee997cf9b9807a00b31463c1a71f620b261c1ef3b4d33cb915ffebb9a493
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRLQjjAAoJELp701BxlEWfOHEQAJfVoa/fLsD8qZzqv7HtooE4
-2Xm3hbWIofMHk7BideGWUMy0bEkfrlirGUt7+WF0/5dnAsSKExJAmyA7RfOALbSM
-X/HfLCsXOnA+Zg6ULV3ZdAkX/J+OltXY0k9sfMBgeftLh2Wlb2MtiUvYzRdakxAh
-txSVPXmLdN56XpZFB9XcrXwOkQfbqkGQgqhnTaW5eu2pow+CevB48OKT9vgxNzUw
-RyU2ppv51E98Pn9o8xn3B3cRgXLqWb8m6SSb461ie1PJxQbIVpVzP3+LSFqdnXtB
-Rst6fkB0IMa7BR9zN7FFRbbNCGC+Qw6Lc4UTGik1A5LcFNGJmZRLebqzdQRVk4Vj
-NJaO9RSGVDbyaKePnW5zsDEhEhudJOfVVS/7ykq0n9PSi4ldIzL31DsvP+RFBdY0
-fjNqFTSWoB8PRSuqeZyB/ZeISr3pXO7B7RAjtmDzgaWTEZFpF94wOatrdo7gVR+V
-0S9DxbWV4ST8QW0N8Cbg923+/gFRv6i7QA5x+9ATjiqZlA4eZ0RMVQoi5U6NbcKE
-Y+Osp5a3CvUj3fd4/eYMA2a8uGQpQ74rRPbhVMach2oFoIuxI/RiCnhXI+kaPHEl
-47w3mfngpWsC+8rRyuuifGkOzFwzYo7g0ZJ1z6K0CCnvszPphGvK57dZD8OoXtkR
-VtxIkWx/pSUCNJFuitDN
-=wH2v
+iF4EAREIAAYFAlFdqJ8ACgkQVxOqA9G7/aAccwEAjKaiseWQO+sH+eX5C63vz7ir
+vjNz8KGgyOjyrw/x2doA/RZbrOsCJtugWr/umnyC+pOVI8YNz5YQhh0yLwhP4Mj9
+=vm85
-----END PGP SIGNATURE-----
diff --git a/dev-db/postgresql-base/postgresql-base-8.3.23.ebuild b/dev-db/postgresql-base/postgresql-base-8.4.17.ebuild
index edd0d763b99d..ebedbb6a514d 100644
--- a/dev-db/postgresql-base/postgresql-base-8.3.23.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-8.4.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.23.ebuild,v 1.12 2013/02/26 18:51:12 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.17.ebuild,v 1.1 2013/04/04 16:21:44 titanofold Exp $
EAPI="4"
@@ -10,12 +10,12 @@ inherit autotools eutils multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
- http://dev.gentoo.org/~titanofold/postgresql-patches-8.3-r3.tbz2"
+ http://dev.gentoo.org/~titanofold/postgresql-patches-8.4-r3.tbz2"
LICENSE="POSTGRESQL"
S="${WORKDIR}/postgresql-${PV}"
@@ -24,7 +24,7 @@ S="${WORKDIR}/postgresql-${PV}"
RESTRICT="test"
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
-IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib"
+IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
@@ -40,7 +40,7 @@ wanted_languages() {
echo -n ${enable_langs}
}
-RDEPEND=">=app-admin/eselect-postgresql-1.0.10
+RDEPEND=">=app-admin/eselect-postgresql-1.0.7
virtual/libintl
!!dev-db/libpq
!!dev-db/postgresql
@@ -64,7 +64,7 @@ PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \
- "${WORKDIR}/relax_ssl_perms.patch" "${WORKDIR}/SuperH.patch"
+ "${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
@@ -88,19 +88,19 @@ src_configure() {
local PO="${EPREFIX%/}"
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
+ --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
- --without-docdir \
+ --without-tcl \
--without-perl \
--without-python \
- --without-tcl \
$(use_with kerberos krb5) \
$(use_with kerberos gssapi) \
$(use_with ldap) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \
- $(use_enable pg-intdatetime integer-datetimes ) \
+ $(use_enable !pg_legacytimestamp integer-datetimes ) \
$(use_with readline) \
$(use_with ssl openssl) \
$(use_enable threads thread-safety) \
@@ -118,15 +118,15 @@ src_install() {
emake DESTDIR="${D}" install
insinto /usr/include/postgresql-${SLOT}/postmaster
doins "${S}"/src/include/postmaster/*.h
- dodir /usr/share/postgresql-${SLOT}/man/man1
- rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
+ rm -r "${ED}/usr/share/doc/postgresql-${SLOT}/html"
+ rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
insinto /usr/share/doc/postgresql-${SLOT}
- doins README HISTORY doc/{FAQ*,README.*,TODO,bug.template}
+ doins README HISTORY doc/{README.*,TODO,bug.template}
cd "${S}/contrib"
emake DESTDIR="${D}" install
diff --git a/dev-db/postgresql-base/postgresql-base-9.0.13.ebuild b/dev-db/postgresql-base/postgresql-base-9.0.13.ebuild
new file mode 100644
index 000000000000..c346f20e64cf
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-9.0.13.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.13.ebuild,v 1.1 2013/04/04 16:21:44 titanofold Exp $
+
+EAPI="4"
+
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib prefix versionator
+
+SLOT="$(get_version_component_range 1-2)"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+DESCRIPTION="PostgreSQL libraries and clients"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-9.0-r4.tbz2"
+LICENSE="POSTGRESQL"
+
+S="${WORKDIR}/postgresql-${PV}"
+
+# No tests to be done for clients and libraries
+RESTRICT="test"
+
+LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
+IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
+
+for lingua in ${LINGUAS} ; do
+ IUSE+=" linguas_${lingua}"
+done
+
+wanted_languages() {
+ local enable_langs
+
+ for lingua in ${LINGUAS} ; do
+ use linguas_${lingua} && enable_langs+="${lingua} "
+ done
+
+ echo -n ${enable_langs}
+}
+
+RDEPEND=">=app-admin/eselect-postgresql-1.0.7
+ virtual/libintl
+ !!dev-db/libpq
+ !!dev-db/postgresql
+ !!dev-db/postgresql-client
+ !!dev-db/postgresql-libs
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap )
+ pam? ( virtual/pam )
+ readline? ( sys-libs/readline )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ zlib? ( sys-libs/zlib )"
+
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ !!<sys-apps/sandbox-2.0
+ nls? ( sys-devel/gettext )"
+
+PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
+ "${WORKDIR}/bool.patch"
+
+ eprefixify src/include/pg_config_manual.h
+
+ # 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/" || die
+
+ if use pam ; then
+ sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
+ -i src/backend/libpq/auth.c \
+ || die 'PGSQL_PAM_SERVICE rename failed.'
+ fi
+
+ eautoconf
+}
+
+src_configure() {
+ case ${CHOST} in
+ *-darwin*|*-solaris*)
+ use nls && append-libs intl
+ ;;
+ esac
+ export LDFLAGS_SL="${LDFLAGS}"
+ export LDFLAGS_EX="${LDFLAGS}"
+ local PO="${EPREFIX%/}"
+ econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
+ --datadir="${PO}/usr/share/postgresql-${SLOT}" \
+ --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
+ --includedir="${PO}/usr/include/postgresql-${SLOT}" \
+ --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
+ --sysconfdir="${PO}/etc/postgresql-${SLOT}" \
+ --without-tcl \
+ --without-perl \
+ --without-python \
+ $(use_with kerberos krb5) \
+ $(use_with kerberos gssapi) \
+ $(use_with ldap) \
+ "$(use_enable nls nls "$(wanted_languages)")" \
+ $(use_with pam) \
+ $(use_enable !pg_legacytimestamp integer-datetimes) \
+ $(use_with readline) \
+ $(use_with ssl openssl) \
+ $(use_enable threads thread-safety) \
+ $(use_with zlib)
+}
+
+src_compile() {
+ emake
+
+ cd "${S}/contrib"
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ insinto /usr/include/postgresql-${SLOT}/postmaster
+ doins "${S}"/src/include/postmaster/*.h
+
+ dodir /usr/share/postgresql-${SLOT}/man/
+ cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
+ rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_controldata,pg_ctl,pg_resetxlog,postgres,postmaster}.1
+ docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
+
+ # Don't use ${PF} here as three packages
+ # (dev-db/postgresql-{docs,base,server}) have the same set of docs.
+ insinto /usr/share/doc/postgresql-${SLOT}
+ doins README HISTORY doc/{README.*,TODO,bug.template}
+
+ cd "${S}/contrib"
+ emake DESTDIR="${D}" install
+ cd "${S}"
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
+ > "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
+
+ keepdir /etc/postgresql-${SLOT}
+}
+
+pkg_postinst() {
+ postgresql-config update
+
+ elog "If you need a global psqlrc-file, you can place it in:"
+ elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
+ einfo
+ einfo "If this is your first install of PostgreSQL, you 'll want to:"
+ einfo " source /etc/profile"
+ einfo "In your open terminal sessions."
+}
+
+pkg_postrm() {
+ postgresql-config update
+}
diff --git a/dev-db/postgresql-base/postgresql-base-9.1.9.ebuild b/dev-db/postgresql-base/postgresql-base-9.1.9.ebuild
new file mode 100644
index 000000000000..161ebf1dba17
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-9.1.9.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.9.ebuild,v 1.1 2013/04/04 16:21:44 titanofold Exp $
+
+EAPI="4"
+
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib prefix versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+SLOT="$(get_version_component_range 1-2)"
+S="${WORKDIR}/postgresql-${PV}"
+
+DESCRIPTION="PostgreSQL libraries and clients"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-9.1-r2.tbz2"
+LICENSE="POSTGRESQL"
+
+# No tests to be done for clients and libraries
+RESTRICT="test"
+
+LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
+IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
+
+for lingua in ${LINGUAS} ; do
+ IUSE+=" linguas_${lingua}"
+done
+
+wanted_languages() {
+ local enable_langs
+
+ for lingua in ${LINGUAS} ; do
+ use linguas_${lingua} && enable_langs+="${lingua} "
+ done
+
+ echo -n ${enable_langs}
+}
+
+RDEPEND="!!dev-db/libpq
+ !!dev-db/postgresql
+ !!dev-db/postgresql-client
+ !!dev-db/postgresql-libs
+ >=app-admin/eselect-postgresql-1.0.10
+ virtual/libintl
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap )
+ pam? ( virtual/pam )
+ readline? ( sys-libs/readline )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ zlib? ( sys-libs/zlib )
+"
+
+DEPEND="${RDEPEND}
+ !!<sys-apps/sandbox-2.0
+ sys-devel/bison
+ sys-devel/flex
+ nls? ( sys-devel/gettext )
+"
+
+PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" \
+ "${WORKDIR}/base.patch" \
+ "${WORKDIR}/bool.patch"
+
+ eprefixify src/include/pg_config_manual.h
+
+ # 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/" || die
+
+ if use pam ; then
+ sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
+ -i src/backend/libpq/auth.c \
+ || die 'PGSQL_PAM_SERVICE rename failed.'
+ fi
+
+ eautoconf
+}
+
+src_configure() {
+ case ${CHOST} in
+ *-darwin*|*-solaris*)
+ use nls && append-libs intl
+ ;;
+ esac
+
+ export LDFLAGS_SL="${LDFLAGS}"
+ export LDFLAGS_EX="${LDFLAGS}"
+
+ local PO="${EPREFIX%/}"
+
+ econf \
+ --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
+ --datadir="${PO}/usr/share/postgresql-${SLOT}" \
+ --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
+ --sysconfdir="${PO}/etc/postgresql-${SLOT}" \
+ --includedir="${PO}/usr/include/postgresql-${SLOT}" \
+ --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
+ --without-tcl \
+ --without-perl \
+ --without-python \
+ $(use_with readline) \
+ $(use_with kerberos krb5) \
+ $(use_with kerberos gssapi) \
+ "$(use_enable nls nls "$(wanted_languages)")" \
+ $(use_with pam) \
+ $(use_enable !pg_legacytimestamp integer-datetimes) \
+ $(use_with ssl openssl) \
+ $(use_enable threads thread-safety) \
+ $(use_with zlib) \
+ $(use_with ldap)
+}
+
+src_compile() {
+ emake -j1
+
+ cd "${S}/contrib"
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ insinto /usr/include/postgresql-${SLOT}/postmaster
+ doins "${S}"/src/include/postmaster/*.h
+
+ dodir /usr/share/postgresql-${SLOT}/man/
+ cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
+ rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
+ docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
+
+ # Don't use ${PF} here as three packages
+ # (dev-db/postgresql-{docs,base,server}) have the same set of docs.
+ insinto /usr/share/doc/postgresql-${SLOT}
+ doins README HISTORY doc/{TODO,bug.template}
+
+ cd "${S}/contrib"
+ emake DESTDIR="${D}" install
+ cd "${S}"
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
+ "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
+
+ keepdir /etc/postgresql-${SLOT}
+}
+
+pkg_postinst() {
+ postgresql-config update
+
+ elog "If you need a global psqlrc-file, you can place it in:"
+ elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
+ einfo
+ einfo "If this is your first install of PostgreSQL, you 'll want to:"
+ einfo " source /etc/profile"
+ einfo "In your open terminal sessions."
+}
+
+pkg_postrm() {
+ postgresql-config update
+}
diff --git a/dev-db/postgresql-base/postgresql-base-9.2.4.ebuild b/dev-db/postgresql-base/postgresql-base-9.2.4.ebuild
new file mode 100644
index 000000000000..7a0d803eb792
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-9.2.4.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.2.4.ebuild,v 1.1 2013/04/04 16:21:44 titanofold Exp $
+
+EAPI="4"
+
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib prefix versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+SLOT="$(get_version_component_range 1-2)"
+
+# Comment the following five lines when not a beta or rc.
+#MY_PV="${PV//_}"
+#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
+#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
+#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2
+# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2"
+
+# Comment the following three lines when a beta or rc.
+S="${WORKDIR}/postgresql-${PV}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2"
+
+LICENSE="POSTGRESQL"
+DESCRIPTION="PostgreSQL libraries and clients"
+HOMEPAGE="http://www.postgresql.org/"
+
+# No tests to be done for clients and libraries
+RESTRICT="test"
+
+LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
+IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
+
+for lingua in ${LINGUAS} ; do
+ IUSE+=" linguas_${lingua}"
+done
+
+wanted_languages() {
+ local enable_langs
+
+ for lingua in ${LINGUAS} ; do
+ use linguas_${lingua} && enable_langs+="${lingua} "
+ done
+
+ echo -n ${enable_langs}
+}
+
+RDEPEND="!!dev-db/libpq
+ !!dev-db/postgresql
+ !!dev-db/postgresql-client
+ !!dev-db/postgresql-libs
+ sys-apps/less
+ >=app-admin/eselect-postgresql-1.0.10
+ virtual/libintl
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap )
+ pam? ( virtual/pam )
+ readline? ( sys-libs/readline )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ zlib? ( sys-libs/zlib )
+"
+
+DEPEND="${RDEPEND}
+ !!<sys-apps/sandbox-2.0
+ sys-devel/bison
+ sys-devel/flex
+ nls? ( sys-devel/gettext )
+"
+
+PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" \
+ "${WORKDIR}/base.patch" \
+ "${WORKDIR}/bool.patch"
+
+ eprefixify src/include/pg_config_manual.h
+
+ # 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/" || die
+
+ if use pam ; then
+ sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
+ -i src/backend/libpq/auth.c \
+ || die 'PGSQL_PAM_SERVICE rename failed.'
+ fi
+
+ eautoconf
+}
+
+src_configure() {
+ case ${CHOST} in
+ *-darwin*|*-solaris*)
+ use nls && append-libs intl
+ ;;
+ esac
+
+ export LDFLAGS_SL="${LDFLAGS}"
+ export LDFLAGS_EX="${LDFLAGS}"
+
+ local PO="${EPREFIX%/}"
+
+ econf \
+ --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
+ --datadir="${PO}/usr/share/postgresql-${SLOT}" \
+ --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
+ --sysconfdir="${PO}/etc/postgresql-${SLOT}" \
+ --includedir="${PO}/usr/include/postgresql-${SLOT}" \
+ --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
+ --without-tcl \
+ --without-perl \
+ --without-python \
+ $(use_with readline) \
+ $(use_with kerberos krb5) \
+ $(use_with kerberos gssapi) \
+ "$(use_enable nls nls "$(wanted_languages)")" \
+ $(use_with pam) \
+ $(use_enable !pg_legacytimestamp integer-datetimes) \
+ $(use_with ssl openssl) \
+ $(use_enable threads thread-safety) \
+ $(use_with zlib) \
+ $(use_with ldap)
+}
+
+src_compile() {
+ emake
+
+ cd "${S}/contrib"
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ insinto /usr/include/postgresql-${SLOT}/postmaster
+ doins "${S}"/src/include/postmaster/*.h
+
+ dodir /usr/share/postgresql-${SLOT}/man/
+ cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
+ rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
+ docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
+
+ # Don't use ${PF} here as three packages
+ # (dev-db/postgresql-{docs,base,server}) have the same set of docs.
+ insinto /usr/share/doc/postgresql-${SLOT}
+ doins README HISTORY doc/{TODO,bug.template}
+
+ cd "${S}/contrib"
+ emake DESTDIR="${D}" install
+ cd "${S}"
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
+ "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
+
+ keepdir /etc/postgresql-${SLOT}
+}
+
+pkg_postinst() {
+ postgresql-config update
+
+ elog "If you need a global psqlrc-file, you can place it in:"
+ elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
+}
+
+pkg_postrm() {
+ postgresql-config update
+}
diff --git a/dev-db/postgresql-base/postgresql-base-9999.ebuild b/dev-db/postgresql-base/postgresql-base-9999.ebuild
index 94faeb32584f..8d716f64f4f4 100644
--- a/dev-db/postgresql-base/postgresql-base-9999.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9999.ebuild,v 1.4 2013/02/08 18:48:08 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9999.ebuild,v 1.5 2013/04/04 16:21:44 titanofold Exp $
EAPI="4"
diff --git a/dev-db/postgresql-docs/ChangeLog b/dev-db/postgresql-docs/ChangeLog
index 2ce2c356f67f..d50bdac864ee 100644
--- a/dev-db/postgresql-docs/ChangeLog
+++ b/dev-db/postgresql-docs/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-db/postgresql-docs
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.198 2013/02/26 19:13:24 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.199 2013/04/04 16:18:50 titanofold Exp $
+
+*postgresql-docs-9.2.4 (04 Apr 2013)
+*postgresql-docs-9.1.9 (04 Apr 2013)
+*postgresql-docs-9.0.13 (04 Apr 2013)
+*postgresql-docs-8.4.17 (04 Apr 2013)
+
+ 04 Apr 2013; Aaron W. Swenson <titanofold@gentoo.org>
+ -postgresql-docs-8.3.23.ebuild, +postgresql-docs-8.4.17.ebuild,
+ +postgresql-docs-9.0.13.ebuild, +postgresql-docs-9.1.9.ebuild,
+ +postgresql-docs-9.2.4.ebuild:
+ Security bump. Bug 463884.
26 Feb 2013; Agostino Sarubbo <ago@gentoo.org> -postgresql-docs-8.3.20.ebuild,
-postgresql-docs-8.3.21.ebuild, -postgresql-docs-8.3.22-r1.ebuild,
diff --git a/dev-db/postgresql-docs/Manifest b/dev-db/postgresql-docs/Manifest
index d87f67e5d53d..b2dc7904898f 100644
--- a/dev-db/postgresql-docs/Manifest
+++ b/dev-db/postgresql-docs/Manifest
@@ -1,32 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-DIST postgresql-8.3.23.tar.bz2 14684669 SHA256 17a46617ddbeb16f37d79b43f4e72301b051e6ef888a2eac960375bf579018d9 SHA512 fa8e01c615298e4e4c77e0c0bf26913a96572d4c578c48c77fd9197ab20fe5c43ed1e72b9552ed266ff272d859014da0c8c8d11a120b6c01bf561c7d0f77fdc1 WHIRLPOOL 25d737bcac9e77529e3cf07741acfb156e3991f6bc6f154d7007ee879b5c510261eab96b7147c2cc485506c28cfc6692b0165a6d370a50e6de0dbdf7900c0b50
DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5
+DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514
+DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d
+DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82
-EBUILD postgresql-docs-8.3.23.ebuild 1401 SHA256 165300c12863cd6a4a5f09cdd0c73c1a84a09c2d20d874d75146b6b5ed37f554 SHA512 931c229d26d98ff2acca85210e034ed31eedf29d068a4be3fc2a462358e776aaae18d3e247306ab97faf73769b0cb00012925aa01b0df56dd47e263d2091587e WHIRLPOOL 4a5d891451559192eed2b562f7f6374214130abde28b5cf699c2be10aa4b0dc955f66fe7195827727215134416b1203f33dfc24b23f198019268e19a04fe891f
+DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
EBUILD postgresql-docs-8.4.16.ebuild 1302 SHA256 505caafbd7f212620cc2483002d187b807f31e7b57d3e8bb0dfdd019e3ec2979 SHA512 c5959160fdbd98ca4fc63cea6bde23be886c86778f69ae9345785297a043fccd845fef1a4e555aeef2b927bf2ab126747e9d6ee74bc9a6951eb4431514fa250c WHIRLPOOL cabb6aa5f3408e0a65d0ff7fe558ca9a7e0c4a3028a24cc79cf65993b2116fa574735a8baf6273a5f70c37aea634d6f06bc9663df1a24fe3ddd1b449cec770b1
+EBUILD postgresql-docs-8.4.17.ebuild 1319 SHA256 8aa1f435a79dd5979c1a963cb23cd1ab20f70380136034775752f9f7bc10ee63 SHA512 2aa41783418137c5dad2d6cfb6689a49199573faccbefa6e118598b7ebc7424188463301c3b2ee2d4f5cb6e67ec9838ed3bc4498b1ca58d94eb9ff0f45062cc8 WHIRLPOOL 34ce34813799545c88eb82eb3c6fcb83d0a2b3bac2a07ce86560a28af28cdba8ae19ce67ad7d392c6bba4556e2664bfd7c10e37c4f4bd3c9f3823ddb8f6b7113
EBUILD postgresql-docs-9.0.12.ebuild 1291 SHA256 37a3534193b1f4d65d8b41b0b9d77f1946633123185f71fad15212bd08f6ad42 SHA512 9ab99144280b4691968cace91ebe364b7145f33c728796a76a1d1f85bd756c460f0bde336c1b2fe014c22d1cfa50dc5a1dc4cf785f08c457e7de6ad2fb76deae WHIRLPOOL 33e0d0704996575597dd466256949205ef67eeed48cc9d263810d831870477376cb68bf1f0f2f6e878c31d9ab703d6f7196655741b50aa5bbf1bc3eed1b0a2e1
+EBUILD postgresql-docs-9.0.13.ebuild 1308 SHA256 110504d737df9f1827c72a7fb956024dc9d19b159808032068dccfda804db960 SHA512 7904fa10d987d9e5ae81a9673bd64f774d20e402ebeb3c39accafacb557eb213c248d888e0afd4849ca9227e45162489886f1857f9477a717406d25597ba5b01 WHIRLPOOL 918384edabee8464cb40ca37c08c9f59378e8eeadd8e37842da4bebce2b0920b31cc55b55d98c4c1a1ea76200ea23923ba7d3cbd0e8614cf57cbb7b2dac1a38a
EBUILD postgresql-docs-9.1.8.ebuild 1304 SHA256 553f5026af09d8b2ef3f86c42d105097fa81bb58741ec6017f707673aa4615a2 SHA512 6f503afd14eb280e6503c47045e32fd9402dea0ce223c4485603dfccb595784cbbdd31f97dabe7e1948843b57ca9801e53f0124ea26367aaa3863caae9371ba6 WHIRLPOOL f6d343052d3b10d6e2c6b77c4f5479e503bcd40f6033837f61683d4db0426ea28d002a3899dc239b43dbed033a993947ddd7531555307195af3d545b8346b71c
+EBUILD postgresql-docs-9.1.9.ebuild 1321 SHA256 af0fe42942568098eced6c8f5dc3f38c9db0a34bd6c38b424b699d63a59133e4 SHA512 0413e8387fa97af6404622a6e5562327a839a17d11bff4a0050346632d9714843df31ec67b270fd5d6bae736d431cda5e5277ce354bbc28f89b7d014d949ed66 WHIRLPOOL f7c8155090c8d47b7f4aa38df932a76076e5b00b2b790cc001c6a5da3e2d567a6894ec940a492674459c17a8c280d9ef95f5e1c7ab0e1d610e5ba6a80297c1ca
EBUILD postgresql-docs-9.2.3.ebuild 1616 SHA256 e6ef812fe0207ec27b60f65301b272d2a80aa68826c96628f18d36ce0e83d0a1 SHA512 169871fa00cea8438cddb21d11eba948e9d688d4c8afc1aaf6bb64ebab891f591dd6e3e262d9a9ae072d66b4bbf5194609ac2f94797f6392b3d82c50d2b1705b WHIRLPOOL 7feb04700c1355748a2eea352f5e7f16c279c6b926cb79fd9035c6a9d21bc1206d274152f0fe2933cba59dce55ff09ae40a34c6818ee7b77a88914ab1d9c4515
-MISC ChangeLog 43114 SHA256 34516c5996f568e0a18fece48398f50f6164ded4473fa7b4d6cab7623c4dad95 SHA512 1f6a0ad756dbdbb98b6d4ad2afa704d21c28a725ec9a20bd2badde3f710be25a59606e210090aa1d94f95844587f5e753e6ba7b272e1a4adf294862bacebb027 WHIRLPOOL 0be798a11ff07955bcd824f513d6c257597c942e5a95217cf0ba75aa9f5e86861f463d6b09fb5f0c17a15a5da992c736ab0f33a9e5e492bcab4fa999ca41c290
+EBUILD postgresql-docs-9.2.4.ebuild 1633 SHA256 8dad0855fda960c3951946d3556b23387f17b9f62344616fda1ee7bf34b66771 SHA512 04908ec66f957d12b35d3eae28344432f19c0746851c3494e2bc56250443e53d76523eb201edad59312f1e243147d4d88b99ebb932b689f12307dffe6e184795 WHIRLPOOL 0513aebf56b28a89eb7a0a8736e961f1c2ff6f91b191ea239517da7646aaba4c2aa67926b0f2f6a11424fb1ba664cb3616d8e19da269c9e2770cb4060e2c8d0d
+MISC ChangeLog 43522 SHA256 9a0e3c43e24cd9381a79cfbfa8ce275c467cbc12d30fa16c04a14c61b54a4699 SHA512 998dca4920cd3be89c087c152b57783f3512d3e66cdd311874874d89a8f1ff280fbbfad7a6c077b29e876a4da4a3d00e423f81a67a6446198d391fe07e317aa6 WHIRLPOOL ad30df4fe6e54cb42dce8946f465dec42b05ef98f41b8d041d947c098c30e605cd3cb65212d7d177e97af6dcc6a2c3cc79aa140dcd89cdb17f7cf0e21b854cae
MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRLQjOAAoJELp701BxlEWfhSIP+gLnNy4IFwsq8m98tLwJltJI
-X3Yc/Esk5ZorRtEF4irqOCkP3oFD7PUQNj1w4PcUniCjuuXLidpNh3+KdcOL3TGk
-ik4ZQzj/3jlWXW+fODuisO00HzKNfghcBcEY/fylTcQXzccuGtkWEHm27O+/sZ5U
-ICqW9sUPRov22DSIhKnRtEPpyjZzkvYYGpQTAVGQTArAx5ZA/dDHiXHjo1GMFkqc
-E4RNkzz7qNwYvpS2n1YKgt9oVp7Sd8lV5HTRyhp3cxGVf7JnpmwFDRoMzzZGjIf8
-/L98ok8eHGUqjUBr+CoCrqgWYYISwjdSGmKeuKQ83Dtc7GhwtlYxIWYyqXquF6Nz
-807cfC7WMM/M+tAX0HI4bA4XPsL7i4Nf/jCTbIXOnXOgoomn2zclCPt/q82etqc7
-A3/rxOFbxtvS3Q6zs9GldlFCO1m770zE68Srf9A4l+KZ+4L7Me4anqFabx2+Pcx2
-svTBDpjVJgRzpL3+PqjwlUxBpbcd2tttbcz6Ejis8ee1QjyUJ3M5C3NeLsGtEJ/L
-mLUpL4lml7nbpA7/ugA1758YmCGgY3b2x2ArBGWqG0WrrLWlQ/jKXGdq26thDysV
-nT8M8nCRU9Y9HKWrYhHxBrHeWZuLSsF28EDvQiTsPrh502h+bXaJCGYBXssVbydN
-51yzyWDkVxKJ5Wbu0EG4
-=8guY
+iF4EAREIAAYFAlFdp/QACgkQVxOqA9G7/aAAVwD/dDhkJUdKV1cwVCujyW8OAkFD
+kAh8Ko81C5+gnfLaeRgBAKHmjPJFiMrZoaLKu7xkTZhB243gj8qvUTDr7O5O87va
+=Ms3h
-----END PGP SIGNATURE-----
diff --git a/dev-db/postgresql-docs/postgresql-docs-8.3.23.ebuild b/dev-db/postgresql-docs/postgresql-docs-8.4.17.ebuild
index cd47bd07dfdb..4eb2452ccbb7 100644
--- a/dev-db/postgresql-docs/postgresql-docs-8.3.23.ebuild
+++ b/dev-db/postgresql-docs/postgresql-docs-8.4.17.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.3.23.ebuild,v 1.12 2013/02/26 18:50:21 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.4.17.ebuild,v 1.1 2013/04/04 16:18:49 titanofold Exp $
EAPI="4"
inherit versionator
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
RESTRICT="test"
@@ -37,18 +37,12 @@ src_install() {
dodir ${mypath}/html
tar -zxf "postgres.tar.gz" -C "${ED}${mypath}/html" || die
- insinto ${mypath}/FAQ_html
- doins src/FAQ/*
-
insinto ${mypath}/sgml
doins src/sgml/*.{sgml,dsl}
insinto ${mypath}/sgml/ref
doins src/sgml/ref/*.sgml
- insinto ${mypath}/TODO.detail
- doins TODO.detail/*
-
fowners root:0 -R ${mypath}
dodir /etc/eselect/postgresql/slots/${SLOT}
diff --git a/dev-db/postgresql-docs/postgresql-docs-9.0.13.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.0.13.ebuild
new file mode 100644
index 000000000000..741e1a352fef
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-9.0.13.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.0.13.ebuild,v 1.1 2013/04/04 16:18:50 titanofold Exp $
+
+EAPI="4"
+
+inherit versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+RESTRICT="test"
+
+DESCRIPTION="PostgreSQL documentation"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
+LICENSE="POSTGRESQL"
+
+S=${WORKDIR}/postgresql-${PV}
+SLOT="$(get_version_component_range 1-2)"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
+}
+
+src_install() {
+ # Don't use ${PF} here as three packages
+ # (dev-db/postgresql-{docs,base,server}) have the same set of docs.
+ local mypath=/usr/share/doc/postgresql-${SLOT}
+
+ cd "${S}/doc"
+
+ insinto ${mypath}/html
+ doins src/sgml/html/*
+
+ insinto ${mypath}/sgml
+ doins src/sgml/*.{sgml,dsl}
+
+ insinto ${mypath}/sgml/ref
+ doins src/sgml/ref/*.sgml
+
+ fowners root:0 -R ${mypath}
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
+ "${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
+}
diff --git a/dev-db/postgresql-docs/postgresql-docs-9.1.9.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.1.9.ebuild
new file mode 100644
index 000000000000..102eb3454279
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-9.1.9.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.1.9.ebuild,v 1.1 2013/04/04 16:18:50 titanofold Exp $
+
+EAPI="4"
+
+inherit versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+RESTRICT="test"
+
+SLOT="$(get_version_component_range 1-2)"
+S="${WORKDIR}/postgresql-${PV}"
+
+DESCRIPTION="PostgreSQL documentation"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
+LICENSE="POSTGRESQL"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
+}
+
+src_install() {
+ # Don't use ${PF} here as three packages
+ # (dev-db/postgresql-{docs,base,server}) have the same set of docs.
+ local mypath=/usr/share/doc/postgresql-${SLOT}
+
+ cd "${S}/doc"
+
+ insinto ${mypath}/html
+ doins src/sgml/html/*
+
+ insinto ${mypath}/sgml
+ doins src/sgml/*.{sgml,dsl}
+
+ insinto ${mypath}/sgml/ref
+ doins src/sgml/ref/*.sgml
+
+ fowners root:0 -R ${mypath}
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
+ "${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
+}
diff --git a/dev-db/postgresql-docs/postgresql-docs-9.2.4.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.2.4.ebuild
new file mode 100644
index 000000000000..b3626209f68c
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-9.2.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.2.4.ebuild,v 1.1 2013/04/04 16:18:50 titanofold Exp $
+
+EAPI="4"
+
+inherit versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+RESTRICT="test"
+
+DESCRIPTION="PostgreSQL documentation"
+HOMEPAGE="http://www.postgresql.org/"
+LICENSE="POSTGRESQL"
+
+SLOT="$(get_version_component_range 1-2)"
+
+# Comment the following four lines when not a beta or rc.
+#MY_PV="${PV//_}"
+#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
+#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
+#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2"
+
+# Comment the following two lines when a beta or rc.
+S="${WORKDIR}/postgresql-${PV}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
+}
+
+src_install() {
+ # Don't use ${PF} here as three packages
+ # (dev-db/postgresql-{docs,base,server}) have the same set of docs.
+ local mypath=/usr/share/doc/postgresql-${SLOT}
+
+ cd "${S}/doc"
+
+ insinto ${mypath}/html
+ doins src/sgml/html/*
+
+ insinto ${mypath}/sgml
+ doins src/sgml/*.{sgml,dsl}
+
+ insinto ${mypath}/sgml/ref
+ doins src/sgml/ref/*.sgml
+
+ fowners root:0 -R ${mypath}
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
+ "${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
+}
diff --git a/dev-db/postgresql-server/ChangeLog b/dev-db/postgresql-server/ChangeLog
index f43bc47fb8ce..7dacc5d1b345 100644
--- a/dev-db/postgresql-server/ChangeLog
+++ b/dev-db/postgresql-server/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-db/postgresql-server
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.244 2013/02/26 19:14:08 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.245 2013/04/04 16:24:14 titanofold Exp $
+
+*postgresql-server-9.2.4 (04 Apr 2013)
+*postgresql-server-9.1.9 (04 Apr 2013)
+*postgresql-server-9.0.13 (04 Apr 2013)
+*postgresql-server-8.4.17 (04 Apr 2013)
+
+ 04 Apr 2013; Aaron W. Swenson <titanofold@gentoo.org>
+ -postgresql-server-8.3.23-r1.ebuild, +postgresql-server-8.4.17.ebuild,
+ +postgresql-server-9.0.13.ebuild, +postgresql-server-9.1.9.ebuild,
+ +postgresql-server-9.2.4.ebuild, postgresql-server-9999.ebuild:
+ Security bump. Bug 463884.
26 Feb 2013; Agostino Sarubbo <ago@gentoo.org>
-postgresql-server-8.3.20.ebuild, -postgresql-server-8.3.21.ebuild,
diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest
index 3db75a9627cf..88c814800bf9 100644
--- a/dev-db/postgresql-server/Manifest
+++ b/dev-db/postgresql-server/Manifest
@@ -1,41 +1,36 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-DIST postgresql-8.3.23.tar.bz2 14684669 SHA256 17a46617ddbeb16f37d79b43f4e72301b051e6ef888a2eac960375bf579018d9 SHA512 fa8e01c615298e4e4c77e0c0bf26913a96572d4c578c48c77fd9197ab20fe5c43ed1e72b9552ed266ff272d859014da0c8c8d11a120b6c01bf561c7d0f77fdc1 WHIRLPOOL 25d737bcac9e77529e3cf07741acfb156e3991f6bc6f154d7007ee879b5c510261eab96b7147c2cc485506c28cfc6692b0165a6d370a50e6de0dbdf7900c0b50
DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5
+DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514
+DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d
+DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82
+DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f
DIST postgresql-initscript-pre92-2.4.tbz2 2598 SHA256 a7a432e04b5346794b088ef92a35b46db31de85408e0029dae6b502af572aedc SHA512 3ab35b8cc392e3cd86874525edf664c8445cae19ac2338ef52808ee78aff5e4f9147b0e61caf89b732c103ff73875fb1db4dd0cb214587a58607db6529358a27 WHIRLPOOL f3ab508236d391821e4ddaa7a2224681aff60fc5453a3659f7994e45d8278eee02b8aa71dcfd446628b6ca1d212c7221b40212f45ac955821f1b78a97cdce703
-DIST postgresql-patches-8.3-r3.tbz2 5490 SHA256 5c791bd4ddea564341f4c2766dec6749756938c5da9c289e35ed92e98a3c2bef SHA512 fa70d615df28b82159aa6d120f6fffc5700902b6b7a2c36d023a0ab4c113b7fbe5ca9dbc391ee6f1e934e3582c61d6b2e6cd73121f9dbb403d32c56d585e2140 WHIRLPOOL e126798b28496ceb6be2979c39cf9036ea4c5cbee19cdad65f5ff0a6072f417be8b332e16ca5f358f57326afd577a4145ac964d5abef9b069cf32f84692f9e9c
DIST postgresql-patches-8.4-r3.tbz2 4821 SHA256 f2c47ff5cf6af20020c87bc34362615af66675d7d44dd020ccfae425880e1ace SHA512 149434a1a55f130b91b87591ac6bbbd263893e90facfdc47418320561a91cb818dea6367af5b8afbb6c9cccea6053692ee3008c62cbe40e8819c7cac04389334 WHIRLPOOL 30d5945bd65e07f114d8ee27bcbc1dc7ae136a2b5a1f62ec44aad325208dc8387ae11f58c21ebf1447822b35fe35b79d64c86cf763e146dc9c2b5da7dc883d47
DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334012b8098361c321bd3f562ca9c32f6b8 SHA512 1e792eaf1e194e7a109a860216de98929bc12e6905846524e795fed7e8506f8f0e2e7349ead4fd9ba196c8eb6af2f5b143d0eecdb4cb7061253257acbce37873 WHIRLPOOL 8a32c0cd7f6b845496df8d1f6a0b2497625c0da36c5af1d651be086e9cd4faec48b56b04dca894a0e43e91309868db3014213d9989da5fd1d52d5b3775f8c1ad
DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82
DIST postgresql-patches-9.2.tbz2 4431 SHA256 8ce635671d5af4d2c8d9a0fc741b26f82f1fda16bb6a36726a32dae47021a632 SHA512 4c971bd3f4ae86a48f5e21a1e4ab087865d41f2445f5a9ddfcd7d11f1abab7be8968e5a1bcfbe4a1f7799e7ca1728604aa01641883c47746ebfab658c189f6e5 WHIRLPOOL 712fae68cdf5b06e05f98e23760d896c7361fe0b548839082b8b0c488597bd0f38b80585677d380f8ccb7ded39e759ee42fa9eff838439468b5ac3a501004e8d
DIST postgresql-patches-9.2beta2.tbz2 4466 SHA256 7033657bf66255fda3881ee6797ad0aa920e1910619228206b174065e5e348d2 SHA512 64150e055aabe04e1a298170a992c607313299d3990c05ac4146c05e6bb2a55e29999d45cf29d7111df5fda0f135980665c4c6c6c83d3f1df26c27334daf17bb WHIRLPOOL f67a99b39e99ab26e8d1125886493b53a3589908433618e7601281735dee4d2e54fdaed84e4608961264723cf27284e9ead798087f9b896a5ada8bdc70c51f9d
-EBUILD postgresql-server-8.3.23-r1.ebuild 11715 SHA256 4413819234030722288032344ee21f839193604c16c4a6627e20b362a6a8306c SHA512 c368add58bc45cd6d608be0568c021d1d90ba039bb20147faec8c0d3e996e03ba73567390e4b77c0417814b190818f638868b304bd23ca3af5697129bc7f61fb WHIRLPOOL b41964eb9094d3b226279f853099f85b56cffba1590c45854b4af81d837a9b3cac744ec723e465c85ad79000887da2eee7546ebdbbd51a00b096d9389e9cf0c2
EBUILD postgresql-server-8.4.16-r1.ebuild 11592 SHA256 e55de6d481aa0aea56fa9019f2ebe2cb828d512102e3c9356ff46c7963fafc63 SHA512 c133fb9ce37d08c04fc47d35080fe11ee615b2e86c6e1f1760098fcf3342afae60205cf37c69c5dcda192eecdb55a331036a7461e88d5ae581d158fca3de4f3e WHIRLPOOL a0a7944352258d0e6228bf90f5a3d00dab5b032755610a3482e3397679301568fec7d4c37fb714d0a6cb04094c0d5287d8534ef13098940ed677f658b6475524
+EBUILD postgresql-server-8.4.17.ebuild 11607 SHA256 b5adccdd5c703ae68905e0bced737a84ea9622ebfedede66a1ba57b78d837f71 SHA512 d02b1fef7475a39c506eddcafbd9545b128a594ce1dd2d6aa48e91a1efee46c84c7f531caf13b92207a190bff882aae4cfbd821c25f560ab8eafc251bf0e2e6c WHIRLPOOL 33bbee046591e753c2edfe8006d092f5c807af4f86103bef56dae7d1363836e8fbd8e11dc0458a1eddd825b0adacb0b0964e967de40e2286cb0b7631735b6498
EBUILD postgresql-server-9.0.12-r1.ebuild 11546 SHA256 f8b68742391bbaee6d41096524823e4d4d1decf373b22f59bf6e964f511aeda9 SHA512 a83bce394dfd5da2ca154c101e989b51dd8a0b6fe86bf2a07fee31820e4ba5155341dddf5dcf2054dda52c200b15ea7855881f129522cff59e8109ae45f467cd WHIRLPOOL 8f1fd2319f1fa32912dbbb7feba233271d534f0bd4a6027ba140ec074bd684a6592153f6ca8ad40a893c64ec6049dd16d3f1f8f0c31ef78e590413e1566d640b
+EBUILD postgresql-server-9.0.13.ebuild 11561 SHA256 1eb347c02390f4c820dd3f661d2e571b1b8c3edcac4c9cf8d792ecab00881130 SHA512 956bcf772927bd7b697d64bbc5bbb1bb348d4f53dcfd33ff9bb5282d5aa619a02e6c45a01abd95ce8b638cbc103b1f772dc132d11826dffd121941e5c2fb3a66 WHIRLPOOL 76d857b7e75afc7372106f2e068645401523e8a8ba95847c67469fde064770019588ca12c8520a11b96ca48e311814464d550d8ce430d8d24f4cf547faba7bc8
EBUILD postgresql-server-9.1.8-r1.ebuild 11242 SHA256 b90147493e8d66625a72be43fa48a7b0ae76633236123bba3edbfbd4601eb336 SHA512 9cd5aa06213d31cc3c3f1398b9b9563239d56701da7ab4f35f1966a7584181a694accb65ae6f56ddf2364e2fa5041e5fd8e1bdf29ecad889e842a0f4b3b81f7b WHIRLPOOL 5453074283b4e83988e458bd31af3a605caec58c9fbf0e6b2774c8a275fa2dfc267a22e70a55d6860a63e1fe9e55edcb8cbbeb75fcc598c94c085e52020de401
+EBUILD postgresql-server-9.1.9.ebuild 11257 SHA256 3f13ea945108b65557a2a563727f79861d41bdc985de19fcf9b1438cde6b5543 SHA512 3da5018ca1e052a0a8b8d0f38d7dba30b96e6ef706febbe08e21e53cb4902a6697538b9b3d19d6727d0e01ba697a460bbbdaae3cc65b6a42a2e9b925986221d4 WHIRLPOOL d970271f5f1ed91d2fc97fdea206c13a4628b39fa3e0e63a1d67316d86524f454c494fb86b0616d9024c015bfbf9c0d448237d0d691f3aaccade7b640d1dd102
EBUILD postgresql-server-9.2.3-r1.ebuild 11647 SHA256 9fe568dc76e5dd0f88e3eda83d3873a0f6495ccd8fc9feb0604bdab52ed95d56 SHA512 9bd709f5fb59d249eca1731b747d0c8982211c5aa8d49ef2a7f77c0d3730f7bbf2f0046cdecb1f1df6551ff3751a4c669ca66b851f35979a4c105d9b52f45fea WHIRLPOOL 4891c70620a1002fb6683df06a123d0e9badd25d723786dc01ddb61e81b814e7683500bb84d8f0163ea901f7732dbc4785a5e7cfca657f85ba5320e2f0f19a86
-EBUILD postgresql-server-9999.ebuild 11868 SHA256 7affa7d4639114bc30b8e894e182a4f7e57babff9c196512e2faf7e5556cae15 SHA512 f28e357b4e2d2a8c06b79643922e14397bf17726236d3980457ab5aefc46d550d22da8c241d9409372f3b7c3ed2172d1529a8cc621f82f6f874d9a65ec252ed3 WHIRLPOOL c05074a5f7a8a90e71bc6f5ff48d311c5c2eb648619c78e46b1157ab8981264c5f40ec2ab8c37173c5fc5dc2cc1453a7a6f59df344154e04bb7826e415d07996
-MISC ChangeLog 72336 SHA256 08d327133a3d70bf0d63ad2055e53d124d68d04cee91258437eb2bd8294b5df0 SHA512 c384442c8c8103306362ac31467316c3ff86253d28f4e69b1c2c1286b122f679a59fe66850361e27821f1440c0fac9f9513bc5f3f4566fae700ca9bfafe114ee WHIRLPOOL 73a4e00bac54f1ee793234070971ff14e36277ef89edef4a8e6ca5c67d56d53a4ec8477130092175ff62ddb9eff4586cd34bdac971d027468771f7584f0b3b01
+EBUILD postgresql-server-9.2.4.ebuild 11662 SHA256 de4504691faf340de6f484a8a44f3d769e67b0e17fd71a5947420e3df0f5b5c1 SHA512 7ff467e9ec370b46e7bbb97b471293f098d603120985c86decb58784eb409265604773d8654828d14a3eab19becc3115043428edb01d883bf34cdf283ce5173f WHIRLPOOL 43c38ee892d4af8cfc467dfdbf6df4955de9f58156f481d0317c5510af86556ebc3b92e1ddf163bcc950f178ae9f275cb4dfddeec5b0b79ae8026fbcc459afbb
+EBUILD postgresql-server-9999.ebuild 11868 SHA256 c723c4865943c316190362084dd2e38180d84ef5de5b84f6fe7618fc3eebea4c SHA512 e3921f3827d3f1920b97dc0f844b877660f4a7bc5e77600f703c58fa755fdbe0a076e47062782b00e79661b762a053e8f4abf6448e2a68013396cea1a290a7e1 WHIRLPOOL 85abf0a7450b73e6330f86e294c758fca6b1c64a2e943169020b494ddda1680d2fbc3e99d76600a1cfc36782d420ffddc71bc6c116f6254be58335d9d94ea58c
+MISC ChangeLog 72796 SHA256 66d59071d3c7f4cf6527ae14f17659bd4ec2c257aaabf9eaa68dfa2e38e07133 SHA512 c138b0de23c18394b84362922b9ef24749927fa04bd66dac2aa978d17187399bdb3e1a52e9d48814805db3e988cdb8830b7a7419fa99e3f0a630302ea37604c2 WHIRLPOOL fbe5fbf37ea11355caa9950f143514fe6344a5516d3a6b2dac5e5f1b4419a6e6d78c46f40812d5df5644bae2c444c0d66ffcc08e21a7723cc28e4accadb53cbc
MISC metadata.xml 420 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62 SHA512 1731bced1ac398d90c6aca6ec209a9ea42deb0f7033d49952a6216349aeb992479c3e868b33cc1be2434cdead6185026503a58e779965455d0198edd87bf5b4c WHIRLPOOL 3bbd5598492cb7d90f4199fac80f27bcba281e1188f7f1d40ee3dd1561e530de13de109142f0add7221b49ec3a9c6a0bdb3add1446b1cc5a6cb3909fd193d19b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRLQj6AAoJELp701BxlEWfG9UQALdVa9dogfYne1AstTzeu1fG
-EDJmnhGbrhonKZbhXoYmjcmjOD88jJ49i0RzcxdKKuVE7D/nyr/Fr409T+AEPJfn
-XOsfdeAX91NFHsp4KaWqN61WeZCC8L1ItXOMkSbwy5h6anZ85eI0rzYjhLFRgtwV
-76HxozUYWgfwTBHPyRT3AsLfHZ6FwTtKfiTlHMI14QKZaHsEm+feIZ6eSHY34Kox
-v8kTwvn1SQ+LIg20CemJid28V7NljmnrtyUZ9/1/uk88eUc8RrUNwfiTed1NYn2C
-ZfM7K1nFNp1KO1QKGpZbITOsvANvEPsX9xekk4boyImHbFGdN6M/60cD4whZ4353
-d077yy4muFuZfOQaqwDZC0wFZZ0sb+ZWu61dYKspd9fPkm4CeG9Zt4vc2BY5FZe8
-snSvEdCF9afaOUQK1clwWOEpdApffk0pOzxPEFkPbbh6QbUk5IkpuFJvwILxJn87
-PWxvvfCjvmjubVLIg2jbW5BqOAe7ykTYqUCskwZ9rc1JjXa22GlIIXwxPwf/9pFM
-I8+93XD1qrezsrGliLJ7DPtCjaTYjoc1SZd/OYkL27FUhgpdUQ5OIZTOB7aXbbMV
-NygQDg2gw9uIlOCNEUg3X8bf+SnFyuweJZzqc0R/HxPnY+/3xOI7BwTa8hjyg/jv
-wFpyv0mNQb58g5bUQLBc
-=uQj4
+iF4EAREIAAYFAlFdqTgACgkQVxOqA9G7/aC8TgD/b2D0EiOIK+IFxKg99oeWszYa
+hOhv/80+04Eeysjt6cQA/2nETRFc3iobXpFoOl3s/DQMJU9/yS9RymKOF5Se4j8N
+=frNT
-----END PGP SIGNATURE-----
diff --git a/dev-db/postgresql-server/postgresql-server-8.3.23-r1.ebuild b/dev-db/postgresql-server/postgresql-server-8.4.17.ebuild
index 49a78d85743e..60aa990cccef 100644
--- a/dev-db/postgresql-server/postgresql-server-8.3.23-r1.ebuild
+++ b/dev-db/postgresql-server/postgresql-server-8.4.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.3.23-r1.ebuild,v 1.2 2013/02/26 18:52:02 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.4.17.ebuild,v 1.1 2013/04/04 16:24:14 titanofold Exp $
EAPI="5"
@@ -11,19 +11,19 @@ inherit autotools eutils multilib pam prefix python-single-r1 user versionator
SLOT="$(get_version_component_range 1-2)"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
- http://dev.gentoo.org/~titanofold/postgresql-patches-8.3-r3.tbz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-8.4-r3.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2"
LICENSE="POSTGRESQL GPL-2"
S="${WORKDIR}/postgresql-${PV}"
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
-IUSE="doc kerberos kernel_linux nls pam perl python selinux tcl test uuid xml"
+IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
@@ -39,7 +39,7 @@ wanted_languages() {
echo -n ${enable_langs}
}
-RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,nls=]
+RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=]
perl? ( >=dev-lang/perl-5.8 )
python? ( ${PYTHON_DEPS} )
selinux? ( sec-policy/selinux-postgresql )
@@ -64,6 +64,7 @@ src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/darwin.patch" \
+ "${WORKDIR}/ldflags.patch" \
"${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch" \
"${WORKDIR}/SuperH.patch"
@@ -94,6 +95,7 @@ src_configure() {
# eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
+ --with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
--with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \
$(use_with perl) \
$(use_with python) \
@@ -106,18 +108,16 @@ src_configure() {
src_compile() {
local bd
- for bd in . contrib $(use xml && echo contrib/xml2); do
+ for bd in . contrib $(use xml && echo contrib/xml2) ; do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
- emake -C $bd -j1 \
- PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
- PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
- NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
+ emake -C $bd -j1 || die "emake in $bd failed"
done
}
src_install() {
if use perl ; then
- mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
+ mv -f "${S}/src/pl/plperl/GNUmakefile" \
+ "${S}/src/pl/plperl/GNUmakefile_orig"
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
"${S}/src/pl/plperl/GNUmakefile_orig" \
> "${S}/src/pl/plperl/GNUmakefile"
@@ -127,22 +127,22 @@ src_install() {
for bd in . contrib $(use xml && echo contrib/xml2) ; do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake install -C $bd -j1 DESTDIR="${D}" \
- PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
- PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
- NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
+ || die "emake install in $bd failed"
done
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" \
- "${ED}/usr/share/doc/${PF}/html"
+ "${ED}/usr/share/doc/postgresql-${SLOT}/html"
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
- docompress /usr/share/postgresql-${SLOT}/man/man1
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
- newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
- newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
+ newconfd "${WORKDIR}"/postgresql.confd postgresql-${SLOT} \
+ || die "Inserting conf.d file failed"
+
+ newinitd "${WORKDIR}"/postgresql.init postgresql-${SLOT} \
+ || die "Inserting init.d file failed"
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
@@ -155,6 +155,11 @@ src_install() {
pkg_postinst() {
postgresql-config update
+ elog "The time stamp format is 64 bit integers now. If you upgrade from older"
+ elog "databases, this may force you to either do a dump and reload of enable"
+ elog "pg_legacytimestamp until you find time to do so. If the database can't start"
+ elog "please try enabling pg_legacytimestamp and rebuild."
+ elog
elog "Gentoo specific documentation:"
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
elog
@@ -177,17 +182,6 @@ pkg_postinst() {
elog " emerge --config =${CATEGORY}/${PF}"
}
-pkg_prerm() {
- if [[ -z ${REPLACED_BY_VERSION} ]] ; then
- ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
- ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
-
- ebegin "Resuming removal in 10 seconds. Control-C to cancel"
- sleep 10
- eend 0
- fi
-}
-
pkg_postrm() {
postgresql-config update
}
@@ -208,7 +202,7 @@ pkg_config() {
unset LC_MONETARY
unset LC_MESSAGES
unset LC_ALL
- source ${EROOT%/}/etc/env.d/02locale
+ source "${EROOT%/}/etc/env.d/02locale"
[[ -n ${LANG} ]] && export LANG
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
@@ -247,7 +241,7 @@ pkg_config() {
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
die "Aborting initialization."
else
- echo "Answer not recognized."
+ echo "Answer not recognized"
fi
done
@@ -262,10 +256,10 @@ pkg_config() {
if ! use kernel_linux ; then
einfo "Skipped."
- einfo "Tests not supported on this OS (yet)."
+ einfo " Tests not supported on this OS (yet)"
else
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
- ebegin "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections"
+ einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
@@ -282,7 +276,7 @@ pkg_config() {
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
eerror "You have now several options:"
eerror " - Change the mentioned system parameter"
- eerror " - Lower the number of max connections by setting PG_MAX_CONNECTIONS to a"
+ eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
eerror " value lower than ${PG_MAX_CONNECTIONS}"
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
eerror "More information can be found here:"
@@ -290,9 +284,9 @@ pkg_config() {
die "System test failed."
fi
done
- eend
+ einfo "Passed."
else
- ewarn "SKIP_SYSTEM_TESTS is set, so skipping."
+ ewarn "SKIP_SYSTEM_TESTS set, so skipping."
fi
fi
@@ -312,8 +306,12 @@ pkg_config() {
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
einfo "The autovacuum function, which was in contrib, has been moved to the main"
- einfo "PostgreSQL functions starting with 8.1. You can enable it in the clusters"
- einfo "postgresql.conf."
+ einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled by"
+ einfo "default. You can disable it in the cluster's:"
+ einfo " ${PGDATA%/}/postgresql.conf"
+ einfo
+ einfo "The PostgreSQL server, by default, will log events to:"
+ einfo " ${DATA_DIR%/}/postmaster.log"
einfo
if use prefix ; then
einfo "The location of the configuration files have moved to:"
@@ -337,10 +335,7 @@ src_test() {
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
if [[ ${UID} != 0 ]] ; then
- PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
- emake check \
- PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
- NO_PGXS=0 USE_PGXS=1 SLOT=${SLOT}
+ emake check
einfo "If you think other tests besides the regression tests are necessary, please"
einfo "submit a bug including a patch for this ebuild to enable them."
diff --git a/dev-db/postgresql-server/postgresql-server-9.0.13.ebuild b/dev-db/postgresql-server/postgresql-server-9.0.13.ebuild
new file mode 100644
index 000000000000..67a4587376af
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-9.0.13.ebuild
@@ -0,0 +1,351 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.13.ebuild,v 1.1 2013/04/04 16:24:14 titanofold Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils multilib pam prefix python-single-r1 user versionator
+
+SLOT="$(get_version_component_range 1-2)"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+DESCRIPTION="PostgreSQL server"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-9.0-r4.tbz2
+ http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2"
+LICENSE="POSTGRESQL GPL-2"
+
+S="${WORKDIR}/postgresql-${PV}"
+
+LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
+IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml"
+
+for lingua in ${LINGUAS}; do
+ IUSE+=" linguas_${lingua}"
+done
+
+wanted_languages() {
+ local enable_langs
+
+ for lingua in ${LINGUAS} ; do
+ use linguas_${lingua} && enable_langs+="${lingua} "
+ done
+
+ echo -n ${enable_langs}
+}
+
+RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=]
+ perl? ( >=dev-lang/perl-5.8 )
+ python? ( ${PYTHON_DEPS} )
+ selinux? ( sec-policy/selinux-postgresql )
+ tcl? ( >=dev-lang/tcl-8 )
+ uuid? ( dev-libs/ossp-uuid )
+ xml? ( dev-libs/libxml2 dev-libs/libxslt )"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ xml? ( virtual/pkgconfig )"
+
+PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
+
+pkg_setup() {
+ enewgroup postgres 70
+ enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
+
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" \
+ "${WORKDIR}/bool.patch" \
+ "${WORKDIR}/pg_ctl-exit-status.patch" \
+ "${WORKDIR}/server.patch"
+
+ eprefixify src/include/pg_config_manual.h
+
+ if use pam ; then
+ sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
+ -i src/backend/libpq/auth.c \
+ || die 'PGSQL_PAM_SERVICE rename failed.'
+ fi
+
+ if use test ; then
+ epatch "${WORKDIR}/regress.patch"
+ sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
+ else
+ echo "all install:" > "${S}/src/test/regress/GNUmakefile"
+ fi
+
+ sed -e "s|@SLOT@|${SLOT}|g" \
+ -i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
+ die "SLOT sed failed"
+
+ eautoconf
+}
+
+src_configure() {
+ # eval is needed to get along with pg_config quotation of space-rich entities.
+ eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ --with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
+ --with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
+ --with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \
+ $(use_with perl) \
+ $(use_with python) \
+ $(use_with tcl) \
+ $(use_with xml libxml) \
+ $(use_with xml libxslt) \
+ $(use_with uuid ossp-uuid) \
+ "$(use_enable nls nls "$(wanted_languages)")"
+}
+
+src_compile() {
+ local bd
+ for bd in . contrib $(use xml && echo contrib/xml2); do
+ PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
+ emake -C $bd -j1 || die "emake in $bd failed"
+ done
+}
+
+src_install() {
+ if use perl ; then
+ mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
+ sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
+ "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
+ fi
+
+ local bd
+ for bd in . contrib $(use xml && echo contrib/xml2) ; do
+ PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
+ emake install -C $bd -j1 DESTDIR="${D}" || die "emake install in $bd failed"
+ done
+
+ dodir /usr/share/postgresql-${SLOT}/man/man1/
+ cp "${S}"/doc/src/sgml/man1/{initdb,pg_controldata,pg_ctl,pg_resetxlog,post{gres,master}}.1 \
+ "${ED}"/usr/share/postgresql-${SLOT}/man/man1/ || die
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
+ > "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
+
+ newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} \
+ || die "Inserting conf.d file failed"
+
+ newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} \
+ || die "Inserting init.d file failed"
+
+ use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
+
+ if use prefix ; then
+ keepdir /run/postgresql
+ fperms 0770 /run/postgresql
+ fi
+}
+
+pkg_postinst() {
+ postgresql-config update
+
+ elog "Gentoo specific documentation:"
+ elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
+ elog
+ elog "Official documentation:"
+ elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
+ elog
+ elog "The default location of the Unix-domain socket is:"
+ elog " ${EROOT%/}/run/postgresql/"
+ elog
+ elog "If you have users and/or services that you would like to utilize the"
+ elog "socket, you must add them to the 'postgres' system group:"
+ elog " usermod -a -G postgres <user>"
+ elog
+ elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
+ elog "so that it contains your preferred locale in:"
+ elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ elog
+ elog "Then, execute the following command to setup the initial database"
+ elog "environment:"
+ elog " emerge --config =${CATEGORY}/${PF}"
+}
+
+pkg_prerm() {
+ if [[ -z ${REPLACED_BY_VERSION} ]] ; then
+ ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
+ ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
+
+ ebegin "Resuming removal in 10 seconds. Control-C to cancel"
+ sleep 10
+ eend 0
+ fi
+}
+
+pkg_postrm() {
+ postgresql-config update
+}
+
+pkg_config() {
+ [[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ [[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
+ [[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
+
+ # environment.bz2 may not contain the same locale as the current system
+ # locale. Unset and source from the current system locale.
+ if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
+ unset LANG
+ unset LC_CTYPE
+ unset LC_NUMERIC
+ unset LC_TIME
+ unset LC_COLLATE
+ unset LC_MONETARY
+ unset LC_MESSAGES
+ unset LC_ALL
+ source "${EROOT%/}/etc/env.d/02locale"
+ [[ -n ${LANG} ]] && export LANG
+ [[ -n ${LC_CTYPE} ]] && export LC_CTYPE
+ [[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
+ [[ -n ${LC_TIME} ]] && export LC_TIME
+ [[ -n ${LC_COLLATE} ]] && export LC_COLLATE
+ [[ -n ${LC_MONETARY} ]] && export LC_MONETARY
+ [[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
+ [[ -n ${LC_ALL} ]] && export LC_ALL
+ fi
+
+ einfo "You can modify the paths and options passed to initdb by editing:"
+ einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ einfo
+ einfo "Information on options that can be passed to initdb are found at:"
+ einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
+ einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
+ einfo
+ einfo "PG_INITDB_OPTS is currently set to:"
+ if [[ -z "${PG_INITDB_OPTS}" ]] ; then
+ einfo " (none)"
+ else
+ einfo " ${PG_INITDB_OPTS}"
+ fi
+ einfo
+ einfo "Configuration files will be installed to:"
+ einfo " ${PGDATA}"
+ einfo
+ einfo "The database cluster will be created in:"
+ einfo " ${DATA_DIR}"
+ einfo
+ while [[ $correct != "true" ]] ; do
+ einfo "Are you ready to continue? (y/n)"
+ read answer
+ if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
+ correct="true"
+ elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
+ die "Aborting initialization."
+ else
+ echo "Answer not recognized"
+ fi
+ done
+
+ if [[ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ]] ; then
+ eerror "The given directory, '${DATA_DIR}', is not empty."
+ eerror "Modify DATA_DIR to point to an empty directory."
+ die "${DATA_DIR} is not empty."
+ fi
+
+ [[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
+ einfo "Checking system parameters..."
+
+ if ! use kernel_linux ; then
+ einfo "Skipped."
+ einfo " Tests not supported on this OS (yet)"
+ else
+ if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
+ einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
+
+ local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
+ local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
+ local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
+ local SHMMAX=$(sysctl -n kernel.shmmax)
+
+ local SEMMSL_MIN=17
+ local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
+ local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
+ local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
+
+ for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
+ if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
+ eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
+ eerror "You have now several options:"
+ eerror " - Change the mentioned system parameter"
+ eerror " - Lower the number of max connections by setting PG_MAX_CONNECTIONS to a"
+ eerror " value lower than ${PG_MAX_CONNECTIONS}"
+ eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
+ eerror "More information can be found here:"
+ eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
+ die "System test failed."
+ fi
+ done
+ einfo "Passed."
+ else
+ ewarn "SKIP_SYSTEM_TESTS set, so skipping."
+ fi
+ fi
+
+ if [[ ${EUID} == 0 ]] ; then
+ einfo "Creating the data directory ..."
+ mkdir -p "${DATA_DIR}"
+ chown -Rf postgres:postgres "${DATA_DIR}"
+ chmod 0700 "${DATA_DIR}"
+ fi
+
+ einfo "Initializing the database ..."
+
+ if [[ ${EUID} == 0 ]] ; then
+ su postgres \
+ -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D '${DATA_DIR}' -L '${EROOT%/}/usr/share/postgresql-${SLOT}/' ${PG_INITDB_OPTS}"
+ else
+ "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb \
+ -U postgres -D "${DATA_DIR}" \
+ -L "${EROOT%/}/usr/share/postgresql-${SLOT}/" ${PG_INITDB_OPTS}
+ fi
+
+ mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
+
+ einfo "The autovacuum function, which was in contrib, has been moved to the main"
+ einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
+ einfo "by default. You can disable it in the cluster's:"
+ einfo " ${PGDATA%/}/postgresql.conf"
+ einfo
+ einfo "The PostgreSQL server, by default, will log events to:"
+ einfo " ${DATA_DIR%/}/postmaster.log"
+ einfo
+ if use prefix ; then
+ einfo "The location of the configuration files have moved to:"
+ einfo " ${PGDATA}"
+ einfo
+ einfo "To start the server:"
+ einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
+ einfo
+ einfo "To stop:"
+ einfo " pg_ctl stop -D ${DATA_DIR}"
+ einfo
+ einfo "Or move the configuration files back:"
+ einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
+ else
+ einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
+ einfo "instead of 'pg_ctl'."
+ fi
+}
+
+src_test() {
+ einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
+
+ if [[ ${UID} != 0 ]] ; then
+ emake check || die "Make check failed. See above for details."
+
+ einfo "If you think other tests besides the regression tests are necessary, please"
+ einfo "submit a bug including a patch for this ebuild to enable them."
+ else
+ ewarn "Tests cannot be run as root. Skipping."
+ ewarn "HINT: FEATURES=\"userpriv\""
+ fi
+}
diff --git a/dev-db/postgresql-server/postgresql-server-9.1.9.ebuild b/dev-db/postgresql-server/postgresql-server-9.1.9.ebuild
new file mode 100644
index 000000000000..ec439908cfbf
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-9.1.9.ebuild
@@ -0,0 +1,346 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.1.9.ebuild,v 1.1 2013/04/04 16:24:14 titanofold Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 user versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+SLOT="$(get_version_component_range 1-2)"
+S="${WORKDIR}/postgresql-${PV}"
+
+DESCRIPTION="PostgreSQL server"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-9.1-r2.tbz2
+ http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2"
+LICENSE="POSTGRESQL GPL-2"
+
+LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
+IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml"
+
+for lingua in ${LINGUAS}; do
+ IUSE+=" linguas_${lingua}"
+done
+
+wanted_languages() {
+ local enable_langs
+
+ for lingua in ${LINGUAS} ; do
+ use linguas_${lingua} && enable_langs+="${lingua} "
+ done
+
+ echo -n ${enable_langs}
+}
+
+RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=]
+ perl? ( >=dev-lang/perl-5.8 )
+ python? ( ${PYTHON_DEPS} )
+ selinux? ( sec-policy/selinux-postgresql )
+ tcl? ( >=dev-lang/tcl-8 )
+ uuid? ( dev-libs/ossp-uuid )
+ xml? ( dev-libs/libxml2 dev-libs/libxslt )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ xml? ( virtual/pkgconfig )"
+PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
+
+pkg_setup() {
+ enewgroup postgres 70
+ enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
+
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" \
+ "${WORKDIR}/bool.patch" \
+ "${WORKDIR}/pg_ctl-exit-status.patch" \
+ "${WORKDIR}/server.patch"
+
+ eprefixify src/include/pg_config_manual.h
+
+ if use pam ; then
+ sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
+ -i src/backend/libpq/auth.c \
+ || die 'PGSQL_PAM_SERVICE rename failed.'
+ fi
+
+ if use test ; then
+ epatch "${WORKDIR}/regress.patch"
+ sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
+ else
+ echo "all install:" > "${S}/src/test/regress/GNUmakefile"
+ fi
+
+ sed -e "s|@SLOT@|${SLOT}|g" \
+ -i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
+ die "SLOT sed failed"
+
+ eautoconf
+}
+
+src_configure() {
+ case ${CHOST} in
+ *-darwin*|*-solaris*)
+ use nls && append-libs intl
+ ;;
+ esac
+
+ local PO="${EPREFIX%/}"
+
+ # eval is needed to get along with pg_config quotation of space-rich entities.
+ eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ $(use_with perl) \
+ $(use_with python) \
+ $(use_with tcl) \
+ $(use_with xml libxml) \
+ $(use_with xml libxslt) \
+ $(use_with uuid ossp-uuid) \
+ --with-system-tzdata="${PO}/usr/share/zoneinfo" \
+ --with-includes="${PO}/usr/include/postgresql-${SLOT}/" \
+ --with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
+ "$(use_enable nls nls "$(wanted_languages)")"
+}
+
+src_compile() {
+ local bd
+ for bd in . contrib $(use xml && echo contrib/xml2); do
+ PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
+ emake -C $bd || die "emake in $bd failed"
+ done
+}
+
+src_install() {
+ if use perl ; then
+ mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
+ sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
+ "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
+ fi
+
+ local bd
+ for bd in . contrib $(use xml && echo contrib/xml2) ; do
+ PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
+ emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed"
+ done
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
+ "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
+
+ newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} || \
+ die "Inserting conf failed"
+ newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \
+ die "Inserting conf failed"
+
+ use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
+
+ if use prefix ; then
+ keepdir /run/postgresql
+ fperms 0770 /run/postgresql
+ fi
+}
+
+pkg_postinst() {
+ postgresql-config update
+
+ elog "Gentoo specific documentation:"
+ elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
+ elog
+ elog "Official documentation:"
+ elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
+ elog
+ elog "The default location of the Unix-domain socket is:"
+ elog " ${EROOT%/}/run/postgresql/"
+ elog
+ elog "If you have users and/or services that you would like to utilize the"
+ elog "socket, you must add them to the 'postgres' system group:"
+ elog " usermod -a -G postgres <user>"
+ elog
+ elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
+ elog "so that it contains your preferred locale in:"
+ elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ elog
+ elog "Then, execute the following command to setup the initial database"
+ elog "environment:"
+ elog " emerge --config =${CATEGORY}/${PF}"
+}
+
+pkg_prerm() {
+ if [[ -z ${REPLACED_BY_VERSION} ]] ; then
+ ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
+ ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
+
+ ebegin "Resuming removal in 10 seconds. Control-C to cancel"
+ sleep 10
+ eend 0
+ fi
+}
+
+pkg_postrm() {
+ postgresql-config update
+}
+
+pkg_config() {
+ [[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ [[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
+ [[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
+
+ # environment.bz2 may not contain the same locale as the current system
+ # locale. Unset and source from the current system locale.
+ if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
+ unset LANG
+ unset LC_CTYPE
+ unset LC_NUMERIC
+ unset LC_TIME
+ unset LC_COLLATE
+ unset LC_MONETARY
+ unset LC_MESSAGES
+ unset LC_ALL
+ source "${EROOT%/}/etc/env.d/02locale"
+ [ -n "${LANG}" ] && export LANG
+ [ -n "${LC_CTYPE}" ] && export LC_CTYPE
+ [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
+ [ -n "${LC_TIME}" ] && export LC_TIME
+ [ -n "${LC_COLLATE}" ] && export LC_COLLATE
+ [ -n "${LC_MONETARY}" ] && export LC_MONETARY
+ [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
+ [ -n "${LC_ALL}" ] && export LC_ALL
+ fi
+
+ einfo "You can modify the paths and options passed to initdb by editing:"
+ einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ einfo
+ einfo "Information on options that can be passed to initdb are found at:"
+ einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
+ einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
+ einfo
+ einfo "PG_INITDB_OPTS is currently set to:"
+ if [[ -z "${PG_INITDB_OPTS}" ]] ; then
+ einfo " (none)"
+ else
+ einfo " ${PG_INITDB_OPTS}"
+ fi
+ einfo
+ einfo "Configuration files will be installed to:"
+ einfo " ${PGDATA}"
+ einfo
+ einfo "The database cluster will be created in:"
+ einfo " ${DATA_DIR}"
+ einfo
+ while [ "$correct" != "true" ] ; do
+ einfo "Are you ready to continue? (y/n)"
+ read answer
+ if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
+ correct="true"
+ elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
+ die "Aborting initialization."
+ else
+ echo "Answer not recognized"
+ fi
+ done
+
+ if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
+ eerror "The given directory, '${DATA_DIR}', is not empty."
+ eerror "Modify DATA_DIR to point to an empty directory."
+ die "${DATA_DIR} is not empty."
+ fi
+
+ [ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128"
+ einfo "Checking system parameters..."
+
+ if ! use kernel_linux ; then
+ einfo "Skipped."
+ einfo " Tests not supported on this OS (yet)"
+ else
+ if [ -z ${SKIP_SYSTEM_TESTS} ] ; then
+ einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
+
+ local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
+ local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
+ local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
+ local SHMMAX=$(sysctl -n kernel.shmmax)
+
+ local SEMMSL_MIN=17
+ local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
+ local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
+ local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
+
+ for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
+ if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then
+ eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
+ eerror "You have now several options:"
+ eerror " - Change the mentioned system parameter"
+ eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
+ eerror " value lower than ${PG_MAX_CONNECTIONS}"
+ eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
+ eerror "More information can be found here:"
+ eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
+ die "System test failed."
+ fi
+ done
+ einfo "Passed."
+ else
+ ewarn "SKIP_SYSTEM_TESTS set, so skipping."
+ fi
+ fi
+
+ einfo "Creating the data directory ..."
+ if [[ ${EUID} == 0 ]] ; then
+ mkdir -p "${DATA_DIR}"
+ chown -Rf postgres:postgres "${DATA_DIR}"
+ chmod 0700 "${DATA_DIR}"
+ fi
+
+ einfo "Initializing the database ..."
+
+ if [[ ${EUID} == 0 ]] ; then
+ su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
+ else
+ "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
+ fi
+
+ mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
+
+ einfo "The autovacuum function, which was in contrib, has been moved to the main"
+ einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
+ einfo "by default. You can disable it in the cluster's:"
+ einfo " ${PGDATA%/}/postgresql.conf"
+ einfo
+ einfo "The PostgreSQL server, by default, will log events to:"
+ einfo " ${DATA_DIR%/}/postmaster.log"
+ einfo
+ if use prefix ; then
+ einfo "The location of the configuration files have moved to:"
+ einfo " ${PGDATA}"
+ einfo "To start the server:"
+ einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
+ einfo "To stop:"
+ einfo " pg_ctl stop -D ${DATA_DIR}"
+ einfo
+ einfo "Or move the configuration files back:"
+ einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
+ else
+ einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
+ einfo "instead of 'pg_ctl'."
+ fi
+}
+
+src_test() {
+ einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
+
+ if [ ${UID} -ne 0 ] ; then
+ emake -j1 check
+
+ einfo "If you think other tests besides the regression tests are necessary, please"
+ einfo "submit a bug including a patch for this ebuild to enable them."
+ else
+ ewarn "Tests cannot be run as root. Skipping."
+ ewarn "HINT: FEATURES=\"userpriv\""
+ fi
+}
diff --git a/dev-db/postgresql-server/postgresql-server-9.2.4.ebuild b/dev-db/postgresql-server/postgresql-server-9.2.4.ebuild
new file mode 100644
index 000000000000..a263f23aeb76
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-9.2.4.ebuild
@@ -0,0 +1,355 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.2.4.ebuild,v 1.1 2013/04/04 16:24:14 titanofold Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 user versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
+
+SLOT="$(get_version_component_range 1-2)"
+
+# Comment the following six lines when not a beta or rc.
+#MY_PV="${PV//_}"
+#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
+#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
+#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2
+# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}beta3.tbz2
+# http://dev.gentoo.org/~titanofold/postgresql-initscript-2.3.tbz2"
+
+# Comment the following four lines when a beta or rc.
+S="${WORKDIR}/postgresql-${PV}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2
+ http://dev.gentoo.org/~titanofold/postgresql-initscript-2.4.tbz2"
+
+LICENSE="POSTGRESQL GPL-2"
+DESCRIPTION="PostgreSQL server"
+HOMEPAGE="http://www.postgresql.org/"
+
+LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
+IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml"
+
+for lingua in ${LINGUAS}; do
+ IUSE+=" linguas_${lingua}"
+done
+
+wanted_languages() {
+ local enable_langs
+
+ for lingua in ${LINGUAS} ; do
+ use linguas_${lingua} && enable_langs+="${lingua} "
+ done
+
+ echo -n ${enable_langs}
+}
+
+RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=]
+ perl? ( >=dev-lang/perl-5.8 )
+ python? ( ${PYTHON_DEPS} )
+ selinux? ( sec-policy/selinux-postgresql )
+ tcl? ( >=dev-lang/tcl-8 )
+ uuid? ( dev-libs/ossp-uuid )
+ xml? ( dev-libs/libxml2 dev-libs/libxslt )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ xml? ( virtual/pkgconfig )"
+PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
+
+pkg_setup() {
+ enewgroup postgres 70
+ enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
+
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" \
+ "${WORKDIR}/bool.patch" \
+ "${WORKDIR}/server.patch"
+
+ eprefixify src/include/pg_config_manual.h
+
+ if use pam ; then
+ sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
+ -i src/backend/libpq/auth.c \
+ || die 'PGSQL_PAM_SERVICE rename failed.'
+ fi
+
+ if use test ; then
+ epatch "${WORKDIR}/regress.patch"
+ sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
+ else
+ echo "all install:" > "${S}/src/test/regress/GNUmakefile"
+ fi
+
+ sed -e "s|@SLOT@|${SLOT}|g" \
+ -i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
+ die "SLOT sed failed"
+
+ eautoconf
+}
+
+src_configure() {
+ case ${CHOST} in
+ *-darwin*|*-solaris*)
+ use nls && append-libs intl
+ ;;
+ esac
+
+ local PO="${EPREFIX%/}"
+
+ # eval is needed to get along with pg_config quotation of space-rich entities.
+ eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ $(use_with perl) \
+ $(use_with python) \
+ $(use_with tcl) \
+ $(use_with xml libxml) \
+ $(use_with xml libxslt) \
+ $(use_with uuid ossp-uuid) \
+ --with-system-tzdata="${PO}/usr/share/zoneinfo" \
+ --with-includes="${PO}/usr/include/postgresql-${SLOT}/" \
+ --with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
+ "$(use_enable nls nls "$(wanted_languages)")"
+}
+
+src_compile() {
+ local bd
+ for bd in . contrib $(use xml && echo contrib/xml2); do
+ PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
+ emake -C $bd || die "emake in $bd failed"
+ done
+}
+
+src_install() {
+ if use perl ; then
+ mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
+ sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
+ "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
+ fi
+
+ local bd
+ for bd in . contrib $(use xml && echo contrib/xml2) ; do
+ PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
+ emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed"
+ done
+
+ dodir /etc/eselect/postgresql/slots/${SLOT}
+ echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
+ "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
+
+ newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} || \
+ die "Inserting conf failed"
+ newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \
+ die "Inserting conf failed"
+
+ use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
+
+ if use prefix ; then
+ keepdir /run/postgresql
+ fperms 0770 /run/postgresql
+ fi
+}
+
+pkg_postinst() {
+ postgresql-config update
+
+ elog "Gentoo specific documentation:"
+ elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
+ elog
+ elog "Official documentation:"
+ elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
+ elog
+ elog "The default location of the Unix-domain socket is:"
+ elog " ${EROOT%/}/run/postgresql/"
+ elog
+ elog "If you have users and/or services that you would like to utilize the"
+ elog "socket, you must add them to the 'postgres' system group:"
+ elog " usermod -a -G postgres <user>"
+ elog
+ elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
+ elog "so that it contains your preferred locale in:"
+ elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ elog
+ elog "Then, execute the following command to setup the initial database"
+ elog "environment:"
+ elog " emerge --config =${CATEGORY}/${PF}"
+}
+
+pkg_prerm() {
+ if [[ -z ${REPLACED_BY_VERSION} ]] ; then
+ ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
+ ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
+
+ ebegin "Resuming removal in 10 seconds. Control-C to cancel"
+ sleep 10
+ eend 0
+ fi
+}
+
+pkg_postrm() {
+ postgresql-config update
+}
+
+pkg_config() {
+ [[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ [[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
+ [[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
+
+ # environment.bz2 may not contain the same locale as the current system
+ # locale. Unset and source from the current system locale.
+ if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
+ unset LANG
+ unset LC_CTYPE
+ unset LC_NUMERIC
+ unset LC_TIME
+ unset LC_COLLATE
+ unset LC_MONETARY
+ unset LC_MESSAGES
+ unset LC_ALL
+ source "${EROOT%/}/etc/env.d/02locale"
+ [ -n "${LANG}" ] && export LANG
+ [ -n "${LC_CTYPE}" ] && export LC_CTYPE
+ [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
+ [ -n "${LC_TIME}" ] && export LC_TIME
+ [ -n "${LC_COLLATE}" ] && export LC_COLLATE
+ [ -n "${LC_MONETARY}" ] && export LC_MONETARY
+ [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
+ [ -n "${LC_ALL}" ] && export LC_ALL
+ fi
+
+ einfo "You can modify the paths and options passed to initdb by editing:"
+ einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
+ einfo
+ einfo "Information on options that can be passed to initdb are found at:"
+ einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
+ einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
+ einfo
+ einfo "PG_INITDB_OPTS is currently set to:"
+ if [[ -z "${PG_INITDB_OPTS}" ]] ; then
+ einfo " (none)"
+ else
+ einfo " ${PG_INITDB_OPTS}"
+ fi
+ einfo
+ einfo "Configuration files will be installed to:"
+ einfo " ${PGDATA}"
+ einfo
+ einfo "The database cluster will be created in:"
+ einfo " ${DATA_DIR}"
+ einfo
+ while [ "$correct" != "true" ] ; do
+ einfo "Are you ready to continue? (y/n)"
+ read answer
+ if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
+ correct="true"
+ elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
+ die "Aborting initialization."
+ else
+ echo "Answer not recognized"
+ fi
+ done
+
+ if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
+ eerror "The given directory, '${DATA_DIR}', is not empty."
+ eerror "Modify DATA_DIR to point to an empty directory."
+ die "${DATA_DIR} is not empty."
+ fi
+
+ [ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128"
+ einfo "Checking system parameters..."
+
+ if ! use kernel_linux ; then
+ einfo "Skipped."
+ einfo " Tests not supported on this OS (yet)"
+ else
+ if [ -z ${SKIP_SYSTEM_TESTS} ] ; then
+ einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
+
+ local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
+ local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
+ local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
+ local SHMMAX=$(sysctl -n kernel.shmmax)
+
+ local SEMMSL_MIN=17
+ local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
+ local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
+ local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
+
+ for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
+ if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then
+ eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
+ eerror "You have now several options:"
+ eerror " - Change the mentioned system parameter"
+ eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
+ eerror " value lower than ${PG_MAX_CONNECTIONS}"
+ eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
+ eerror "More information can be found here:"
+ eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
+ die "System test failed."
+ fi
+ done
+ einfo "Passed."
+ else
+ ewarn "SKIP_SYSTEM_TESTS set, so skipping."
+ fi
+ fi
+
+ einfo "Creating the data directory ..."
+ if [[ ${EUID} == 0 ]] ; then
+ mkdir -p "${DATA_DIR}"
+ chown -Rf postgres:postgres "${DATA_DIR}"
+ chmod 0700 "${DATA_DIR}"
+ fi
+
+ einfo "Initializing the database ..."
+
+ if [[ ${EUID} == 0 ]] ; then
+ su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
+ else
+ "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
+ fi
+
+ mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
+
+ einfo "The autovacuum function, which was in contrib, has been moved to the main"
+ einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
+ einfo "by default. You can disable it in the cluster's:"
+ einfo " ${PGDATA%/}/postgresql.conf"
+ einfo
+ einfo "The PostgreSQL server, by default, will log events to:"
+ einfo " ${DATA_DIR%/}/postmaster.log"
+ einfo
+ if use prefix ; then
+ einfo "The location of the configuration files have moved to:"
+ einfo " ${PGDATA}"
+ einfo "To start the server:"
+ einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
+ einfo "To stop:"
+ einfo " pg_ctl stop -D ${DATA_DIR}"
+ einfo
+ einfo "Or move the configuration files back:"
+ einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
+ else
+ einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
+ einfo "instead of 'pg_ctl'."
+ fi
+}
+
+src_test() {
+ einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
+
+ if [ ${UID} -ne 0 ] ; then
+ emake check
+
+ einfo "If you think other tests besides the regression tests are necessary, please"
+ einfo "submit a bug including a patch for this ebuild to enable them."
+ else
+ ewarn "Tests cannot be run as root. Skipping."
+ ewarn "HINT: FEATURES=\"userpriv\""
+ fi
+}
diff --git a/dev-db/postgresql-server/postgresql-server-9999.ebuild b/dev-db/postgresql-server/postgresql-server-9999.ebuild
index db4d8a77d655..9b92bdbe73ac 100644
--- a/dev-db/postgresql-server/postgresql-server-9999.ebuild
+++ b/dev-db/postgresql-server/postgresql-server-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9999.ebuild,v 1.7 2013/02/12 18:22:24 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9999.ebuild,v 1.8 2013/04/04 16:24:14 titanofold Exp $
EAPI="5"