summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-12-06 07:41:30 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-12-06 07:41:30 +0000
commitdceea6bfcc97cab23366b2afb00bc70e9fa6debf (patch)
tree342228666c8dd26c96c9e14bcb3cd30769d8acf0 /dev-db
parentStable for amd64. Removed amd64 KEYWORD from ancient versions (diff)
downloadhistorical-dceea6bfcc97cab23366b2afb00bc70e9fa6debf.tar.gz
historical-dceea6bfcc97cab23366b2afb00bc70e9fa6debf.tar.bz2
historical-dceea6bfcc97cab23366b2afb00bc70e9fa6debf.zip
Bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql-base/ChangeLog14
-rw-r--r--dev-db/postgresql-base/Manifest22
-rw-r--r--dev-db/postgresql-base/postgresql-base-8.4.19.ebuild162
-rw-r--r--dev-db/postgresql-base/postgresql-base-9.0.15.ebuild168
-rw-r--r--dev-db/postgresql-base/postgresql-base-9.1.11.ebuild171
-rw-r--r--dev-db/postgresql-base/postgresql-base-9.2.6.ebuild167
-rw-r--r--dev-db/postgresql-base/postgresql-base-9.3.2.ebuild168
-rw-r--r--dev-db/postgresql-docs/ChangeLog14
-rw-r--r--dev-db/postgresql-docs/Manifest12
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-8.4.19.ebuild51
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-9.0.15.ebuild51
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-9.1.11.ebuild51
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-9.2.6.ebuild59
-rw-r--r--dev-db/postgresql-docs/postgresql-docs-9.3.2.ebuild59
-rw-r--r--dev-db/postgresql-server/ChangeLog14
-rw-r--r--dev-db/postgresql-server/Manifest22
-rw-r--r--dev-db/postgresql-server/postgresql-server-8.4.19.ebuild352
-rw-r--r--dev-db/postgresql-server/postgresql-server-9.0.15.ebuild358
-rw-r--r--dev-db/postgresql-server/postgresql-server-9.1.11.ebuild356
-rw-r--r--dev-db/postgresql-server/postgresql-server-9.2.6.ebuild351
-rw-r--r--dev-db/postgresql-server/postgresql-server-9.3.2.ebuild349
21 files changed, 2945 insertions, 26 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog
index 2c6a57f02e6a..5d8d4d12fce7 100644
--- a/dev-db/postgresql-base/ChangeLog
+++ b/dev-db/postgresql-base/ChangeLog
@@ -1,6 +1,18 @@
# 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.256 2013/11/29 17:14:17 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.257 2013/12/06 07:39:40 patrick Exp $
+
+*postgresql-base-8.4.19 (06 Dec 2013)
+*postgresql-base-9.1.11 (06 Dec 2013)
+*postgresql-base-9.2.6 (06 Dec 2013)
+*postgresql-base-9.0.15 (06 Dec 2013)
+*postgresql-base-9.3.2 (06 Dec 2013)
+
+ 06 Dec 2013; Patrick Lauer <patrick@gentoo.org>
+ +postgresql-base-8.4.19.ebuild, +postgresql-base-9.0.15.ebuild,
+ +postgresql-base-9.1.11.ebuild, +postgresql-base-9.2.6.ebuild,
+ +postgresql-base-9.3.2.ebuild:
+ Bump
29 Nov 2013; Markus Meier <maekke@gentoo.org>
postgresql-base-8.4.17-r1.ebuild, postgresql-base-9.0.13-r1.ebuild,
diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest
index 80348ce907a9..b22d75389102 100644
--- a/dev-db/postgresql-base/Manifest
+++ b/dev-db/postgresql-base/Manifest
@@ -1,16 +1,18 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-8.4.18.tar.bz2 14819294 SHA256 c08e5e93dac9d484019a07ff91db9f224350b90ef4be1543e33282cc20daf872 SHA512 f4c51d9286b3a91e613dfaf4654cf98455de51470900c0da365536d96132eec35e26ea673fd898e594e5994db2ac1cdb2ba8b86ef24550fa8ff6c65e0b9800d8 WHIRLPOOL 743e9b18b101dd15020184edd53684f3a28189d2a73cb44258ab56c77597785cb33a757839848769f3a3907932f709db26ed91e2bd4eb7fecbdff5c10b84e763
+DIST postgresql-8.4.19.tar.bz2 14825794 SHA256 f744d04a5d9feeea516fa57fea92be5568527bab03a84cf660a06ce90f90dcea SHA512 5006895e1c7d59fc4087549eb9ed6b6f95b2cc33d46b55c93be4f478cacd1bdc733ab285c166ac1d7cc8d7ae5626040858fce4ca98ff323fdb26cdf1ef6aa20c WHIRLPOOL 0daf2a2f9c3576d15ed546479187a87748f62b5f249e97db88927ff2850a640cc4d6a88087aee8c9aa1230aeb2f58cfb63d09d967ae84ffbe17090092bb29aa9
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.0.14.tar.bz2 15154015 SHA256 de42b669cb891fc9b925406e71d1669ed5c856aae6d552ac6f14bf6dec0b79f1 SHA512 a84a6b775d0b71356d40aa26bb4e42eb8c323d55eeeb8f25c365bd68acbdccd7f73d2d8b0efdac8ddc75104f92cb120939a9c0b3e6c8bb4d4e1f366fe72e0b0d WHIRLPOOL a51405499feb002abe84154f34323d2106d41d5a07fbee50dccaa19faac0912af1aea4ce47365dfb0e12c03b0f42efd4ab3bba1cbb8303d267ca8e24d0368e16
+DIST postgresql-9.0.15.tar.bz2 15169745 SHA256 a45acd27d546e425911ecd371247066be5dafd96304e50e0708c84b918c28f9d SHA512 e459a4544d08c79c16da03118633aee0a1847c2d03f8ca938702b0537d0be0f79c3c20b7b1e1813368ad6256cbc1b1206254d9b19b4e7ddff2d883eb3711edde WHIRLPOOL f4de38a96a5d514813cac4ec653b6e7b441076eae44dcd2fd5439714570e1dffd99e8d0b0790377a2ad040de31acd32bcaeb2466411306c7f621a385a972295c
DIST postgresql-9.1.10.tar.bz2 15849107 SHA256 8329bcd160fcb76ee8c79676f6c979a94069ca5c108449fbb365e1ea98f92b77 SHA512 cbd0c4416d552f282248bcd3f53843d28613348a976bd684f88baaf6e1d580b3c2119a0f52fbde2aff6b578ae21bc38b50accae7b9a1c583eddcd05addd8eb25 WHIRLPOOL 12a02c999c8ddb342447c7a971b14b6d114e2babec4eea87a1b880fda31d42a22af818f8dd9b99e450ef3df247660f5d081e77fa06b1cf22dd6cf0eb6bbcdbea
+DIST postgresql-9.1.11.tar.bz2 15861805 SHA256 ccbc35aae1490ee5878b97a6aea48dad7465cdad296b380542e4303b68cc6f74 SHA512 7dbe315db6d7d766da0f1d971e799d11c94d9d8ec507c32f52761c6ae77a2335dfde1af91a8621e84f3166c535b9a3f0c037ae607a2d77ca39cb8ab8cfa126bb WHIRLPOOL c8cff6f521ee038e0122724722b0357f42fb7dcf5dd2e063b1d8919fa6051bcd9305ab4966a3b4041fe8828bc39938103ed7f2ad176b03ece9c6b47078893e5b
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-9.2.5.tar.bz2 16485711 SHA256 22c1edfd6a404bb15fba655863e94f09a10716ded1910a8bc98ee85f413007a4 SHA512 2a31db9e0acdc79ce5d1378d4622333820012005c727af296e434b66c8ac5d6be3f66efd548877cdd299b6e73b36755ed06ed20286ab636cefb8effb21b7065b WHIRLPOOL c9d74e679e3ad99d7d14f5910c0805123a5e743b55697627dced15b6d449e6f34ae42948f5967e3ab333e14f10cc1b5e17cefd3c0595b8941334dfd0d11c19f2
+DIST postgresql-9.2.6.tar.bz2 16491820 SHA256 4ba98053a66e5678af93dbc2956e8b04623f759e174f48940c41f4251cf0f886 SHA512 d19b6634b75da13ba576093977b1123e58138c1caa55c54bec073cd9169f8e4353b41aa2db93f08bbf9167b835bcd890de4b494fde9e5b7f069e5d5f62c0c10b WHIRLPOOL b8c2722fb6ed4e445ec50a1d80f43433bd532ff91be449f2ceb2040bd7b49795534e0fafab106080702f50641736d947482608c4274966105fc0ffe262ab106e
DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc
DIST postgresql-9.3.1.tar.bz2 16877807 SHA256 8ea4a7a92a6f5a79359b02e683ace335c5eb45dffe7f8a681a9ce82470a8a0b8 SHA512 4dd167c2e2e793a52b361d82c36e88214283313f29ed1341fb343f89e4816504bacedf844b368593c3e5eee0e7aa7edce6f3aa55c8fe1f7c252d9b1b11c3e3fc WHIRLPOOL aa4722f6f7523e43e8a4c18216d91161acd8b8d77766a6f6415b0480f311ed0a10881fb64c1cec1c8f569d4aa0f911d3f95e1cfa776d5a25d2dbf4ce8a3c631f
+DIST postgresql-9.3.2.tar.bz2 16878364 SHA256 700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7 SHA512 53f6b2b491d1bff4cddd22387f882be3f96affb656a08a93fc757d117d922d0fe211dba6db0d718ed4eca88ed988eaec8ef3aac079b69da9782b42d658c9396f WHIRLPOOL 8e6366f216d2ddfde4393ce4ac58648060a2cdc7ac2d23a341a25b908025214d7734f57d044a0ecf5773a966e726993b57845328441940a80799f4529b9e0661
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
@@ -19,25 +21,23 @@ DIST postgresql-patches-9.3-r1.tbz2 4488 SHA256 41e31bb02fa54f33e1248031841112d4
EBUILD postgresql-base-8.4.17-r1.ebuild 4382 SHA256 36cf0a7ecff84c8decdb63ef8f1f14c15243ac2763b51ab96f0cc0ea6882a0c8 SHA512 363b931b261fd51fbd85ce37f8cba428fe9c486ede7bbd7da90f11e752864c7c6b8475900829d7b379664d9a80ae634c5d890b027e4553e4fa711a831d6a2792 WHIRLPOOL 04d9896b2364ff347309bbba64728747fd4c178cf9d2b1e2b4448e23bbdf32579c008423f21e34fa174d2b16cb4496441eb5ea882d66a9ea4c9bbc986bb567f8
EBUILD postgresql-base-8.4.17.ebuild 4334 SHA256 c21a974e20b017d46d9e266b055d3de6510df14c7f4add514616ed780398e886 SHA512 8ef71b48589e69b11d960ee7e3f947845c8bacc75d7c9e63811fccd48b0477017bca549b49ae93bbb586b24c2467b4ce576e13f9f1c14591ae17cc6ec28f9f80 WHIRLPOOL 371b2acb5bae9d139e9aa45a5c2a952a89734a71c496df92906ad216b5b75963c7481c58f52ebf893dbbbe7fb1afbd85741f6c1d35ad70d2fa9442cb4fbec305
EBUILD postgresql-base-8.4.18.ebuild 4383 SHA256 9dee6c088eb5d82bffe6f373943c34f123775c5fb7090ae9ed5d0c65d4783a94 SHA512 eacb4a5bb0e8fc5733e2d93a4df3a5b635c43d6acb4373d68ff107f2107276b7e1f59a6647c1f09d57203aa65043f414486ef26ee7dcf022181ce702f26b3722 WHIRLPOOL 4f2bdf8ea04ca2f482434fc00f24720a8f91662df74960f55a279343dbd681e34ecad31a59fd5c09acea847873854ff7d0090208b9e14028087504a4d571ddd8
+EBUILD postgresql-base-8.4.19.ebuild 4383 SHA256 9405c5bea6447498cad1bd32d42865ce2f385140c20dd1e5ddf3265b646383e8 SHA512 338c2948bc09b9dd08465026cba614c52f88a76247abea077587a80596fc678a80712f3c77a6e0316e56652cd8bf4df5fd504946589efe07e46324ee7095cbfe WHIRLPOOL d6be6fdd100745378f0dfef9908acc6f35288d967c59c4175ad0f7ca1da5ee23dcbbc57e6edea6221803f50a76bf0427315991d374d6c895ce8f214db47b7462
EBUILD postgresql-base-9.0.13-r1.ebuild 4548 SHA256 7dbd6373a5da7a2ce2a5af5168f2e66c176c43e1f706f532fedcb7a9b2595ad3 SHA512 86860a5c07fbf014acb9304e9fa520609d0053667cfb8e5933fc0d135f26e51755eda1044a42050e9570cfe32bc8665514f995138b4b9642a54a0978c0f50f5a WHIRLPOOL 04c10831835bc77972a62d9ab630e756412cad640a0a73b0664b473b0ade82ad937410b85a4465be192451c1e48e6c775aeb5f043497185b8dec81cb96e4b087
EBUILD postgresql-base-9.0.13.ebuild 4488 SHA256 f96e7e8811e61a5efb73022501e95f5cfaf9699d1fccb915dce7471b0182f0ae SHA512 f7d1a58023570f450d4c2192a004b14b047b13426f94576cb157bb1066978c16760e0e93c51150e0f3f4074b56d5cff577981daaaf59e12e5260b3470dd9340a WHIRLPOOL efcb81985d2d0bebe2102569366c582796a74403d8d82b516156c6fc463a4a07e72c7f7dcf220ae6647d22da6e88b5806996e1e7c04c7d2d69e63a24df182214
EBUILD postgresql-base-9.0.14.ebuild 4549 SHA256 3a3ac93ae537266752a555f22c61fb58be81f4a12e5cfd39a4af2539cb37bcd1 SHA512 aafa7e920b6fbd4ce79c5b64949afce8a02206aac35f6344401fcdc4f8b2a3d75e74a07cdaa94efe2d24704f8a09a820a728a8af51c3eebd0d645dc9914beb75 WHIRLPOOL b8f73af00ae944140a2024412a329d8baeee2639e62afc2652c2774bbc7612feffb154bd8f3fce7ec9400da6e44ee47f1fe1f000968eddbf6cbeb756db4556bf
+EBUILD postgresql-base-9.0.15.ebuild 4549 SHA256 4ba51f788e75b75e38e0fbbfc8083234fcf4f0fb2e111ec3c99db991437869e8 SHA512 c9ace0bfd95a9e6689a689c8266a8749cded9ebe0cdd9bd1dcc0da9ebc8f49cc2cd151b0fadc7e0a805b536d20fcb207c0476954f8e264a49c27d1ae1bd2a4b8 WHIRLPOOL ca984322c6d8336d4f9f93e46183ea31d5fe82ae03c62cc1c9fd02eb1b182ee59894118cbb05c267653f961b27cdd71ad24f2ef50e4f2476113cad564585b413
EBUILD postgresql-base-9.1.10.ebuild 4560 SHA256 34c56a0c890d1c8b7a48c67020733b689beca8735c75473641ae8454b355a2c8 SHA512 2f6b7141d238c9624d5361310517681a4cc7f3bfd034e9a251a2eefa9df777d3a2246f5af331cdcaef1267a008beb5b55fe7ad1a9de4d929c2ca15816d305978 WHIRLPOOL f93fce8f4f2454737bd6945e7b33e3f0e691bffed7fcc7b686f382e949e8395278317ca72045f5f95a97fca70bafc7578527e55974a721fb7d9eabb9210f98cd
+EBUILD postgresql-base-9.1.11.ebuild 4560 SHA256 e17c99be99e1d70a8c5295e32cabbec69378633e8064fa23a6bb9ef4631573ce SHA512 2b7fa1b43974dc9f762c77655500f06f837c498b95469dcb2f49fc2c4c0fc958f9627d518daad9230c05be8e5ccfe5f25b5c4b1c2954e49325309e7ceaa3e226 WHIRLPOOL e8ef5bfc88a2579cdb43b7865688b89a7650e3d38697c6af4416094046b99e57fe437313837d34b4dcf15a8ffedc4858e99f87bb0fe54a90cda20a87d80a75a4
EBUILD postgresql-base-9.1.9-r1.ebuild 4558 SHA256 ac8ce664853b20449e9becc77efcba473641df894ccb64052eb3c064d16228db SHA512 fbb8dd295991262cfdb4fe5e2ca31d007f3e0cb9ddc9093c22a6e7ece3f7ebee0bbede9478612ae1cd87f314394bb9910e8ae4f22fb47375c1afd8169a4ae9df WHIRLPOOL dc2d680e8915a619aa5c9d2ab8002c643bdf0d7eb0b1290a8104cc79625ae5a56c64050222cff73a4f6420f76a4ef2a6d6cae02b71ea17f96f8582f965cf72c4
EBUILD postgresql-base-9.1.9.ebuild 4501 SHA256 e2bf6172c79c51a35ddbee9a147f19b1ecf4cb03298f230258b010fe5ce07cf3 SHA512 e15bb245a55dc0d7e40557aa03cefe6e2503f5401066302bfce8f0cd0a4488e12bede408945333b05c04035b45bbd267569173cc95c1b1233f0e52c5665a6ed0 WHIRLPOOL 1a203a9e1bfcdda996ea2966087436ae3210ed287bd640ab058e0de1ffc4222bd075e874af02b94006fc5e0e318c84f55c719132729dec7a5dccf41a22908678
EBUILD postgresql-base-9.2.4-r1.ebuild 4403 SHA256 6c838d2dba8a49458d3af5a2791d79deeee25870ff05add1fe42ee803274f20a SHA512 e539f13d31a70262b84fc4a7c1d01c787b069431fa2d983d3361900ebadeab4f69fcd2d5f9f0380e416fa88aaaf633ada43aee05dd89830331941aec28aa0319 WHIRLPOOL 89bbc57ff1740ede1a1b9d505c7c51941c0cfd160d95da112eb473ceb63d3c4529ca801820992db556d7dfd05f6d7044dd50e682556865f4a46654e69d64352f
EBUILD postgresql-base-9.2.4.ebuild 4747 SHA256 05f88149f5b2f26ffa84849b75a80a01412ef29a7bd2d29ce64530e0a235432c SHA512 2df5de70a2b6776f83ae0311490fb66ca0200f6329475acea74d857e00f218ef939a3b1b89d20c0459880c048a834c6efc802fe087414b5caf1016616a1268d1 WHIRLPOOL 8c85d9563b67f662ffce15fabed4dbc3a392bb0d5a06123d3794adba7ca932000f518736f5574c849d902684e32fd14f58b0e2fe685d52a799b539357a4e3f0c
EBUILD postgresql-base-9.2.5.ebuild 4404 SHA256 6ea92d4f02b23f5241cf08d9f0eb37e2753224d9c693dc4ed3e4254e463ffb75 SHA512 1d53ae0fb4657be80b9f27410756db83525dda93c7a0ade55dbd878d1eabdc7d23f381bce6b29f0cf6464420875fe96cb6b33ae15e6def8627e5ea62df0a5d51 WHIRLPOOL 48f3b80c51e4d4e3397dbd6afec7b118b415757317dd5d4c6c47cf6cfbe5f5b637cf9d4258fd5b09121a96de63fbb7b80d5c3167140f8fdae46c0b44fe2a773b
+EBUILD postgresql-base-9.2.6.ebuild 4404 SHA256 129724a2f82e185d1f15e442bccd8b330806beb9070554d5ecf6bc3d035a0da3 SHA512 bee7ccf718be08787d8483949ea739d4500afd52c58e1131e2dc97eb54ac03a1b25ee1c43fed22086c1765410e882bafac6ba2e90fa3a1c674d7513804379ab8 WHIRLPOOL 1e39c1f1f3c73b962047c80f6ff3009293bc8c3e68bfdb643ca884f8756dadc3f386c4e907e6b8b36d2f05adf7ad4b4629d9b7eb22f9455354252c2e6cb5227b
EBUILD postgresql-base-9.3.0-r1.ebuild 4444 SHA256 f7ca054c273281e46cbf6b3f4fc85d2eadb79b502fe612b9117bef8db144af97 SHA512 1c76a5c7ac347dbdf93ca3187275515723777095baf502bf498363d173fc5e049ed5d5d08747e10820ac792536aa51964ce08f514b23ed83b1fffe21a70e71c6 WHIRLPOOL 97cab7405e82ca0b87e269a42823d1fe23b58e2644726711dff080c29b79220e6c02dd8d5a2857668325d720ec399d082dc3f87cf85f69f89919050bdd0f4745
EBUILD postgresql-base-9.3.0.ebuild 4650 SHA256 909cb3ae3d4c780c49b79bec27ccfe219e3f4a58a8cbf3178592706663331264 SHA512 0c311a1084b9b246cbf73f0547fd01f499905389fd2f4fb15f517993a3323bb8d6b3d2be1e8b031de8e0af320fc438444a2ca219d33102890e372111f20d2d89 WHIRLPOOL 32c212bb83a88689e0bb73213d8105aa8f6091e472fcffa8d43fd587c482ab69b353ad670c00e210798b267e8a4ab77fa9062cee2ebdddc9f5bbee0e98a99fa7
EBUILD postgresql-base-9.3.1.ebuild 4438 SHA256 dd67e647e49e114dc344b23fd53db4944d1ab68ed61c113e493a14d832690af8 SHA512 f419b775f8d8530a0a1904388f16aa6f6d0e115c036324514886bc47c79e36db6d487ec03fcb5ae9fc00e9219922b7d1394e3345f54e6c07200985f820d6b142 WHIRLPOOL e5174c9e6e73e420c41606063019909db62be1d69f99e2831f9717ef499d59e6f5b0d99bf77554d09d07074041cd441470231c27f9d11e17eac08d476fd76686
+EBUILD postgresql-base-9.3.2.ebuild 4438 SHA256 2f14f6773b1824549152fc2daf98fbd2ab203f1676c31323bdf2397ef522f6f9 SHA512 f85b5279a6493159b7f347b07a70d0381db3efe548dce71f45da7f2c6596b8a01d24eabdbfb553eeb2d795e9f53479bebd9d82411b754b945da9011643f18b9f WHIRLPOOL fde7e7c920322835dfeaf792137e8398be974d5e2307ba20ba97a47dc90a430773ec6e07e8b96098e33bee4c965a640322487a913c1cf2de69bf3299840ef2d5
EBUILD postgresql-base-9999.ebuild 4554 SHA256 3235a7289749debcc0717a36da9f828a3d46aa79410286f2a4d7cdcf6942765c SHA512 4b26149bc6d9bd7b9835e34f82f6e7ed6fc03a8f2654f20d71c7cda89fd4ad157fc1b0a1444b656ac61dcd20adec16876d1b9c69642c1d0ae4944d21800d229e WHIRLPOOL 636a5f662528768e83c318778b763dbee3b7436bf294542829f826072d756124caba2bc437bb0a586f6858dcc3af26adb8525cb5597380e69e1285088a34a519
-MISC ChangeLog 65348 SHA256 a4d094268d1d39efa4c9d682be9073d1402e37f213f0b718decd37c0e7bfca4b SHA512 9aa7d5d18cbc01f011652f592e77c52fde12172ca9f3e1786b35fc562af62fcc8d31e05ca523dde8c232c60562886cb1f28c9edafa4d1adf63b97d98e2dc1c53 WHIRLPOOL 969ec57c6db52dc015978f1553ef7d370dc26b3064de2f89d338ddd0aedb15e0097848d21bc42248050252e62ccaf1688edb2e81d3287e1d79108e82b4fcbf12
+MISC ChangeLog 65760 SHA256 44b05dbc92d504978258b3c428bc21c8436fbb431bd97b4d5580ed80a59e501e SHA512 df90d033773a789c0dad84f0e9afee0e2940814a05c14336f7053dc0b4de470f16a7c01e1e52218e13a3f2a17e02b7a994b1e4c23e49a0597669fdf8bf8a7540 WHIRLPOOL ee9a713dd7570b98d833ade602b4f4dea02aa6b0fe5a543673ef6e617642b7acd35f3949f3c7cf68a74a4384fafabbf873ee129dbd3df41e406f80da7abc38b8
MISC metadata.xml 319 SHA256 8ce157b48f2da128f1b40b0d59c3c06e51ba71173689ff7a86c4429a7055c471 SHA512 248b60da17006a89acb1d8b6f62f59e4d414421422d2d4445bc7efc4f0abf13d048fe52c09af6b3e10a7afad341a5edb0e8d48b9ec2ead5f84b40f4016448cf9 WHIRLPOOL d1cf97f5d676ef43d677cebf8f9c97f6823c1c7b31e1a40a6f22729771a6bdcc851ac7c27ace768509307f4d0774384805cf4125541acd7a785d48117c0d5e07
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
-
-iEYEAREIAAYFAlKYzQkACgkQkKaRLQcq0GL4mgCcD4xOM61/V/sClljL4N5kLpx1
-BZcAn2bEFeYvnGPhaqO9CcjtKjOlD4VI
-=dJCI
------END PGP SIGNATURE-----
diff --git a/dev-db/postgresql-base/postgresql-base-8.4.19.ebuild b/dev-db/postgresql-base/postgresql-base-8.4.19.ebuild
new file mode 100644
index 000000000000..9567e1f0cc3e
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-8.4.19.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-8.4.19.ebuild,v 1.1 2013/12/06 07:39:40 patrick Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{5,6,7} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils multilib prefix python-single-r1 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"
+
+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.4-r3.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 python 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.2.0
+sys-apps/less
+virtual/libintl
+kerberos? ( virtual/krb5 )
+ldap? ( net-nds/openldap )
+pam? ( virtual/pam )
+python? ( ${PYTHON_DEPS} )
+readline? ( >=sys-libs/readline-4.1 )
+ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+zlib? ( >=sys-libs/zlib-1.1.3 )
+"
+
+DEPEND="${RDEPEND}
+!!<sys-apps/sandbox-2.0
+>=sys-devel/bison-1.875
+sys-devel/flex
+nls? ( sys-devel/gettext )
+"
+
+PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
+ "${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \
+ "${WORKDIR}/SuperH.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() {
+ export LDFLAGS_SL="${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 \
+ $(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 python) \
+ $(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
+
+ 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/{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.0.15.ebuild b/dev-db/postgresql-base/postgresql-base-9.0.15.ebuild
new file mode 100644
index 000000000000..5bfac7890393
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-9.0.15.ebuild
@@ -0,0 +1,168 @@
+# 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.15.ebuild,v 1.1 2013/12/06 07:39:40 patrick Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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 python 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
+sys-apps/less
+virtual/libintl
+kerberos? ( virtual/krb5 )
+ldap? ( net-nds/openldap )
+pam? ( virtual/pam )
+python? ( ${PYTHON_DEPS} )
+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} )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+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 \
+ $(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 python) \
+ $(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.11.ebuild b/dev-db/postgresql-base/postgresql-base-9.1.11.ebuild
new file mode 100644
index 000000000000..808d93f9805f
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-9.1.11.ebuild
@@ -0,0 +1,171 @@
+# 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.11.ebuild,v 1.1 2013/12/06 07:39:40 patrick Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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 python 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.2.0
+sys-apps/less
+virtual/libintl
+kerberos? ( virtual/krb5 )
+ldap? ( net-nds/openldap )
+pam? ( virtual/pam )
+python? ( ${PYTHON_DEPS} )
+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} )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+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 \
+ $(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 python) \
+ $(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.6.ebuild b/dev-db/postgresql-base/postgresql-base-9.2.6.ebuild
new file mode 100644
index 000000000000..a5c9d91a7e6e
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-9.2.6.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.2.6.ebuild,v 1.1 2013/12/06 07:39:40 patrick Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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}"
+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 python 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.2.0
+sys-apps/less
+virtual/libintl
+kerberos? ( virtual/krb5 )
+ldap? ( net-nds/openldap )
+pam? ( virtual/pam )
+python? ( ${PYTHON_DEPS} )
+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} )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+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 \
+ $(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 python) \
+ $(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-9.3.2.ebuild b/dev-db/postgresql-base/postgresql-base-9.3.2.ebuild
new file mode 100644
index 000000000000..61d7f2941e2e
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-9.3.2.ebuild
@@ -0,0 +1,168 @@
+# 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.3.2.ebuild,v 1.1 2013/12/06 07:39:40 patrick Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.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 python 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.2.0
+sys-apps/less
+virtual/libintl
+kerberos? ( virtual/krb5 )
+ldap? ( net-nds/openldap )
+pam? ( virtual/pam )
+python? ( ${PYTHON_DEPS} )
+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} )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ epatch "${WORKDIR}/autoconf.patch" \
+ "${WORKDIR}/base.patch" \
+ "${WORKDIR}/bool.patch" \
+ "${WORKDIR}/run-dir.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 \
+ $(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 python) \
+ $(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-docs/ChangeLog b/dev-db/postgresql-docs/ChangeLog
index 919c6b3e4566..ec82c339eecd 100644
--- a/dev-db/postgresql-docs/ChangeLog
+++ b/dev-db/postgresql-docs/ChangeLog
@@ -1,6 +1,18 @@
# 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.213 2013/10/11 08:58:21 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.214 2013/12/06 07:41:20 patrick Exp $
+
+*postgresql-docs-9.0.15 (06 Dec 2013)
+*postgresql-docs-9.1.11 (06 Dec 2013)
+*postgresql-docs-9.3.2 (06 Dec 2013)
+*postgresql-docs-8.4.19 (06 Dec 2013)
+*postgresql-docs-9.2.6 (06 Dec 2013)
+
+ 06 Dec 2013; Patrick Lauer <patrick@gentoo.org>
+ +postgresql-docs-8.4.19.ebuild, +postgresql-docs-9.0.15.ebuild,
+ +postgresql-docs-9.1.11.ebuild, +postgresql-docs-9.2.6.ebuild,
+ +postgresql-docs-9.3.2.ebuild:
+ Bump
*postgresql-docs-9.1.10 (11 Oct 2013)
*postgresql-docs-9.0.14 (11 Oct 2013)
diff --git a/dev-db/postgresql-docs/Manifest b/dev-db/postgresql-docs/Manifest
index 10ba0665721a..d81839676efc 100644
--- a/dev-db/postgresql-docs/Manifest
+++ b/dev-db/postgresql-docs/Manifest
@@ -1,22 +1,32 @@
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-8.4.18.tar.bz2 14819294 SHA256 c08e5e93dac9d484019a07ff91db9f224350b90ef4be1543e33282cc20daf872 SHA512 f4c51d9286b3a91e613dfaf4654cf98455de51470900c0da365536d96132eec35e26ea673fd898e594e5994db2ac1cdb2ba8b86ef24550fa8ff6c65e0b9800d8 WHIRLPOOL 743e9b18b101dd15020184edd53684f3a28189d2a73cb44258ab56c77597785cb33a757839848769f3a3907932f709db26ed91e2bd4eb7fecbdff5c10b84e763
+DIST postgresql-8.4.19.tar.bz2 14825794 SHA256 f744d04a5d9feeea516fa57fea92be5568527bab03a84cf660a06ce90f90dcea SHA512 5006895e1c7d59fc4087549eb9ed6b6f95b2cc33d46b55c93be4f478cacd1bdc733ab285c166ac1d7cc8d7ae5626040858fce4ca98ff323fdb26cdf1ef6aa20c WHIRLPOOL 0daf2a2f9c3576d15ed546479187a87748f62b5f249e97db88927ff2850a640cc4d6a88087aee8c9aa1230aeb2f58cfb63d09d967ae84ffbe17090092bb29aa9
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.0.14.tar.bz2 15154015 SHA256 de42b669cb891fc9b925406e71d1669ed5c856aae6d552ac6f14bf6dec0b79f1 SHA512 a84a6b775d0b71356d40aa26bb4e42eb8c323d55eeeb8f25c365bd68acbdccd7f73d2d8b0efdac8ddc75104f92cb120939a9c0b3e6c8bb4d4e1f366fe72e0b0d WHIRLPOOL a51405499feb002abe84154f34323d2106d41d5a07fbee50dccaa19faac0912af1aea4ce47365dfb0e12c03b0f42efd4ab3bba1cbb8303d267ca8e24d0368e16
+DIST postgresql-9.0.15.tar.bz2 15169745 SHA256 a45acd27d546e425911ecd371247066be5dafd96304e50e0708c84b918c28f9d SHA512 e459a4544d08c79c16da03118633aee0a1847c2d03f8ca938702b0537d0be0f79c3c20b7b1e1813368ad6256cbc1b1206254d9b19b4e7ddff2d883eb3711edde WHIRLPOOL f4de38a96a5d514813cac4ec653b6e7b441076eae44dcd2fd5439714570e1dffd99e8d0b0790377a2ad040de31acd32bcaeb2466411306c7f621a385a972295c
DIST postgresql-9.1.10.tar.bz2 15849107 SHA256 8329bcd160fcb76ee8c79676f6c979a94069ca5c108449fbb365e1ea98f92b77 SHA512 cbd0c4416d552f282248bcd3f53843d28613348a976bd684f88baaf6e1d580b3c2119a0f52fbde2aff6b578ae21bc38b50accae7b9a1c583eddcd05addd8eb25 WHIRLPOOL 12a02c999c8ddb342447c7a971b14b6d114e2babec4eea87a1b880fda31d42a22af818f8dd9b99e450ef3df247660f5d081e77fa06b1cf22dd6cf0eb6bbcdbea
+DIST postgresql-9.1.11.tar.bz2 15861805 SHA256 ccbc35aae1490ee5878b97a6aea48dad7465cdad296b380542e4303b68cc6f74 SHA512 7dbe315db6d7d766da0f1d971e799d11c94d9d8ec507c32f52761c6ae77a2335dfde1af91a8621e84f3166c535b9a3f0c037ae607a2d77ca39cb8ab8cfa126bb WHIRLPOOL c8cff6f521ee038e0122724722b0357f42fb7dcf5dd2e063b1d8919fa6051bcd9305ab4966a3b4041fe8828bc39938103ed7f2ad176b03ece9c6b47078893e5b
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-9.2.5.tar.bz2 16485711 SHA256 22c1edfd6a404bb15fba655863e94f09a10716ded1910a8bc98ee85f413007a4 SHA512 2a31db9e0acdc79ce5d1378d4622333820012005c727af296e434b66c8ac5d6be3f66efd548877cdd299b6e73b36755ed06ed20286ab636cefb8effb21b7065b WHIRLPOOL c9d74e679e3ad99d7d14f5910c0805123a5e743b55697627dced15b6d449e6f34ae42948f5967e3ab333e14f10cc1b5e17cefd3c0595b8941334dfd0d11c19f2
+DIST postgresql-9.2.6.tar.bz2 16491820 SHA256 4ba98053a66e5678af93dbc2956e8b04623f759e174f48940c41f4251cf0f886 SHA512 d19b6634b75da13ba576093977b1123e58138c1caa55c54bec073cd9169f8e4353b41aa2db93f08bbf9167b835bcd890de4b494fde9e5b7f069e5d5f62c0c10b WHIRLPOOL b8c2722fb6ed4e445ec50a1d80f43433bd532ff91be449f2ceb2040bd7b49795534e0fafab106080702f50641736d947482608c4274966105fc0ffe262ab106e
DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc
DIST postgresql-9.3.1.tar.bz2 16877807 SHA256 8ea4a7a92a6f5a79359b02e683ace335c5eb45dffe7f8a681a9ce82470a8a0b8 SHA512 4dd167c2e2e793a52b361d82c36e88214283313f29ed1341fb343f89e4816504bacedf844b368593c3e5eee0e7aa7edce6f3aa55c8fe1f7c252d9b1b11c3e3fc WHIRLPOOL aa4722f6f7523e43e8a4c18216d91161acd8b8d77766a6f6415b0480f311ed0a10881fb64c1cec1c8f569d4aa0f911d3f95e1cfa776d5a25d2dbf4ce8a3c631f
+DIST postgresql-9.3.2.tar.bz2 16878364 SHA256 700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7 SHA512 53f6b2b491d1bff4cddd22387f882be3f96affb656a08a93fc757d117d922d0fe211dba6db0d718ed4eca88ed988eaec8ef3aac079b69da9782b42d658c9396f WHIRLPOOL 8e6366f216d2ddfde4393ce4ac58648060a2cdc7ac2d23a341a25b908025214d7734f57d044a0ecf5773a966e726993b57845328441940a80799f4529b9e0661
EBUILD postgresql-docs-8.4.17.ebuild 1302 SHA256 814b2657151bb2c39d53710eb363fd95447e27a87cac8681a04c7a78e0a300c6 SHA512 bca6ca8c733948f942338f9892577a5376f07bf8b105e85df0139dc8eeb69ccaf5db65ebb5097c893627dddd2170dcf217198918451efcf737f626103e5099bc WHIRLPOOL ff983f1004b1510c8928af66b3a8eab9037a2b843c32ca82b45cbd9b73c76df5c3060480d520c5535d1efc6ebf1cdca59fe877e234e3edccd338feb44796b945
EBUILD postgresql-docs-8.4.18.ebuild 1316 SHA256 8644a37384c07401e836cd3f0f0dd6f331be097e7cd8f2703a05e626f6af9354 SHA512 b29a7aa4d1482927afd821ed8e8c0a65ef794fd1b1ae3770c0adb0e189fd48e40e48b45227cecb7d32c8c0b8729ad2db9dc719232b4dcb1551fe445c962e53c0 WHIRLPOOL b3fa0f5878d0b2bed440dba9fe76c0e6ff2d10d0082aad9f02fd83f3deae94ba05e08f656f7d2d40290be67c73b1ad6bb6271c94d8870f6c244310534439dd3d
+EBUILD postgresql-docs-8.4.19.ebuild 1316 SHA256 eb70aa746a106369e83464475039dce42865eda1a9bde71ec3e10d1cab87721d SHA512 2ce986e6420b3fbfde41e20c6ebdbb04d52536cfedd6479dc8db9a63e4b3c888a4d0f2f88af93b7b0bd57071e176c6c54640d4a710b6cd979ba366bb9868ac9c WHIRLPOOL d36382cc818ba770df073ef41ed8f8ae4fa2b376ab1612b7a5394423640782cb663a9db43c78db1f7169e0596e8a6aad0f17f4e1a5d3686f18c978db098322a7
EBUILD postgresql-docs-9.0.13.ebuild 1291 SHA256 5bf257362294608e2aa3119f8ef46f5deb44037846dab366f6ac5e1101af0f7a SHA512 961da5787cf3dc3d8828df274b61fc90feba0e94888364abca4b57d81215f083178192ebc4a77df2b9bc98c4b69b5ea5e1382814fd0ee9466ec2b7051d813d46 WHIRLPOOL f272cdf386b8b891498dd51790dabd26a3549ea4bde5332f3bd9c487df773564cdb516cba92be46ac37d1ccfc4c096c9c76e56f7d0c5c05d0992c2ea7343b824
EBUILD postgresql-docs-9.0.14.ebuild 1305 SHA256 71f60a0441c6522204553775eeedc55420782809cbae2a8a4a061b4c9d7f8276 SHA512 bf2b2c410788470c4d4398502cb587cb570fd6adb727e7aba4e636b2cff03987c90dbdc90a890f01d4e72eaedcad5f1006a54efa7d74b10c76b05e86abc50258 WHIRLPOOL 1d22fe64b0bf65ec6d2a00106dd7b6c093c98d6a4a919454bfb7afc49c74c8300750a36a0b468f3f5e6103212045edb81f39084cd78156244e7cfd9f3536a379
+EBUILD postgresql-docs-9.0.15.ebuild 1305 SHA256 82727ec5b75f59f7f57b5e960ff371d74c1145d8e4a947c8304161c789f14630 SHA512 84d51139fb66757210172f04a86a766dd4417d4a9085d33e8301ccf773c2638c6e56060c72563d14f2f3430cd24e361d448496767a748b1aa88aa14260d2ef9b WHIRLPOOL ee8178aebfe11d4b1ff9e6cb6e2de236422912444078cec1c87017a874967e04f1f2af05b7956b4d5f7343716e254ebcdfd7afa9ac4cdbd1c7008cb9949e896f
EBUILD postgresql-docs-9.1.10.ebuild 1319 SHA256 12bf9344cbd5e2b812851fc420e43cc1bcccd161fdc1a6401a215e5b771c834b SHA512 3d2111931379177709b8a522c486d4a9031d81446810705edc092aa64f583cbe67ff97bb9ed293c258ffbb5a829141bacac14c1800c17ac62016b560b0fb0be1 WHIRLPOOL fc5a8b88cc49d74ae82db60e74eac48511cb4758c5b7e4dd5d15a74e3c08cf6e2e747f130e4c84cd258022cb698259bb91ec854e6deda2ace9095e634752efea
+EBUILD postgresql-docs-9.1.11.ebuild 1319 SHA256 559f8a29816b313512120a2ac3d386ad1d6d1625813c9dcd217bc4ddf4a7d5d0 SHA512 e50ce4a60130bbd9c7e60072a8839e3c990321c1d2a82ce4b6a1794daa8efcaf97ae9739758ae4607db7a11e13f4269e87a1ce3e0be5ceb7dff2b6dc4e03b566 WHIRLPOOL 405ede1236911877758368a4a264647b68125b65e672892996f9fe9e2a24a7dc72109038218afe091b0d338f6fdee1781875e82954e66c60d5728cf640a434ad
EBUILD postgresql-docs-9.1.9.ebuild 1304 SHA256 0a05f6cd471739bb2f94fe6b45d88afe5029f45158c19cb2b5fdf67691e1d227 SHA512 1f5e4e7c6911314adc2e5866d1bd6d5ac1f755c10d08879482da6ba248e12b856d0ae19c2145311a5d38567bbc270c9c48cf1bd72a6bfcd96c14b242ca73111e WHIRLPOOL 3201113ef2d1f9a973948edbe51165c8bb60e0ca48250b3796415d1b87ba6a0ec11f7236c74e568c868dbc3c504c8990a00550e9a8fc42557b7a9a2153160b22
EBUILD postgresql-docs-9.2.4.ebuild 1616 SHA256 35095425ca8e94764af36b89437221d77bafcf7c8e9c5bd362e24a6977dddf92 SHA512 07b733ceababaa830a5472392e83b7f8a762fa52e8d8816dc917fa7ec676e21a83338c5c706b2fee665a4ad59fada9fb311be7ac7f5b6ddd55fda58750cbbd8f WHIRLPOOL e86b283008e593c121ffde21120985d5be6f717da3865f7f1203928c5985d914f6bb3726054755e04c3393333f7c9fd3efc6deb6357da274c5ad0aa123b45a9e
EBUILD postgresql-docs-9.2.5.ebuild 1630 SHA256 9c168aa9579eb653061ed9253a01d727def7079035849b40591216184c68de38 SHA512 1d6a1186656904d1232a49c0de99ec21f103a91d0832d920089161abfc83c8cf51319880ca6e2a6c1d1e2d1b4060115bfd59a25332baecce8ff50211b66716ef WHIRLPOOL 52d5eccd294f0eb1d9c7dbdde363757e12ffa716aa230f914aed0b3629895187d004fef8a64a32197dff9554cff6555cc03f61550c0f3d01d6b3439b3231bf71
+EBUILD postgresql-docs-9.2.6.ebuild 1630 SHA256 012a71c9ad19f926c6e0509e086eb1388168e328e0e3f534c4f961558615cd6a SHA512 94fb85181896d58724eb3beef051a1fe89bad9f91f79ef418507057302cf3825fac9dd173ab4303d8f9572b0afeddd9c19180798dd045eb54400990e86eab22e WHIRLPOOL 787a598b5befede50d0e7b579096085934490d32aa9e26b483b642a864d8cc2bc5c8394b5eb2ec9467984467ccad50ea943bb8f723d02bda2e6777d5145c1801
EBUILD postgresql-docs-9.3.0.ebuild 1630 SHA256 3f87bc12ba353fcabe5144ab75b77dc32c20071ca6832e67e8a39362bfd29f1e SHA512 1ac42e809027fc5ece085404e69cff0e36b439841cfd79211281d243497ca07483f9c31d5d1f0792356db7166e489081a7aefdcace75005db480b89d56ef7362 WHIRLPOOL 28a4a778b968f94bb95cdd74b8434b7cccca9358ea4172cd6db2bd10a204ca178d1ea65538565db4ea0fa3e839a118e77e4714f12cb28fb4ddee8da904b340e1
EBUILD postgresql-docs-9.3.1.ebuild 1630 SHA256 2888c7e7c8f85b3401f1d7a27dcbe8538eaacd71470b12fd3dee9ce8cff17bb1 SHA512 91194240959dca39043bacfa737551ab986c84f75de991ce574c11bb381330e17c222528e9ca47d8568a7dec5d89dbdba1ebf4ffd3a0abb474d1a34127d5a186 WHIRLPOOL d727c8a28e426bc4444c88bf0243ff62f77006e2301713662a8c52e25e24034a87be114d4552da4802dfb944e87ed9184ab46c7ef78b63d59874b7b9398808ea
-MISC ChangeLog 46566 SHA256 f15afa19d804f45f30e0ca591ef22f19c9f18b51c31b6f963c143ff4440b3574 SHA512 5a3ec2c18f95ada84b1cfebcc787f2f44cf451563715cf8454da763e75b2edd9a338d33ac115c2baae398c213c3a92df52e83f9c07d71bb8a2b32e1fb45485d0 WHIRLPOOL 9fd4b4002267a16b843270312da0710bdad91b5915a4f5ea2b882b7a1125570c12b961190af58d3c55c4bd7d5a9f4521326b612f3b46de34ddb06e54e0cb0e64
+EBUILD postgresql-docs-9.3.2.ebuild 1630 SHA256 b35bc71cf878e9ae8937b96e4452d86dc8a657b17dd96551e87ed129564fe46d SHA512 93bff586ae664a44ccc2c2b43fe5f917259e1c93e7f07caf2ed0f7e94a8b06d2044a452fa8435ef75033e191f5a4942fd0afc8c3844a3caa8ac64a9deff4c17a WHIRLPOOL 4d77d76db0d53c07c6d51b48b099ff8cb4d7bdb2570ef1c24981d666cbf0114e0c19e6b96cef8a788c2d730299c031cae2243a0af2200e289f7d2cab3bfb788a
+MISC ChangeLog 46977 SHA256 343e7cc81ef04cae57316215c4c28222071ffd85f4990a7e96932f5a56473044 SHA512 a3676fb4e7db8a2360fc5bb0db367dc62fb36bbb0f2c5c808f3c89d06ea38bd6e545fafcebbc8f68f8b9990aa24211c80cfdf2e19d17c38f3903415138e5656b WHIRLPOOL cb5f50252447fcc48096e1f3939ad5e202f6c2d6cc975a431a53046b829d38173c73685c52ec20d960fe05ca718c089f9cde6f2068f2a1f5d4ad11bae70d1501
MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa
diff --git a/dev-db/postgresql-docs/postgresql-docs-8.4.19.ebuild b/dev-db/postgresql-docs/postgresql-docs-8.4.19.ebuild
new file mode 100644
index 000000000000..43b096585f67
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-8.4.19.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-8.4.19.ebuild,v 1.1 2013/12/06 07:41:20 patrick Exp $
+
+EAPI="4"
+
+inherit versionator
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+
+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"
+
+ dodir ${mypath}/html
+ tar -zxf "postgres.tar.gz" -C "${ED}${mypath}/html" || die
+
+ 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.0.15.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.0.15.ebuild
new file mode 100644
index 000000000000..ac8fe29c44a1
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-9.0.15.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.15.ebuild,v 1.1 2013/12/06 07:41:20 patrick 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.11.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.1.11.ebuild
new file mode 100644
index 000000000000..b12659824102
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-9.1.11.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.11.ebuild,v 1.1 2013/12/06 07:41:20 patrick 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.6.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.2.6.ebuild
new file mode 100644
index 000000000000..205366539235
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-9.2.6.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.6.ebuild,v 1.1 2013/12/06 07:41:20 patrick 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-docs/postgresql-docs-9.3.2.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.3.2.ebuild
new file mode 100644
index 000000000000..adc93b974949
--- /dev/null
+++ b/dev-db/postgresql-docs/postgresql-docs-9.3.2.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.3.2.ebuild,v 1.1 2013/12/06 07:41:20 patrick 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 efef92b4e1ca..f701960184a3 100644
--- a/dev-db/postgresql-server/ChangeLog
+++ b/dev-db/postgresql-server/ChangeLog
@@ -1,6 +1,18 @@
# 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.269 2013/11/29 17:20:09 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.270 2013/12/06 07:40:35 patrick Exp $
+
+*postgresql-server-9.3.2 (06 Dec 2013)
+*postgresql-server-9.0.15 (06 Dec 2013)
+*postgresql-server-9.1.11 (06 Dec 2013)
+*postgresql-server-9.2.6 (06 Dec 2013)
+*postgresql-server-8.4.19 (06 Dec 2013)
+
+ 06 Dec 2013; Patrick Lauer <patrick@gentoo.org>
+ +postgresql-server-8.4.19.ebuild, +postgresql-server-9.0.15.ebuild,
+ +postgresql-server-9.1.11.ebuild, +postgresql-server-9.2.6.ebuild,
+ +postgresql-server-9.3.2.ebuild:
+ Bump
29 Nov 2013; Markus Meier <maekke@gentoo.org>
postgresql-server-8.4.17-r1.ebuild, postgresql-server-9.0.13-r1.ebuild,
diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest
index c78c151b8873..62d7107f6007 100644
--- a/dev-db/postgresql-server/Manifest
+++ b/dev-db/postgresql-server/Manifest
@@ -1,16 +1,18 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-8.4.18.tar.bz2 14819294 SHA256 c08e5e93dac9d484019a07ff91db9f224350b90ef4be1543e33282cc20daf872 SHA512 f4c51d9286b3a91e613dfaf4654cf98455de51470900c0da365536d96132eec35e26ea673fd898e594e5994db2ac1cdb2ba8b86ef24550fa8ff6c65e0b9800d8 WHIRLPOOL 743e9b18b101dd15020184edd53684f3a28189d2a73cb44258ab56c77597785cb33a757839848769f3a3907932f709db26ed91e2bd4eb7fecbdff5c10b84e763
+DIST postgresql-8.4.19.tar.bz2 14825794 SHA256 f744d04a5d9feeea516fa57fea92be5568527bab03a84cf660a06ce90f90dcea SHA512 5006895e1c7d59fc4087549eb9ed6b6f95b2cc33d46b55c93be4f478cacd1bdc733ab285c166ac1d7cc8d7ae5626040858fce4ca98ff323fdb26cdf1ef6aa20c WHIRLPOOL 0daf2a2f9c3576d15ed546479187a87748f62b5f249e97db88927ff2850a640cc4d6a88087aee8c9aa1230aeb2f58cfb63d09d967ae84ffbe17090092bb29aa9
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.0.14.tar.bz2 15154015 SHA256 de42b669cb891fc9b925406e71d1669ed5c856aae6d552ac6f14bf6dec0b79f1 SHA512 a84a6b775d0b71356d40aa26bb4e42eb8c323d55eeeb8f25c365bd68acbdccd7f73d2d8b0efdac8ddc75104f92cb120939a9c0b3e6c8bb4d4e1f366fe72e0b0d WHIRLPOOL a51405499feb002abe84154f34323d2106d41d5a07fbee50dccaa19faac0912af1aea4ce47365dfb0e12c03b0f42efd4ab3bba1cbb8303d267ca8e24d0368e16
+DIST postgresql-9.0.15.tar.bz2 15169745 SHA256 a45acd27d546e425911ecd371247066be5dafd96304e50e0708c84b918c28f9d SHA512 e459a4544d08c79c16da03118633aee0a1847c2d03f8ca938702b0537d0be0f79c3c20b7b1e1813368ad6256cbc1b1206254d9b19b4e7ddff2d883eb3711edde WHIRLPOOL f4de38a96a5d514813cac4ec653b6e7b441076eae44dcd2fd5439714570e1dffd99e8d0b0790377a2ad040de31acd32bcaeb2466411306c7f621a385a972295c
DIST postgresql-9.1.10.tar.bz2 15849107 SHA256 8329bcd160fcb76ee8c79676f6c979a94069ca5c108449fbb365e1ea98f92b77 SHA512 cbd0c4416d552f282248bcd3f53843d28613348a976bd684f88baaf6e1d580b3c2119a0f52fbde2aff6b578ae21bc38b50accae7b9a1c583eddcd05addd8eb25 WHIRLPOOL 12a02c999c8ddb342447c7a971b14b6d114e2babec4eea87a1b880fda31d42a22af818f8dd9b99e450ef3df247660f5d081e77fa06b1cf22dd6cf0eb6bbcdbea
+DIST postgresql-9.1.11.tar.bz2 15861805 SHA256 ccbc35aae1490ee5878b97a6aea48dad7465cdad296b380542e4303b68cc6f74 SHA512 7dbe315db6d7d766da0f1d971e799d11c94d9d8ec507c32f52761c6ae77a2335dfde1af91a8621e84f3166c535b9a3f0c037ae607a2d77ca39cb8ab8cfa126bb WHIRLPOOL c8cff6f521ee038e0122724722b0357f42fb7dcf5dd2e063b1d8919fa6051bcd9305ab4966a3b4041fe8828bc39938103ed7f2ad176b03ece9c6b47078893e5b
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-9.2.5.tar.bz2 16485711 SHA256 22c1edfd6a404bb15fba655863e94f09a10716ded1910a8bc98ee85f413007a4 SHA512 2a31db9e0acdc79ce5d1378d4622333820012005c727af296e434b66c8ac5d6be3f66efd548877cdd299b6e73b36755ed06ed20286ab636cefb8effb21b7065b WHIRLPOOL c9d74e679e3ad99d7d14f5910c0805123a5e743b55697627dced15b6d449e6f34ae42948f5967e3ab333e14f10cc1b5e17cefd3c0595b8941334dfd0d11c19f2
+DIST postgresql-9.2.6.tar.bz2 16491820 SHA256 4ba98053a66e5678af93dbc2956e8b04623f759e174f48940c41f4251cf0f886 SHA512 d19b6634b75da13ba576093977b1123e58138c1caa55c54bec073cd9169f8e4353b41aa2db93f08bbf9167b835bcd890de4b494fde9e5b7f069e5d5f62c0c10b WHIRLPOOL b8c2722fb6ed4e445ec50a1d80f43433bd532ff91be449f2ceb2040bd7b49795534e0fafab106080702f50641736d947482608c4274966105fc0ffe262ab106e
DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc
DIST postgresql-9.3.1.tar.bz2 16877807 SHA256 8ea4a7a92a6f5a79359b02e683ace335c5eb45dffe7f8a681a9ce82470a8a0b8 SHA512 4dd167c2e2e793a52b361d82c36e88214283313f29ed1341fb343f89e4816504bacedf844b368593c3e5eee0e7aa7edce6f3aa55c8fe1f7c252d9b1b11c3e3fc WHIRLPOOL aa4722f6f7523e43e8a4c18216d91161acd8b8d77766a6f6415b0480f311ed0a10881fb64c1cec1c8f569d4aa0f911d3f95e1cfa776d5a25d2dbf4ce8a3c631f
+DIST postgresql-9.3.2.tar.bz2 16878364 SHA256 700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7 SHA512 53f6b2b491d1bff4cddd22387f882be3f96affb656a08a93fc757d117d922d0fe211dba6db0d718ed4eca88ed988eaec8ef3aac079b69da9782b42d658c9396f WHIRLPOOL 8e6366f216d2ddfde4393ce4ac58648060a2cdc7ac2d23a341a25b908025214d7734f57d044a0ecf5773a966e726993b57845328441940a80799f4529b9e0661
DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f
DIST postgresql-initscript-2.5.tbz2 3280 SHA256 723b2564572722171e097b165a72453b788cb4451638677dcc5f853cbd2d3c09 SHA512 3de3c113cc121b7c1e1a28580ad83fa95f613ba082bffaec9c5feba8bf022ce069246553cd027cc82fbc7a8ea72a5782c2b04186a9765612571ab876c38555bf WHIRLPOOL 8bd84f0a58a3cebf078aeaba2cf9f8eaaeb0933aac0b89f4f8f981604c42ae43a06ca1fdf37a635f90d8957440049d9d7d4ad76bf143d42f44b5374fa98ef2de
DIST postgresql-initscript-2.6.tbz2 3499 SHA256 0ab0e175a2ed735c330fd2e1c659c1130ae7217fea8d3804d5b5eb74c68ddac1 SHA512 b5c8add696b755e422db4b419c3aa8078b8f3b63e15ad2d100c8f81e654c02eee6c1971a7129d72de201afacdc72dcc50674b79e054be81d575ae1339b2e239b WHIRLPOOL 7bfc03a83f24f2a1a88bab86c71bdecaa14f4a4bb3eb12c46d6a164f9c1aad891e94445a59c55e1168a5dd5c85c78aa5198425c1914d26de86d0f22de5d031af
@@ -24,25 +26,23 @@ DIST postgresql-patches-9.3-r1.tbz2 4488 SHA256 41e31bb02fa54f33e1248031841112d4
EBUILD postgresql-server-8.4.17-r1.ebuild 11809 SHA256 390cf3cd8bf9df9c18144a0fb80fee82ef40b97a89af122c81c9dd0c2c456496 SHA512 944cb29b30852bde3abccb2c4a761ae7f708cef792727bb1169e77e17bbca258884428ee21e93b6ffedc3cf649e7bf01764e92a5bb2be58b0feae244221f2e07 WHIRLPOOL 7bce3705105c94b87774db48e8baceb49254791b0ab506c4508c174fea9b7097aef8fd53a213cd80bebfa34384b6e81ec7584c463eeaddae7a8b2465f4e25e31
EBUILD postgresql-server-8.4.17.ebuild 11591 SHA256 e2c825786b0b314a148223e79919ec51ab37271de9086b4367ed87576c918e35 SHA512 84658cb16f275947568852e82f9df9d5e99fc9fe0c16495ddf433111d529cef231c4e37465472212270a4f09db8bb743b463d7f3218405a76518f072e13c3b4e WHIRLPOOL ccbeb5563b607b52e195219b98e3a3ac8ea7c40b5855aa4d1e74e4bbe3b3bdbef600325dd51a8fa9af8a0bf32bf7ac1df0c92309fbedfa481fe47a65a54a2229
EBUILD postgresql-server-8.4.18.ebuild 11776 SHA256 a862d2f19bfa830a757685ebeec3bbcb5f8743fce94dcbd036c8b86641e4904f SHA512 3f92550ddbba30e84d3babf50106c8096ed98ffce29441f65626f713a18ea9fcd3da9d79fe2555da95237bac502828be58c1d9b98497a91d3f72d67568490e47 WHIRLPOOL 8e91fd6fe5d58153cd7f8c0068ec7d9bb5513b6324d2bcc773d76bb8aa6e050ece3e5e026161f414c956a9f7d92bdfa6a1912c9f968a47e0dc5ecf8e04a8542c
+EBUILD postgresql-server-8.4.19.ebuild 11776 SHA256 857ba9f9d63e5a7a8cc0bcb85a6971af63cc8a2852e292f032004b686314496d SHA512 53c239cd8976a414aba2d127ccfa028e36d4e98fb3b45049ae9fae68ce8f9e34d15ae24d1537bf0a3d20d3020f4938b2e33e422eee035ba6f369aff9f34cb36c WHIRLPOOL d883c0aeec040a2f745075769e96cc3ca0f510503d40564f607db39394f2cf893cb97cdccf67e01dec0102010d678128deb528c128a419f14badf2ce3e94c3f1
EBUILD postgresql-server-9.0.13-r1.ebuild 11790 SHA256 d9b62770007d5a5261a01b07acd85a3e121794083263388a32947d308d060988 SHA512 ab6a44b6f03b3bbadc2179d4cb7324b0444d47f3575211f22eabb35eefbc6bb0dba7347546d2b7dc72df72bc50213ac36d6f7cf9dac06cebed5a72b258c5f7df WHIRLPOOL ae1818d8385175c3d4a0ede966e2f10adcb4af0a443ea4798c67cfd4accdd352a1e4b7ea2d6e3890d4071822b18a407fc475eee5eeb0489509a69a87363509c8
EBUILD postgresql-server-9.0.13.ebuild 11543 SHA256 e65b26ae1c52561ac65a4ca42896946e074c41a2a17d168fb757f88ce2ad2393 SHA512 d23d8607762292b13a0d3f3685e87c1c53492b2e6bb07754c3c54be5d876e4a567afe4b330bbf658f6d0d63ac2775322dd52d1289c983501a2775f59267d2e1c WHIRLPOOL f78e06deec3f9e0ca2d912e515ff081898caf78bb446d70e02a7bbc4d19d180c19848a0e382f9e1b43e2714e6ced13201edee3b9fdcafa17d7ec77b273019357
EBUILD postgresql-server-9.0.14.ebuild 11757 SHA256 057eee5a58d442b6288cdfb5b255e709c0f3b6cc9e5f438a4a6d1e75b824cbe9 SHA512 45567ef41672d0cc5e22685feb038377b320b727eb196bda124c8fac5e7a9a090b513a3617bb5e51f00b3d1f83568d4950a59c9fbd1dac17dacb9aa317d06533 WHIRLPOOL 13172af7da94277d2373c7578a7d38605b9247e694c5521ebf3b775160ca9603218a20c30a9828148e927a1aebf9f84553cfecb29e9accaefbb46798c43d7e9b
+EBUILD postgresql-server-9.0.15.ebuild 11757 SHA256 2e737eaf36d6b032609724ce328fb16ab04204ad446899ab1a0ff11955089fc6 SHA512 bbcbe84ffcd80388cf696cb0174112377d1261679f82e45339bcff88bffdeb4567afc6061beb76a12497e0ca8f65b6095ba48ca6b6fd0017dc4b650086bd22c1 WHIRLPOOL 8d4ffd0e386480460c1b60639b3a7053d706b27f81759d7e5693cdad9567a03154ddb94518637b4e9278088bef963780744ef5f8d62424bc4b85888f688ca673
EBUILD postgresql-server-9.1.10.ebuild 11485 SHA256 83166ef91c9a7cc58bd19030284771965b54a51bca277cd087b531b58319a0f0 SHA512 64a7f4818b837b59ceae248ae9defc1ea4a3699b97bafd128fdd756b8c602d1a19955be445f6475df36e220fd905d029017c7faeaaa970b43461ed4e0368cbfa WHIRLPOOL 380232da7eb78f2cc58706c385c6456579764429cfa17a068ca5055aaaeadd49456744239f79f94a256d1b2d64dd1f30ebcfa31f3507f46ec7236217f155c5ca
+EBUILD postgresql-server-9.1.11.ebuild 11485 SHA256 0c3098cf9c57b4eaa82d52cabaeb7da4e2d5ceefe7524e308ae22f3d09b0b642 SHA512 feff9991f1497d87ae7f785c9411fce0c7693b495f6db76206f5a68680b11f0e116bea1580cbd575f1f0c707b3fe80329edc9138dd80adfb25fe7b09251851b4 WHIRLPOOL 9f9187acca15b502491741b2d38f79cca5ccd10c8aadf10ee18eb8a7edb9608d26df59a3ca4731be4e420e2d3fa173c65ebc90a8fcb2a0a3a1e3d9506a47bbe4
EBUILD postgresql-server-9.1.9-r1.ebuild 11517 SHA256 f3c9219c84b8165ac1d0cdf983e8f0d184e84bf56a6a1de53152aa8b8f0560a6 SHA512 46b003d04c7ad84de17f1bdde878e07a2e5a9421f2edaa99a025caf227a55724940c9d426167466ea80c272a2522ed7924d02649c1885eca975c222e5d4ea5ab WHIRLPOOL da2348e7353ecf3c72980f1020aa15b555181210797754395ad35b813b938e651c7a2d0d31ef6258207f0736a8820c5d82a65bdc74213a5224eb5513ffef27e1
EBUILD postgresql-server-9.1.9.ebuild 11239 SHA256 422b3daad4cc6543e0043c03fe545c4087e4dbf6ad7645e0511e5eb5442acadc SHA512 0e6c4c27cf1c787102ff99a47c795b370ae6cf80ff05c5fb3a48351e352a035996644ce1e97308fec2990eaf02a6627e10ade63d216eeb161c30999e9e1ca7ca WHIRLPOOL b1e8e57adadce6623207feb3dac295158374d9676cae1fb13e1c87684624a5aeb66bd3e5de7a19f220cb5a0096c8810f0e687a34c89fb83157392123b7ae34d8
EBUILD postgresql-server-9.2.4-r1.ebuild 11220 SHA256 ee1356882679c50e52f990782bf6cbe59ae701b6a32fd0f10611dce47acbe4c6 SHA512 49e55088b7488a1c1bffe69bc846f81d33e1d0df84ca2bdcd0aadde95cb735112f0003ef9f82d5e074f3179a51a3a15e6a737ef42df9653fbd36a2ecd6184e13 WHIRLPOOL 70e335055647ef94bdc560fec19ffb9c7d4e276e3c0925e71061a9f916506713cfb0e1bc2d91ad4f7cb18feac204ee163ff15e2e2e2c2a502ec0f65e6f3ccfeb
EBUILD postgresql-server-9.2.4.ebuild 11644 SHA256 14d1258f46618270311dfd7ea5228222fe06c3884397ea366d75a4d9f79354c0 SHA512 3b218ca2156693bcb6134c2d1ac361a0e7a349f0f5e60502b86ff43fed12903a3fb6ad132ace87a41027c5587fcb557e0dd0530ae3cd36ae930e21e879593d84 WHIRLPOOL 38c42911341afa8df7de14b4ae71955ded669e8429950a5ffd31d80365114280e6422f29ac0dc44f0450a63a4ec87b1f712720543bf0ecbcf96cdbdcd86575e3
EBUILD postgresql-server-9.2.5.ebuild 11187 SHA256 3bdb2884b47e8bd5b40798531f80c1d2738b8349ee5f5009fc9fd9ee45f06d11 SHA512 603a0971d7f63949e0baf74c8f8fb52d77025cd8aae2e1bec988f199633d44e096211c0ccfe37eb3e402d3e3439361fb698630f8bd9b9a0e34cb8a7f77c9a0ef WHIRLPOOL 278a2c5aaf8a2dcaee024fecf90d6d4edb62c183c6d3bc5eeb33df3f26b6e28524007c819ca0fc54a7e27afa6fa03470e23dbc63b748f5cb739d3617853bb154
+EBUILD postgresql-server-9.2.6.ebuild 11187 SHA256 ec07fac73c3c29052a8e560161fb309efd617fcb479e75170424d6472b6ed78f SHA512 214bcfa2207a4bfe47a2bbdabfac16d7e24d25049dd58cf630fd38f4a79133c80a30ed653f32a8f2e77863bb12da6dd4ba063fc19200faa7199e1c6b329d5bbd WHIRLPOOL 9c521789c2377fea8768de34d1d990470cab92a5805f4232df563955fcc1a2da9a4fdc1829c851c5ce01d773bd43c63ef1f5543fa5ed6c81d7ecb8d4b715b94c
EBUILD postgresql-server-9.3.0-r1.ebuild 11163 SHA256 2d5762b692cc202859acae303a646a3f2915ec2acccd648893614d0c6113b842 SHA512 7c45e578717b3d733fe0b136ebe2830b7b63b7144cee72e7b95efc017a894e1babe2e6219eac3bb28b35e429b077a81559b64e58e815d018dd983a29589a4a65 WHIRLPOOL 0b2da9d472e63f536b830ee9710412ca19212c9e35278207fcecc7045e32196687dac32cbe204790f8213e7e6bde5fc0829aacccd9aaa0d8f2ab51ab7a93490d
EBUILD postgresql-server-9.3.0.ebuild 11614 SHA256 712d116352f3e9f7b628b1c5ec28f4cb13944210d7313167764c408f8e2952d6 SHA512 8b8b0ebe5ed5c702d4025cfa308927b5f166c721a8f74ac4ba9e72b99292220dcd3077cb5a796b680b4b206b2ef5f1150f8fba03464415b0111e6dd9938215d8 WHIRLPOOL f56891f26207162f7a090630c607217f14fa55fbfba0a3e76fde7d7acfe0076da69bb145885e47f2307fe78616e02f65f08da83dbddf492ecef0b9ab777ec196
EBUILD postgresql-server-9.3.1.ebuild 11123 SHA256 8edddc4f29018524c0a1e21c23b217221934c8e5abf4b0dbdb1f4473b106348d SHA512 78744bfbf05ccd8f6c18865d15ea133346c7395b7021160f304aed1a85bebd72b262b975084d15cbe3b035f68693cdd9f438fd88889d90b08762fc47407b3ced WHIRLPOOL dfdbb232cf7c840cb6825b05e3307a99e2bac21c06c6a8d2814215c2f9fc4a0761918e2a58f179e5bb49ca6df131a9c7523e33c59fe074d2fa2345b7df03a1ca
+EBUILD postgresql-server-9.3.2.ebuild 11123 SHA256 926455674c0f8ec513a4f98268e495894589053703df4fea87755272410178f4 SHA512 fbfa264d653ef1dd22d70c88d4682892c8499eed06d80d31835adc560d5d06c11af11a6d643c322027177e0e624080a476194cbf030e97d676d1315e826936ad WHIRLPOOL f7f853b84f3633ee0eebfb0c3daa498e544866f7a16c05b86f2f071a97090af4b562cfc1a3cea5e0734bb4fb5a42b394ac34df53dcc3e5dc8634fc99346c5d4e
EBUILD postgresql-server-9999.ebuild 11314 SHA256 e96f777733e21610b22f694ab54f80b9d462e9fceaf606229db72daade373c64 SHA512 f55ede543176ba8026ee3946ed0030a4db09064990be7bdbe48708f313d632158eb5024932b1dfb79f0c5b3cc0a166240996c0df15f01b7e9039452019273494 WHIRLPOOL ab481a330b68fe677fb4321a36fdfc7b7855cf9eb4c8f3100024a1054a934392d7bed01f61da0376a801f325507bd8b459994f4cb46a5617e3dd67497a97ebb8
-MISC ChangeLog 78363 SHA256 da7bb830d76bb46e21122233ebe33f13a6a48ca610fe1c2a9362600864b4c80e SHA512 07dc110544ec930c4c40e11fbb4ba321afbdddca62432509be580944d2f3abe482c3719a5e947c73d605318a20423123b7b761d54c7d3e5895f22f918f24f48e WHIRLPOOL 61e7b7d6b76261a165b6b8ae85a7f6104878f5e039c4301cd6f54c2a5c183761a59ade11735cc468bfe45e4f99d7816d02039dc97d3ff2484b6005e1c3350b5a
+MISC ChangeLog 78795 SHA256 88465db9ea30d943569a4c8c97c201a732d9df15f878416773e5ec5dc97f1a46 SHA512 4388da4adb0b9b1b5e8965d129c7c733276f05162568b7ff66e9451aace46c305d29e4b151f7b0dda729e0d538800f172619098ac6bee1c07bf96438e8071329 WHIRLPOOL 46c5cf20bfd04585cc9d0ddbcf6b35be18f41555d66a8992126fac0f636151f801e311fbdfd795875d03e82deeeb8f88c574164970ab7f333d00d67e52422b01
MISC metadata.xml 420 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62 SHA512 1731bced1ac398d90c6aca6ec209a9ea42deb0f7033d49952a6216349aeb992479c3e868b33cc1be2434cdead6185026503a58e779965455d0198edd87bf5b4c WHIRLPOOL 3bbd5598492cb7d90f4199fac80f27bcba281e1188f7f1d40ee3dd1561e530de13de109142f0add7221b49ec3a9c6a0bdb3add1446b1cc5a6cb3909fd193d19b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
-
-iEYEAREIAAYFAlKYzmkACgkQkKaRLQcq0GI3uQCeOzLVMPQ0XFGwug3OVS/43y5/
-e9cAnAkeJRJZehF8Mg/Cx7OwlvTdyoKf
-=7Eto
------END PGP SIGNATURE-----
diff --git a/dev-db/postgresql-server/postgresql-server-8.4.19.ebuild b/dev-db/postgresql-server/postgresql-server-8.4.19.ebuild
new file mode 100644
index 000000000000..c602e1fe63e6
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-8.4.19.ebuild
@@ -0,0 +1,352 @@
+# 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.4.19.ebuild,v 1.1 2013/12/06 07:40:35 patrick Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{5,6,7} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils multilib pam prefix python-single-r1 systemd user versionator
+
+SLOT="$(get_version_component_range 1-2)"
+
+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.4-r3.tbz2
+ http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,nls=]
+perl? ( >=dev-lang/perl-5.8 )
+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}/darwin.patch" \
+ "${WORKDIR}/ldflags.patch" \
+ "${WORKDIR}/pg_ctl-exit-status.patch" \
+ "${WORKDIR}/server.patch" \
+ "${WORKDIR}/SuperH.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
+
+ for x in .init .confd .service -check-db-dir
+ do
+ sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
+ [[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
+ done
+
+ 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 tcl) \
+ $(use_with xml libxml) \
+ $(use_with xml libxslt) \
+ $(use_with uuid ossp-uuid) \
+ "$(has_version ~dev-db/postgresql-base-${PV}[nls] && 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
+
+ rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" \
+ "${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
+
+ 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}
+
+ systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
+ systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
+
+ insinto /usr/bin/
+ newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
+
+ 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 "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
+ 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_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}\" ${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 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:"
+ 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
+
+ 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.0.15.ebuild b/dev-db/postgresql-server/postgresql-server-9.0.15.ebuild
new file mode 100644
index 000000000000..555ce51e8180
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-9.0.15.ebuild
@@ -0,0 +1,358 @@
+# 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.15.ebuild,v 1.1 2013/12/06 07:40:35 patrick 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 systemd 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.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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
+
+ for x in .init .confd .service -check-db-dir
+ do
+ sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
+ [[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
+ done
+
+ 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 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}
+ newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
+
+ systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
+ systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
+
+ insinto /usr/bin/
+ newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
+
+ 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.11.ebuild b/dev-db/postgresql-server/postgresql-server-9.1.11.ebuild
new file mode 100644
index 000000000000..09873f97a6df
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-9.1.11.ebuild
@@ -0,0 +1,356 @@
+# 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.11.ebuild,v 1.1 2013/12/06 07:40:35 patrick 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 systemd 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.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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
+
+ for x in .init .confd .service -check-db-dir
+ do
+ sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
+ [[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
+ done
+
+ 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 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}
+ newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
+
+ systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
+ systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
+
+ insinto /usr/bin/
+ newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
+
+ 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.6.ebuild b/dev-db/postgresql-server/postgresql-server-9.2.6.ebuild
new file mode 100644
index 000000000000..02ede1abf8fe
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-9.2.6.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.2.6.ebuild,v 1.1 2013/12/06 07:40:35 patrick 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 systemd 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}"
+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.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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 perl ; then
+ sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
+ -i "${S}/src/pl/plperl/GNUmakefile" || die 'sed plperl failed'
+ fi
+
+ if use test ; then
+ epatch "${WORKDIR}/regress.patch"
+ sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c \
+ || die 'Failed regress sed'
+ else
+ echo "all install:" > "${S}/src/test/regress/GNUmakefile"
+ fi
+
+ for x in .init .confd .service -check-db-dir
+ do
+ sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
+ [[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
+ done
+
+ 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 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() {
+ 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}
+ newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
+
+ systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
+ systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
+
+ insinto /usr/bin/
+ newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
+
+ use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
+
+ if use prefix ; then
+ keepdir /run/postgresql
+ fperms 0775 /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 "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-9.3.2.ebuild b/dev-db/postgresql-server/postgresql-server-9.3.2.ebuild
new file mode 100644
index 000000000000..dc8a493ebe72
--- /dev/null
+++ b/dev-db/postgresql-server/postgresql-server-9.3.2.ebuild
@@ -0,0 +1,349 @@
+# 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.3.2.ebuild,v 1.1 2013/12/06 07:40:35 patrick Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_{6,7},3_{2,3}} )
+WANT_AUTOMAKE="none"
+
+inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 systemd 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}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
+ http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2
+ http://dev.gentoo.org/~titanofold/postgresql-initscript-2.5.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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" \
+ "${WORKDIR}/run-dir.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 perl ; then
+ sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
+ -i "${S}/src/pl/plperl/GNUmakefile" || die 'sed plperl 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,confd,service} || \
+ 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 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() {
+ 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
+
+ # Avoid file collision with -base.
+ rm "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)/libpgcommon.a"
+
+ 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}
+
+ systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
+ systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
+
+ use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
+
+ if use prefix ; then
+ keepdir /run/postgresql
+ fperms 0775 /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 "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
+}