diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2014-03-12 10:27:04 +0000 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2014-03-12 10:27:04 +0000 |
commit | 8032ba4b3fbba8a8066a8ff14a89351635f68177 (patch) | |
tree | 8ad5c65f4eb95c7a184dca227b304b4308aae2ca /dev-db | |
parent | Stable for sparc, wrt bug #501946 (diff) | |
download | historical-8032ba4b3fbba8a8066a8ff14a89351635f68177.tar.gz historical-8032ba4b3fbba8a8066a8ff14a89351635f68177.tar.bz2 historical-8032ba4b3fbba8a8066a8ff14a89351635f68177.zip |
Remove old
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x7194459F
Diffstat (limited to 'dev-db')
21 files changed, 61 insertions, 2948 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog index 86b89c640dae..9a728e171eee 100644 --- a/dev-db/postgresql-base/ChangeLog +++ b/dev-db/postgresql-base/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/postgresql-base # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.278 2014/03/12 10:24:35 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.279 2014/03/12 10:26:52 ago Exp $ + + 12 Mar 2014; Agostino Sarubbo <ago@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: + Remove old 12 Mar 2014; Agostino Sarubbo <ago@gentoo.org> postgresql-base-8.4.20.ebuild, postgresql-base-9.0.16.ebuild, postgresql-base-9.1.12.ebuild, diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest index f76ab7c4e182..155b70c870b6 100644 --- a/dev-db/postgresql-base/Manifest +++ b/dev-db/postgresql-base/Manifest @@ -1,48 +1,38 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST postgresql-8.4.19.tar.bz2 14825794 SHA256 f744d04a5d9feeea516fa57fea92be5568527bab03a84cf660a06ce90f90dcea SHA512 5006895e1c7d59fc4087549eb9ed6b6f95b2cc33d46b55c93be4f478cacd1bdc733ab285c166ac1d7cc8d7ae5626040858fce4ca98ff323fdb26cdf1ef6aa20c WHIRLPOOL 0daf2a2f9c3576d15ed546479187a87748f62b5f249e97db88927ff2850a640cc4d6a88087aee8c9aa1230aeb2f58cfb63d09d967ae84ffbe17090092bb29aa9 DIST postgresql-8.4.20.tar.bz2 14642312 SHA256 e84e46083a6accd2bf37f0bd7253415649afcafc49f2564bc8481c10ed90d7c1 SHA512 83c45b54035c2f55de1def66a695c669481d0a75a0a55ac7e0ff352be4ca7ff1c212ac8f7046e44b324386a3bf9c4befdf36fa1207fff7d149c9e9f3c0e775d3 WHIRLPOOL ab9751509a5514fa2106a04e4c27850d9bef9c66034d3c7061a9299d35bbb06f8082a1fb63cc861108e70e3aa8d0d58d1c6186314862d4018de7428e0fb24360 -DIST postgresql-9.0.15.tar.bz2 15169745 SHA256 a45acd27d546e425911ecd371247066be5dafd96304e50e0708c84b918c28f9d SHA512 e459a4544d08c79c16da03118633aee0a1847c2d03f8ca938702b0537d0be0f79c3c20b7b1e1813368ad6256cbc1b1206254d9b19b4e7ddff2d883eb3711edde WHIRLPOOL f4de38a96a5d514813cac4ec653b6e7b441076eae44dcd2fd5439714570e1dffd99e8d0b0790377a2ad040de31acd32bcaeb2466411306c7f621a385a972295c DIST postgresql-9.0.16.tar.bz2 14956681 SHA256 900f6ab00fc36c94b17430e7cb22499708025da1e34d7a70aefaf9a875f0fabf SHA512 e98931f6f0998fa1fd43c798f8151f49730723e95ec8a80e958ce800e2f03a6e56bc1dd02412045dcf45acc9e4272dcc4d8b4af9c02a69e031369e9170d6c885 WHIRLPOOL e9446e1e328f09b98004170c2a74f8d1f50d649203903a637ccbb42f897de5f8cb326cb8e792ecb99d1f369b75d15cba523743e4e68506c514f565712bbfd75b -DIST postgresql-9.1.11.tar.bz2 15861805 SHA256 ccbc35aae1490ee5878b97a6aea48dad7465cdad296b380542e4303b68cc6f74 SHA512 7dbe315db6d7d766da0f1d971e799d11c94d9d8ec507c32f52761c6ae77a2335dfde1af91a8621e84f3166c535b9a3f0c037ae607a2d77ca39cb8ab8cfa126bb WHIRLPOOL c8cff6f521ee038e0122724722b0357f42fb7dcf5dd2e063b1d8919fa6051bcd9305ab4966a3b4041fe8828bc39938103ed7f2ad176b03ece9c6b47078893e5b DIST postgresql-9.1.12.tar.bz2 15638909 SHA256 0b267ebab5feb39ad6ef945b9588787886e7f7e5284467921d18cc7b76bcb383 SHA512 cfc256e5aafd4dc96a1dbd086f2d4f37c03550c15f4fc5bcbc51128c659324ac15d05ee2be76c9f333bcfd2e1d8c1af035d461c0479da8fef522128994c33e01 WHIRLPOOL 8a0b0d941ea442ba38b20af1262d5be9a70c8987302062052af251c2acde66c37fffa33364c2d342442132b5d3dbe7956f5ac5c0dbcadde10a888f362cc9b688 -DIST postgresql-9.2.6.tar.bz2 16491820 SHA256 4ba98053a66e5678af93dbc2956e8b04623f759e174f48940c41f4251cf0f886 SHA512 d19b6634b75da13ba576093977b1123e58138c1caa55c54bec073cd9169f8e4353b41aa2db93f08bbf9167b835bcd890de4b494fde9e5b7f069e5d5f62c0c10b WHIRLPOOL b8c2722fb6ed4e445ec50a1d80f43433bd532ff91be449f2ceb2040bd7b49795534e0fafab106080702f50641736d947482608c4274966105fc0ffe262ab106e DIST postgresql-9.2.7.tar.bz2 16248445 SHA256 83c042c3f61c69b176d3e4344e59104f844bc8b8628dad2bb9022a64cf5afe86 SHA512 aa9fdc81dca8eaa8e68aa29cd67d519ad3d12aeac1d689be04bd5976c5c569a33861eccd4333a4f6c7456255a2217aebe9d57bebae83540922a255ac32c00be7 WHIRLPOOL 0e6d611dd3dde1ebe9222744bc05fe5972f558113724848830fca939127d6bd5607f91480efac0dcf3e56042ec3ac83f848e5f0ffb8cd5ded55affbfb7be6eab -DIST postgresql-9.3.2.tar.bz2 16878364 SHA256 700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7 SHA512 53f6b2b491d1bff4cddd22387f882be3f96affb656a08a93fc757d117d922d0fe211dba6db0d718ed4eca88ed988eaec8ef3aac079b69da9782b42d658c9396f WHIRLPOOL 8e6366f216d2ddfde4393ce4ac58648060a2cdc7ac2d23a341a25b908025214d7734f57d044a0ecf5773a966e726993b57845328441940a80799f4529b9e0661 DIST postgresql-9.3.3.tar.bz2 16665845 SHA256 e925d8abe7157bd8bece6b7c0dd0c343d87a2b4336f85f4681ce596af99c3879 SHA512 2d8163b31042dc66dc52371e265cc081c52783da403652fef4985b177d2961fdf106767112595fde6ef79e3122fcc318a3daeb5dea59a1cd211b8744acd65462 WHIRLPOOL 4ddd166a65c815e3b71872f5dd5cc120d5c12865f3101ca140f7eb36e54223f1e0496d4a9a73ba2278551961787cac5385385d33360fae6e66a692e532dc14c3 DIST postgresql-patches-8.4-r3.tbz2 4821 SHA256 f2c47ff5cf6af20020c87bc34362615af66675d7d44dd020ccfae425880e1ace SHA512 149434a1a55f130b91b87591ac6bbbd263893e90facfdc47418320561a91cb818dea6367af5b8afbb6c9cccea6053692ee3008c62cbe40e8819c7cac04389334 WHIRLPOOL 30d5945bd65e07f114d8ee27bcbc1dc7ae136a2b5a1f62ec44aad325208dc8387ae11f58c21ebf1447822b35fe35b79d64c86cf763e146dc9c2b5da7dc883d47 DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334012b8098361c321bd3f562ca9c32f6b8 SHA512 1e792eaf1e194e7a109a860216de98929bc12e6905846524e795fed7e8506f8f0e2e7349ead4fd9ba196c8eb6af2f5b143d0eecdb4cb7061253257acbce37873 WHIRLPOOL 8a32c0cd7f6b845496df8d1f6a0b2497625c0da36c5af1d651be086e9cd4faec48b56b04dca894a0e43e91309868db3014213d9989da5fd1d52d5b3775f8c1ad DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82 DIST postgresql-patches-9.2.tbz2 4431 SHA256 8ce635671d5af4d2c8d9a0fc741b26f82f1fda16bb6a36726a32dae47021a632 SHA512 4c971bd3f4ae86a48f5e21a1e4ab087865d41f2445f5a9ddfcd7d11f1abab7be8968e5a1bcfbe4a1f7799e7ca1728604aa01641883c47746ebfab658c189f6e5 WHIRLPOOL 712fae68cdf5b06e05f98e23760d896c7361fe0b548839082b8b0c488597bd0f38b80585677d380f8ccb7ded39e759ee42fa9eff838439468b5ac3a501004e8d DIST postgresql-patches-9.3-r1.tbz2 4488 SHA256 41e31bb02fa54f33e1248031841112d4600d87b8655800bc600daa02b640071f SHA512 33bdc26280d6b8c39634ef86590be388b4a4548827b66d91c62454426cb1f628b16ee1323c91bff6b469bfc5eba1de128c30a9d531905b5a2ef194af28dba6fb WHIRLPOOL 06e1c95dcce241bf436ffd99c75fac7481aab3f415993dfb33adc337476305a755fef864f242254f534d40b57b16912d888f46e87a626a74132bf0ed52334470 -EBUILD postgresql-base-8.4.19.ebuild 4371 SHA256 224c854ef92d5047bff0f27618b58da992cef822e5c44657401391abd2624f31 SHA512 1c7cd40b24ce5f8ce44d78ca1308d6b6ee5c66ae34f856a1f23d9b34c5c5dfc310c9c974c8239ee9a027c8b342879ac70c23ea7365fd021d38256c077b258fc8 WHIRLPOOL 7688f97a687314de0491b1ac0e78524c640f7668324cb86fdffac014924f6a6fd7a2b4179100cf65bc178515951b7145f84fc0690d9dfffb7331a6c2c7b23c49 EBUILD postgresql-base-8.4.20.ebuild 4371 SHA256 76a65b9a51e3978b80a426403bca700b1d8cfdc8063941a36f75f009b7a06c65 SHA512 c45393b823434b5046197ea81bd659f238b2035e0a115a7ad00242c9c87f7ed2c7cfd64c5a3ccf8730a485876991ac88b777942378d6bcce6c92bc39b60b7f37 WHIRLPOOL 5b855ff78750fe6b308110434e27a07d5c944750ce2e50ffb172372bd609720c0b0ac81ceba7df03f90b90899bf0b7d462b602374a2299205aa916fded4142fe -EBUILD postgresql-base-9.0.15.ebuild 4537 SHA256 3834aaec527099e236bdc7f2a52cc7db35fb5ca203a4b238e51419441cd1366f SHA512 6cbbc1d40c8025a30680cc299362d3c844890c5c6b243b5326265263f6506a2ba339fc907f1045be09f9f2359381dff1ec0e63ad2deebc0a2b84cb127dbbf4fb WHIRLPOOL 981f1c174648967be7d93439e7a848df00c161d8df1eaa381c613499c3437e7976697ddc4432221734186efee2807924d4a58eb9f4fc665e779b59cd9ff3b70b EBUILD postgresql-base-9.0.16.ebuild 4537 SHA256 5a7d6ef2010ee9e40e1c20ee36f8da47debe6699f5b29a04ca111fe75e8d6327 SHA512 59b4c250ac28bf09defacb7107816cfea3dc8bb8b7438418e73de699543901c25f11b5791725813b0e948de5fd82fe35fce80aee213298faa45beeecd16aa6ce WHIRLPOOL 2f55bb82330e6448843d1370ee975e0ccf6ab2eba11426701385d2fba786443d2102ba2c58a4bd53f679b6015557219e3196fd5377d4461f840f12b678989c38 -EBUILD postgresql-base-9.1.11.ebuild 4548 SHA256 67c870fa5dede3aac6e0df223b934776faabf3c108448a65057d55cbf1edfee8 SHA512 9757d86dcaed585d158999445ed1b174120ddd5734f2e6d4c6169da8011d550b9c17eb8c1991cc7c23e982ddff8d38fe19120d228ea289b23dcc5552dc06f885 WHIRLPOOL 04fc9195062bcc80913247e7934958e9496658fddd089e31191625232f7d7a840370492c82f4401676e966ee0003cbef966d1071d5b1189edc512e3b9ab74898 EBUILD postgresql-base-9.1.12.ebuild 4548 SHA256 4ec611a9d167a2b9289215ebe71cdf4f3eaaa104fafa7a9863c215cfc0d26ca4 SHA512 ef1fc9b93b768ef941fc61ea7ff3067d95a17ecbbd83abab346220dfc369de9e83d8e889544cf24ddd720d10dfbd75a25cde4f1f5def29330ad02e97c4b9f8da WHIRLPOOL 83ddf1e49586a11958e84f9c34336e7839d464f158e6a83e9bcd6e7545a6576ee58d5b024ccdf1e42f88e2eb784904d267e3a8931cde46de48e01a2689912224 -EBUILD postgresql-base-9.2.6.ebuild 4392 SHA256 075f157b1dc210e993a6ac5ba0c9f650e4d60fc545d70cfaf035c797cc30b601 SHA512 cbd86b214c5ab0b6643a152bafbf75d0bf0c5fb9f18cdeecdbbcb4497b5a4fa50f1fc4d97628dd2a668bf34572ee990d3069f7f6ed4404c175403bc7a4a1540a WHIRLPOOL dc0a9c2c01ea7288abcdf54c873e94d8a2b52a6781445562cc24ad57652940da089217f3ba5d81c6b7024c4a2f78594a54b330126c4bc6a0923010333ac54ca2 EBUILD postgresql-base-9.2.7.ebuild 4392 SHA256 e48d643878758c8354a80f32af383f82b27d2b1177ceed7e9536eb6a6379d92e SHA512 8d37ca03ac633f5aba5c0e7ad842361d2d513db50dd41f5389cb0cada34475eee9dc8b027208523761275fb089deaacc11871b724e2f85286bc7faf3254b2da1 WHIRLPOOL c754adcd01cd12476c8703726d6a9419de4d2342da2cb92ee9cbc4eed24d777f691f12e572ef91de2bb5a13d9dc1844fc6984349f14d5419270aa4e14627e6cf -EBUILD postgresql-base-9.3.2.ebuild 4426 SHA256 324f951002764a48eef56a375b7dede2da22574312e9cc0b4ba450b1e8ad3143 SHA512 ef474ce2dc087f389ed9af71ef2a8f8d41c0b7c2c67ce66ca0a65f8088151dff513ce29274f8c871bee49ec3915783b6d3638c2f20e866774f73d71a4df966a3 WHIRLPOOL 8771b2ee7ea417dd07c367afe04f71173f72d8d001b30586712e272e8fe976437c9376c077ed3be5137752da0cb8e60301f2e3323c45ddd33418fa6e6b45a4db EBUILD postgresql-base-9.3.3.ebuild 4426 SHA256 89f97c1b39128adf313dddc9a9f7dc4bf1b2fcab229c80e53306480d8be40c7c SHA512 b331c0007a9f82c26b85c09de8ba39638c95a08b9cdee2553d613a87f2894dd5b50382e167af85961c5b662f3b3689705b4d228c3fe2251ed092bc2c2a881b0a WHIRLPOOL aad6dff9aee35513ec3f9e30d172b6a3e2e630ef4009cdee4908b89cbf66bcecc1a4e90ca2dfb26a610227aa646cf54650a8525474146474e8d5b50bf409a823 EBUILD postgresql-base-9999.ebuild 4553 SHA256 798137f052575935a45c871912b1f4668a35a6f17c1f99f1d51ff3b6d80a0cfd SHA512 99b15fcc52a4ce837f00167686d755a2a347a3a58e3282fcb6902164106d90f837b172632a9d0cb863266a3054f559c60c6e7421ade49de330a52dd117ba14b8 WHIRLPOOL 5ab702706d62b38e988e16092315248fe9ba4e6719c8a9399d3e5e82309537fbd2b52256050e29cb733baaa9460d229d79921c68a6eb35fd44b406413d4a7306 -MISC ChangeLog 71212 SHA256 e2e74c2cc75794e1f3f4af9bfee1705bed5429d7a0fc4e6e2e245826015cfa95 SHA512 b946bbf2d3218cf11eecfac8158d72ca71057e9a238f0422e20608790367e3d55af812d51d6dc137271d79ad826d7691d70375baa8d8df99828dbd616993fc97 WHIRLPOOL bd24db89584988c63c2baad8e7092a0c8ad9dcc57ca9e09c27d81a43403d046942ef5f15655389c1fa59bdc3358561548b542561ebc3ebfd20691cf413c9852a +MISC ChangeLog 71437 SHA256 9a29c6df00bb015a2beb9768c6190e439d09769dd388f59853c3184a6939ed40 SHA512 60aba6c854edac529d65ac60860a47cfa2592ede66b6c081a51be47a2070ddea55bdcc9e3d885fee2ccfa909a8acd64d1d7ec4da3e9c153ce3ae2ac54070e70b WHIRLPOOL de6110fa0add7d49cba9062f8caada69be6557ce36cd455602f41c5623cb0f65bdf3cd617387a288663d96c5cffe659d3e7e338ddd3e2ecb9437ab95c62a2e5e MISC metadata.xml 319 SHA256 8ce157b48f2da128f1b40b0d59c3c06e51ba71173689ff7a86c4429a7055c471 SHA512 248b60da17006a89acb1d8b6f62f59e4d414421422d2d4445bc7efc4f0abf13d048fe52c09af6b3e10a7afad341a5edb0e8d48b9ec2ead5f84b40f4016448cf9 WHIRLPOOL d1cf97f5d676ef43d677cebf8f9c97f6823c1c7b31e1a40a6f22729771a6bdcc851ac7c27ace768509307f4d0774384805cf4125541acd7a785d48117c0d5e07 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJTIDXlAAoJELp701BxlEWfVNYP/RLtS2QyHkVj4NiF/F9UYRc+ -Wn1rt11A80NXatrkPLAunR1oHaRd9OIYRXR052GVGsHrGtJNJqnqzznN+nNHVlpN -JuKlqZb7IEIpmQTbpEw4HRVPh1pxhXZ3IjJsO/3VGXoEHexCr/3JKPiU32M94isN -a4EoEoL68JsYurlFhk4Q2RMZf4XQnI7293OliYJ4puobg5BFJe29sy22mHW8Q2Ze -dab1E428QZykNDlKDLvw37BHmQAtQvGkPtnrQY3RSnUctAf33c8eYAF5ZxJEySbP -xrBhSYZaNqumqR7JeYeSrjIptNUa+UKOb2+AmpjUrYJwlVsBnrCI7iSe8XO7aZ3U -vsHDCzU4kFFWuj4O4X5esHDIb1Bj6vxHWIQnDTtt8JDJfagEdDf1Xl96FC3psHAk -6TGzwq14UVwYhkdE1+WHB9YDRB5hXblsfptHV7xjotNNl4OKsizIJCWoYjmOUD8D -Fa2W6sEuPpcPsuid1uyAA7zYFaXbYReiqx6/M7bGT719nTckrFnlP7Y7rwI6Zacb -gqG9QRrt3Gq/9Bx/XAPrpXzjgXrIt4cz7T/2hPDLbzzTtzFxzl+C+fPziYB4kbaE -kJt+ZUY3Mq9aS54N8nOmnMX255SpkrfSoqv9NeNV+BFx64BQ9gVhbp0F/J0GxLs0 -oOa+h4kyJv+lq2U/+i1k -=6U4u +iQIcBAEBCAAGBQJTIDZtAAoJELp701BxlEWf2hgP/0rI3lM25wC4iFKn0avFFkSn +PVrW8tvpxXU569LyyC7UCF/lL50h4Kp1+GtK5H/fB35zBUE75axUnp7e8eqtVSDD +tqhPspK/sg85ifS+r3PKPHBv1kVq+goDPRSOUO4WrTo/c6sUkKk4n46O1aWma4Ta +T010DsBYdG4RinwMjcFuWbLNBnyEo+5XSqIEqoUYZ/NgoNQqCC96HwPCEcNUO4t1 +vzsx64ArUf9JGEFnClA0KSxQJYHI9wEyOWv8y9WQ34mEYlXU+Ce00O+tetvyUrID +sS1WHuiUafsR7MSEl5bGDaIemJjl0MpxbTnVKH4jrFFJ8kSnEmAKEkEeTLn8jU7E +4Aq83eIh0U6eqGUEYvH+kVLYls3BJo3jwDJfktm1oKrrTJQJBZWQ0AvN7VEyDGv6 +p3taEXtxeyhRgd6iUlHgHIdtRtNqGhOg6kZT5+C4OoAEDXx8jnJ6I1CjJHBzNnzX +HrVtHAoilzlT/DUw1ZDodc3mzTNOygNDS0GF/kmTBjpKmq0/PnB8aW108+BINX7X +FqV7e0b4CbSg7tu44TyHvT/ATSUQsYSJoru1j5V6+mkKqlIHf7WwLmV84S4hZXl/ +OxPV5dYNXElN6uAAwZpZ8sjT1gul/G84cDm/k6UWmQCM+HdbNUicTIIVm2z2ZUz9 +TPZLd2vf7fUNiX4YHaRl +=5c1E -----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 deleted file mode 100644 index aa731e7776eb..000000000000 --- a/dev-db/postgresql-base/postgresql-base-8.4.19.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:44 ago 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 deleted file mode 100644 index c13fdfcf5f7d..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.0.15.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:44 ago 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 deleted file mode 100644 index d10d7f1d22d2..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.1.11.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:44 ago 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 deleted file mode 100644 index d68327f4054e..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.2.6.ebuild +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:44 ago 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 deleted file mode 100644 index e55dd065fd47..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.3.2.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:44 ago 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 239488b35822..55fd8529f68a 100644 --- a/dev-db/postgresql-docs/ChangeLog +++ b/dev-db/postgresql-docs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/postgresql-docs # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.234 2014/03/12 10:24:30 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.235 2014/03/12 10:26:40 ago Exp $ + + 12 Mar 2014; Agostino Sarubbo <ago@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: + Remove old 12 Mar 2014; Agostino Sarubbo <ago@gentoo.org> postgresql-docs-8.4.20.ebuild, postgresql-docs-9.0.16.ebuild, postgresql-docs-9.1.12.ebuild, diff --git a/dev-db/postgresql-docs/Manifest b/dev-db/postgresql-docs/Manifest index 4b1b2e6dd119..ff0cc7d443e5 100644 --- a/dev-db/postgresql-docs/Manifest +++ b/dev-db/postgresql-docs/Manifest @@ -1,42 +1,32 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST postgresql-8.4.19.tar.bz2 14825794 SHA256 f744d04a5d9feeea516fa57fea92be5568527bab03a84cf660a06ce90f90dcea SHA512 5006895e1c7d59fc4087549eb9ed6b6f95b2cc33d46b55c93be4f478cacd1bdc733ab285c166ac1d7cc8d7ae5626040858fce4ca98ff323fdb26cdf1ef6aa20c WHIRLPOOL 0daf2a2f9c3576d15ed546479187a87748f62b5f249e97db88927ff2850a640cc4d6a88087aee8c9aa1230aeb2f58cfb63d09d967ae84ffbe17090092bb29aa9 DIST postgresql-8.4.20.tar.bz2 14642312 SHA256 e84e46083a6accd2bf37f0bd7253415649afcafc49f2564bc8481c10ed90d7c1 SHA512 83c45b54035c2f55de1def66a695c669481d0a75a0a55ac7e0ff352be4ca7ff1c212ac8f7046e44b324386a3bf9c4befdf36fa1207fff7d149c9e9f3c0e775d3 WHIRLPOOL ab9751509a5514fa2106a04e4c27850d9bef9c66034d3c7061a9299d35bbb06f8082a1fb63cc861108e70e3aa8d0d58d1c6186314862d4018de7428e0fb24360 -DIST postgresql-9.0.15.tar.bz2 15169745 SHA256 a45acd27d546e425911ecd371247066be5dafd96304e50e0708c84b918c28f9d SHA512 e459a4544d08c79c16da03118633aee0a1847c2d03f8ca938702b0537d0be0f79c3c20b7b1e1813368ad6256cbc1b1206254d9b19b4e7ddff2d883eb3711edde WHIRLPOOL f4de38a96a5d514813cac4ec653b6e7b441076eae44dcd2fd5439714570e1dffd99e8d0b0790377a2ad040de31acd32bcaeb2466411306c7f621a385a972295c DIST postgresql-9.0.16.tar.bz2 14956681 SHA256 900f6ab00fc36c94b17430e7cb22499708025da1e34d7a70aefaf9a875f0fabf SHA512 e98931f6f0998fa1fd43c798f8151f49730723e95ec8a80e958ce800e2f03a6e56bc1dd02412045dcf45acc9e4272dcc4d8b4af9c02a69e031369e9170d6c885 WHIRLPOOL e9446e1e328f09b98004170c2a74f8d1f50d649203903a637ccbb42f897de5f8cb326cb8e792ecb99d1f369b75d15cba523743e4e68506c514f565712bbfd75b -DIST postgresql-9.1.11.tar.bz2 15861805 SHA256 ccbc35aae1490ee5878b97a6aea48dad7465cdad296b380542e4303b68cc6f74 SHA512 7dbe315db6d7d766da0f1d971e799d11c94d9d8ec507c32f52761c6ae77a2335dfde1af91a8621e84f3166c535b9a3f0c037ae607a2d77ca39cb8ab8cfa126bb WHIRLPOOL c8cff6f521ee038e0122724722b0357f42fb7dcf5dd2e063b1d8919fa6051bcd9305ab4966a3b4041fe8828bc39938103ed7f2ad176b03ece9c6b47078893e5b DIST postgresql-9.1.12.tar.bz2 15638909 SHA256 0b267ebab5feb39ad6ef945b9588787886e7f7e5284467921d18cc7b76bcb383 SHA512 cfc256e5aafd4dc96a1dbd086f2d4f37c03550c15f4fc5bcbc51128c659324ac15d05ee2be76c9f333bcfd2e1d8c1af035d461c0479da8fef522128994c33e01 WHIRLPOOL 8a0b0d941ea442ba38b20af1262d5be9a70c8987302062052af251c2acde66c37fffa33364c2d342442132b5d3dbe7956f5ac5c0dbcadde10a888f362cc9b688 -DIST postgresql-9.2.6.tar.bz2 16491820 SHA256 4ba98053a66e5678af93dbc2956e8b04623f759e174f48940c41f4251cf0f886 SHA512 d19b6634b75da13ba576093977b1123e58138c1caa55c54bec073cd9169f8e4353b41aa2db93f08bbf9167b835bcd890de4b494fde9e5b7f069e5d5f62c0c10b WHIRLPOOL b8c2722fb6ed4e445ec50a1d80f43433bd532ff91be449f2ceb2040bd7b49795534e0fafab106080702f50641736d947482608c4274966105fc0ffe262ab106e DIST postgresql-9.2.7.tar.bz2 16248445 SHA256 83c042c3f61c69b176d3e4344e59104f844bc8b8628dad2bb9022a64cf5afe86 SHA512 aa9fdc81dca8eaa8e68aa29cd67d519ad3d12aeac1d689be04bd5976c5c569a33861eccd4333a4f6c7456255a2217aebe9d57bebae83540922a255ac32c00be7 WHIRLPOOL 0e6d611dd3dde1ebe9222744bc05fe5972f558113724848830fca939127d6bd5607f91480efac0dcf3e56042ec3ac83f848e5f0ffb8cd5ded55affbfb7be6eab -DIST postgresql-9.3.2.tar.bz2 16878364 SHA256 700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7 SHA512 53f6b2b491d1bff4cddd22387f882be3f96affb656a08a93fc757d117d922d0fe211dba6db0d718ed4eca88ed988eaec8ef3aac079b69da9782b42d658c9396f WHIRLPOOL 8e6366f216d2ddfde4393ce4ac58648060a2cdc7ac2d23a341a25b908025214d7734f57d044a0ecf5773a966e726993b57845328441940a80799f4529b9e0661 DIST postgresql-9.3.3.tar.bz2 16665845 SHA256 e925d8abe7157bd8bece6b7c0dd0c343d87a2b4336f85f4681ce596af99c3879 SHA512 2d8163b31042dc66dc52371e265cc081c52783da403652fef4985b177d2961fdf106767112595fde6ef79e3122fcc318a3daeb5dea59a1cd211b8744acd65462 WHIRLPOOL 4ddd166a65c815e3b71872f5dd5cc120d5c12865f3101ca140f7eb36e54223f1e0496d4a9a73ba2278551961787cac5385385d33360fae6e66a692e532dc14c3 -EBUILD postgresql-docs-8.4.19.ebuild 1304 SHA256 e1a5c5aee636511020918d8612da0bf9796a26d3566ff0ded9006c8f92236090 SHA512 d52287511ba2c96452e4543d6b7fef0524660bf714eaed7bc4e4a9ce52450b7fe7d1a7295b531d2a2545b92de0859a3107dae3dc8611e5cd703ca425c0b6a592 WHIRLPOOL 7cf114b9e33f5b3429dcfc08b3574a60c6f63c077615cb179f4af6b99bdfedbc6776a28d56d65e1c69ae34bfd73c544d0c29db39d622d429da725d16e8b7f3c3 EBUILD postgresql-docs-8.4.20.ebuild 1304 SHA256 b759fd45f4a1fcee8af5443cd1f7d1bbe06bddfc50b1678a3355b3560a043ef3 SHA512 622705d1a732b3af94722bb70bac61ebdc4108863aff45b0f61e9c301065ad9b655218b673c939d76f607f4952dc18231725611833f3119acf872bf8a81d40d9 WHIRLPOOL 0a44bc5f176549d1c50cecf95fc555184f65ce445ae569464653c6f3ef0fa96bb370f2ab3052e2e421c7fb619ebabf48a227e2b2d3e82d072d100e6cafb97e50 -EBUILD postgresql-docs-9.0.15.ebuild 1293 SHA256 0ca20d8992217392e05b648d11ef1fee5fb568e6b8db84acafe556c5dc9f4897 SHA512 d530a41ba5d3d229a45180fc589e76dab1406f29557b6df4237e1f0855a77e1eaa06beda79a12e97dc87063dae5943a97e668a7fb4201589f3fb7c40e735af23 WHIRLPOOL 68d33d895bd1ed37c34f7dff563728c44e1053c641f936a45d054a733ee302419974b2e37d9faab95712036348bad27c1d7e9096f7b4c780be2e07fd8a03de33 EBUILD postgresql-docs-9.0.16.ebuild 1293 SHA256 e4596972d9e725fd17ab958198b03310e3422bec7ab9e20e522ee18f2d1c15b5 SHA512 3edeeef89f41f494baf5d9bb0d3ecde78efa3de46521813a6304a182c434ddd698548388bbf31a131fa520d3ab64fd37d61aeeff6795782d63a1eba890d13f19 WHIRLPOOL fbba3172f392130c8f3a503aeb3552a9cd2c6d8e73801229f9675c250f19bf3bd9b2b734bfb128fc24aeacd5d345490f947a07369272b02ebf3b62b74e99ea5e -EBUILD postgresql-docs-9.1.11.ebuild 1307 SHA256 0f8bfba20c4f5180977f39401914df5ed0757c23115bb5b0439946febf0505f9 SHA512 ee1611855f8c6334ab1ab09dcf6b4593a21c2e83acb91186228a7d5ac78f9201111d3091017859a4c2791551261a043d2c48be67ba97fe09a65ef27399fd6793 WHIRLPOOL 9b1c28c13c4d7e21b3e90e3758f8c78f1756b28f4247fd33d673d755e50e56e305c8589a6c090eb78940224d4009e25c712f8e8cf53436bac81c63d3c91c7d05 EBUILD postgresql-docs-9.1.12.ebuild 1307 SHA256 64c0833d1a15627fd32f0047d22881ec9f2b8d330c480818aafecea75a6fd05d SHA512 dce3ab0f941aa8796ced05468687ccccd4cfc6f55b88a4a9cc1ce5df18d54fcece5b04c98632c467979bd44a83ba64871063262642f07d970d4e159ac64121bc WHIRLPOOL 8dcd9724159b34d7eba5029ad7c7bf1a7712ad39cf0d9630a7407073391360c580cd68b78c302fe37a3c3f401f53b8284fde74b906fb04b17d9e7d88407688dc -EBUILD postgresql-docs-9.2.6.ebuild 1618 SHA256 3038cfe332b19782fd7a85d0cf84990af950968ced432f0217dcd5dfd790afb5 SHA512 2c3025a15ae9ff107ae0d8d0d999b2b9ab6e756c7adfae2f0e196fe78c6b2de3fab7af335c4ab52d8712bfdb44f5359b9e42cef17babde1976104ff247e21912 WHIRLPOOL 872e0f653de1e7eaa9c7cd9ed6eb471ebc140750d093252496dbdd5e8910103c5f2038a38dde0da3e1c00af20c2132ca2d570ff865d0b30192239437987838ac EBUILD postgresql-docs-9.2.7.ebuild 1618 SHA256 2fa26961bab5afb3844c9b6ef6dfb49a2419b60d8325b98cd78de18d579612e2 SHA512 c6f2f96f2211542b85c7f28d18edd5e35a4ca9137b5855b34de194aa805d01fabfba3afc72a560f55a7d7fcaab2bd84776f2e54e2405ed960053c2bdd3ec4df5 WHIRLPOOL e5d69199e89c25eea2b6e98fedc5250ef84af3204fd3d7e58a5943fd3d5bb44cd5c3137570fe63ed118698be0eedfccef79b3529dd5ddf45e5ee0a54ad7940ff -EBUILD postgresql-docs-9.3.2.ebuild 1618 SHA256 b20f793eed2cf97ef78629099f97abffe2d9c429513dade9898ddcaa6b3c46b4 SHA512 e0816281566a62973839ddb87584f02ef113703f6452cb338dca969ac6516f17bfe33b5e6688c842c1a9bd106dd037399ef15f9d87e3136ab23584ad36278fd4 WHIRLPOOL 368eb4f01345238fa3dee313d4eb13c2b5ef1f78b59aefd24e32d28d3f011cf99e944d03dc44decfaf8b91b6b9df2d9626037b7bd5922fa4d640289a45c4d72b EBUILD postgresql-docs-9.3.3.ebuild 1618 SHA256 a55fbc3c8369c8789bcfece8e3e8feb78f33b50992c4d466481f1a11f0a0c146 SHA512 673faf950c5292bfd6997fe3e9aae24cbd86f0bd3a5c8dc0420d8a4284a2a12c01a526ed5e5fba0b75aa2882e8b622a5db82fcf0e247df60ac77a92479b3bc6a WHIRLPOOL 535fc7af73e7de7cf9563dc2fcc75bcbd354241c77b063969c6fb68611c473fc250f4efa5c0376507571c3f8040c84de37daf6723ebd1c22e9391b5a77380fed -MISC ChangeLog 52112 SHA256 3ffdc49a798cffc9e10514c234b3932f13a8b9c23bc4c10f4051c2029805775a SHA512 474a540562363d8a68024da58ce21589bbf888a8406b65c3b8b7746f2be45c857b66461827a4afbafac9381257c67005bc2f6b0cbefe363c5b9edc3c0d18a75c WHIRLPOOL 7456532ea53b5abe0c208c37bcf7de665eabef9d86f6ae98884bafa1b7fe12d10ffa716deb7e8db4e8561b65d9ef984796139dcd5f1b751f3dbe82c80a139148 +MISC ChangeLog 52337 SHA256 ecd77fc7dddd44b06da6aa4d616573b9c7c0a49c4f9d271dd54d7ccc1d02b49d SHA512 481d41726a3a431bc28518c8706045578fe3c103460b1c2f3e61d11a09719dc0f44a4eaa02a2edd8c4583102ba029d5509f46db263a08dd378ac20b867d6dadc WHIRLPOOL e30d4fb10027e0f6c39ffc15d6e337ac7810da025b4296167db1db31bcf78d72d70dd1a8c85afcf8a8c9de43af0a87ab4a6a0cded3ccb77208988bfcdd453c27 MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJTIDXgAAoJELp701BxlEWff7UP/1bxXyMBaraOfmGmtaftt1rO -RLCnYeU8esAj/iRthjO98hVo5w7fafb82iy5wNylvG01au6siIGOC2mJLHqeBdq+ -Xb+oCpdiTJ3CKTgcXvvxmXHZAVrIZ7Sy8jxzYbFpCjebzBVMsJ6ux8milfCvfVod -DrxdlLjiO5soHkYYErT+LBXQrWsN2m/M2JxV/c414smAhEGotUsalpcha0v9Xrd3 -CAcQJP6AFdSe4YFSwZXI9WSfyli1iK1u6+oi/1yUY5ED71Up3F4RqP+Mkg/Sijc+ -ZqznetRNILCEFnmHr50oBe7ZqNeU29FiA4dfHqEf3yNriiyYx2cWOLsLsith6X5C -eLEQQGLkieBIRiWMmar2SyvrcK7Pn8LWn7CpirpD+pPeYwvj9aP08hNbEPp2Imvd -fsvYLw86Na6+IqAEfZY+/EZy0KaSAfW35fdho9aSW8b9hDDF9IWtQGAvPYBEHq/u -PBXjs2ytNU0koA55tAvHiDVTrVLg3HBBHURmwY8/svWirE/1FsJBSfrrxGk3aU8V -PCw12fXKSrbFgr3EMayMtsW3/6joc4NlFCguMtP40RvANfiYjpwA+L4IUhG45Wlf -I9H4tIMzTymm07/iNErP9XJZ3EPtrUhT0DIpgZqF2Qy0bf+0GJtE1fjkrVH5lNJ0 -u+xVBM2W8f2vvGUyqx/7 -=EOcP +iQIcBAEBCAAGBQJTIDZhAAoJELp701BxlEWf36sQAI6DLO4ZrD70WONy2PaaFT7g +l2ARbQep8owNt62Ab/GuwbyGY0mMRLrliIt5RTDKdoSNqbFK8w+HkABICpLfsbAU +amjj3kqpenrl0WtCN7sIr2fWK/W4zVisXDLTpMoj5I/Tp3q5NORX0GZpFKJXJZbC +e181S/hU7a3gy1V6p37prCc1/KoPS1f8uWSI0btaG5ckziPO1XbHAXPkd8u1Curg +yIg2mDQ6FUTkIiWZtp1tF1aHU8bs9LOkiyq0NkHPGngHZNwkZhs2FVTp+caeRc8+ +8mWKnHG1ok+FRIRvub1XkQRDb8ySf40TAV1lDf/x3PUjbT4pF55zf3awfCyNOfSL +U4XjDnLAfq9oNeuGcD1h8zRA/rZpdXGn2etSd4Jf/Ldp9reVJnc+Mh+h7BSqEKPE +AIaH871fCquCL1epnjQAcj2aVNEt3aWQ2HoAPP2g6X2GVgF1FFuAFdHix8Sm5Gd+ +2LlMveyURUggArPXyDfStwVDXpyLzOctkVjP0Pp4lYR1FHf7egVgmK0qoIFEWNxN +fWbfz5R3K8pB6Zky/Slp251IPDZ0PISVpQ8cqQ/OQWNpD+uSUH/2VSHhUP/sbvbW +sV+/9dnEav6Zh1hCXRC3G7NDDOdkrYCI+uzblDS9y9VCvkiXuGBlPGL7XPEaV+IP +v9nZurNElu0s3qC0nt33 +=FXOG -----END PGP SIGNATURE----- diff --git a/dev-db/postgresql-docs/postgresql-docs-8.4.19.ebuild b/dev-db/postgresql-docs/postgresql-docs-8.4.19.ebuild deleted file mode 100644 index a13968318a14..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-8.4.19.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:54 ago 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 deleted file mode 100644 index dfcc6f6691f2..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-9.0.15.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:54 ago 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 deleted file mode 100644 index 3c25d2e2cd39..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-9.1.11.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:54 ago 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 deleted file mode 100644 index 9308fedca4ed..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-9.2.6.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:54 ago 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 deleted file mode 100644 index ea8b5abad830..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-9.3.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:54 ago 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 2df472d50cb0..fad37da71fc5 100644 --- a/dev-db/postgresql-server/ChangeLog +++ b/dev-db/postgresql-server/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/postgresql-server # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.290 2014/03/12 10:24:40 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.291 2014/03/12 10:27:04 ago Exp $ + + 12 Mar 2014; Agostino Sarubbo <ago@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: + Remove old 12 Mar 2014; Agostino Sarubbo <ago@gentoo.org> postgresql-server-8.4.20.ebuild, postgresql-server-9.0.16.ebuild, diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest index 7e7737a93bca..433b8fdac185 100644 --- a/dev-db/postgresql-server/Manifest +++ b/dev-db/postgresql-server/Manifest @@ -1,15 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST postgresql-8.4.19.tar.bz2 14825794 SHA256 f744d04a5d9feeea516fa57fea92be5568527bab03a84cf660a06ce90f90dcea SHA512 5006895e1c7d59fc4087549eb9ed6b6f95b2cc33d46b55c93be4f478cacd1bdc733ab285c166ac1d7cc8d7ae5626040858fce4ca98ff323fdb26cdf1ef6aa20c WHIRLPOOL 0daf2a2f9c3576d15ed546479187a87748f62b5f249e97db88927ff2850a640cc4d6a88087aee8c9aa1230aeb2f58cfb63d09d967ae84ffbe17090092bb29aa9 DIST postgresql-8.4.20.tar.bz2 14642312 SHA256 e84e46083a6accd2bf37f0bd7253415649afcafc49f2564bc8481c10ed90d7c1 SHA512 83c45b54035c2f55de1def66a695c669481d0a75a0a55ac7e0ff352be4ca7ff1c212ac8f7046e44b324386a3bf9c4befdf36fa1207fff7d149c9e9f3c0e775d3 WHIRLPOOL ab9751509a5514fa2106a04e4c27850d9bef9c66034d3c7061a9299d35bbb06f8082a1fb63cc861108e70e3aa8d0d58d1c6186314862d4018de7428e0fb24360 -DIST postgresql-9.0.15.tar.bz2 15169745 SHA256 a45acd27d546e425911ecd371247066be5dafd96304e50e0708c84b918c28f9d SHA512 e459a4544d08c79c16da03118633aee0a1847c2d03f8ca938702b0537d0be0f79c3c20b7b1e1813368ad6256cbc1b1206254d9b19b4e7ddff2d883eb3711edde WHIRLPOOL f4de38a96a5d514813cac4ec653b6e7b441076eae44dcd2fd5439714570e1dffd99e8d0b0790377a2ad040de31acd32bcaeb2466411306c7f621a385a972295c DIST postgresql-9.0.16.tar.bz2 14956681 SHA256 900f6ab00fc36c94b17430e7cb22499708025da1e34d7a70aefaf9a875f0fabf SHA512 e98931f6f0998fa1fd43c798f8151f49730723e95ec8a80e958ce800e2f03a6e56bc1dd02412045dcf45acc9e4272dcc4d8b4af9c02a69e031369e9170d6c885 WHIRLPOOL e9446e1e328f09b98004170c2a74f8d1f50d649203903a637ccbb42f897de5f8cb326cb8e792ecb99d1f369b75d15cba523743e4e68506c514f565712bbfd75b -DIST postgresql-9.1.11.tar.bz2 15861805 SHA256 ccbc35aae1490ee5878b97a6aea48dad7465cdad296b380542e4303b68cc6f74 SHA512 7dbe315db6d7d766da0f1d971e799d11c94d9d8ec507c32f52761c6ae77a2335dfde1af91a8621e84f3166c535b9a3f0c037ae607a2d77ca39cb8ab8cfa126bb WHIRLPOOL c8cff6f521ee038e0122724722b0357f42fb7dcf5dd2e063b1d8919fa6051bcd9305ab4966a3b4041fe8828bc39938103ed7f2ad176b03ece9c6b47078893e5b DIST postgresql-9.1.12.tar.bz2 15638909 SHA256 0b267ebab5feb39ad6ef945b9588787886e7f7e5284467921d18cc7b76bcb383 SHA512 cfc256e5aafd4dc96a1dbd086f2d4f37c03550c15f4fc5bcbc51128c659324ac15d05ee2be76c9f333bcfd2e1d8c1af035d461c0479da8fef522128994c33e01 WHIRLPOOL 8a0b0d941ea442ba38b20af1262d5be9a70c8987302062052af251c2acde66c37fffa33364c2d342442132b5d3dbe7956f5ac5c0dbcadde10a888f362cc9b688 -DIST postgresql-9.2.6.tar.bz2 16491820 SHA256 4ba98053a66e5678af93dbc2956e8b04623f759e174f48940c41f4251cf0f886 SHA512 d19b6634b75da13ba576093977b1123e58138c1caa55c54bec073cd9169f8e4353b41aa2db93f08bbf9167b835bcd890de4b494fde9e5b7f069e5d5f62c0c10b WHIRLPOOL b8c2722fb6ed4e445ec50a1d80f43433bd532ff91be449f2ceb2040bd7b49795534e0fafab106080702f50641736d947482608c4274966105fc0ffe262ab106e DIST postgresql-9.2.7.tar.bz2 16248445 SHA256 83c042c3f61c69b176d3e4344e59104f844bc8b8628dad2bb9022a64cf5afe86 SHA512 aa9fdc81dca8eaa8e68aa29cd67d519ad3d12aeac1d689be04bd5976c5c569a33861eccd4333a4f6c7456255a2217aebe9d57bebae83540922a255ac32c00be7 WHIRLPOOL 0e6d611dd3dde1ebe9222744bc05fe5972f558113724848830fca939127d6bd5607f91480efac0dcf3e56042ec3ac83f848e5f0ffb8cd5ded55affbfb7be6eab -DIST postgresql-9.3.2.tar.bz2 16878364 SHA256 700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7 SHA512 53f6b2b491d1bff4cddd22387f882be3f96affb656a08a93fc757d117d922d0fe211dba6db0d718ed4eca88ed988eaec8ef3aac079b69da9782b42d658c9396f WHIRLPOOL 8e6366f216d2ddfde4393ce4ac58648060a2cdc7ac2d23a341a25b908025214d7734f57d044a0ecf5773a966e726993b57845328441940a80799f4529b9e0661 DIST postgresql-9.3.3.tar.bz2 16665845 SHA256 e925d8abe7157bd8bece6b7c0dd0c343d87a2b4336f85f4681ce596af99c3879 SHA512 2d8163b31042dc66dc52371e265cc081c52783da403652fef4985b177d2961fdf106767112595fde6ef79e3122fcc318a3daeb5dea59a1cd211b8744acd65462 WHIRLPOOL 4ddd166a65c815e3b71872f5dd5cc120d5c12865f3101ca140f7eb36e54223f1e0496d4a9a73ba2278551961787cac5385385d33360fae6e66a692e532dc14c3 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 @@ -20,33 +15,28 @@ DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334 DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82 DIST postgresql-patches-9.2.tbz2 4431 SHA256 8ce635671d5af4d2c8d9a0fc741b26f82f1fda16bb6a36726a32dae47021a632 SHA512 4c971bd3f4ae86a48f5e21a1e4ab087865d41f2445f5a9ddfcd7d11f1abab7be8968e5a1bcfbe4a1f7799e7ca1728604aa01641883c47746ebfab658c189f6e5 WHIRLPOOL 712fae68cdf5b06e05f98e23760d896c7361fe0b548839082b8b0c488597bd0f38b80585677d380f8ccb7ded39e759ee42fa9eff838439468b5ac3a501004e8d DIST postgresql-patches-9.3-r1.tbz2 4488 SHA256 41e31bb02fa54f33e1248031841112d4600d87b8655800bc600daa02b640071f SHA512 33bdc26280d6b8c39634ef86590be388b4a4548827b66d91c62454426cb1f628b16ee1323c91bff6b469bfc5eba1de128c30a9d531905b5a2ef194af28dba6fb WHIRLPOOL 06e1c95dcce241bf436ffd99c75fac7481aab3f415993dfb33adc337476305a755fef864f242254f534d40b57b16912d888f46e87a626a74132bf0ed52334470 -EBUILD postgresql-server-8.4.19.ebuild 11764 SHA256 62b6477a17cfbd53d694e1c837c0840d014cd861288ff02617f953f8bf089de1 SHA512 bcba0e8a6c4c7f238c21d12f4601959b1e5b1c1855c06070356a72988a67cc32583e194b15aa58a0398a9be21d8eb3ea774d8e00b7e64a293f748182be75ec88 WHIRLPOOL af8983de9c787de852d7983a960b29dc00278465199fa9a4cef4fbb7c6444d0ccdd500bd725015f5086bc517c9d9783c1959af2158b77e684ecf2ebfc8fe952c EBUILD postgresql-server-8.4.20.ebuild 11764 SHA256 d86dd9e0ad680ed3ee1af7d4decb6da2f778bb58e68f6c0d688de08fa453157b SHA512 5c036629e14b883ca4bbfda7af48caee08bbb87bef6a2a4a1a64059d3ee15e9c70ec475cd16bfd2cfabd8feea32eebeacbab0e80434d299ff271b5f09a3eeb68 WHIRLPOOL 3cd6a4fd21ca0835655f609ad4dce81a8150ef48f1e2be4e696c9d6a0ac4672962561f3d9e7c6f6932bd2154115007173f1b322341a7facc7f4cab07f416c495 -EBUILD postgresql-server-9.0.15.ebuild 11745 SHA256 b5620c9423ba9473a29b3a44a8ba5b39aa9b8c4b060456c5aaa26bf0a1fb4ed3 SHA512 703f079cb961088f56a7044e2b0f6a963fa12706e458fecab09202f48c8b1370096293e854a287f59f68a696ab2a7c7a13cb891713d1d8feb7d952faaeddb830 WHIRLPOOL f63a86cafa5d2107146fdd2b1d9d89b7539bd00961b7ee53e10f6ad5e031e46eb3f91ece8b60e783cae34cf1d72c90dfa71db17de290e0951305408339297b13 EBUILD postgresql-server-9.0.16.ebuild 11745 SHA256 bcba9eb86a1d89bb077290999163528dbae5732cf737a7eea0b14c0fa378fc34 SHA512 b8bb800be33740d3ad1ca6acdb0be5af9ed774266281376f22d61ec608fd31f628dd551a4467fef04708c3c6ed75f1ea79cc5cc55fdc54658bc199f2b68e0d0b WHIRLPOOL 4ffd29c0b2e05e302546019ae40956970c5bbe904ebda750b7260450563f41962f4b88c8f4f9d627850092b91686ec1c6590e0a4983989b920fc38ee08279946 -EBUILD postgresql-server-9.1.11.ebuild 11473 SHA256 a22cc6ea31e839642b786af53ee5bb31b10039a0463c018f8f9f1259c330ad21 SHA512 9d3a309a6dd72cd7bed263cf037817d05ace2a57716bbdd93344a157eee1e858db6fcc747f6aaa2548e602df7923dce3b86accc0b12f95a039d32918d428c527 WHIRLPOOL df80e5f5dbe01f2ffc92bec57f72065bdc1865e016cf157d470aadd260a1a6d5ba71f2524778a905a96a03c505b60971180f62f43b8ab2cfb916f2254ebd56a9 EBUILD postgresql-server-9.1.12.ebuild 11473 SHA256 7e344727e8997f0496c9d7893876695973c08b27bb26ff931d094aa012045786 SHA512 a53675e4d8659121d37a22ddefaa3ddba40be7ff7761313c4a083fdabcf87a0059eb24c95c53c089397a791a52e1b24dc31d9f7f729df8c7a5488fabb235bd37 WHIRLPOOL c56c3415ca9978cd9e15495ac2c0735aed4458bcbe23cefb62bd7ce34099c057497afa4748a4360bbd0a8f56715c8a3bfdfcd688563636f8e2e1e50d13354b72 -EBUILD postgresql-server-9.2.6.ebuild 11175 SHA256 1a644015935e9c2c575e8175b44edb07a425a89aec3269e94832c63f7ca5af60 SHA512 4333527de4c8a084dd2f8f41b019acbf9723d3ee627f0f25f62b1e7a536072313412007474b8296cf34b5e28755eff2422ddb26b76fd8a2c19958d3934045d37 WHIRLPOOL 9255a5f908847478defca5908a77c6add01850d0b05e975f8262a7915f98c7cd9cc4cc89ce11c2bb759c3df2dff2d9062cd3ac80d77ced55ac011552733cc46e EBUILD postgresql-server-9.2.7.ebuild 11175 SHA256 ba87b3e1ecf88bdd4488b72eb9ff74ddb53d1d2ac5437a8eb744c911682e5adb SHA512 384a7a821e2275998ed7745657c667fb49ef8da0fb2e3a8a2eee50563ebb89293483d91619b0ec8a6aecf84e09d35afa834481234c1bcc31c913cb4ddc78bcc3 WHIRLPOOL cfc76da68a6a58a3cef591d300c3f282abdc089c34d01d02326de2b1aba5b0cec193ff23856c7d1b180197d6e4795d6a5bce0f46fd0320bf6a02d9d3c0ab3419 -EBUILD postgresql-server-9.3.2.ebuild 11111 SHA256 3ad73dbf6d9c531a661709d24e780876ca41525b081178f96e06dbc6be8bdd46 SHA512 45d2340524c0d9cb8b2fc9171a8dc8210594f4761109342b3ba682c76a4789fdde0b1e603b3eba07aa6f2156dce2a409aae1ffbdebf26ee7bff0fd724aaf0ed1 WHIRLPOOL a346309a00058143b0e43a054d0ff1690735387f659bf95f98d4c68d24f70ccd6c84b68444bac3d0cbb446635bf2449ad46f216a791703846c844999b50885de EBUILD postgresql-server-9.3.3.ebuild 11111 SHA256 42601de389a861a90a77ae71dfbfe632d563cf26b3347bb5b7011973c896dddb SHA512 9ca3fb7a69c8ab1933ed3c794df9079065aa6ac3c83c70df237d06c0363efd247ac89a549d35aff784092fe84d64ddd91a4e7fafe377e84c96e16df03f046eaf WHIRLPOOL bb76875b15973e2e685115a635d63d11a51bb8a54c228915f90a2e976dd4d22f9ce0f03de33e482d70c1f0d8e5fc297a7dff28fb1e73d7e5359e104bc4944674 EBUILD postgresql-server-9999.ebuild 11314 SHA256 e96f777733e21610b22f694ab54f80b9d462e9fceaf606229db72daade373c64 SHA512 f55ede543176ba8026ee3946ed0030a4db09064990be7bdbe48708f313d632158eb5024932b1dfb79f0c5b3cc0a166240996c0df15f01b7e9039452019273494 WHIRLPOOL ab481a330b68fe677fb4321a36fdfc7b7855cf9eb4c8f3100024a1054a934392d7bed01f61da0376a801f325507bd8b459994f4cb46a5617e3dd67497a97ebb8 -MISC ChangeLog 84366 SHA256 6b14a53553efff87a43925b037e841ae5073e8182fc1d117194c9c47b59774f0 SHA512 cf90b15fabb8ee2164949e3cd2508e3ee8f6138bcc90def9c3f58ebfd6802827aac8f390e8f021ea0b14137c2702740e588fdee767db7fb80a2e784718f138e5 WHIRLPOOL 84ea487afc5ff94d698f5b53bb1ebb55395da34531b19ceab615691d6538718f46a8c8fb52dbbd48bdba1ecfd08ed8de0fd81e6fee3d1dbba854eca5a273d027 +MISC ChangeLog 84603 SHA256 f99094b408a8d364a2b3c5f258ac61533985994384c0e4c81259e98f2dec2992 SHA512 a0326c08c0051dbf87bdd32ff3f54e142b820906ddc04092d08b45ff28c6afadda4f4c12ce18e2284ad37fb3631e9d2cbf647b83e3758aa3e14b84b9082b684d WHIRLPOOL d89df05fe672eccdda0edbb9175480e8f3042ffe0d5983b5baf19d021ed4bed97e752363691d73b360cc9a8bd4fdec1b0b8cd07628a35e7e8aa8c752d1c7c112 MISC metadata.xml 420 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62 SHA512 1731bced1ac398d90c6aca6ec209a9ea42deb0f7033d49952a6216349aeb992479c3e868b33cc1be2434cdead6185026503a58e779965455d0198edd87bf5b4c WHIRLPOOL 3bbd5598492cb7d90f4199fac80f27bcba281e1188f7f1d40ee3dd1561e530de13de109142f0add7221b49ec3a9c6a0bdb3add1446b1cc5a6cb3909fd193d19b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJTIDXrAAoJELp701BxlEWfR1wQAIgMTRu6VSLC5gL7o8xcZHu1 -hFeHwcriem9VTbc6LNcZe3MnIbIfzY63q+mcx2HZvVl/exGk/2VFlY4nnQ5f/Ore -NSNyu605KYwGLAYTlad+lZ+9u11LU50BCU4Ux6Etrr4eeegfH0EfnSdm/+pRVi4G -Qbj8EQyryZzaTnpNs7NQn33IgE23ilp1rUxwCG+kvfOQelzyHiIr9fp6gMjdjvWq -JnMpFUnEfudHKXQaQ+cWBHJhvxC4TzvU5a3mYL6dotIpovyWIVmLd8uesBV/ZFYY -GtsPvk+aA+ZskakLoM29X1DFXs7r3UirgBBvVy3tVVIvycHhf4AQmcRW5v6MVmbr -kRpPt2vUSaTtdMSF4TpfhwsTzUojFCRiaBfQMnvt3fKxcDKTWBmPVrikjTahd8bG -apqk4Gi3rTT+P/TzDLsTCABj4kxMYor+SH4Pc8+khuBNxLK4TWL19KfUHETQy0Cs -TUMAjrg6+dErVSPdNCjzseocIphKgVD3X9bOtiJBwMe+TfSzspEZ6AOzE9unqTdR -oumFMnqBuMPmgy2rtCMYLpGfcCmVoCGdy5Yx9C+wKWEwSggtwg/yOMk78v7L7ML4 -uXwjXjxnhbgP/veUkw7f7OxHW2kNhp2iO3L+LFqoV7uS8RJrPFTH0DpF33iAehS4 -C4G37ji1cAtZs7NGKS89 -=RCXz +iQIcBAEBCAAGBQJTIDZ5AAoJELp701BxlEWfSE4QAJUkUVcTktpneE0rJmMGhFx1 +bsWPaZMu884AHz7aZelpevnAbBABtL7MctKs6lf86yURvtxxDkaU2T+9kAacMjt/ +gWU6yDwv/Zj/V+Ze2Ru+fP4Yq9LB1oD4Wc0e3aQA/9ghUIRfmo0mKdp0BGkLA+0U +1YhyOZCWnvN7/Q8G1N4Ma0cbAqLgIExlQRYrY1S4F87QJpeLZpVlmTKYgOoCWtMl +zpc84bqv/dKDLFBqro6kmd8IYaA6yerZCxVo3Cb3lQM3a6TU0OxIIqz4oMYud+HA +MRsia2ljQAjI7L9rlEjEhBLar9Ow90UDBU92IMgCTXES3gLyarUR6yqXS7jitjnH +iBxsHdp3SRiYxzIIYXRAjyoiGU/dWBT07z78cgknfLj3dKQ6UnXaltUrbsXEK6kj +NEgR40JtYT4MwjsBvkSJONStn2Zj+5imWUjoO7oeSdSEGIZatnsZnsdryrOrWLz3 +rHc+2NzAqFdMuazS4RBWqHSrFIwxy+PY2DKm2QtLPmVwA55aPgTKDi2sPIgCRdTi +qpD4Wny0eXmBMEsae2etrBRjSugSsAFOXB7ncRlhzRQEIQJJnOVXtkn6lUkdbpIP +ttTrNg3pdC2J9IWt+40k5VEetZjz6HiYF0muB7cS6ttDc7c/d3dSgzVNfPiBS7fM +y4Eo2oeIFFikobo7dXW0 +=qlIl -----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 deleted file mode 100644 index 36d6bf935703..000000000000 --- a/dev-db/postgresql-server/postgresql-server-8.4.19.ebuild +++ /dev/null @@ -1,352 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:50 ago 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 deleted file mode 100644 index 1f5d04a55f1c..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.0.15.ebuild +++ /dev/null @@ -1,358 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:50 ago 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 deleted file mode 100644 index dc685654579a..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.1.11.ebuild +++ /dev/null @@ -1,356 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:50 ago 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 deleted file mode 100644 index 42fc5bb95730..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.2.6.ebuild +++ /dev/null @@ -1,351 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:50 ago 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 deleted file mode 100644 index 9614803052b4..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.3.2.ebuild +++ /dev/null @@ -1,349 +0,0 @@ -# Copyright 1999-2014 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.10 2014/01/15 10:23:50 ago 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 -} |