diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2013-04-05 19:24:03 +0000 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2013-04-05 19:24:03 +0000 |
commit | 178f9e100350c4b7f6caa5fe0dd3c710aa189f2f (patch) | |
tree | cf8ec4e503ca6f7690424ac91e74b8a79bc69ab2 /dev-db | |
parent | Version bump. Fix build failure with texinfo-5.1, bug 464678. Remove old. (diff) | |
download | historical-178f9e100350c4b7f6caa5fe0dd3c710aa189f2f.tar.gz historical-178f9e100350c4b7f6caa5fe0dd3c710aa189f2f.tar.bz2 historical-178f9e100350c4b7f6caa5fe0dd3c710aa189f2f.zip |
Remove old
Package-Manager: portage-2.1.11.55/cvs/Linux ppc64
Manifest-Sign-Key: 0x7194459F
Diffstat (limited to 'dev-db')
18 files changed, 60 insertions, 2337 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog index 8ecd3586fefd..9ea374548256 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.243 2013/04/05 18:44:40 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.244 2013/04/05 19:23:37 ago Exp $ + + 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> -postgresql-base-8.4.16.ebuild, + -postgresql-base-9.0.12.ebuild, -postgresql-base-9.1.8.ebuild, + -postgresql-base-9.2.3-r1.ebuild: + Remove old 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> postgresql-base-8.4.17.ebuild, postgresql-base-9.0.13.ebuild, postgresql-base-9.1.9.ebuild, diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest index e41c8855bc1b..b08c944211b7 100644 --- a/dev-db/postgresql-base/Manifest +++ b/dev-db/postgresql-base/Manifest @@ -1,44 +1,36 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5 DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f -DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514 DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2 -DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357 -DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82 DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302 DIST postgresql-patches-8.4-r3.tbz2 4821 SHA256 f2c47ff5cf6af20020c87bc34362615af66675d7d44dd020ccfae425880e1ace SHA512 149434a1a55f130b91b87591ac6bbbd263893e90facfdc47418320561a91cb818dea6367af5b8afbb6c9cccea6053692ee3008c62cbe40e8819c7cac04389334 WHIRLPOOL 30d5945bd65e07f114d8ee27bcbc1dc7ae136a2b5a1f62ec44aad325208dc8387ae11f58c21ebf1447822b35fe35b79d64c86cf763e146dc9c2b5da7dc883d47 DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334012b8098361c321bd3f562ca9c32f6b8 SHA512 1e792eaf1e194e7a109a860216de98929bc12e6905846524e795fed7e8506f8f0e2e7349ead4fd9ba196c8eb6af2f5b143d0eecdb4cb7061253257acbce37873 WHIRLPOOL 8a32c0cd7f6b845496df8d1f6a0b2497625c0da36c5af1d651be086e9cd4faec48b56b04dca894a0e43e91309868db3014213d9989da5fd1d52d5b3775f8c1ad DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82 DIST postgresql-patches-9.2.tbz2 4431 SHA256 8ce635671d5af4d2c8d9a0fc741b26f82f1fda16bb6a36726a32dae47021a632 SHA512 4c971bd3f4ae86a48f5e21a1e4ab087865d41f2445f5a9ddfcd7d11f1abab7be8968e5a1bcfbe4a1f7799e7ca1728604aa01641883c47746ebfab658c189f6e5 WHIRLPOOL 712fae68cdf5b06e05f98e23760d896c7361fe0b548839082b8b0c488597bd0f38b80585677d380f8ccb7ded39e759ee42fa9eff838439468b5ac3a501004e8d DIST postgresql-patches-9.2beta2.tbz2 4466 SHA256 7033657bf66255fda3881ee6797ad0aa920e1910619228206b174065e5e348d2 SHA512 64150e055aabe04e1a298170a992c607313299d3990c05ac4146c05e6bb2a55e29999d45cf29d7111df5fda0f135980665c4c6c6c83d3f1df26c27334daf17bb WHIRLPOOL f67a99b39e99ab26e8d1125886493b53a3589908433618e7601281735dee4d2e54fdaed84e4608961264723cf27284e9ead798087f9b896a5ada8bdc70c51f9d -EBUILD postgresql-base-8.4.16.ebuild 4334 SHA256 9cbd90708511efb30bb28d349e1c352ee3cf2f9e9ef776156ce8274b9dc101e0 SHA512 67be24885d8b7464324ef747ede81660afb9bc0cbdf1c4499f17b6f5e0883dc16e57ec948a67be08fbf82e3751a70a2a03accb757c2e3130faace0bdc4c10dae WHIRLPOOL e9a1b559b2347c6b53a2bf974671108840a73f9271e1c20b1ee840b2e87c12fd958323148bba7356b634f130a896ccf993635d709459e3b41fb1df8fcd5d7e4b EBUILD postgresql-base-8.4.17.ebuild 4334 SHA256 c21a974e20b017d46d9e266b055d3de6510df14c7f4add514616ed780398e886 SHA512 8ef71b48589e69b11d960ee7e3f947845c8bacc75d7c9e63811fccd48b0477017bca549b49ae93bbb586b24c2467b4ce576e13f9f1c14591ae17cc6ec28f9f80 WHIRLPOOL 371b2acb5bae9d139e9aa45a5c2a952a89734a71c496df92906ad216b5b75963c7481c58f52ebf893dbbbe7fb1afbd85741f6c1d35ad70d2fa9442cb4fbec305 -EBUILD postgresql-base-9.0.12.ebuild 4488 SHA256 335d5173e08fbddd0b5a655072b65a23efbc9e105524f51b32830c18a5c11519 SHA512 42f36b984b4fa9c7f18acd24bf2e36a527dd6239107267f2855eee538c0a225ced8725736b46a65973ba2e2a8bf6f366208081a2b04234124fb796547546162a WHIRLPOOL 2d5640c2321a27b6249619a30f20c163adb4a9d9d3de72fd3725753fc970383b7eed1ed4c4d7e8d6a8bb1e737f2b619c9112da92e1b2ac13d7aaf90ecf8661e7 EBUILD postgresql-base-9.0.13.ebuild 4488 SHA256 f96e7e8811e61a5efb73022501e95f5cfaf9699d1fccb915dce7471b0182f0ae SHA512 f7d1a58023570f450d4c2192a004b14b047b13426f94576cb157bb1066978c16760e0e93c51150e0f3f4074b56d5cff577981daaaf59e12e5260b3470dd9340a WHIRLPOOL efcb81985d2d0bebe2102569366c582796a74403d8d82b516156c6fc463a4a07e72c7f7dcf220ae6647d22da6e88b5806996e1e7c04c7d2d69e63a24df182214 -EBUILD postgresql-base-9.1.8.ebuild 4501 SHA256 9d752a03f327bef103be63c63cfae5d848a8acb0d29464443df01085862a43f8 SHA512 0b394677250ae717b841dfeacf176d8cfe8a7f5fb49100e910c5e983e988386c5e5360cd6d45d126d94457dbf2520c0790fb93edfd5a51d2430de5a4fc39fa42 WHIRLPOOL d3e5d569732b3d30ed96b1a4c51f1af1b80b532abd2ed1e6f41c663c92d2cd2d5a54c7dc316d83f9ecfd24ec1391b4ca3f1118df11a2c5ccb8a2f7f4bf2504f8 EBUILD postgresql-base-9.1.9.ebuild 4501 SHA256 e2bf6172c79c51a35ddbee9a147f19b1ecf4cb03298f230258b010fe5ce07cf3 SHA512 e15bb245a55dc0d7e40557aa03cefe6e2503f5401066302bfce8f0cd0a4488e12bede408945333b05c04035b45bbd267569173cc95c1b1233f0e52c5665a6ed0 WHIRLPOOL 1a203a9e1bfcdda996ea2966087436ae3210ed287bd640ab058e0de1ffc4222bd075e874af02b94006fc5e0e318c84f55c719132729dec7a5dccf41a22908678 -EBUILD postgresql-base-9.2.3-r1.ebuild 4750 SHA256 0af8fc4241559770587c31b8d6cb1cd27b1703e021850c3fe2df3982f4cea007 SHA512 0c37a92d3e1a477687d11e04223edfff2a031b2a0a278572980a0271cc69c504751f8eabc56dd4ad8b1a5570a25594b2506c9ebd96fb1742a021b9e95c350cf0 WHIRLPOOL a9711c63e6a297d6975709ec3a4ce8ade0abb417a3e671ea949123951b1fdb0fc74b7edc3084ca4ae7d16b71edee2f89d828e4ad78ae2f353b2b4ab3c7ec7f36 EBUILD postgresql-base-9.2.4.ebuild 4747 SHA256 05f88149f5b2f26ffa84849b75a80a01412ef29a7bd2d29ce64530e0a235432c SHA512 2df5de70a2b6776f83ae0311490fb66ca0200f6329475acea74d857e00f218ef939a3b1b89d20c0459880c048a834c6efc802fe087414b5caf1016616a1268d1 WHIRLPOOL 8c85d9563b67f662ffce15fabed4dbc3a392bb0d5a06123d3794adba7ca932000f518736f5574c849d902684e32fd14f58b0e2fe685d52a799b539357a4e3f0c EBUILD postgresql-base-9999.ebuild 5040 SHA256 598a242edb66be0405ee9b71d2afc36b22d0a4c4a344a0a929c99d45458ac429 SHA512 6d6fbf35a949dbe59e6789c2eeb73273ab9616a9cd198174331fd3bf729c67a8381f9f778f7b498e4733f4c55da4343e9ea510f6445eb373c27aeeaefed26910 WHIRLPOOL 9253b4773ce66c8f15e869f59c6dd0f3461c4a0a203e50ea598099b07c2882ad3c693fa9a5a49c0786f2c9947a951691ee132af5efe3514c9da12530d8472497 -MISC ChangeLog 62647 SHA256 be50f27d1fc639fea9825e755a22403b01c53c836698356de08a9ea611de914d SHA512 bcc76c1f247c282e5207f47f1ca364f4b55b0a7b721e6ade871665a767862eca58f583b65110034b2cbdb98372726846c18c4ccf60ee918885f19cb4441d43d9 WHIRLPOOL b3a079e292b290388ec0439ed44d44a452439ebaf90324f345349b02aa5e45fe431af5072135d0d5570f4c49f0886b67739f08db3cab2864bd2e397b30dc22e2 +MISC ChangeLog 62843 SHA256 85b92c475a11f444d126fe42f1f75b3a5539ab0e3d435d1401a9800d09c58b65 SHA512 20c1016e54cdb75708a57e23b5394f013784141bf04a34680505c949621cdf8a850537691453b9fb2fe50ecb5dac683aea80941f71b6d313fe581935ff3f480c WHIRLPOOL 49b68ed9af6e3b9f0199cfec64107d028a1309ffd4c760dfef0d5a51079ae0adba6013354a6a75f8d61cc934c88adfbe829431dcfe98e22d2cca965b5d53b792 MISC metadata.xml 472 SHA256 ee20753f4083988318c4c30155901e99a800dc8fb19fd77c80f9947c72abbf4c SHA512 e2006ed7628e82b2f97543cf1fa3cc04707e9094dfcce5a7a28facc3f7b2712089cbbc00163aeed9d42a0703163db4bb5c7c4b032bfe4c83bfd83cff5cdc194c WHIRLPOOL 354ead8d64f98d69d74be1e69128bed50df6e0fd77d79a6e8c599f8bb12010014a43ee997cf9b9807a00b31463c1a71f620b261c1ef3b4d33cb915ffebb9a493 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRXxuZAAoJELp701BxlEWfbOQQAKtM40n9KYPh9nlUcAfGt5E4 -NHIO85gaWaihs8K66vdIWegvAYHRURAi9PGA/QOCIWhu/FzHt1ZqTh7mBNie6sAv -4EH9gNpULraXRQF69qyZY/hUx77UKgkmG0pKgYGhH/1/0XHR4c127s/7CZ+R0kVb -OZWqvblLQuXL5pqZO7YR4MBEQJRqNCszhy0ooW3oCKjnoycOlzZo7doQjVh0/oqp -iTzdbqFpc9dqrUgdl07SRuoLCXpMyyeFsi3RXIWt0uvj8TY0mH8OHCXPfus4Nl8y -uN8uKAq3nFmjQznT3h9I0edUW5cgRXszrD2zh3a4fu3xNVxByiCSY3b6SrSW0qXF -+2QGkxkuNNukvIdG/ZOC1xeHy1wT6y8Mz+s78QrhubGiOoVZeBjQN6+XZAp6hKv8 -NLz4S6iJzQc1MZlxJF6KkJnWXNh1eJNEnvXbw6DRZ16nndH9IsvmWIzqa3MGYqJt -KGjVtuU6t1RIQ5w7mYUvxY6/7gvRDDbI1t39eitdApnoE6v8iZ7Be6CGvo+1B6l5 -q7HRrCMlg/n/5wwvR6YcGzr8SYgs1G1nkeCVRJ+ishjP0zviq0JoWYg0HYlIy8cj -jRxtJTByaR6Vj1qxSwNqXzlfGVLib4L2q+4pN4H0RPIM2uXJVGZn6cve8k+09nhW -OxNnVrwmiVka0L7z0CsE -=omfB +iQIcBAEBCgAGBQJRXyQkAAoJELp701BxlEWf+LUP+wREI0YRz3e8XHgDYka4Dpog +vnWtJSRLJgmZfQqOnUtX/detAB3evuBcqa8hPsb/I5bRNHECg7A3uaP9oxpvAXeg +O1hgDBBi/ZX+mv8guopSGAkpe3UoQxlo+b8uF6IgwGlckGs8QVIcFuZc5SpXDEeq +561E579+etCbYZ/ULP0/fk77IJ+dwDJ5qFnAutoqNQaPHaUPlQeNULqHLHAgA7GQ +gxaCjXDhWTitTBe69Up0S+cTAMKutndN4E/pN7ob5qetA2rsdt+RURt7rWnhS0ML +DLHy77AhgzU6EqiFwRmdef/H33h34ffLmxh5tJgTaJhQOc6auN/jv8kXRPYl9Kc3 +WQPYGWBxMvie+806Jxi//msGjsFXkIgAv71GnDGNEizKxA/VSnSnB/FX8IymMP53 +anK/wpyXGUbgO1S6lAstQg4p7G2prHJDgxbo4geHmVf7ecQBw7oDT+s2wSqJ9u76 +ofVogzuJ6yED2nm6Q/igX+QjU3kMpwIT60wHESb9jtB8QNnhcgdaw6U2LIWhh6Sp +bgTCQrVEueYmlztos6aBobd6pbyk1KRsWLaDRmNrn0cNlCQW3HVu4Ig7nr8tqaxF +cubcvPTY91zyXPOMXjdhi2LV9xLGwtLzwYoKFKcHG05v2xlUGzlaRSnGkCh9vCOo +NWFKQOY4VMwCOMSXdZun +=YVGW -----END PGP SIGNATURE----- diff --git a/dev-db/postgresql-base/postgresql-base-8.4.16.ebuild b/dev-db/postgresql-base/postgresql-base-8.4.16.ebuild deleted file mode 100644 index cf98d6c0c846..000000000000 --- a/dev-db/postgresql-base/postgresql-base-8.4.16.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.16.ebuild,v 1.12 2013/02/26 18:51:12 ago Exp $ - -EAPI="4" - -WANT_AUTOMAKE="none" - -inherit autotools eutils multilib prefix versionator - -SLOT="$(get_version_component_range 1-2)" - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" - -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 readline ssl threads zlib" - -for lingua in ${LINGUAS} ; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND=">=app-admin/eselect-postgresql-1.0.7 - virtual/libintl - !!dev-db/libpq - !!dev-db/postgresql - !!dev-db/postgresql-client - !!dev-db/postgresql-libs - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - pam? ( virtual/pam ) - readline? ( >=sys-libs/readline-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} )" - -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 \ - --without-python \ - $(use_with kerberos krb5) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable !pg_legacytimestamp integer-datetimes ) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety) \ - $(use_with zlib) -} - -src_compile() { - emake - - cd "${S}/contrib" - emake -} - -src_install() { - emake DESTDIR="${D}" install - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - - 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.12.ebuild b/dev-db/postgresql-base/postgresql-base-9.0.12.ebuild deleted file mode 100644 index f6e15e8f8d17..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.0.12.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.12.ebuild,v 1.12 2013/02/26 18:51:12 ago Exp $ - -EAPI="4" - -WANT_AUTOMAKE="none" - -inherit autotools eutils flag-o-matic multilib prefix versionator - -SLOT="$(get_version_component_range 1-2)" - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" - -DESCRIPTION="PostgreSQL libraries and clients" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-9.0-r4.tbz2" -LICENSE="POSTGRESQL" - -S="${WORKDIR}/postgresql-${PV}" - -# No tests to be done for clients and libraries -RESTRICT="test" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib" - -for lingua in ${LINGUAS} ; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND=">=app-admin/eselect-postgresql-1.0.7 - virtual/libintl - !!dev-db/libpq - !!dev-db/postgresql - !!dev-db/postgresql-client - !!dev-db/postgresql-libs - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - pam? ( virtual/pam ) - readline? ( sys-libs/readline ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( sys-libs/zlib )" - -DEPEND="${RDEPEND} - sys-devel/bison - sys-devel/flex - !!<sys-apps/sandbox-2.0 - nls? ( sys-devel/gettext )" - -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -src_prepare() { - epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \ - "${WORKDIR}/bool.patch" - - eprefixify src/include/pg_config_manual.h - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - # because psql/help.c includes the file - ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die - - if use pam ; then - sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c \ - || die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eautoconf -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - local PO="${EPREFIX%/}" - econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --without-tcl \ - --without-perl \ - --without-python \ - $(use_with kerberos krb5) \ - $(use_with kerberos gssapi) \ - $(use_with ldap) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable !pg_legacytimestamp integer-datetimes) \ - $(use_with readline) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety) \ - $(use_with zlib) -} - -src_compile() { - emake - - cd "${S}/contrib" - emake -} - -src_install() { - emake DESTDIR="${D}" install - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - - dodir /usr/share/postgresql-${SLOT}/man/ - cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_controldata,pg_ctl,pg_resetxlog,postgres,postmaster}.1 - docompress /usr/share/postgresql-${SLOT}/man/man{1,7} - - # Don't use ${PF} here as three packages - # (dev-db/postgresql-{docs,base,server}) have the same set of docs. - insinto /usr/share/doc/postgresql-${SLOT} - doins README HISTORY doc/{README.*,TODO,bug.template} - - cd "${S}/contrib" - emake DESTDIR="${D}" install - cd "${S}" - - dodir /etc/eselect/postgresql/slots/${SLOT} - - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \ - > "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" - - keepdir /etc/postgresql-${SLOT} -} - -pkg_postinst() { - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT%/}/etc/postgresql-${SLOT}/" - einfo - einfo "If this is your first install of PostgreSQL, you 'll want to:" - einfo " source /etc/profile" - einfo "In your open terminal sessions." -} - -pkg_postrm() { - postgresql-config update -} diff --git a/dev-db/postgresql-base/postgresql-base-9.1.8.ebuild b/dev-db/postgresql-base/postgresql-base-9.1.8.ebuild deleted file mode 100644 index c4b8288f5304..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.1.8.ebuild +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.8.ebuild,v 1.12 2013/02/26 18:51:12 ago Exp $ - -EAPI="4" - -WANT_AUTOMAKE="none" - -inherit autotools eutils flag-o-matic multilib prefix versionator - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" - -SLOT="$(get_version_component_range 1-2)" -S="${WORKDIR}/postgresql-${PV}" - -DESCRIPTION="PostgreSQL libraries and clients" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-9.1-r2.tbz2" -LICENSE="POSTGRESQL" - -# No tests to be done for clients and libraries -RESTRICT="test" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib" - -for lingua in ${LINGUAS} ; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND="!!dev-db/libpq - !!dev-db/postgresql - !!dev-db/postgresql-client - !!dev-db/postgresql-libs - >=app-admin/eselect-postgresql-1.0.10 - virtual/libintl - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - pam? ( virtual/pam ) - readline? ( sys-libs/readline ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( sys-libs/zlib ) -" - -DEPEND="${RDEPEND} - !!<sys-apps/sandbox-2.0 - sys-devel/bison - sys-devel/flex - nls? ( sys-devel/gettext ) -" - -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -src_prepare() { - epatch "${WORKDIR}/autoconf.patch" \ - "${WORKDIR}/base.patch" \ - "${WORKDIR}/bool.patch" - - eprefixify src/include/pg_config_manual.h - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - # because psql/help.c includes the file - ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die - - if use pam ; then - sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c \ - || die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eautoconf -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - - local PO="${EPREFIX%/}" - - econf \ - --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --without-tcl \ - --without-perl \ - --without-python \ - $(use_with readline) \ - $(use_with kerberos krb5) \ - $(use_with kerberos gssapi) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable !pg_legacytimestamp integer-datetimes) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety) \ - $(use_with zlib) \ - $(use_with ldap) -} - -src_compile() { - emake -j1 - - cd "${S}/contrib" - emake -} - -src_install() { - emake DESTDIR="${D}" install - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - - dodir /usr/share/postgresql-${SLOT}/man/ - cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1 - docompress /usr/share/postgresql-${SLOT}/man/man{1,7} - - # Don't use ${PF} here as three packages - # (dev-db/postgresql-{docs,base,server}) have the same set of docs. - insinto /usr/share/doc/postgresql-${SLOT} - doins README HISTORY doc/{TODO,bug.template} - - cd "${S}/contrib" - emake DESTDIR="${D}" install - cd "${S}" - - dodir /etc/eselect/postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ - "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" - - keepdir /etc/postgresql-${SLOT} -} - -pkg_postinst() { - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT%/}/etc/postgresql-${SLOT}/" - einfo - einfo "If this is your first install of PostgreSQL, you 'll want to:" - einfo " source /etc/profile" - einfo "In your open terminal sessions." -} - -pkg_postrm() { - postgresql-config update -} diff --git a/dev-db/postgresql-base/postgresql-base-9.2.3-r1.ebuild b/dev-db/postgresql-base/postgresql-base-9.2.3-r1.ebuild deleted file mode 100644 index 2c5068fa825e..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.2.3-r1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.2.3-r1.ebuild,v 1.12 2013/02/26 18:51:12 ago Exp $ - -EAPI="4" - -WANT_AUTOMAKE="none" - -inherit autotools eutils flag-o-matic multilib prefix versionator - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" - -SLOT="$(get_version_component_range 1-2)" - -# Comment the following five lines when not a beta or rc. -#MY_PV="${PV//_}" -#MY_FILE_PV="${SLOT}$(get_version_component_range 4)" -#S="${WORKDIR}/postgresql-${MY_FILE_PV}" -#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2 -# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2" - -# Comment the following three lines when a beta or rc. -S="${WORKDIR}/postgresql-${PV}" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2" - -LICENSE="POSTGRESQL" -DESCRIPTION="PostgreSQL libraries and clients" -HOMEPAGE="http://www.postgresql.org/" - -# No tests to be done for clients and libraries -RESTRICT="test" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib" - -for lingua in ${LINGUAS} ; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND="!!dev-db/libpq - !!dev-db/postgresql - !!dev-db/postgresql-client - !!dev-db/postgresql-libs - sys-apps/less - >=app-admin/eselect-postgresql-1.0.10 - virtual/libintl - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - pam? ( virtual/pam ) - readline? ( sys-libs/readline ) - ssl? ( >=dev-libs/openssl-0.9.6-r1 ) - zlib? ( sys-libs/zlib ) -" - -DEPEND="${RDEPEND} - !!<sys-apps/sandbox-2.0 - sys-devel/bison - sys-devel/flex - nls? ( sys-devel/gettext ) -" - -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -src_prepare() { - epatch "${WORKDIR}/autoconf.patch" \ - "${WORKDIR}/base.patch" \ - "${WORKDIR}/bool.patch" - - eprefixify src/include/pg_config_manual.h - - # to avoid collision - it only should be installed by server - rm "${S}/src/backend/nls.mk" - - # because psql/help.c includes the file - ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die - - if use pam ; then - sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c \ - || die 'PGSQL_PAM_SERVICE rename failed.' - fi - - eautoconf -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - export LDFLAGS_SL="${LDFLAGS}" - export LDFLAGS_EX="${LDFLAGS}" - - local PO="${EPREFIX%/}" - - econf \ - --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ - --datadir="${PO}/usr/share/postgresql-${SLOT}" \ - --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \ - --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ - --includedir="${PO}/usr/include/postgresql-${SLOT}" \ - --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ - --without-tcl \ - --without-perl \ - --without-python \ - $(use_with readline) \ - $(use_with kerberos krb5) \ - $(use_with kerberos gssapi) \ - "$(use_enable nls nls "$(wanted_languages)")" \ - $(use_with pam) \ - $(use_enable !pg_legacytimestamp integer-datetimes) \ - $(use_with ssl openssl) \ - $(use_enable threads thread-safety) \ - $(use_with zlib) \ - $(use_with ldap) -} - -src_compile() { - emake - - cd "${S}/contrib" - emake -} - -src_install() { - emake DESTDIR="${D}" install - insinto /usr/include/postgresql-${SLOT}/postmaster - doins "${S}"/src/include/postmaster/*.h - - dodir /usr/share/postgresql-${SLOT}/man/ - cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die - rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1 - docompress /usr/share/postgresql-${SLOT}/man/man{1,7} - - # Don't use ${PF} here as three packages - # (dev-db/postgresql-{docs,base,server}) have the same set of docs. - insinto /usr/share/doc/postgresql-${SLOT} - doins README HISTORY doc/{TODO,bug.template} - - cd "${S}/contrib" - emake DESTDIR="${D}" install - cd "${S}" - - dodir /etc/eselect/postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ - "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" - - keepdir /etc/postgresql-${SLOT} -} - -pkg_postinst() { - postgresql-config update - - elog "If you need a global psqlrc-file, you can place it in:" - elog " ${EROOT%/}/etc/postgresql-${SLOT}/" -} - -pkg_postrm() { - postgresql-config update -} diff --git a/dev-db/postgresql-docs/ChangeLog b/dev-db/postgresql-docs/ChangeLog index 74b504144e06..85b5a7471b02 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.210 2013/04/05 18:44:23 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.211 2013/04/05 19:23:15 ago Exp $ + + 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> -postgresql-docs-8.4.16.ebuild, + -postgresql-docs-9.0.12.ebuild, -postgresql-docs-9.1.8.ebuild, + -postgresql-docs-9.2.3.ebuild: + Remove old 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> postgresql-docs-8.4.17.ebuild, postgresql-docs-9.0.13.ebuild, postgresql-docs-9.1.9.ebuild, diff --git a/dev-db/postgresql-docs/Manifest b/dev-db/postgresql-docs/Manifest index 2ef57110af67..40b9a50a9743 100644 --- a/dev-db/postgresql-docs/Manifest +++ b/dev-db/postgresql-docs/Manifest @@ -1,38 +1,30 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5 DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f -DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514 DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2 -DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357 -DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82 DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302 -EBUILD postgresql-docs-8.4.16.ebuild 1302 SHA256 505caafbd7f212620cc2483002d187b807f31e7b57d3e8bb0dfdd019e3ec2979 SHA512 c5959160fdbd98ca4fc63cea6bde23be886c86778f69ae9345785297a043fccd845fef1a4e555aeef2b927bf2ab126747e9d6ee74bc9a6951eb4431514fa250c WHIRLPOOL cabb6aa5f3408e0a65d0ff7fe558ca9a7e0c4a3028a24cc79cf65993b2116fa574735a8baf6273a5f70c37aea634d6f06bc9663df1a24fe3ddd1b449cec770b1 EBUILD postgresql-docs-8.4.17.ebuild 1302 SHA256 814b2657151bb2c39d53710eb363fd95447e27a87cac8681a04c7a78e0a300c6 SHA512 bca6ca8c733948f942338f9892577a5376f07bf8b105e85df0139dc8eeb69ccaf5db65ebb5097c893627dddd2170dcf217198918451efcf737f626103e5099bc WHIRLPOOL ff983f1004b1510c8928af66b3a8eab9037a2b843c32ca82b45cbd9b73c76df5c3060480d520c5535d1efc6ebf1cdca59fe877e234e3edccd338feb44796b945 -EBUILD postgresql-docs-9.0.12.ebuild 1291 SHA256 37a3534193b1f4d65d8b41b0b9d77f1946633123185f71fad15212bd08f6ad42 SHA512 9ab99144280b4691968cace91ebe364b7145f33c728796a76a1d1f85bd756c460f0bde336c1b2fe014c22d1cfa50dc5a1dc4cf785f08c457e7de6ad2fb76deae WHIRLPOOL 33e0d0704996575597dd466256949205ef67eeed48cc9d263810d831870477376cb68bf1f0f2f6e878c31d9ab703d6f7196655741b50aa5bbf1bc3eed1b0a2e1 EBUILD postgresql-docs-9.0.13.ebuild 1291 SHA256 5bf257362294608e2aa3119f8ef46f5deb44037846dab366f6ac5e1101af0f7a SHA512 961da5787cf3dc3d8828df274b61fc90feba0e94888364abca4b57d81215f083178192ebc4a77df2b9bc98c4b69b5ea5e1382814fd0ee9466ec2b7051d813d46 WHIRLPOOL f272cdf386b8b891498dd51790dabd26a3549ea4bde5332f3bd9c487df773564cdb516cba92be46ac37d1ccfc4c096c9c76e56f7d0c5c05d0992c2ea7343b824 -EBUILD postgresql-docs-9.1.8.ebuild 1304 SHA256 553f5026af09d8b2ef3f86c42d105097fa81bb58741ec6017f707673aa4615a2 SHA512 6f503afd14eb280e6503c47045e32fd9402dea0ce223c4485603dfccb595784cbbdd31f97dabe7e1948843b57ca9801e53f0124ea26367aaa3863caae9371ba6 WHIRLPOOL f6d343052d3b10d6e2c6b77c4f5479e503bcd40f6033837f61683d4db0426ea28d002a3899dc239b43dbed033a993947ddd7531555307195af3d545b8346b71c EBUILD postgresql-docs-9.1.9.ebuild 1304 SHA256 0a05f6cd471739bb2f94fe6b45d88afe5029f45158c19cb2b5fdf67691e1d227 SHA512 1f5e4e7c6911314adc2e5866d1bd6d5ac1f755c10d08879482da6ba248e12b856d0ae19c2145311a5d38567bbc270c9c48cf1bd72a6bfcd96c14b242ca73111e WHIRLPOOL 3201113ef2d1f9a973948edbe51165c8bb60e0ca48250b3796415d1b87ba6a0ec11f7236c74e568c868dbc3c504c8990a00550e9a8fc42557b7a9a2153160b22 -EBUILD postgresql-docs-9.2.3.ebuild 1616 SHA256 e6ef812fe0207ec27b60f65301b272d2a80aa68826c96628f18d36ce0e83d0a1 SHA512 169871fa00cea8438cddb21d11eba948e9d688d4c8afc1aaf6bb64ebab891f591dd6e3e262d9a9ae072d66b4bbf5194609ac2f94797f6392b3d82c50d2b1705b WHIRLPOOL 7feb04700c1355748a2eea352f5e7f16c279c6b926cb79fd9035c6a9d21bc1206d274152f0fe2933cba59dce55ff09ae40a34c6818ee7b77a88914ab1d9c4515 EBUILD postgresql-docs-9.2.4.ebuild 1616 SHA256 35095425ca8e94764af36b89437221d77bafcf7c8e9c5bd362e24a6977dddf92 SHA512 07b733ceababaa830a5472392e83b7f8a762fa52e8d8816dc917fa7ec676e21a83338c5c706b2fee665a4ad59fada9fb311be7ac7f5b6ddd55fda58750cbbd8f WHIRLPOOL e86b283008e593c121ffde21120985d5be6f717da3865f7f1203928c5985d914f6bb3726054755e04c3393333f7c9fd3efc6deb6357da274c5ad0aa123b45a9e -MISC ChangeLog 45831 SHA256 f98c869ce13bfb699a7ed8c0a1b949a5aa6e1f551735b7f10fbf60864b32c3b6 SHA512 3a0da267ef37733907d0b85fbb17c4a0a443fbba87d9241e08ac427807a47bf606b945e951c3ca3ee9e1ecec95eeab4cfb7993003b6833d0c6bfcb4ea06f2937 WHIRLPOOL 2c89f605ebb373988744fb75cb95e7de0a6eb0f03d991c0d7697c849fc6aa542441b3d4026ef39a6fc32709f8336a6add4e853c0f10572576ad2464eb2b37f0a +MISC ChangeLog 46024 SHA256 d303526f177879a9159421e40c1f8197f5f11d594c5b8330dc1bf37f5adf5098 SHA512 db2c1ef95894195e8935ff636974f579138ac0dc7072507b5581052f957606dd12bd53a70b4f42160c662f6dcbfe8881338c01b61d9eb7e8b3724177ea043b1a WHIRLPOOL b6253e34e89f44a3f21734635348a496c68db2c765899f61a7d994fc14514caa26214bcf225627a71e5bf4be2e289d17f71c82d81e5b6ae340da0452e27e60bc MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRXxuIAAoJELp701BxlEWf+hQQAMH3ik/mgI5H+mLkVPYa69P9 -pHV4X3EYF8Msg7AxP7A31l1GVG+MuY4cC/dHssO5k5Mv19e3N5WZP9IPZBdQKDaX -iOGfdCYiw3e0Y9r98qIUTajbF9i26DcIPeWVouHTGRtl54YqCEcMYhjzqJjUQPFy -rUzmBvLaMgVZuxtiCDrmxo58V+8NqtIlTwVKGf6GiRRbgd5pW7r2Ec/Ve3Ng8wuf -vWd4Bf+P1wosMe9y0UozzMzdjw+1JuZiFyg7eQKAELZ2vqQjbX+QXw4sNSzpmwju -uzNjbsDReo9X+3lrXIPXTYKeJ5ZS0q+pLPZCb8zXh8wRNJnEgkeD1jqgTdTOgiBH -8UJOoR7gmkRlrdM78DOI11tgcSXctF6+RvehdWCWkdsiQR/4ZbQRdqsbYNkgUwXC -Ypi2Z1annpq53pG73+kt2BuLdTsL22Sf67VYJT6/DiLbSq2XMZdGt8Tgc4xicvB8 -bk7iTqA4MxMu2tFL8iYmUf3H+8aFxcdY2O0prN7BgmOkom1koL51huaTK8O6mohK -WKHk/nAftNEvoxxo55nEjJB6fAatoB/A6vOjlQNBiUi48QBtfcz5VQIB1jpeVjXo -n98oOzYey5pYcmUxWY1N2+8D7rr9+JSziKKsP9DS7TBsoynmK5GNW9hOApBSwu/M -d6ONxIQoU6ZQB2MHlnE8 -=xyQi +iQIcBAEBCgAGBQJRXyQOAAoJELp701BxlEWfycIP/0mLCWqjogd9wXrh569rTTYP +hDvYuW+MoSmtPQwoWpsYR9xtNIpUI4bnO8RNo6bwqddTyERx6rPRH7s++HtiPk3A ++NH2InZXlFh0uC5IdjdW4cEJX7B4tDnW1+0+4oGooMthzpyxE890qOJJAWPiIsY4 +anESXiay8zrLYcgFTWlhy1jFPFneCOv+QtAbY1sVwl7Mstt+qEO/eFBIymRX4HRR ++HNpiNJwNRkevO/B2/4wESQhgmDEOO92hewq+aYxWsKZGvAsvMlIXkrvt+Ogx/90 +i7ozOOUT2Rr7vq1DSRb6MBYTvFM42c44jSj95JLyxz1Erqmkr/swdAtvVvoSiIGm +D+Xo6oMz3DGwfvDrDq2AuNS/XNZh9ZRMlk+3DknT0ea43JJdNiLKX214eD3XmX+f +ZjCNQGhWjOQM6aNtOVLT8sEQo9xJQdd/jVmka5BRrzlStD6I8lgjmU6APNiNNX1v +RN9uJgw6zqA63L0I/S/3isJ2eINAOSg2Q55TO1aHkv2GDJhYYNg3ka/RAopu6aWC +l0x65CjyGgLRjwPkS9WwQVP3h5JboE8WAJGKpBZ6eUnlR0eUJh5TzLmko4wRcqpb +SjAUNuLd8XnAB711Xp+IRUF+ll5iwCs0KrWwJIi2kBg4xsjPlwIvKp6FjGLwUhYk +edGOmy14MK1ZXWUUaVs9 +=lHKc -----END PGP SIGNATURE----- diff --git a/dev-db/postgresql-docs/postgresql-docs-8.4.16.ebuild b/dev-db/postgresql-docs/postgresql-docs-8.4.16.ebuild deleted file mode 100644 index 31bb9af30bdd..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-8.4.16.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.4.16.ebuild,v 1.12 2013/02/26 18:50:21 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.12.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.0.12.ebuild deleted file mode 100644 index fd2d39f4f4e1..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-9.0.12.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.0.12.ebuild,v 1.12 2013/02/26 18:50:21 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.8.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.1.8.ebuild deleted file mode 100644 index 72c72ec47fa8..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-9.1.8.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.1.8.ebuild,v 1.12 2013/02/26 18:50:21 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.3.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.2.3.ebuild deleted file mode 100644 index cb2dec98512c..000000000000 --- a/dev-db/postgresql-docs/postgresql-docs-9.2.3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.2.3.ebuild,v 1.12 2013/02/26 18:50:21 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 c5b43c1820eb..6a1e56fc016c 100644 --- a/dev-db/postgresql-server/ChangeLog +++ b/dev-db/postgresql-server/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/postgresql-server # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.256 2013/04/05 18:45:00 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.257 2013/04/05 19:24:01 ago Exp $ + + 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> + -postgresql-server-8.4.16-r1.ebuild, -postgresql-server-9.0.12-r1.ebuild, + -postgresql-server-9.1.8-r1.ebuild, -postgresql-server-9.2.3-r1.ebuild: + Remove old 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> postgresql-server-8.4.17.ebuild, postgresql-server-9.0.13.ebuild, diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest index 55fb5b2d6949..0bc37a88619d 100644 --- a/dev-db/postgresql-server/Manifest +++ b/dev-db/postgresql-server/Manifest @@ -1,13 +1,9 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5 DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f -DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514 DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2 -DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357 -DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82 DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302 DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f DIST postgresql-initscript-pre92-2.4.tbz2 2598 SHA256 a7a432e04b5346794b088ef92a35b46db31de85408e0029dae6b502af572aedc SHA512 3ab35b8cc392e3cd86874525edf664c8445cae19ac2338ef52808ee78aff5e4f9147b0e61caf89b732c103ff73875fb1db4dd0cb214587a58607db6529358a27 WHIRLPOOL f3ab508236d391821e4ddaa7a2224681aff60fc5453a3659f7994e45d8278eee02b8aa71dcfd446628b6ca1d212c7221b40212f45ac955821f1b78a97cdce703 @@ -16,31 +12,27 @@ 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.2beta2.tbz2 4466 SHA256 7033657bf66255fda3881ee6797ad0aa920e1910619228206b174065e5e348d2 SHA512 64150e055aabe04e1a298170a992c607313299d3990c05ac4146c05e6bb2a55e29999d45cf29d7111df5fda0f135980665c4c6c6c83d3f1df26c27334daf17bb WHIRLPOOL f67a99b39e99ab26e8d1125886493b53a3589908433618e7601281735dee4d2e54fdaed84e4608961264723cf27284e9ead798087f9b896a5ada8bdc70c51f9d -EBUILD postgresql-server-8.4.16-r1.ebuild 11592 SHA256 e55de6d481aa0aea56fa9019f2ebe2cb828d512102e3c9356ff46c7963fafc63 SHA512 c133fb9ce37d08c04fc47d35080fe11ee615b2e86c6e1f1760098fcf3342afae60205cf37c69c5dcda192eecdb55a331036a7461e88d5ae581d158fca3de4f3e WHIRLPOOL a0a7944352258d0e6228bf90f5a3d00dab5b032755610a3482e3397679301568fec7d4c37fb714d0a6cb04094c0d5287d8534ef13098940ed677f658b6475524 EBUILD postgresql-server-8.4.17.ebuild 11590 SHA256 d0dd8f4757df0ed075eda2305e929786b207b735cdc03b48a5126aec1ee4d1c4 SHA512 5e3df531abc8e0fac187c9e6c936f47a2bfbf66b0ce90a5255a94c661f951f4930ef9e8f7580b54b68627a7f092603ebb23e062fe1489a06cbf3d8c641373678 WHIRLPOOL d93d7ec97f9de1e773ae7ff6aecf8e085e346d602e51adcdb2bc3d70431acefb82bf74ecc00fe61f8371898cce9c55bab855a9155f51c0ebba603188e51cd424 -EBUILD postgresql-server-9.0.12-r1.ebuild 11546 SHA256 f8b68742391bbaee6d41096524823e4d4d1decf373b22f59bf6e964f511aeda9 SHA512 a83bce394dfd5da2ca154c101e989b51dd8a0b6fe86bf2a07fee31820e4ba5155341dddf5dcf2054dda52c200b15ea7855881f129522cff59e8109ae45f467cd WHIRLPOOL 8f1fd2319f1fa32912dbbb7feba233271d534f0bd4a6027ba140ec074bd684a6592153f6ca8ad40a893c64ec6049dd16d3f1f8f0c31ef78e590413e1566d640b EBUILD postgresql-server-9.0.13.ebuild 11544 SHA256 df174fee71b646b4fdf84e12332135ac563e9ce7f671e0d5a36de304c7f1cea9 SHA512 0e086f360687f04e2e8fa3eb3eb8f27b08a5789aeff43be18003defc29baf6ad47f03c60c29118d133755b4a5e0cb119158c367c1db8e37158bf7d9666b96ab1 WHIRLPOOL 3e57f19f9d6b128dabc6cfe91367f78688455e6a38ef86d879af0b451754d89cf485b6d65ad371682d71cedafb6ac5fd9cac5879817fe9ddfec7e555bbfe8e6d -EBUILD postgresql-server-9.1.8-r1.ebuild 11242 SHA256 b90147493e8d66625a72be43fa48a7b0ae76633236123bba3edbfbd4601eb336 SHA512 9cd5aa06213d31cc3c3f1398b9b9563239d56701da7ab4f35f1966a7584181a694accb65ae6f56ddf2364e2fa5041e5fd8e1bdf29ecad889e842a0f4b3b81f7b WHIRLPOOL 5453074283b4e83988e458bd31af3a605caec58c9fbf0e6b2774c8a275fa2dfc267a22e70a55d6860a63e1fe9e55edcb8cbbeb75fcc598c94c085e52020de401 EBUILD postgresql-server-9.1.9.ebuild 11240 SHA256 d8650c06b291cee202b55b063962da7a114b48bd974b4d5d0b6d4b1611cde028 SHA512 5ca2bea713ca2a47a1fe38459e0a7e6c63c612e6be2b29a4342394b5d3efdca74b916f1d05d38cc29d9ce07e09bf9dd507ecc661c2b229fe46a590a707da05fe WHIRLPOOL 0a09ce226a2165ca7ea779ed49fb680fe65f8c1bce29c1de8fe04100ec0765a684ddd801cda21d5527556bd8d60cb1d6951060dd0a19d03815a7a44d2550ad90 -EBUILD postgresql-server-9.2.3-r1.ebuild 11647 SHA256 9fe568dc76e5dd0f88e3eda83d3873a0f6495ccd8fc9feb0604bdab52ed95d56 SHA512 9bd709f5fb59d249eca1731b747d0c8982211c5aa8d49ef2a7f77c0d3730f7bbf2f0046cdecb1f1df6551ff3751a4c669ca66b851f35979a4c105d9b52f45fea WHIRLPOOL 4891c70620a1002fb6683df06a123d0e9badd25d723786dc01ddb61e81b814e7683500bb84d8f0163ea901f7732dbc4785a5e7cfca657f85ba5320e2f0f19a86 EBUILD postgresql-server-9.2.4.ebuild 11645 SHA256 c3b742d7b058070943f2a055eae7f9d033d78c7233256dba4ea46e1aeb966c37 SHA512 4036c8c3351b356777df616e5568a7131fe6781a80b87e5df08b8d801ae221f0e5c19836e31168b75712a812d19a416f38392f83c05c840e28965a1e9d6d3e54 WHIRLPOOL 150fb4444a2518acf9c3d703a510b2a17aded30395a4143dbd9b6519a46c2e56c6c7716ad01074107aad63da96272c8edb9ec2ddbbb9aba23e5a671a7fdc9154 EBUILD postgresql-server-9999.ebuild 11868 SHA256 c723c4865943c316190362084dd2e38180d84ef5de5b84f6fe7618fc3eebea4c SHA512 e3921f3827d3f1920b97dc0f844b877660f4a7bc5e77600f703c58fa755fdbe0a076e47062782b00e79661b762a053e8f4abf6448e2a68013396cea1a290a7e1 WHIRLPOOL 85abf0a7450b73e6330f86e294c758fca6b1c64a2e943169020b494ddda1680d2fbc3e99d76600a1cfc36782d420ffddc71bc6c116f6254be58335d9d94ea58c -MISC ChangeLog 75193 SHA256 b0d4ed906c609c49512c2b913b2851e069fa80f7dd191b2cb866bd071ca89418 SHA512 23836ea86d0433c5d06de4bbeba6c73ee1c7ca40c55c9e4cbfaf10fa0221baa48466f0674173be8753328e0fee1391ee25760adfa6d64b3bf6924f6888eb1577 WHIRLPOOL fb71c12b34cd66f269271d6a13f7e173db88c0b513061fd54a55df3a829d4992ef9c8e20c2c560a8c2e09490cfa300b0336420dfec54c61e7a2a9e1452dcd1c4 +MISC ChangeLog 75406 SHA256 ffab092bc339f80fca2ecc11e8c55b4b0a79d711d57e3dcd529ae6fb4ce95108 SHA512 49ef68375598f89c503baa525c43ef7e05bee1b8d513e3edbe7da1eed190cc6ff9385b3ba6f84ba3ea5aad9d624ed5d3c12a074fa94439443d6eee26f848070e WHIRLPOOL 12c97982cfb96257052f0c46f2b960d67df02b6e68e943ef17c9dc35e8e3918fe2a8694b6207a1155bb43623d39566b0ebecfe395c3d028255111b3d955e01da MISC metadata.xml 420 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62 SHA512 1731bced1ac398d90c6aca6ec209a9ea42deb0f7033d49952a6216349aeb992479c3e868b33cc1be2434cdead6185026503a58e779965455d0198edd87bf5b4c WHIRLPOOL 3bbd5598492cb7d90f4199fac80f27bcba281e1188f7f1d40ee3dd1561e530de13de109142f0add7221b49ec3a9c6a0bdb3add1446b1cc5a6cb3909fd193d19b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRXxutAAoJELp701BxlEWfbk4P/Aoqk9SSXBVkn3hLHq0mtO8J -Im3RPDU+VMU7ht0bDqWNoC77K+QhIq1r/KUH0Fm2/FfiFUTrUE8iaEVlWK4hVyYu -apoMCEYHb+O4qwetrndVyZ33lLQV5yD/sBzKzwpAavjjrMw844DNSuW3qTPGufUl -V5mKj2+FtHYRsoxeQFA1aLjUqNliR3l/j7FPCwHU2b2A6GH8TlK7Or9cRVe9a3lI -yhHAQH89QJtw0S2VJ3sh3gwZpuS07S3Pj5lHVPU1MJL+EFoJ4NRCePsjoiVs4FZ2 -1wDw8bDuzk4YAAvD+bdOoU4Kr5keRgArsD0hWT6fjTp+3y8IuFCokc6u1z8tnwtE -lTR0bx5+UyZOYEwXrozU6LskTsDx0jn3n2CO6X7Zv9Lou8I6Mp6LXQVDB2H09Xi3 -l8B2gYbdXEWkiGUeRPvuSF+omutNNOzsdXU7CaI32w97umOvdXUuT791I44n/LFo -6JKLTJ8pZoFN6wKVuWvCoywNHh7uNu+gZZ0keDhklqjS/nNUEj3lHP70KfAH4KML -s/ov4s8385cIuup2HttikGZpkFDagEvYnZteW+bRb3gEjiuLspKfWNUVcIcAErfk -AA70r4aPz2BegjrU77QIy5t9l/ffnggyJwv2rGPgixuLokUe49PLoXNnuL7biVe2 -0UF8XldeTJMW+Xt2+QLh -=I1GO +iQIcBAEBCgAGBQJRXyQ8AAoJELp701BxlEWfsssP/iOLsTsYX/JK0+SajViDJnu6 +5qaE9bkICKxVeK9F5hxBjnAZKweL/dUvJoUB6fzM9er3gz6LL21lWyylz69uGgDu +91HZsoE1c7DObSiKBfNyA2kvAs9BssVhYcQ2jW7TDR3QzznjFbY1vZO9zDbFLLVC +AK5tChda2GSYlr9H9aDkICtOSfhVS4A8y1rodJS36CsGBiOTwMt8ZZ4EFFTTDycN +xO/RZJRPlOFAUTyKncYI5PW/XYMhFM1QdD6ka105lW+yQLWbtBHxYQ4cUzczhE+O +EY4s1lZiPcIiv7/IibMy4q+mNbhqLxjlJ3V0x7KZjdZYF9z1unsVUx1Qq9LiQmGE +YbWxeBYp2r0Lz/x123UH5P5Aige/jVE/neQufaqjatJRVXdL+VZVSeAA+FczV77X +fb8oAtvxQf6r/KRNVbeCjyd5Muest+F99VlCj9e5F1YM9rDeLmBkW4i3WgNUebue +71VtstcmzhCupNQWFNCEd+CvV7ugT//G2RiU8k5+0bqADr4USIg7UGPjk/XafPVf +LTCJ5zqfr89KBQ+DskQz1qOnoDrjM408tJU6bJyRuBRhREqdCRefmsG8UknBN1Fq +6cqNWJZ09LyXwj7JEGbV1cDgOTfWj5SOhRSXx8lpxvCR/rmpO+g1V4qVmR+KKeJo +dIH68i635icoWaQDobRT +=ov78 -----END PGP SIGNATURE----- diff --git a/dev-db/postgresql-server/postgresql-server-8.4.16-r1.ebuild b/dev-db/postgresql-server/postgresql-server-8.4.16-r1.ebuild deleted file mode 100644 index 94e211bca331..000000000000 --- a/dev-db/postgresql-server/postgresql-server-8.4.16-r1.ebuild +++ /dev/null @@ -1,346 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.4.16-r1.ebuild,v 1.2 2013/02/26 18:52:02 ago Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python2_{5,6,7} ) -WANT_AUTOMAKE="none" - -inherit autotools eutils multilib pam prefix python-single-r1 user versionator - -SLOT="$(get_version_component_range 1-2)" - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" - -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.4.tbz2" -LICENSE="POSTGRESQL GPL-2" - -S="${WORKDIR}/postgresql-${PV}" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml" - -for lingua in ${LINGUAS} ; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=] - perl? ( >=dev-lang/perl-5.8 ) - python? ( ${PYTHON_DEPS} ) - selinux? ( sec-policy/selinux-postgresql ) - tcl? ( >=dev-lang/tcl-8 ) - uuid? ( dev-libs/ossp-uuid ) - xml? ( dev-libs/libxml2 dev-libs/libxslt )" - -DEPEND="${RDEPEND} - sys-devel/flex - xml? ( virtual/pkgconfig )" - -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -pkg_setup() { - enewgroup postgres 70 - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - epatch "${WORKDIR}/autoconf.patch" \ - "${WORKDIR}/bool.patch" \ - "${WORKDIR}/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 - - sed -e "s|@SLOT@|${SLOT}|g" \ - -i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \ - die "SLOT sed failed" - - eautoconf -} - -src_configure() { - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - --with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \ - --with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \ - --with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \ - $(use_with perl) \ - $(use_with python) \ - $(use_with tcl) \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with uuid ossp-uuid) \ - "$(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} \ - || die "Inserting conf.d file failed" - - newinitd "${WORKDIR}"/postgresql.init postgresql-${SLOT} \ - || die "Inserting init.d file failed" - - use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 0770 /run/postgresql - fi -} - -pkg_postinst() { - postgresql-config update - - elog "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.12-r1.ebuild b/dev-db/postgresql-server/postgresql-server-9.0.12-r1.ebuild deleted file mode 100644 index 94e75bc70249..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.0.12-r1.ebuild +++ /dev/null @@ -1,351 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.12-r1.ebuild,v 1.2 2013/02/26 18:52:02 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 user versionator - -SLOT="$(get_version_component_range 1-2)" - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~ppc-macos ~x86-solaris" - -DESCRIPTION="PostgreSQL server" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-9.0-r4.tbz2 - http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2" -LICENSE="POSTGRESQL GPL-2" - -S="${WORKDIR}/postgresql-${PV}" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml" - -for lingua in ${LINGUAS}; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=] - perl? ( >=dev-lang/perl-5.8 ) - python? ( ${PYTHON_DEPS} ) - selinux? ( sec-policy/selinux-postgresql ) - tcl? ( >=dev-lang/tcl-8 ) - uuid? ( dev-libs/ossp-uuid ) - xml? ( dev-libs/libxml2 dev-libs/libxslt )" - -DEPEND="${RDEPEND} - sys-devel/flex - xml? ( virtual/pkgconfig )" - -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -pkg_setup() { - enewgroup postgres 70 - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - epatch "${WORKDIR}/autoconf.patch" \ - "${WORKDIR}/bool.patch" \ - "${WORKDIR}/pg_ctl-exit-status.patch" \ - "${WORKDIR}/server.patch" - - eprefixify src/include/pg_config_manual.h - - if use pam ; then - sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c \ - || die 'PGSQL_PAM_SERVICE rename failed.' - fi - - if use test ; then - epatch "${WORKDIR}/regress.patch" - sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c - else - echo "all install:" > "${S}/src/test/regress/GNUmakefile" - fi - - sed -e "s|@SLOT@|${SLOT}|g" \ - -i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \ - die "SLOT sed failed" - - eautoconf -} - -src_configure() { - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - --with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \ - --with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \ - --with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \ - $(use_with perl) \ - $(use_with python) \ - $(use_with tcl) \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with uuid ossp-uuid) \ - "$(use_enable nls nls "$(wanted_languages)")" -} - -src_compile() { - local bd - for bd in . contrib $(use xml && echo contrib/xml2); do - PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd -j1 || die "emake in $bd failed" - done -} - -src_install() { - if use perl ; then - mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig" - sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \ - "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile" - fi - - local bd - for bd in . contrib $(use xml && echo contrib/xml2) ; do - PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ - emake install -C $bd -j1 DESTDIR="${D}" || die "emake install in $bd failed" - done - - dodir /usr/share/postgresql-${SLOT}/man/man1/ - cp "${S}"/doc/src/sgml/man1/{initdb,pg_controldata,pg_ctl,pg_resetxlog,post{gres,master}}.1 \ - "${ED}"/usr/share/postgresql-${SLOT}/man/man1/ || die - - dodir /etc/eselect/postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \ - > "${ED}/etc/eselect/postgresql/slots/${SLOT}/server" - - newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} \ - || die "Inserting conf.d file failed" - - newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} \ - || die "Inserting init.d file failed" - - use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 0770 /run/postgresql - fi -} - -pkg_postinst() { - postgresql-config update - - elog "Gentoo specific documentation:" - elog "http://www.gentoo.org/doc/en/postgres-howto.xml" - elog - elog "Official documentation:" - elog "http://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT%/}/run/postgresql/" - elog - elog "If you have users and/or services that you would like to utilize the" - elog "socket, you must add them to the 'postgres' system group:" - elog " usermod -a -G postgres <user>" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5" - - ebegin "Resuming removal in 10 seconds. Control-C to cancel" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - [[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - [[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/" - [[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT%/}/etc/env.d/02locale" - [[ -n ${LANG} ]] && export LANG - [[ -n ${LC_CTYPE} ]] && export LC_CTYPE - [[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC - [[ -n ${LC_TIME} ]] && export LC_TIME - [[ -n ${LC_COLLATE} ]] && export LC_COLLATE - [[ -n ${LC_MONETARY} ]] && export LC_MONETARY - [[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES - [[ -n ${LC_ALL} ]] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - while [[ $correct != "true" ]] ; do - einfo "Are you ready to continue? (y/n)" - read answer - if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then - correct="true" - elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then - die "Aborting initialization." - else - echo "Answer not recognized" - fi - done - - if [[ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ]] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - [[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128 - einfo "Checking system parameters..." - - if ! use kernel_linux ; then - einfo "Skipped." - einfo " Tests not supported on this OS (yet)" - else - if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then - einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..." - - local SEMMSL=$(sysctl -n kernel.sem | cut -f1) - local SEMMNS=$(sysctl -n kernel.sem | cut -f2) - local SEMMNI=$(sysctl -n kernel.sem | cut -f4) - local SHMMAX=$(sysctl -n kernel.shmmax) - - local SEMMSL_MIN=17 - local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 )) - local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 )) - local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) )) - - for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do - if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then - eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)" - eerror "You have now several options:" - eerror " - Change the mentioned system parameter" - eerror " - Lower the number of max connections by setting PG_MAX_CONNECTIONS to a" - eerror " value lower than ${PG_MAX_CONNECTIONS}" - eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely" - eerror "More information can be found here:" - eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html" - die "System test failed." - fi - done - einfo "Passed." - else - ewarn "SKIP_SYSTEM_TESTS set, so skipping." - fi - fi - - if [[ ${EUID} == 0 ]] ; then - einfo "Creating the data directory ..." - mkdir -p "${DATA_DIR}" - chown -Rf postgres:postgres "${DATA_DIR}" - chmod 0700 "${DATA_DIR}" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su postgres \ - -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D '${DATA_DIR}' -L '${EROOT%/}/usr/share/postgresql-${SLOT}/' ${PG_INITDB_OPTS}" - else - "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb \ - -U postgres -D "${DATA_DIR}" \ - -L "${EROOT%/}/usr/share/postgresql-${SLOT}/" ${PG_INITDB_OPTS} - fi - - mv "${DATA_DIR%/}"/*.conf "${PGDATA}" - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo " mv ${PGDATA}*.conf ${DATA_DIR}" - else - einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - if [[ ${UID} != 0 ]] ; then - emake check || die "Make check failed. See above for details." - - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - ewarn "Tests cannot be run as root. Skipping." - ewarn "HINT: FEATURES=\"userpriv\"" - fi -} diff --git a/dev-db/postgresql-server/postgresql-server-9.1.8-r1.ebuild b/dev-db/postgresql-server/postgresql-server-9.1.8-r1.ebuild deleted file mode 100644 index b89be82f822f..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.1.8-r1.ebuild +++ /dev/null @@ -1,346 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.1.8-r1.ebuild,v 1.2 2013/02/26 18:52:02 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 user versionator - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" - -SLOT="$(get_version_component_range 1-2)" -S="${WORKDIR}/postgresql-${PV}" - -DESCRIPTION="PostgreSQL server" -HOMEPAGE="http://www.postgresql.org/" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-9.1-r2.tbz2 - http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2" -LICENSE="POSTGRESQL GPL-2" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml" - -for lingua in ${LINGUAS}; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=] - perl? ( >=dev-lang/perl-5.8 ) - python? ( ${PYTHON_DEPS} ) - selinux? ( sec-policy/selinux-postgresql ) - tcl? ( >=dev-lang/tcl-8 ) - uuid? ( dev-libs/ossp-uuid ) - xml? ( dev-libs/libxml2 dev-libs/libxslt )" -DEPEND="${RDEPEND} - sys-devel/flex - xml? ( virtual/pkgconfig )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -pkg_setup() { - enewgroup postgres 70 - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - epatch "${WORKDIR}/autoconf.patch" \ - "${WORKDIR}/bool.patch" \ - "${WORKDIR}/pg_ctl-exit-status.patch" \ - "${WORKDIR}/server.patch" - - eprefixify src/include/pg_config_manual.h - - if use pam ; then - sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c \ - || die 'PGSQL_PAM_SERVICE rename failed.' - fi - - if use test ; then - epatch "${WORKDIR}/regress.patch" - sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c - else - echo "all install:" > "${S}/src/test/regress/GNUmakefile" - fi - - sed -e "s|@SLOT@|${SLOT}|g" \ - -i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \ - die "SLOT sed failed" - - eautoconf -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - local PO="${EPREFIX%/}" - - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - $(use_with perl) \ - $(use_with python) \ - $(use_with tcl) \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with uuid ossp-uuid) \ - --with-system-tzdata="${PO}/usr/share/zoneinfo" \ - --with-includes="${PO}/usr/include/postgresql-${SLOT}/" \ - --with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \ - "$(use_enable nls nls "$(wanted_languages)")" -} - -src_compile() { - local bd - for bd in . contrib $(use xml && echo contrib/xml2); do - PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd || die "emake in $bd failed" - done -} - -src_install() { - if use perl ; then - mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig" - sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \ - "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile" - fi - - local bd - for bd in . contrib $(use xml && echo contrib/xml2) ; do - PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ - emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed" - done - - dodir /etc/eselect/postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ - "${ED}/etc/eselect/postgresql/slots/${SLOT}/server" - - newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} || \ - die "Inserting conf failed" - newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \ - die "Inserting conf failed" - - use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 0770 /run/postgresql - fi -} - -pkg_postinst() { - postgresql-config update - - elog "Gentoo specific documentation:" - elog "http://www.gentoo.org/doc/en/postgres-howto.xml" - elog - elog "Official documentation:" - elog "http://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT%/}/run/postgresql/" - elog - elog "If you have users and/or services that you would like to utilize the" - elog "socket, you must add them to the 'postgres' system group:" - elog " usermod -a -G postgres <user>" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5" - - ebegin "Resuming removal in 10 seconds. Control-C to cancel" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - [[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT%/}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - while [ "$correct" != "true" ] ; do - einfo "Are you ready to continue? (y/n)" - read answer - if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then - correct="true" - elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then - die "Aborting initialization." - else - echo "Answer not recognized" - fi - done - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - [ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128" - einfo "Checking system parameters..." - - if ! use kernel_linux ; then - einfo "Skipped." - einfo " Tests not supported on this OS (yet)" - else - if [ -z ${SKIP_SYSTEM_TESTS} ] ; then - einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..." - - local SEMMSL=$(sysctl -n kernel.sem | cut -f1) - local SEMMNS=$(sysctl -n kernel.sem | cut -f2) - local SEMMNI=$(sysctl -n kernel.sem | cut -f4) - local SHMMAX=$(sysctl -n kernel.shmmax) - - local SEMMSL_MIN=17 - local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 )) - local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 )) - local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) )) - - for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do - if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then - eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)" - eerror "You have now several options:" - eerror " - Change the mentioned system parameter" - eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a" - eerror " value lower than ${PG_MAX_CONNECTIONS}" - eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely" - eerror "More information can be found here:" - eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html" - die "System test failed." - fi - done - einfo "Passed." - else - ewarn "SKIP_SYSTEM_TESTS set, so skipping." - fi - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "${DATA_DIR}" - chown -Rf postgres:postgres "${DATA_DIR}" - chmod 0700 "${DATA_DIR}" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - mv "${DATA_DIR%/}"/*.conf "${PGDATA}" - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - else - einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - if [ ${UID} -ne 0 ] ; then - emake -j1 check - - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - ewarn "Tests cannot be run as root. Skipping." - ewarn "HINT: FEATURES=\"userpriv\"" - fi -} diff --git a/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild b/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild deleted file mode 100644 index ff9df9704802..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild +++ /dev/null @@ -1,355 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.2.3-r1.ebuild,v 1.2 2013/02/26 18:52:02 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 user versionator - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" - -SLOT="$(get_version_component_range 1-2)" - -# Comment the following six lines when not a beta or rc. -#MY_PV="${PV//_}" -#MY_FILE_PV="${SLOT}$(get_version_component_range 4)" -#S="${WORKDIR}/postgresql-${MY_FILE_PV}" -#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2 -# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}beta3.tbz2 -# http://dev.gentoo.org/~titanofold/postgresql-initscript-2.3.tbz2" - -# Comment the following four lines when a beta or rc. -S="${WORKDIR}/postgresql-${PV}" -SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2 - http://dev.gentoo.org/~titanofold/postgresql-initscript-2.4.tbz2" - -LICENSE="POSTGRESQL GPL-2" -DESCRIPTION="PostgreSQL server" -HOMEPAGE="http://www.postgresql.org/" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml" - -for lingua in ${LINGUAS}; do - IUSE+=" linguas_${lingua}" -done - -wanted_languages() { - local enable_langs - - for lingua in ${LINGUAS} ; do - use linguas_${lingua} && enable_langs+="${lingua} " - done - - echo -n ${enable_langs} -} - -RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=] - perl? ( >=dev-lang/perl-5.8 ) - python? ( ${PYTHON_DEPS} ) - selinux? ( sec-policy/selinux-postgresql ) - tcl? ( >=dev-lang/tcl-8 ) - uuid? ( dev-libs/ossp-uuid ) - xml? ( dev-libs/libxml2 dev-libs/libxslt )" -DEPEND="${RDEPEND} - sys-devel/flex - xml? ( virtual/pkgconfig )" -PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" - -pkg_setup() { - enewgroup postgres 70 - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - epatch "${WORKDIR}/autoconf.patch" \ - "${WORKDIR}/bool.patch" \ - "${WORKDIR}/server.patch" - - eprefixify src/include/pg_config_manual.h - - if use pam ; then - sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ - -i src/backend/libpq/auth.c \ - || die 'PGSQL_PAM_SERVICE rename failed.' - fi - - if use test ; then - epatch "${WORKDIR}/regress.patch" - sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c - else - echo "all install:" > "${S}/src/test/regress/GNUmakefile" - fi - - sed -e "s|@SLOT@|${SLOT}|g" \ - -i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \ - die "SLOT sed failed" - - eautoconf -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - local PO="${EPREFIX%/}" - - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - $(use_with perl) \ - $(use_with python) \ - $(use_with tcl) \ - $(use_with xml libxml) \ - $(use_with xml libxslt) \ - $(use_with uuid ossp-uuid) \ - --with-system-tzdata="${PO}/usr/share/zoneinfo" \ - --with-includes="${PO}/usr/include/postgresql-${SLOT}/" \ - --with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \ - "$(use_enable nls nls "$(wanted_languages)")" -} - -src_compile() { - local bd - for bd in . contrib $(use xml && echo contrib/xml2); do - PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ - emake -C $bd || die "emake in $bd failed" - done -} - -src_install() { - if use perl ; then - mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig" - sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \ - "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile" - fi - - local bd - for bd in . contrib $(use xml && echo contrib/xml2) ; do - PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ - emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed" - done - - dodir /etc/eselect/postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ - "${ED}/etc/eselect/postgresql/slots/${SLOT}/server" - - newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} || \ - die "Inserting conf failed" - newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \ - die "Inserting conf failed" - - use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 0770 /run/postgresql - fi -} - -pkg_postinst() { - postgresql-config update - - elog "Gentoo specific documentation:" - elog "http://www.gentoo.org/doc/en/postgres-howto.xml" - elog - elog "Official documentation:" - elog "http://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT%/}/run/postgresql/" - elog - elog "If you have users and/or services that you would like to utilize the" - elog "socket, you must add them to the 'postgres' system group:" - elog " usermod -a -G postgres <user>" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5" - - ebegin "Resuming removal in 10 seconds. Control-C to cancel" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - [[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT%/}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - while [ "$correct" != "true" ] ; do - einfo "Are you ready to continue? (y/n)" - read answer - if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then - correct="true" - elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then - die "Aborting initialization." - else - echo "Answer not recognized" - fi - done - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - [ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128" - einfo "Checking system parameters..." - - if ! use kernel_linux ; then - einfo "Skipped." - einfo " Tests not supported on this OS (yet)" - else - if [ -z ${SKIP_SYSTEM_TESTS} ] ; then - einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..." - - local SEMMSL=$(sysctl -n kernel.sem | cut -f1) - local SEMMNS=$(sysctl -n kernel.sem | cut -f2) - local SEMMNI=$(sysctl -n kernel.sem | cut -f4) - local SHMMAX=$(sysctl -n kernel.shmmax) - - local SEMMSL_MIN=17 - local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 )) - local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 )) - local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) )) - - for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do - if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then - eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)" - eerror "You have now several options:" - eerror " - Change the mentioned system parameter" - eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a" - eerror " value lower than ${PG_MAX_CONNECTIONS}" - eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely" - eerror "More information can be found here:" - eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html" - die "System test failed." - fi - done - einfo "Passed." - else - ewarn "SKIP_SYSTEM_TESTS set, so skipping." - fi - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "${DATA_DIR}" - chown -Rf postgres:postgres "${DATA_DIR}" - chmod 0700 "${DATA_DIR}" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - mv "${DATA_DIR%/}"/*.conf "${PGDATA}" - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - else - einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - if [ ${UID} -ne 0 ] ; then - emake check - - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - ewarn "Tests cannot be run as root. Skipping." - ewarn "HINT: FEATURES=\"userpriv\"" - fi -} |