diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-09-10 05:55:00 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-09-10 05:55:00 +0000 |
commit | 6e600d064e0f466fb5c59a7ae2bc33f0aac7c562 (patch) | |
tree | 48a1fa23d530fbf96c7b8b37d400ef71a6046f02 /dev-db | |
parent | Unmask postgresql-9.3 final (diff) | |
download | historical-6e600d064e0f466fb5c59a7ae2bc33f0aac7c562.tar.gz historical-6e600d064e0f466fb5c59a7ae2bc33f0aac7c562.tar.bz2 historical-6e600d064e0f466fb5c59a7ae2bc33f0aac7c562.zip |
Bump
Package-Manager: portage-2.2.2/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/postgresql-base/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/postgresql-base/Manifest | 9 | ||||
-rw-r--r-- | dev-db/postgresql-base/postgresql-base-9.3.0.ebuild (renamed from dev-db/postgresql-base/postgresql-base-9.3_beta2.ebuild) | 18 | ||||
-rw-r--r-- | dev-db/postgresql-base/postgresql-base-9.3_beta1.ebuild | 170 | ||||
-rw-r--r-- | dev-db/postgresql-docs/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/postgresql-docs/Manifest | 24 | ||||
-rw-r--r-- | dev-db/postgresql-docs/postgresql-docs-9.3.0.ebuild | 59 | ||||
-rw-r--r-- | dev-db/postgresql-server/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/postgresql-server/Manifest | 31 | ||||
-rw-r--r-- | dev-db/postgresql-server/postgresql-server-9.3.0.ebuild (renamed from dev-db/postgresql-server/postgresql-server-9.3_beta2.ebuild) | 22 | ||||
-rw-r--r-- | dev-db/postgresql-server/postgresql-server-9.3_beta1-r1.ebuild | 357 |
11 files changed, 109 insertions, 605 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog index 4a8f5a8d5cf3..853c72910938 100644 --- a/dev-db/postgresql-base/ChangeLog +++ b/dev-db/postgresql-base/ChangeLog @@ -1,6 +1,12 @@ # 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.250 2013/08/14 09:28:16 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.251 2013/09/10 05:50:50 patrick Exp $ + +*postgresql-base-9.3.0 (10 Sep 2013) + + 10 Sep 2013; Patrick Lauer <patrick@gentoo.org> +postgresql-base-9.3.0.ebuild, + -postgresql-base-9.3_beta1.ebuild, -postgresql-base-9.3_beta2.ebuild: + Bump 14 Aug 2013; Patrick Lauer <patrick@gentoo.org> postgresql-base-9999.ebuild: Whitespace diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest index e0b9ee70ed59..6d122cf4753b 100644 --- a/dev-db/postgresql-base/Manifest +++ b/dev-db/postgresql-base/Manifest @@ -2,20 +2,17 @@ DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703d DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2 DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357 DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302 -DIST postgresql-9.3beta1.tar.bz2 16954081 SHA256 1e11099fe4a6cd3327c9c2bf4a9b903383195de330da27d322fc872d1d694df1 SHA512 d65874266e9a1aad714d205e23f261dfb131a0dfa5f2e1b01b03b718e4275cfd499bf09c7f34904709e5ceba6ca7e9caa333911fe7998d4d7a92d5b2992cfd0e WHIRLPOOL 32b0994f771098d85c4d4c3b226a5603218bbcb6b06ade5f59628c6dcd007a98f273306be06c5adfa5e886892154a2cc1b3fda5eceba192f0d26e276b3719f3e -DIST postgresql-9.3beta2.tar.bz2 17006778 SHA256 67b4f1e8be622ab2f32b2a7823b3185052c93eae11c961214d87be76978f35ae SHA512 3b1f57c265fc73082cea33a3b84eda40ed47b2f93f5f2bb010ef356ee30b43808c886fc2f07be8c18c4f6f0378bfb705599ab7c64ebb7669cecdcef5a6caf24c WHIRLPOOL cc9d1ab1eeb0cf3f2a64aee86c9767d1ff9096ad22243beee8854d1dec1310d7a9f2a5b9641f06b9004f158a9d66e1fa564c40dc8c7366ab9aec3d22d94184d8 +DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc DIST postgresql-patches-8.4-r3.tbz2 4821 SHA256 f2c47ff5cf6af20020c87bc34362615af66675d7d44dd020ccfae425880e1ace SHA512 149434a1a55f130b91b87591ac6bbbd263893e90facfdc47418320561a91cb818dea6367af5b8afbb6c9cccea6053692ee3008c62cbe40e8819c7cac04389334 WHIRLPOOL 30d5945bd65e07f114d8ee27bcbc1dc7ae136a2b5a1f62ec44aad325208dc8387ae11f58c21ebf1447822b35fe35b79d64c86cf763e146dc9c2b5da7dc883d47 DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334012b8098361c321bd3f562ca9c32f6b8 SHA512 1e792eaf1e194e7a109a860216de98929bc12e6905846524e795fed7e8506f8f0e2e7349ead4fd9ba196c8eb6af2f5b143d0eecdb4cb7061253257acbce37873 WHIRLPOOL 8a32c0cd7f6b845496df8d1f6a0b2497625c0da36c5af1d651be086e9cd4faec48b56b04dca894a0e43e91309868db3014213d9989da5fd1d52d5b3775f8c1ad DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82 DIST postgresql-patches-9.2.tbz2 4431 SHA256 8ce635671d5af4d2c8d9a0fc741b26f82f1fda16bb6a36726a32dae47021a632 SHA512 4c971bd3f4ae86a48f5e21a1e4ab087865d41f2445f5a9ddfcd7d11f1abab7be8968e5a1bcfbe4a1f7799e7ca1728604aa01641883c47746ebfab658c189f6e5 WHIRLPOOL 712fae68cdf5b06e05f98e23760d896c7361fe0b548839082b8b0c488597bd0f38b80585677d380f8ccb7ded39e759ee42fa9eff838439468b5ac3a501004e8d DIST postgresql-patches-9.3-r1.tbz2 4488 SHA256 41e31bb02fa54f33e1248031841112d4600d87b8655800bc600daa02b640071f SHA512 33bdc26280d6b8c39634ef86590be388b4a4548827b66d91c62454426cb1f628b16ee1323c91bff6b469bfc5eba1de128c30a9d531905b5a2ef194af28dba6fb WHIRLPOOL 06e1c95dcce241bf436ffd99c75fac7481aab3f415993dfb33adc337476305a755fef864f242254f534d40b57b16912d888f46e87a626a74132bf0ed52334470 -DIST postgresql-patches-9.3.tbz2 4588 SHA256 a6637ac14e829a4dcfe83214e76f1c7ac9000cdcb61cacc4ff74f03817c90121 SHA512 94a601996992f9cd53353f1539ea1f64c7c00e60e21e03c5f4664c77ec66a4174272227acc549a96e86b91c9f482cf3c50fe04203186a799b73eafab27b070ec WHIRLPOOL 8403cbc8327b7801b028a435116979323662b5e0f1c6e54f936957b204cdfb8ff20a9e98893aeaefdc30e990fecbfbf650b58f46e0266b6452d6f286f86a167b EBUILD postgresql-base-8.4.17.ebuild 4334 SHA256 c21a974e20b017d46d9e266b055d3de6510df14c7f4add514616ed780398e886 SHA512 8ef71b48589e69b11d960ee7e3f947845c8bacc75d7c9e63811fccd48b0477017bca549b49ae93bbb586b24c2467b4ce576e13f9f1c14591ae17cc6ec28f9f80 WHIRLPOOL 371b2acb5bae9d139e9aa45a5c2a952a89734a71c496df92906ad216b5b75963c7481c58f52ebf893dbbbe7fb1afbd85741f6c1d35ad70d2fa9442cb4fbec305 EBUILD postgresql-base-9.0.13.ebuild 4488 SHA256 f96e7e8811e61a5efb73022501e95f5cfaf9699d1fccb915dce7471b0182f0ae SHA512 f7d1a58023570f450d4c2192a004b14b047b13426f94576cb157bb1066978c16760e0e93c51150e0f3f4074b56d5cff577981daaaf59e12e5260b3470dd9340a WHIRLPOOL efcb81985d2d0bebe2102569366c582796a74403d8d82b516156c6fc463a4a07e72c7f7dcf220ae6647d22da6e88b5806996e1e7c04c7d2d69e63a24df182214 EBUILD postgresql-base-9.1.9.ebuild 4501 SHA256 e2bf6172c79c51a35ddbee9a147f19b1ecf4cb03298f230258b010fe5ce07cf3 SHA512 e15bb245a55dc0d7e40557aa03cefe6e2503f5401066302bfce8f0cd0a4488e12bede408945333b05c04035b45bbd267569173cc95c1b1233f0e52c5665a6ed0 WHIRLPOOL 1a203a9e1bfcdda996ea2966087436ae3210ed287bd640ab058e0de1ffc4222bd075e874af02b94006fc5e0e318c84f55c719132729dec7a5dccf41a22908678 EBUILD postgresql-base-9.2.4.ebuild 4747 SHA256 05f88149f5b2f26ffa84849b75a80a01412ef29a7bd2d29ce64530e0a235432c SHA512 2df5de70a2b6776f83ae0311490fb66ca0200f6329475acea74d857e00f218ef939a3b1b89d20c0459880c048a834c6efc802fe087414b5caf1016616a1268d1 WHIRLPOOL 8c85d9563b67f662ffce15fabed4dbc3a392bb0d5a06123d3794adba7ca932000f518736f5574c849d902684e32fd14f58b0e2fe685d52a799b539357a4e3f0c -EBUILD postgresql-base-9.3_beta1.ebuild 4618 SHA256 3058a5d80034d054c7f9cff8d635db0f369c21a567089e94ad6ea26706e91226 SHA512 af468b805941f9a15036258bf9ddfcd72bfaaf56ef772286b4233a80309fdb312247cc43be92a03f5b01009fe14c5152ea5522056ab1d0e6d74804dd8023fd3f WHIRLPOOL 37e0abc9f59d6335f48af574534157db52c5a04429ed1aae05fea086d60043fb4d0bbed5807cc2fe7bed6b84fee915b27604a0d9f9218669fbc2ca5936eca436 -EBUILD postgresql-base-9.3_beta2.ebuild 4652 SHA256 260b4b1c0e5a4035f2c7b825dfe692cf0bab7d62fe5cd8626334087650f6e3b7 SHA512 9300b3918b070beccf2298d4ea7cd3cb352917891557ca8d77880be99ac796859ddeb3e73cbf4cd999fe0cbce798a49ebbae85a51cbfc940a8657360aa6374bb WHIRLPOOL 1e433e1aa129bfd61c7d525460dad2c1c2273e63917991690092a6aa38a82ab984f2bf76d6ee561c00cfc9ce43e9c4ff464c2e3d295b1863216800e2762c48e1 +EBUILD postgresql-base-9.3.0.ebuild 4650 SHA256 909cb3ae3d4c780c49b79bec27ccfe219e3f4a58a8cbf3178592706663331264 SHA512 0c311a1084b9b246cbf73f0547fd01f499905389fd2f4fb15f517993a3323bb8d6b3d2be1e8b031de8e0af320fc438444a2ca219d33102890e372111f20d2d89 WHIRLPOOL 32c212bb83a88689e0bb73213d8105aa8f6091e472fcffa8d43fd587c482ab69b353ad670c00e210798b267e8a4ab77fa9062cee2ebdddc9f5bbee0e98a99fa7 EBUILD postgresql-base-9999.ebuild 5131 SHA256 c12e0c76c79f7d67e20c1821b18051e0b10492dac2204d1d68d2967241c9716b SHA512 a64beddacf910a8a45651343ff0c4b65538fe28142b38b40c7b784e5b9320528edae712ee852df583a111cdf53f241fd9e8c73a0f99d037febfcfd9b01faeb55 WHIRLPOOL 171a45fefc09197150b83f63912d4ba4da1b9af526ee47afbef5a05f1e688ac0e0bd574bea9f5c0069cd571cb7f33f1cc237c749b5ca340000eb038260e38065 -MISC ChangeLog 63561 SHA256 1cccf59c3dea8778a610173560492a12dfdbbb65ec2c129c4fbe99e3b914e296 SHA512 98c491597e941c8a9c4f41ceecbdc21f98963d8eb10048897460cb221797bae4f39c249d56b67cf0ceee81dc6807699ad27b35977dae64a08462f02140bac53c WHIRLPOOL 2dbe83c566aa8d14beb0ba066b41ef0e6ba1a7ca984cbbb801b8fd8323909cbbd25a3056219eaf7ac2c60b331327e4f433cecf415cd2e3a885425906f8458434 +MISC ChangeLog 63760 SHA256 f7703a13c886814ee6d9fad643bc80b308979b2393cf58dfd6ac2231784b6792 SHA512 8bd50760d39ebd773d1fd45533f302eb4db648539662a69cd321a47448a587ff10f290792e8ed2e89e8e5b61a5468b7fef2980599c1105f2915e1d7bc98a04a6 WHIRLPOOL b1883a14be69853d0607582f2707df1db1b7f04d6118cc1f9a5fe440dc8c46dfd0517535a1f073450bcc74e70429a1d30cb731a826e1c0dcc1363c35cdca4dbb MISC metadata.xml 319 SHA256 8ce157b48f2da128f1b40b0d59c3c06e51ba71173689ff7a86c4429a7055c471 SHA512 248b60da17006a89acb1d8b6f62f59e4d414421422d2d4445bc7efc4f0abf13d048fe52c09af6b3e10a7afad341a5edb0e8d48b9ec2ead5f84b40f4016448cf9 WHIRLPOOL d1cf97f5d676ef43d677cebf8f9c97f6823c1c7b31e1a40a6f22729771a6bdcc851ac7c27ace768509307f4d0774384805cf4125541acd7a785d48117c0d5e07 diff --git a/dev-db/postgresql-base/postgresql-base-9.3_beta2.ebuild b/dev-db/postgresql-base/postgresql-base-9.3.0.ebuild index 474d45dd59ba..4e2921372a46 100644 --- a/dev-db/postgresql-base/postgresql-base-9.3_beta2.ebuild +++ b/dev-db/postgresql-base/postgresql-base-9.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.3_beta2.ebuild,v 1.1 2013/07/02 12:58:17 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.3.0.ebuild,v 1.1 2013/09/10 05:50:50 patrick Exp $ EAPI="4" @@ -13,16 +13,16 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 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_PV}" -SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2" +#MY_PV="${PV//_}" +#MY_FILE_PV="${SLOT}$(get_version_component_range 4)" +#S="${WORKDIR}/postgresql-${MY_PV}" +#SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2 +# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.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" +S="${WORKDIR}/postgresql-${PV}" +SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 + http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2" LICENSE="POSTGRESQL" DESCRIPTION="PostgreSQL libraries and clients" diff --git a/dev-db/postgresql-base/postgresql-base-9.3_beta1.ebuild b/dev-db/postgresql-base/postgresql-base-9.3_beta1.ebuild deleted file mode 100644 index de373f494f26..000000000000 --- a/dev-db/postgresql-base/postgresql-base-9.3_beta1.ebuild +++ /dev/null @@ -1,170 +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.3_beta1.ebuild,v 1.1 2013/06/12 01:20:28 titanofold Exp $ - -EAPI="4" - -WANT_AUTOMAKE="none" - -inherit autotools eutils flag-o-matic multilib prefix versionator - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" - -SLOT="$(get_version_component_range 1-2)" - -# Comment the following five lines when not a beta or rc. -MY_PV="${PV//_}" -MY_FILE_PV="${SLOT}$(get_version_component_range 4)" -S="${WORKDIR}/postgresql-${MY_PV}" -SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_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="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.10 -sys-apps/less -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 85b5a7471b02..df7022341241 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.211 2013/04/05 19:23:15 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.212 2013/09/10 05:54:51 patrick Exp $ + +*postgresql-docs-9.3.0 (10 Sep 2013) + + 10 Sep 2013; Patrick Lauer <patrick@gentoo.org> +postgresql-docs-9.3.0.ebuild: + Bump 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, diff --git a/dev-db/postgresql-docs/Manifest b/dev-db/postgresql-docs/Manifest index 40b9a50a9743..8ac2668f08f1 100644 --- a/dev-db/postgresql-docs/Manifest +++ b/dev-db/postgresql-docs/Manifest @@ -1,30 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2 DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357 DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302 +DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc EBUILD postgresql-docs-8.4.17.ebuild 1302 SHA256 814b2657151bb2c39d53710eb363fd95447e27a87cac8681a04c7a78e0a300c6 SHA512 bca6ca8c733948f942338f9892577a5376f07bf8b105e85df0139dc8eeb69ccaf5db65ebb5097c893627dddd2170dcf217198918451efcf737f626103e5099bc WHIRLPOOL ff983f1004b1510c8928af66b3a8eab9037a2b843c32ca82b45cbd9b73c76df5c3060480d520c5535d1efc6ebf1cdca59fe877e234e3edccd338feb44796b945 EBUILD postgresql-docs-9.0.13.ebuild 1291 SHA256 5bf257362294608e2aa3119f8ef46f5deb44037846dab366f6ac5e1101af0f7a SHA512 961da5787cf3dc3d8828df274b61fc90feba0e94888364abca4b57d81215f083178192ebc4a77df2b9bc98c4b69b5ea5e1382814fd0ee9466ec2b7051d813d46 WHIRLPOOL f272cdf386b8b891498dd51790dabd26a3549ea4bde5332f3bd9c487df773564cdb516cba92be46ac37d1ccfc4c096c9c76e56f7d0c5c05d0992c2ea7343b824 EBUILD postgresql-docs-9.1.9.ebuild 1304 SHA256 0a05f6cd471739bb2f94fe6b45d88afe5029f45158c19cb2b5fdf67691e1d227 SHA512 1f5e4e7c6911314adc2e5866d1bd6d5ac1f755c10d08879482da6ba248e12b856d0ae19c2145311a5d38567bbc270c9c48cf1bd72a6bfcd96c14b242ca73111e WHIRLPOOL 3201113ef2d1f9a973948edbe51165c8bb60e0ca48250b3796415d1b87ba6a0ec11f7236c74e568c868dbc3c504c8990a00550e9a8fc42557b7a9a2153160b22 EBUILD postgresql-docs-9.2.4.ebuild 1616 SHA256 35095425ca8e94764af36b89437221d77bafcf7c8e9c5bd362e24a6977dddf92 SHA512 07b733ceababaa830a5472392e83b7f8a762fa52e8d8816dc917fa7ec676e21a83338c5c706b2fee665a4ad59fada9fb311be7ac7f5b6ddd55fda58750cbbd8f WHIRLPOOL e86b283008e593c121ffde21120985d5be6f717da3865f7f1203928c5985d914f6bb3726054755e04c3393333f7c9fd3efc6deb6357da274c5ad0aa123b45a9e -MISC ChangeLog 46024 SHA256 d303526f177879a9159421e40c1f8197f5f11d594c5b8330dc1bf37f5adf5098 SHA512 db2c1ef95894195e8935ff636974f579138ac0dc7072507b5581052f957606dd12bd53a70b4f42160c662f6dcbfe8881338c01b61d9eb7e8b3724177ea043b1a WHIRLPOOL b6253e34e89f44a3f21734635348a496c68db2c765899f61a7d994fc14514caa26214bcf225627a71e5bf4be2e289d17f71c82d81e5b6ae340da0452e27e60bc +EBUILD postgresql-docs-9.3.0.ebuild 1630 SHA256 3f87bc12ba353fcabe5144ab75b77dc32c20071ca6832e67e8a39362bfd29f1e SHA512 1ac42e809027fc5ece085404e69cff0e36b439841cfd79211281d243497ca07483f9c31d5d1f0792356db7166e489081a7aefdcace75005db480b89d56ef7362 WHIRLPOOL 28a4a778b968f94bb95cdd74b8434b7cccca9358ea4172cd6db2bd10a204ca178d1ea65538565db4ea0fa3e839a118e77e4714f12cb28fb4ddee8da904b340e1 +MISC ChangeLog 46155 SHA256 7619a58b51e61f70f72ddbf3eaa4123be83cacd70fad600ec65d67a05b01f870 SHA512 e31922072ff5df9e7f1d5854d0169a7ce02e06149bde2aac13b367bb9bddc26347c6309a5afeab649be10618d7aee56558ad6364cfe9b405797cd94ce423e4bc WHIRLPOOL 390bcd2f5d28e471bb562c34cd6860cfc678dbcfca7eae83bf8043f6ced6f2e555cd8113d4a337f46fd2f63e8b006ab1d90f938faf398b85464da69f8e439fef MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -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-9.3.0.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.3.0.ebuild new file mode 100644 index 000000000000..d6d7d7ef9e12 --- /dev/null +++ b/dev-db/postgresql-docs/postgresql-docs-9.3.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.3.0.ebuild,v 1.1 2013/09/10 05:54:51 patrick Exp $ + +EAPI="4" + +inherit versionator + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" + +RESTRICT="test" + +DESCRIPTION="PostgreSQL documentation" +HOMEPAGE="http://www.postgresql.org/" +LICENSE="POSTGRESQL" + +SLOT="$(get_version_component_range 1-2)" + +# Comment the following four lines when not a beta or rc. +#MY_PV="${PV//_}" +#MY_FILE_PV="${SLOT}$(get_version_component_range 4)" +#S="${WORKDIR}/postgresql-${MY_FILE_PV}" +#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2" + +# Comment the following two lines when a beta or rc. +S="${WORKDIR}/postgresql-${PV}" +SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" + +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc" +} + +src_install() { + # Don't use ${PF} here as three packages + # (dev-db/postgresql-{docs,base,server}) have the same set of docs. + local mypath=/usr/share/doc/postgresql-${SLOT} + + cd "${S}/doc" + + insinto ${mypath}/html + doins src/sgml/html/* + + insinto ${mypath}/sgml + doins src/sgml/*.{sgml,dsl} + + insinto ${mypath}/sgml/ref + doins src/sgml/ref/*.sgml + + fowners root:0 -R ${mypath} + + dodir /etc/eselect/postgresql/slots/${SLOT} + echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ + "${ED}/etc/eselect/postgresql/slots/${SLOT}/docs" +} diff --git a/dev-db/postgresql-server/ChangeLog b/dev-db/postgresql-server/ChangeLog index f8a7c3499b0d..f25cf3a1e7a9 100644 --- a/dev-db/postgresql-server/ChangeLog +++ b/dev-db/postgresql-server/ChangeLog @@ -1,6 +1,13 @@ # 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.263 2013/09/05 19:44:45 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.264 2013/09/10 05:52:55 patrick Exp $ + +*postgresql-server-9.3.0 (10 Sep 2013) + + 10 Sep 2013; Patrick Lauer <patrick@gentoo.org> + +postgresql-server-9.3.0.ebuild, -postgresql-server-9.3_beta1-r1.ebuild, + -postgresql-server-9.3_beta2.ebuild: + Bump 05 Sep 2013; Michał Górny <mgorny@gentoo.org> postgresql-server-8.4.17.ebuild, postgresql-server-9.0.13.ebuild, postgresql-server-9.1.9.ebuild, diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest index 7f12312f2e16..d1627787da26 100644 --- a/dev-db/postgresql-server/Manifest +++ b/dev-db/postgresql-server/Manifest @@ -1,12 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2 DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357 DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302 -DIST postgresql-9.3beta1.tar.bz2 16954081 SHA256 1e11099fe4a6cd3327c9c2bf4a9b903383195de330da27d322fc872d1d694df1 SHA512 d65874266e9a1aad714d205e23f261dfb131a0dfa5f2e1b01b03b718e4275cfd499bf09c7f34904709e5ceba6ca7e9caa333911fe7998d4d7a92d5b2992cfd0e WHIRLPOOL 32b0994f771098d85c4d4c3b226a5603218bbcb6b06ade5f59628c6dcd007a98f273306be06c5adfa5e886892154a2cc1b3fda5eceba192f0d26e276b3719f3e -DIST postgresql-9.3beta2.tar.bz2 17006778 SHA256 67b4f1e8be622ab2f32b2a7823b3185052c93eae11c961214d87be76978f35ae SHA512 3b1f57c265fc73082cea33a3b84eda40ed47b2f93f5f2bb010ef356ee30b43808c886fc2f07be8c18c4f6f0378bfb705599ab7c64ebb7669cecdcef5a6caf24c WHIRLPOOL cc9d1ab1eeb0cf3f2a64aee86c9767d1ff9096ad22243beee8854d1dec1310d7a9f2a5b9641f06b9004f158a9d66e1fa564c40dc8c7366ab9aec3d22d94184d8 +DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f DIST postgresql-initscript-2.5.tbz2 3280 SHA256 723b2564572722171e097b165a72453b788cb4451638677dcc5f853cbd2d3c09 SHA512 3de3c113cc121b7c1e1a28580ad83fa95f613ba082bffaec9c5feba8bf022ce069246553cd027cc82fbc7a8ea72a5782c2b04186a9765612571ab876c38555bf WHIRLPOOL 8bd84f0a58a3cebf078aeaba2cf9f8eaaeb0933aac0b89f4f8f981604c42ae43a06ca1fdf37a635f90d8957440049d9d7d4ad76bf143d42f44b5374fa98ef2de DIST postgresql-initscript-pre92-2.4.tbz2 2598 SHA256 a7a432e04b5346794b088ef92a35b46db31de85408e0029dae6b502af572aedc SHA512 3ab35b8cc392e3cd86874525edf664c8445cae19ac2338ef52808ee78aff5e4f9147b0e61caf89b732c103ff73875fb1db4dd0cb214587a58607db6529358a27 WHIRLPOOL f3ab508236d391821e4ddaa7a2224681aff60fc5453a3659f7994e45d8278eee02b8aa71dcfd446628b6ca1d212c7221b40212f45ac955821f1b78a97cdce703 @@ -15,32 +11,11 @@ DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334 DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82 DIST postgresql-patches-9.2.tbz2 4431 SHA256 8ce635671d5af4d2c8d9a0fc741b26f82f1fda16bb6a36726a32dae47021a632 SHA512 4c971bd3f4ae86a48f5e21a1e4ab087865d41f2445f5a9ddfcd7d11f1abab7be8968e5a1bcfbe4a1f7799e7ca1728604aa01641883c47746ebfab658c189f6e5 WHIRLPOOL 712fae68cdf5b06e05f98e23760d896c7361fe0b548839082b8b0c488597bd0f38b80585677d380f8ccb7ded39e759ee42fa9eff838439468b5ac3a501004e8d DIST postgresql-patches-9.3-r1.tbz2 4488 SHA256 41e31bb02fa54f33e1248031841112d4600d87b8655800bc600daa02b640071f SHA512 33bdc26280d6b8c39634ef86590be388b4a4548827b66d91c62454426cb1f628b16ee1323c91bff6b469bfc5eba1de128c30a9d531905b5a2ef194af28dba6fb WHIRLPOOL 06e1c95dcce241bf436ffd99c75fac7481aab3f415993dfb33adc337476305a755fef864f242254f534d40b57b16912d888f46e87a626a74132bf0ed52334470 -DIST postgresql-patches-9.3.tbz2 4588 SHA256 a6637ac14e829a4dcfe83214e76f1c7ac9000cdcb61cacc4ff74f03817c90121 SHA512 94a601996992f9cd53353f1539ea1f64c7c00e60e21e03c5f4664c77ec66a4174272227acc549a96e86b91c9f482cf3c50fe04203186a799b73eafab27b070ec WHIRLPOOL 8403cbc8327b7801b028a435116979323662b5e0f1c6e54f936957b204cdfb8ff20a9e98893aeaefdc30e990fecbfbf650b58f46e0266b6452d6f286f86a167b EBUILD postgresql-server-8.4.17.ebuild 11591 SHA256 e2c825786b0b314a148223e79919ec51ab37271de9086b4367ed87576c918e35 SHA512 84658cb16f275947568852e82f9df9d5e99fc9fe0c16495ddf433111d529cef231c4e37465472212270a4f09db8bb743b463d7f3218405a76518f072e13c3b4e WHIRLPOOL ccbeb5563b607b52e195219b98e3a3ac8ea7c40b5855aa4d1e74e4bbe3b3bdbef600325dd51a8fa9af8a0bf32bf7ac1df0c92309fbedfa481fe47a65a54a2229 EBUILD postgresql-server-9.0.13.ebuild 11543 SHA256 e65b26ae1c52561ac65a4ca42896946e074c41a2a17d168fb757f88ce2ad2393 SHA512 d23d8607762292b13a0d3f3685e87c1c53492b2e6bb07754c3c54be5d876e4a567afe4b330bbf658f6d0d63ac2775322dd52d1289c983501a2775f59267d2e1c WHIRLPOOL f78e06deec3f9e0ca2d912e515ff081898caf78bb446d70e02a7bbc4d19d180c19848a0e382f9e1b43e2714e6ced13201edee3b9fdcafa17d7ec77b273019357 EBUILD postgresql-server-9.1.9.ebuild 11239 SHA256 422b3daad4cc6543e0043c03fe545c4087e4dbf6ad7645e0511e5eb5442acadc SHA512 0e6c4c27cf1c787102ff99a47c795b370ae6cf80ff05c5fb3a48351e352a035996644ce1e97308fec2990eaf02a6627e10ade63d216eeb161c30999e9e1ca7ca WHIRLPOOL b1e8e57adadce6623207feb3dac295158374d9676cae1fb13e1c87684624a5aeb66bd3e5de7a19f220cb5a0096c8810f0e687a34c89fb83157392123b7ae34d8 EBUILD postgresql-server-9.2.4.ebuild 11644 SHA256 14d1258f46618270311dfd7ea5228222fe06c3884397ea366d75a4d9f79354c0 SHA512 3b218ca2156693bcb6134c2d1ac361a0e7a349f0f5e60502b86ff43fed12903a3fb6ad132ace87a41027c5587fcb557e0dd0530ae3cd36ae930e21e879593d84 WHIRLPOOL 38c42911341afa8df7de14b4ae71955ded669e8429950a5ffd31d80365114280e6422f29ac0dc44f0450a63a4ec87b1f712720543bf0ecbcf96cdbdcd86575e3 -EBUILD postgresql-server-9.3_beta1-r1.ebuild 11586 SHA256 8154cd4b0e09189d1416b9932e5d5e57a12248d444c6bd6b09e19d5a444cc468 SHA512 9c9bf3c1b91d18425001985886c89326063fefa0a5b09715be8fef84c3513081aa28464ef9cf9e96dd282d7cad520ccd472cd4a84ac19a41ea186f86297ca618 WHIRLPOOL 712c458e48acfadc0fa838bce681dff3ce3b12666fb6d8c5fe143fa7448fc3dff5a071f096b449c03138181870e64e5d22bb7b52c4676b03c848d77d7393145e -EBUILD postgresql-server-9.3_beta2.ebuild 11612 SHA256 ff1084916cd9e4db63614ff60e51326ea2c2519c41ee1fa80ae71aa1a68408d0 SHA512 54b62aac143879e3f8f85b33811561930110c8f52defe437cb74fd138e78935ba2f479a40dc703267023c777ff0d57072a4e68142fa018186b77980fc8668bb3 WHIRLPOOL b1abca5584932303f6b37be3f2cb9759d7387f9cec6aad5f0766d740c3db2343c9ddac9da3b1afb45be3cde270ba9db118cc63a3ab0a712634ac4463292654ba +EBUILD postgresql-server-9.3.0.ebuild 11614 SHA256 712d116352f3e9f7b628b1c5ec28f4cb13944210d7313167764c408f8e2952d6 SHA512 8b8b0ebe5ed5c702d4025cfa308927b5f166c721a8f74ac4ba9e72b99292220dcd3077cb5a796b680b4b206b2ef5f1150f8fba03464415b0111e6dd9938215d8 WHIRLPOOL f56891f26207162f7a090630c607217f14fa55fbfba0a3e76fde7d7acfe0076da69bb145885e47f2307fe78616e02f65f08da83dbddf492ecef0b9ab777ec196 EBUILD postgresql-server-9999.ebuild 12104 SHA256 5cce108b846b6ca28c35b30db5d105bf86211254e9e5f4f9dcf7baf696b0c0de SHA512 ffa9b542b44f34a6dfcce7c986eb49eae5b50f0d9966f48d3e0849175b9e91fa14b9078c191e35bd19ea3a81a864725d60a0e34b64159809e78bbc27d1906dc6 WHIRLPOOL 205712598cec8768045a6a840892c40d678d1552caafcb63fba0f199a80612000033799fb05cf962671519bcaab415fffc9faa21efb226976a3c43393f45ecd1 -MISC ChangeLog 76496 SHA256 5c6d2ac57d6af30daafc2873414dcbccbd15f56cc699cc9888cec38d66dcb6e6 SHA512 402f03634dbdfa1d09505460a14506c72deba7d2f358cda65557df155fe28930cd7f56e5c8387203d9ce39f1a617a0f343b8fcf5f11b679888ad907a336112c1 WHIRLPOOL d49a56a4cec84702d0ae9ddade55c280d0c1d0894c91a377851b79b9005a9ca86b13a464d86e284f4dba51abf2ac4811d6b0da593d9cad3ad8d0194f9e1a86e5 +MISC ChangeLog 76709 SHA256 a9d8e740f611e2905f55224da981028c0732c834952a9583b3ae9168903f3e33 SHA512 2e15541f26341790bf6dff0fff12513cdddb03452aa138eb514265c068f6fcb15c85af3112fbb449c32e13bb31fbe531683f0d201e69e9c28cfd16cd32139921 WHIRLPOOL 696915e7f229e39d5d52d532cb83de325e5cfcbc129cfdd6290655e43e3a1d1e375c762fcac592f4fea8c6696eed67ec569cac5d04aabb26e7631342a7a9065d MISC metadata.xml 420 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62 SHA512 1731bced1ac398d90c6aca6ec209a9ea42deb0f7033d49952a6216349aeb992479c3e868b33cc1be2434cdead6185026503a58e779965455d0198edd87bf5b4c WHIRLPOOL 3bbd5598492cb7d90f4199fac80f27bcba281e1188f7f1d40ee3dd1561e530de13de109142f0add7221b49ec3a9c6a0bdb3add1446b1cc5a6cb3909fd193d19b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.21 (GNU/Linux) - -iQJ8BAEBCABmBQJSKN98XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOtQsQAJmDl+ufoe2C/cr2BjxJypPW -Z+86L28mOPMFDUuFTv8iN9hdOgSGRid/6QlfD5aXb2to4cE5XRIc2MGskJiAplLc -sPoaNor/djSIa8ApMfQI2SFhNCKeXS3o/96aMtEVzlNOAsLj32UtdQmnFCk0aCBv -HDZn+WQ2cim74eyqSwQQYy6IVJT7fe88vMbRFVIORclGCCh6Vl3ZvlrCk3vW90yR -P3w6SraTNT9OvtOBjmWOjB+/Woa+u56syB4gm5zHL0By7kq+TDUXcVVypkBctyJw -jy6t3Rx5nJhSLjF/JK4/27/vryrAfwdqrC9xVR3SdlAaxHWRS1UDWt3U6eTJy1fl -nCMDTfQsdF+Rr6cg9ZUc+FfUaGpX1mBUGWdffkX7925hfldcIHSFk1pWY4TB/YYk -AfS/qynm2v+mzUtU/bVi0HHq9Ai452QzRU9IAhCsynU3mob53ZW/SQ9Qr7AT2eij -mnATnG+kDe/afvXcfpiLrrGbMEUzm3j6PGadO3HgNBjfNgCnui9YQk43IQ3HOb66 -elzjJffEuHeAYK74thnsU0ZWFI1GGh3Q9aZIThV8sRfMJreG8+lsm+RKUcY6vKwU -r5pJDad9598ETuZnSNmwSOS52gIatfkUe+sX2MjbxWpxjwduNu5j3KPLC8NP8wcl -L9fAtL5wXlis3yBqAeab -=Brap ------END PGP SIGNATURE----- diff --git a/dev-db/postgresql-server/postgresql-server-9.3_beta2.ebuild b/dev-db/postgresql-server/postgresql-server-9.3.0.ebuild index 68f112645b22..6bab544c9759 100644 --- a/dev-db/postgresql-server/postgresql-server-9.3_beta2.ebuild +++ b/dev-db/postgresql-server/postgresql-server-9.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.3_beta2.ebuild,v 1.2 2013/09/05 19:44:45 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.3.0.ebuild,v 1.1 2013/09/10 05:52:55 patrick Exp $ EAPI="5" @@ -14,18 +14,18 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 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_PV}" -SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2 - http://dev.gentoo.org/~titanofold/postgresql-initscript-2.5.tbz2" +#MY_PV="${PV//_}" +#MY_FILE_PV="${SLOT}$(get_version_component_range 4)" +#S="${WORKDIR}/postgresql-${MY_PV}" +#SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2 +# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2 +# http://dev.gentoo.org/~titanofold/postgresql-initscript-2.5.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.5.tbz2" +S="${WORKDIR}/postgresql-${PV}" +SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 + http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2 + http://dev.gentoo.org/~titanofold/postgresql-initscript-2.5.tbz2" LICENSE="POSTGRESQL GPL-2" DESCRIPTION="PostgreSQL server" diff --git a/dev-db/postgresql-server/postgresql-server-9.3_beta1-r1.ebuild b/dev-db/postgresql-server/postgresql-server-9.3_beta1-r1.ebuild deleted file mode 100644 index 28b50fad25c8..000000000000 --- a/dev-db/postgresql-server/postgresql-server-9.3_beta1-r1.ebuild +++ /dev/null @@ -1,357 +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.3_beta1-r1.ebuild,v 1.2 2013/09/05 19:44:45 mgorny Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python{2_{6,7},3_{2,3}} ) -WANT_AUTOMAKE="none" - -inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 systemd user versionator - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" - -SLOT="$(get_version_component_range 1-2)" - -# 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_PV}" -SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_PV}.tar.bz2 - http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2 - http://dev.gentoo.org/~titanofold/postgresql-initscript-2.5.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.5.tbz2" - -LICENSE="POSTGRESQL GPL-2" -DESCRIPTION="PostgreSQL server" -HOMEPAGE="http://www.postgresql.org/" - -LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" -IUSE="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 perl ; then - sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \ - -i "${S}/src/pl/plperl/GNUmakefile" || die 'sed plperl failed' - fi - - if use test ; then - epatch "${WORKDIR}/regress.patch" - sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c - else - echo "all install:" > "${S}/src/test/regress/GNUmakefile" - fi - - sed -e "s|@SLOT@|${SLOT}|g" \ - -i "${WORKDIR}"/postgresql.{init,confd,service} || \ - die "SLOT sed failed" - - eautoconf -} - -src_configure() { - case ${CHOST} in - *-darwin*|*-solaris*) - use nls && append-libs intl - ;; - esac - - local PO="${EPREFIX%/}" - - # eval is needed to get along with pg_config quotation of space-rich entities. - eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ - $(use_with perl) \ - $(use_with 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() { - local bd - for bd in . contrib $(use xml && echo contrib/xml2) ; do - PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ - emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed" - done - - # Avoid file collision with -base. - local l - for l in lib lib32 lib64 ; do - rm "${ED}/usr/${l}/postgresql-${SLOT}/${l}/libpgcommon.a" - done - - dodir /etc/eselect/postgresql/slots/${SLOT} - echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ - "${ED}/etc/eselect/postgresql/slots/${SLOT}/server" - - newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} - newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} - - systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service - systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf - - use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session - - if use prefix ; then - keepdir /run/postgresql - fperms 0775 /run/postgresql - fi -} - -pkg_postinst() { - postgresql-config update - - elog "Gentoo specific documentation:" - elog "http://www.gentoo.org/doc/en/postgres-howto.xml" - elog - elog "Official documentation:" - elog "http://www.postgresql.org/docs/${SLOT}/static/index.html" - elog - elog "The default location of the Unix-domain socket is:" - elog " ${EROOT%/}/run/postgresql/" - elog - elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" - elog "so that it contains your preferred locale in:" - elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - elog - elog "Then, execute the following command to setup the initial database" - elog "environment:" - elog " emerge --config =${CATEGORY}/${PF}" -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} ]] ; then - ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" - ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5" - - ebegin "Resuming removal in 10 seconds (Control-C to cancel)" - sleep 10 - eend 0 - fi -} - -pkg_postrm() { - postgresql-config update -} - -pkg_config() { - [[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - [[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/" - [[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data" - - # environment.bz2 may not contain the same locale as the current system - # locale. Unset and source from the current system locale. - if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then - unset LANG - unset LC_CTYPE - unset LC_NUMERIC - unset LC_TIME - unset LC_COLLATE - unset LC_MONETARY - unset LC_MESSAGES - unset LC_ALL - source "${EROOT%/}/etc/env.d/02locale" - [ -n "${LANG}" ] && export LANG - [ -n "${LC_CTYPE}" ] && export LC_CTYPE - [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC - [ -n "${LC_TIME}" ] && export LC_TIME - [ -n "${LC_COLLATE}" ] && export LC_COLLATE - [ -n "${LC_MONETARY}" ] && export LC_MONETARY - [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES - [ -n "${LC_ALL}" ] && export LC_ALL - fi - - einfo "You can modify the paths and options passed to initdb by editing:" - einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" - einfo - einfo "Information on options that can be passed to initdb are found at:" - einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" - einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" - einfo - einfo "PG_INITDB_OPTS is currently set to:" - if [[ -z "${PG_INITDB_OPTS}" ]] ; then - einfo " (none)" - else - einfo " ${PG_INITDB_OPTS}" - fi - einfo - einfo "Configuration files will be installed to:" - einfo " ${PGDATA}" - einfo - einfo "The database cluster will be created in:" - einfo " ${DATA_DIR}" - einfo - while [ "$correct" != "true" ] ; do - einfo "Are you ready to continue? (y/n)" - read answer - if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then - correct="true" - elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then - die "Aborting initialization." - else - echo "Answer not recognized" - fi - done - - if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then - eerror "The given directory, '${DATA_DIR}', is not empty." - eerror "Modify DATA_DIR to point to an empty directory." - die "${DATA_DIR} is not empty." - fi - - [ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128" - einfo "Checking system parameters..." - - if ! use kernel_linux ; then - einfo "Skipped." - einfo " Tests not supported on this OS (yet)" - else - if [ -z ${SKIP_SYSTEM_TESTS} ] ; then - einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..." - - local SEMMSL=$(sysctl -n kernel.sem | cut -f1) - local SEMMNS=$(sysctl -n kernel.sem | cut -f2) - local SEMMNI=$(sysctl -n kernel.sem | cut -f4) - local SHMMAX=$(sysctl -n kernel.shmmax) - - local SEMMSL_MIN=17 - local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 )) - local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 )) - local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) )) - - for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do - if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then - eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)" - eerror "You have now several options:" - eerror " - Change the mentioned system parameter" - eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a" - eerror " value lower than ${PG_MAX_CONNECTIONS}" - eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely" - eerror "More information can be found here:" - eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html" - die "System test failed." - fi - done - einfo "Passed." - else - ewarn "SKIP_SYSTEM_TESTS set, so skipping." - fi - fi - - einfo "Creating the data directory ..." - if [[ ${EUID} == 0 ]] ; then - mkdir -p "${DATA_DIR}" - chown -Rf postgres:postgres "${DATA_DIR}" - chmod 0700 "${DATA_DIR}" - fi - - einfo "Initializing the database ..." - - if [[ ${EUID} == 0 ]] ; then - su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" - else - "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} - fi - - mv "${DATA_DIR%/}"/*.conf "${PGDATA}" - - einfo "The autovacuum function, which was in contrib, has been moved to the main" - einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" - einfo "by default. You can disable it in the cluster's:" - einfo " ${PGDATA%/}/postgresql.conf" - einfo - einfo "The PostgreSQL server, by default, will log events to:" - einfo " ${DATA_DIR%/}/postmaster.log" - einfo - if use prefix ; then - einfo "The location of the configuration files have moved to:" - einfo " ${PGDATA}" - einfo "To start the server:" - einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" - einfo "To stop:" - einfo " pg_ctl stop -D ${DATA_DIR}" - einfo - einfo "Or move the configuration files back:" - einfo "mv ${PGDATA}*.conf ${DATA_DIR}" - else - einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" - einfo "instead of 'pg_ctl'." - fi -} - -src_test() { - einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - if [ ${UID} -ne 0 ] ; then - emake check - - einfo "If you think other tests besides the regression tests are necessary, please" - einfo "submit a bug including a patch for this ebuild to enable them." - else - ewarn "Tests cannot be run as root. Skipping." - ewarn "HINT: FEATURES=\"userpriv\"" - fi -} |