diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-06-26 07:21:26 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-06-26 07:21:26 +0000 |
commit | 7d6f737ab618407f80933beaacc95051ab2a0dc6 (patch) | |
tree | 6acc1a6121b945ab089c3eb125d737718f82e195 /dev-db | |
parent | Version bump. (diff) | |
download | historical-7d6f737ab618407f80933beaacc95051ab2a0dc6.tar.gz historical-7d6f737ab618407f80933beaacc95051ab2a0dc6.tar.bz2 historical-7d6f737ab618407f80933beaacc95051ab2a0dc6.zip |
Bump
Package-Manager: portage-2.2.10/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 | 5 | ||||
-rw-r--r-- | dev-db/postgresql-base/postgresql-base-9.4_beta1.ebuild | 169 | ||||
-rw-r--r-- | dev-db/postgresql-docs/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/postgresql-docs/Manifest | 14 | ||||
-rw-r--r-- | dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild | 59 | ||||
-rw-r--r-- | dev-db/postgresql-server/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/postgresql-server/Manifest | 5 | ||||
-rw-r--r-- | dev-db/postgresql-server/postgresql-server-9.4_beta1.ebuild | 357 |
9 files changed, 617 insertions, 16 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog index d1bc708a7074..8a7e5856cf05 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-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.282 2014/06/26 06:29:10 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.283 2014/06/26 07:20:29 patrick Exp $ + +*postgresql-base-9.4_beta1 (26 Jun 2014) + + 26 Jun 2014; Patrick Lauer <patrick@gentoo.org> + +postgresql-base-9.4_beta1.ebuild: + Bump 26 Jun 2014; Patrick Lauer <patrick@gentoo.org> postgresql-base-9999.ebuild: Bump -9999 ebuild to slot 9.5, fix patches diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest index 69d5cf283320..b1e686240e15 100644 --- a/dev-db/postgresql-base/Manifest +++ b/dev-db/postgresql-base/Manifest @@ -8,11 +8,13 @@ DIST postgresql-9.2.7.tar.bz2 16248445 SHA256 83c042c3f61c69b176d3e4344e59104f84 DIST postgresql-9.2.8.tar.bz2 16263345 SHA256 568ba482340219097475cce9ab744766889692ee7c9df886563e8292d66ed87c SHA512 f10ef949d54222f8b1e8a5e8b5fb4c13a59c1ad52f25191fa2024a24f08076d91d941af943a11118c896cc3cd9d28310c15aa698774f19cd3de6a033ab1f8eb5 WHIRLPOOL 3d3e6e5c81bd037148fdbceb3748a35047dff92069e9cd130f9f908518f89e06db2908db42f128d3a990573567d0931e9693cc1023c5dddb0d8dc5e79a19c044 DIST postgresql-9.3.3.tar.bz2 16665845 SHA256 e925d8abe7157bd8bece6b7c0dd0c343d87a2b4336f85f4681ce596af99c3879 SHA512 2d8163b31042dc66dc52371e265cc081c52783da403652fef4985b177d2961fdf106767112595fde6ef79e3122fcc318a3daeb5dea59a1cd211b8744acd65462 WHIRLPOOL 4ddd166a65c815e3b71872f5dd5cc120d5c12865f3101ca140f7eb36e54223f1e0496d4a9a73ba2278551961787cac5385385d33360fae6e66a692e532dc14c3 DIST postgresql-9.3.4.tar.bz2 16691447 SHA256 9ee819574dfc8798a448dc23a99510d2d8924c2f8b49f8228cd77e4efc8a6621 SHA512 acf4605216e9b4b48531bc23e152f1f80476a5feea3004a98fe720a16f10c70cc01940d28af236e079c2a3eee42d6b02ae651269f876eb44346983edfa69e0c4 WHIRLPOOL 7ddc9356690cee3150653f25152082bb6e5eebf6f914bb06f2bd7dea2a27287b3b64048653100b78498383fe52e6182822beee983df758b620233a9bcc194e0f +DIST postgresql-9.4beta1.tar.bz2 17216572 SHA256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47 SHA512 aa46e9132d303f4be775fecc3b8a13caf7ffc7b44566b9de6a5f3850c9ce58cd6c6e111f4d50be7cbe23f83b75e623c3161cc1b15797542d9dfa9e40884ac681 WHIRLPOOL e6daae50b784301d5ab78f609e900ed94c190aaa7f0fc81dbf6fa612baccd24f64a5d36a6beb54df0aac7b2c79f4ff1e0bfccdfaac89e4ce1755bba4122b241b 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.4.tbz2 3843 SHA256 ceaead90108a8eaa0661a2270608620a98d2a97e0747ef2095b0228db288fe95 SHA512 5fa46f7a99c19ac8af7fcc82b19d3c3deac5b545b7f85f478794deb814aa3fac21a9157420bce9cadffb3f55e89b5ebf398179172e9ccde011ad7fcc20d79cfd WHIRLPOOL ed66ec325dc2268c80e847d765a50f1908ee74acdb5674b3036d661816e18d7efdbf9dec57ac8261d41500be9bc364c9b0dfd1a4cea83dc46630a439cf32c7af DIST postgresql-patches-9.5.tbz2 3956 SHA256 103c63826027693e5909da74b7cc264d1eaecc2a2d3f72fc1c348f9d5fe3e138 SHA512 d708a597c5fe14c1cbeb1996cc84afcc2c8ba60ebb66a6791dbc4ad6bb02d61d2500d01287b00b66370d7efefcf4625465c9e10a5b43135051664e37678cf4a9 WHIRLPOOL 0e9cb9eeec2c87c75a12bd2a6a273e986e989ea51f6fe8485f2713a764434d6cdd1e4f630c983640f69c276d38962b804a9dceb28fcc9684dae492bbd863e935 EBUILD postgresql-base-8.4.20.ebuild 4371 SHA256 76a65b9a51e3978b80a426403bca700b1d8cfdc8063941a36f75f009b7a06c65 SHA512 c45393b823434b5046197ea81bd659f238b2035e0a115a7ad00242c9c87f7ed2c7cfd64c5a3ccf8730a485876991ac88b777942378d6bcce6c92bc39b60b7f37 WHIRLPOOL 5b855ff78750fe6b308110434e27a07d5c944750ce2e50ffb172372bd609720c0b0ac81ceba7df03f90b90899bf0b7d462b602374a2299205aa916fded4142fe EBUILD postgresql-base-8.4.21.ebuild 4386 SHA256 79e4c03e1c3fd53b06aae3cdfd031b3f722ea8364a8a08d3b407ee1ac6121e83 SHA512 9442de85298d02445110353e392413880d2a3c752bc051dddc3f0a00b8753af9d9cb61d5ff1328e4ddea9f78adf948eb6519eb1815fc8c0e2ce6c8140ed4eefa WHIRLPOOL 92770b724bcede336d25e8dbb97b2cfb85dced5fcf8c518f1885d9861e5b53d4d4add78149eeaf24856542b0ac0b8ca8f2c731497df700c5b534c38a3ec172ce @@ -24,6 +26,7 @@ EBUILD postgresql-base-9.2.7.ebuild 4392 SHA256 e48d643878758c8354a80f32af383f82 EBUILD postgresql-base-9.2.8.ebuild 4407 SHA256 bd8793b6ecb2888542585204e8a76dfd25bd183fd0acf45ad0923436643e5aab SHA512 b176040f32d9c02eb678cb4c6d9528762abd987b67aaf1058741957c6d13d2b07ee4b39b4f42b82c5f96996317eb71c196557e9e797021182132091182a764c8 WHIRLPOOL 97287155522820ed1f1d3c3cdfdedf752a8668f84dba307c2edf19c1c09f14c6f5c8eb0e4aeaae8d8a72d138d8600aa53e16be6d99e99d6d90f7204beee8363e EBUILD postgresql-base-9.3.3.ebuild 4426 SHA256 89f97c1b39128adf313dddc9a9f7dc4bf1b2fcab229c80e53306480d8be40c7c SHA512 b331c0007a9f82c26b85c09de8ba39638c95a08b9cdee2553d613a87f2894dd5b50382e167af85961c5b662f3b3689705b4d228c3fe2251ed092bc2c2a881b0a WHIRLPOOL aad6dff9aee35513ec3f9e30d172b6a3e2e630ef4009cdee4908b89cbf66bcecc1a4e90ca2dfb26a610227aa646cf54650a8525474146474e8d5b50bf409a823 EBUILD postgresql-base-9.3.4.ebuild 4436 SHA256 46e0353ba2ee1792a6a9e9577f6e0e7403cfb30f1e72ad281a3166a1f1f367ac SHA512 ec75ed0fefe776ca40f5a8b5f2bad3dc388bed2b10e9dc1fc8e45c11035f466e4d6de3b04ccb11dfd8487ee59bee53235834ae81fe4a2f67096f3ea04385c016 WHIRLPOOL b481133fe3d9aa5e31eeb02f1d6cebef0f2acbac1204c37d3f7930e619d654b49ec98b19ca7d44ca0f636ce1793bcdaff7c123108a9938bff69614433fe49d39 +EBUILD postgresql-base-9.4_beta1.ebuild 4458 SHA256 d9219e490b8415195fb18270fcc3cc0ca19fd7d046de8ab57ef12e9eaa7ea873 SHA512 deacb5549aadc1b686859c07ef0b3f9fe79984d44c128fd4d62bf171921e37fb280748f32385266a7eb4045cbe0d6f126a17a2bce385c241850f77a5b8f4a886 WHIRLPOOL 21b5d978a822598463269e5a9a5b88ddea243f2e97a6250b77cb017ab066d4e72c821210998dc74e435feb20e3e8aa02677b937a20051c9c51e9a49121cb957b EBUILD postgresql-base-9999.ebuild 4545 SHA256 5224730ac40d1bdfa0455c68fbc05b7a5caa0c15dd9ee538ad953020925a0cbb SHA512 94e09e0486cbb7190142fe7625da3832f6a1b35fef83fc5560bda7c4efc4150a494e997afdebb4b741154ce93172bc9b2211584398a01c93d89596fce3f60841 WHIRLPOOL ff3d46988cbd3a8785d089456caf8bc66cf3a9e449a2d2cfee4699cfa4905ac672dcd768635b6a4890d3d383b0999556ae12de9c1dfba7ed6e57579ad2c625c2 -MISC ChangeLog 72139 SHA256 7d4820ecc8cd52c362653fc41691986dd4a8e96dc7c401818d0b5e13db953307 SHA512 63b19bc0ebf740115dcff04e95337dddd8e31b54b37976dd7e4a7014017cb3ec295889c1a2d321ab9f1888739e23cf2e9b9d9c6437d7444f7f7c7439f94e1d99 WHIRLPOOL 466604e8fa0ffea6eb5f5beb0129b71f971ffb2f496eb9c46c22780984483c011adcfdc54a6de227070ff86aceab3a33d02dbbdb1d21bf4c21b53795508f777d +MISC ChangeLog 72276 SHA256 dd777c8e74b0f10a5df9a1f8e05adb6fb584e0870f0a40f39d67c19eab6e086d SHA512 233d70775cf6e33c40f7dc46cf352e1d1396001efa19ae7d0869dd983e2f2fae2443456ae2d0b7213d3ee6ddb9a539b2aa24841e8b266c811257ea8fffed730f WHIRLPOOL 6c4c6a38d18f88bd9a2a8d12772dac33547fee66946a9df9c6194897e3deaf107e7fa167a8aff1ed42d405e34f98f92b544d250427bd6eec1895be1fe112c00e MISC metadata.xml 319 SHA256 8ce157b48f2da128f1b40b0d59c3c06e51ba71173689ff7a86c4429a7055c471 SHA512 248b60da17006a89acb1d8b6f62f59e4d414421422d2d4445bc7efc4f0abf13d048fe52c09af6b3e10a7afad341a5edb0e8d48b9ec2ead5f84b40f4016448cf9 WHIRLPOOL d1cf97f5d676ef43d677cebf8f9c97f6823c1c7b31e1a40a6f22729771a6bdcc851ac7c27ace768509307f4d0774384805cf4125541acd7a785d48117c0d5e07 diff --git a/dev-db/postgresql-base/postgresql-base-9.4_beta1.ebuild b/dev-db/postgresql-base/postgresql-base-9.4_beta1.ebuild new file mode 100644 index 000000000000..eb35af4be02e --- /dev/null +++ b/dev-db/postgresql-base/postgresql-base-9.4_beta1.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.4_beta1.ebuild,v 1.1 2014/06/26 07:20:29 patrick Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} ) +WANT_AUTOMAKE="none" + +inherit autotools eutils flag-o-matic multilib prefix python-single-r1 versionator + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" + +MY_PV=${PV/_/} +SLOT="$(get_version_component_range 1-2)" +S="${WORKDIR}/postgresql-${MY_PV}" +SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2 + http://dev.gentoo.org/~patrick/postgresql-patches-${SLOT}.tbz2" + +LICENSE="POSTGRESQL" +DESCRIPTION="PostgreSQL libraries and clients" +HOMEPAGE="http://www.postgresql.org/" + +# No tests to be done for clients and libraries +RESTRICT="test" + +LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" +IUSE="doc kerberos ldap nls pam pg_legacytimestamp python readline ssl threads zlib" + +for lingua in ${LINGUAS} ; do + IUSE+=" linguas_${lingua}" +done + +wanted_languages() { + local enable_langs + + for lingua in ${LINGUAS} ; do + use linguas_${lingua} && enable_langs+="${lingua} " + done + + echo -n ${enable_langs} +} + +RDEPEND=" +>=app-admin/eselect-postgresql-1.2.0 +sys-apps/less +virtual/libintl +kerberos? ( virtual/krb5 ) +ldap? ( net-nds/openldap ) +pam? ( virtual/pam ) +python? ( ${PYTHON_DEPS} ) +readline? ( sys-libs/readline ) +ssl? ( >=dev-libs/openssl-0.9.6-r1 ) +zlib? ( sys-libs/zlib ) +" + +DEPEND="${RDEPEND} +!!<sys-apps/sandbox-2.0 +sys-devel/bison +sys-devel/flex +nls? ( sys-devel/gettext ) +" + +PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${WORKDIR}/autoconf.patch" \ + "${WORKDIR}/base.patch" \ + "${WORKDIR}/bool.patch" \ + "${WORKDIR}/run-dir.patch" + + eprefixify src/include/pg_config_manual.h + + # to avoid collision - it only should be installed by server + rm "${S}/src/backend/nls.mk" + + # because psql/help.c includes the file + ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die + + if use pam ; then + sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ + -i src/backend/libpq/auth.c \ + || die 'PGSQL_PAM_SERVICE rename failed.' + fi + + eautoconf +} + +src_configure() { + case ${CHOST} in + *-darwin*|*-solaris*) + use nls && append-libs intl + ;; + esac + + export LDFLAGS_SL="${LDFLAGS}" + export LDFLAGS_EX="${LDFLAGS}" + + local PO="${EPREFIX%/}" + + econf \ + --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ + --datadir="${PO}/usr/share/postgresql-${SLOT}" \ + --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \ + --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ + --includedir="${PO}/usr/include/postgresql-${SLOT}" \ + --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ + --without-tcl \ + --without-perl \ + $(use_with readline) \ + $(use_with kerberos krb5) \ + $(use_with kerberos gssapi) \ + "$(use_enable nls nls "$(wanted_languages)")" \ + $(use_with pam) \ + $(use_enable !pg_legacytimestamp integer-datetimes) \ + $(use_with python) \ + $(use_with ssl openssl) \ + $(use_enable threads thread-safety) \ + $(use_with zlib) \ + $(use_with ldap) +} + +src_compile() { + emake + + cd "${S}/contrib" + emake +} + +src_install() { + emake DESTDIR="${D}" install + insinto /usr/include/postgresql-${SLOT}/postmaster + doins "${S}"/src/include/postmaster/*.h + + dodir /usr/share/postgresql-${SLOT}/man/ + cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die + rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1 + docompress /usr/share/postgresql-${SLOT}/man/man{1,7} + + # Don't use ${PF} here as three packages + # (dev-db/postgresql-{docs,base,server}) have the same set of docs. + insinto /usr/share/doc/postgresql-${SLOT} + doins README HISTORY doc/{TODO,bug.template} + + cd "${S}/contrib" + emake DESTDIR="${D}" install + cd "${S}" + + dodir /etc/eselect/postgresql/slots/${SLOT} + echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ + "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" + + keepdir /etc/postgresql-${SLOT} +} + +pkg_postinst() { + postgresql-config update + + elog "If you need a global psqlrc-file, you can place it in:" + elog " ${EROOT%/}/etc/postgresql-${SLOT}/" +} + +pkg_postrm() { + postgresql-config update +} diff --git a/dev-db/postgresql-docs/ChangeLog b/dev-db/postgresql-docs/ChangeLog index 092b23f3051e..0058768547a4 100644 --- a/dev-db/postgresql-docs/ChangeLog +++ b/dev-db/postgresql-docs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/postgresql-docs # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.236 2014/03/20 22:03:48 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.237 2014/06/26 07:19:44 patrick Exp $ + +*postgresql-docs-9.4_beta1 (26 Jun 2014) + + 26 Jun 2014; Patrick Lauer <patrick@gentoo.org> + +postgresql-docs-9.4_beta1.ebuild: + Bump *postgresql-docs-9.3.4 (20 Mar 2014) *postgresql-docs-9.2.8 (20 Mar 2014) diff --git a/dev-db/postgresql-docs/Manifest b/dev-db/postgresql-docs/Manifest index 97cf97dec7b6..1f64e1f6301e 100644 --- a/dev-db/postgresql-docs/Manifest +++ b/dev-db/postgresql-docs/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - DIST postgresql-8.4.20.tar.bz2 14642312 SHA256 e84e46083a6accd2bf37f0bd7253415649afcafc49f2564bc8481c10ed90d7c1 SHA512 83c45b54035c2f55de1def66a695c669481d0a75a0a55ac7e0ff352be4ca7ff1c212ac8f7046e44b324386a3bf9c4befdf36fa1207fff7d149c9e9f3c0e775d3 WHIRLPOOL ab9751509a5514fa2106a04e4c27850d9bef9c66034d3c7061a9299d35bbb06f8082a1fb63cc861108e70e3aa8d0d58d1c6186314862d4018de7428e0fb24360 DIST postgresql-8.4.21.tar.bz2 14645050 SHA256 388f67e59f2a16c27e84f50656f5d755adf3d0a883138366d091aa0c727c1e2c SHA512 b1d30a7b0bbe5f3fc1046b363d6e76a964576b8161d13ed7e6897cdecffdfdc02f5fa6cf4a4a759f43c1a8ef5f736a46e63abc841834c53f54d9f838aa15d5d2 WHIRLPOOL 657ab021c3760e1babcd6f4bb163f8a99a4724542e6fe94d195b9f2a90ec59cf0cf86fbfb441429a37a6d751c7a322045ea026fdc461dae93a256f0768e1db85 DIST postgresql-9.0.16.tar.bz2 14956681 SHA256 900f6ab00fc36c94b17430e7cb22499708025da1e34d7a70aefaf9a875f0fabf SHA512 e98931f6f0998fa1fd43c798f8151f49730723e95ec8a80e958ce800e2f03a6e56bc1dd02412045dcf45acc9e4272dcc4d8b4af9c02a69e031369e9170d6c885 WHIRLPOOL e9446e1e328f09b98004170c2a74f8d1f50d649203903a637ccbb42f897de5f8cb326cb8e792ecb99d1f369b75d15cba523743e4e68506c514f565712bbfd75b @@ -11,6 +8,7 @@ DIST postgresql-9.2.7.tar.bz2 16248445 SHA256 83c042c3f61c69b176d3e4344e59104f84 DIST postgresql-9.2.8.tar.bz2 16263345 SHA256 568ba482340219097475cce9ab744766889692ee7c9df886563e8292d66ed87c SHA512 f10ef949d54222f8b1e8a5e8b5fb4c13a59c1ad52f25191fa2024a24f08076d91d941af943a11118c896cc3cd9d28310c15aa698774f19cd3de6a033ab1f8eb5 WHIRLPOOL 3d3e6e5c81bd037148fdbceb3748a35047dff92069e9cd130f9f908518f89e06db2908db42f128d3a990573567d0931e9693cc1023c5dddb0d8dc5e79a19c044 DIST postgresql-9.3.3.tar.bz2 16665845 SHA256 e925d8abe7157bd8bece6b7c0dd0c343d87a2b4336f85f4681ce596af99c3879 SHA512 2d8163b31042dc66dc52371e265cc081c52783da403652fef4985b177d2961fdf106767112595fde6ef79e3122fcc318a3daeb5dea59a1cd211b8744acd65462 WHIRLPOOL 4ddd166a65c815e3b71872f5dd5cc120d5c12865f3101ca140f7eb36e54223f1e0496d4a9a73ba2278551961787cac5385385d33360fae6e66a692e532dc14c3 DIST postgresql-9.3.4.tar.bz2 16691447 SHA256 9ee819574dfc8798a448dc23a99510d2d8924c2f8b49f8228cd77e4efc8a6621 SHA512 acf4605216e9b4b48531bc23e152f1f80476a5feea3004a98fe720a16f10c70cc01940d28af236e079c2a3eee42d6b02ae651269f876eb44346983edfa69e0c4 WHIRLPOOL 7ddc9356690cee3150653f25152082bb6e5eebf6f914bb06f2bd7dea2a27287b3b64048653100b78498383fe52e6182822beee983df758b620233a9bcc194e0f +DIST postgresql-9.4beta1.tar.bz2 17216572 SHA256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47 SHA512 aa46e9132d303f4be775fecc3b8a13caf7ffc7b44566b9de6a5f3850c9ce58cd6c6e111f4d50be7cbe23f83b75e623c3161cc1b15797542d9dfa9e40884ac681 WHIRLPOOL e6daae50b784301d5ab78f609e900ed94c190aaa7f0fc81dbf6fa612baccd24f64a5d36a6beb54df0aac7b2c79f4ff1e0bfccdfaac89e4ce1755bba4122b241b EBUILD postgresql-docs-8.4.20.ebuild 1304 SHA256 b759fd45f4a1fcee8af5443cd1f7d1bbe06bddfc50b1678a3355b3560a043ef3 SHA512 622705d1a732b3af94722bb70bac61ebdc4108863aff45b0f61e9c301065ad9b655218b673c939d76f607f4952dc18231725611833f3119acf872bf8a81d40d9 WHIRLPOOL 0a44bc5f176549d1c50cecf95fc555184f65ce445ae569464653c6f3ef0fa96bb370f2ab3052e2e421c7fb619ebabf48a227e2b2d3e82d072d100e6cafb97e50 EBUILD postgresql-docs-8.4.21.ebuild 1319 SHA256 eb5dc0dc4aca494be71667f6daa67b87a1afb5a63cc5ca5cb94090a3acc4cb20 SHA512 b72a5a3ab406980d57ce974e849386f904e2d86ca1b87f210d902f5c4c9f9d94c07d5bde54d9dc87b9025c732a4710c1a8f4d4be80ad23c5fffc4dec63ff9158 WHIRLPOOL d204610ec17cf60225b885a55bfa608edc4b5b947882dee5cd0df004431333b3f0d3e08ba48a715fdcb9c39e6ed535814f0f301243e853aac54f2daab4c45d79 EBUILD postgresql-docs-9.0.16.ebuild 1293 SHA256 e4596972d9e725fd17ab958198b03310e3422bec7ab9e20e522ee18f2d1c15b5 SHA512 3edeeef89f41f494baf5d9bb0d3ecde78efa3de46521813a6304a182c434ddd698548388bbf31a131fa520d3ab64fd37d61aeeff6795782d63a1eba890d13f19 WHIRLPOOL fbba3172f392130c8f3a503aeb3552a9cd2c6d8e73801229f9675c250f19bf3bd9b2b734bfb128fc24aeacd5d345490f947a07369272b02ebf3b62b74e99ea5e @@ -21,12 +19,6 @@ EBUILD postgresql-docs-9.2.7.ebuild 1618 SHA256 2fa26961bab5afb3844c9b6ef6dfb49a EBUILD postgresql-docs-9.2.8.ebuild 1633 SHA256 cda7ccfed41de31fdeec3357b4721faa2a2181a6839f5e5c6b01117b827fee0b SHA512 d4679bf37558ee44926447ae85d358800550e77e07671212e2bd8fe3aa964f2f44ea3676d2cd4ce4b03c50570e71303cf8cc0b4598a7b2333f53df1e42fadaf6 WHIRLPOOL e737d6dd6c676f1651755aa513fc7d14fd8c1d1c04cad9bc55857c71e59371b67897d47e044671edec65f353a707c8fdbd7ffc8819ef15841d83abcc81b3e5d2 EBUILD postgresql-docs-9.3.3.ebuild 1618 SHA256 a55fbc3c8369c8789bcfece8e3e8feb78f33b50992c4d466481f1a11f0a0c146 SHA512 673faf950c5292bfd6997fe3e9aae24cbd86f0bd3a5c8dc0420d8a4284a2a12c01a526ed5e5fba0b75aa2882e8b622a5db82fcf0e247df60ac77a92479b3bc6a WHIRLPOOL 535fc7af73e7de7cf9563dc2fcc75bcbd354241c77b063969c6fb68611c473fc250f4efa5c0376507571c3f8040c84de37daf6723ebd1c22e9391b5a77380fed EBUILD postgresql-docs-9.3.4.ebuild 1633 SHA256 5648b2c21b69d81a2fa323ba7a237166507c42e3759dc1abe6757173fbeb2fe6 SHA512 db641342043d54d7afdd3527f730a4bec3ae13c19d00b55d7495d3146471342a3fd22aaca3bdb7746d0ec69efc22162c1e5b523a67abd20041faa90260abcb66 WHIRLPOOL 28d1b0c8cc0b518b8f15311a055342274bd358ddf8f0a33ce8ba4d08c826b459964fc23a39aaa17401e5b0187096a51f4438053d3c7e2824f01df8333cb86a38 -MISC ChangeLog 52769 SHA256 2e60a30a493c44330075eea9fcd1200f28385455ea966d60056e1a635ae0aefe SHA512 e041fc0b5a57270980818aa4cd2aac3fe35400238b32c73c48f3588077f4e360ba4d6df0933c80ef8b563e7668ff85a540d67315e413dc99d5f2988d245befdc WHIRLPOOL 23d2c739b015d659770ce53fb6e70f6bf8f4b3c2dbe6ca1f2c3b6e7a1839504d8700000f2dc40fcd8593fd17c9ad7957202850b78127c3032147aed340c40ca5 +EBUILD postgresql-docs-9.4_beta1.ebuild 1618 SHA256 3e104ad10449fe9730445218cce3f8ebc688fcf2eb66344056b886547601810c SHA512 543f83dd6286730c2e44925859281da3f5fd180f35e5725dd2e9327e87381eae40c5d23d9ac4e2e74fd7238995a6a2cfd452c6ec1d588d1a2f75ec4a93ceac3b WHIRLPOOL a9abe7da70adbd50e7f3d02bdf4430688a91e7985ea6b9a336e2a1086ca30539b42d46c58e8f0dbe008eaac9690dad93a3face23ffb68d704f46e64736e14dda +MISC ChangeLog 52903 SHA256 684ba636085ce35ac115469e479ccb428bccd29efc3dfa08f4c731eba869ae3c SHA512 e036ba6146827055e418a25dea689f24bfbbdb8f468f5883e3fbe6d04bd2636225ccb2c97a0374dcec656ff0c677e4201d095e3853a1e48aec7e7b1de868d8f0 WHIRLPOOL 92031bc31e15295e3128f3e88b481f71b8af6300593dc884f499a6893c9047855c02e85731a50851c1395835d7e92985e69096fc2187c311ff85629a59635690 MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iF4EAREIAAYFAlMrZcgACgkQVxOqA9G7/aCjrAD9FB6vI0ksTSqf+CshanLA/dvL -O1UQMSdbbv2gWxcZRYYA/1h2sJT8zUMMhUNms86jeLOQ/2Y1pBYSh9o+7bhqw6Bc -=YFuH ------END PGP SIGNATURE----- diff --git a/dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild new file mode 100644 index 000000000000..c78128b4ba04 --- /dev/null +++ b/dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild,v 1.1 2014/06/26 07:19:44 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_PV}" +SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_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 be20397210bd..c2e0556ffb54 100644 --- a/dev-db/postgresql-server/ChangeLog +++ b/dev-db/postgresql-server/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/postgresql-server # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.295 2014/06/26 06:50:21 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.296 2014/06/26 07:21:16 patrick Exp $ + +*postgresql-server-9.4_beta1 (26 Jun 2014) + + 26 Jun 2014; Patrick Lauer <patrick@gentoo.org> + +postgresql-server-9.4_beta1.ebuild: + Bump 26 Jun 2014; Patrick Lauer <patrick@gentoo.org> postgresql-server-9999.ebuild: Bump -9999 ebuild to slot 9.5, fix patches. Tests are currently disabled for diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest index 78934b20b269..b1a643ce750b 100644 --- a/dev-db/postgresql-server/Manifest +++ b/dev-db/postgresql-server/Manifest @@ -8,6 +8,7 @@ DIST postgresql-9.2.7.tar.bz2 16248445 SHA256 83c042c3f61c69b176d3e4344e59104f84 DIST postgresql-9.2.8.tar.bz2 16263345 SHA256 568ba482340219097475cce9ab744766889692ee7c9df886563e8292d66ed87c SHA512 f10ef949d54222f8b1e8a5e8b5fb4c13a59c1ad52f25191fa2024a24f08076d91d941af943a11118c896cc3cd9d28310c15aa698774f19cd3de6a033ab1f8eb5 WHIRLPOOL 3d3e6e5c81bd037148fdbceb3748a35047dff92069e9cd130f9f908518f89e06db2908db42f128d3a990573567d0931e9693cc1023c5dddb0d8dc5e79a19c044 DIST postgresql-9.3.3.tar.bz2 16665845 SHA256 e925d8abe7157bd8bece6b7c0dd0c343d87a2b4336f85f4681ce596af99c3879 SHA512 2d8163b31042dc66dc52371e265cc081c52783da403652fef4985b177d2961fdf106767112595fde6ef79e3122fcc318a3daeb5dea59a1cd211b8744acd65462 WHIRLPOOL 4ddd166a65c815e3b71872f5dd5cc120d5c12865f3101ca140f7eb36e54223f1e0496d4a9a73ba2278551961787cac5385385d33360fae6e66a692e532dc14c3 DIST postgresql-9.3.4.tar.bz2 16691447 SHA256 9ee819574dfc8798a448dc23a99510d2d8924c2f8b49f8228cd77e4efc8a6621 SHA512 acf4605216e9b4b48531bc23e152f1f80476a5feea3004a98fe720a16f10c70cc01940d28af236e079c2a3eee42d6b02ae651269f876eb44346983edfa69e0c4 WHIRLPOOL 7ddc9356690cee3150653f25152082bb6e5eebf6f914bb06f2bd7dea2a27287b3b64048653100b78498383fe52e6182822beee983df758b620233a9bcc194e0f +DIST postgresql-9.4beta1.tar.bz2 17216572 SHA256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47 SHA512 aa46e9132d303f4be775fecc3b8a13caf7ffc7b44566b9de6a5f3850c9ce58cd6c6e111f4d50be7cbe23f83b75e623c3161cc1b15797542d9dfa9e40884ac681 WHIRLPOOL e6daae50b784301d5ab78f609e900ed94c190aaa7f0fc81dbf6fa612baccd24f64a5d36a6beb54df0aac7b2c79f4ff1e0bfccdfaac89e4ce1755bba4122b241b DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f DIST postgresql-initscript-2.5.tbz2 3280 SHA256 723b2564572722171e097b165a72453b788cb4451638677dcc5f853cbd2d3c09 SHA512 3de3c113cc121b7c1e1a28580ad83fa95f613ba082bffaec9c5feba8bf022ce069246553cd027cc82fbc7a8ea72a5782c2b04186a9765612571ab876c38555bf WHIRLPOOL 8bd84f0a58a3cebf078aeaba2cf9f8eaaeb0933aac0b89f4f8f981604c42ae43a06ca1fdf37a635f90d8957440049d9d7d4ad76bf143d42f44b5374fa98ef2de DIST postgresql-initscript-2.6.tbz2 3499 SHA256 0ab0e175a2ed735c330fd2e1c659c1130ae7217fea8d3804d5b5eb74c68ddac1 SHA512 b5c8add696b755e422db4b419c3aa8078b8f3b63e15ad2d100c8f81e654c02eee6c1971a7129d72de201afacdc72dcc50674b79e054be81d575ae1339b2e239b WHIRLPOOL 7bfc03a83f24f2a1a88bab86c71bdecaa14f4a4bb3eb12c46d6a164f9c1aad891e94445a59c55e1168a5dd5c85c78aa5198425c1914d26de86d0f22de5d031af @@ -18,6 +19,7 @@ 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.4.tbz2 3843 SHA256 ceaead90108a8eaa0661a2270608620a98d2a97e0747ef2095b0228db288fe95 SHA512 5fa46f7a99c19ac8af7fcc82b19d3c3deac5b545b7f85f478794deb814aa3fac21a9157420bce9cadffb3f55e89b5ebf398179172e9ccde011ad7fcc20d79cfd WHIRLPOOL ed66ec325dc2268c80e847d765a50f1908ee74acdb5674b3036d661816e18d7efdbf9dec57ac8261d41500be9bc364c9b0dfd1a4cea83dc46630a439cf32c7af DIST postgresql-patches-9.5.tbz2 3956 SHA256 103c63826027693e5909da74b7cc264d1eaecc2a2d3f72fc1c348f9d5fe3e138 SHA512 d708a597c5fe14c1cbeb1996cc84afcc2c8ba60ebb66a6791dbc4ad6bb02d61d2500d01287b00b66370d7efefcf4625465c9e10a5b43135051664e37678cf4a9 WHIRLPOOL 0e9cb9eeec2c87c75a12bd2a6a273e986e989ea51f6fe8485f2713a764434d6cdd1e4f630c983640f69c276d38962b804a9dceb28fcc9684dae492bbd863e935 EBUILD postgresql-server-8.4.20.ebuild 11764 SHA256 d86dd9e0ad680ed3ee1af7d4decb6da2f778bb58e68f6c0d688de08fa453157b SHA512 5c036629e14b883ca4bbfda7af48caee08bbb87bef6a2a4a1a64059d3ee15e9c70ec475cd16bfd2cfabd8feea32eebeacbab0e80434d299ff271b5f09a3eeb68 WHIRLPOOL 3cd6a4fd21ca0835655f609ad4dce81a8150ef48f1e2be4e696c9d6a0ac4672962561f3d9e7c6f6932bd2154115007173f1b322341a7facc7f4cab07f416c495 EBUILD postgresql-server-8.4.21.ebuild 11779 SHA256 c1551c356ed86ad4e112c96857bc6763f66f142bd698be9be7d539944b0dec42 SHA512 c97e1bc8e692c102bf14c82f173d49e8833089134f80058d75bfcaffe49e1ba7edd85f562f8d1a59d231928697d8c92c3b81179cfadf1085acc9283f9a301c9c WHIRLPOOL a27b706fd81e8a330be5f6c21227e747352c83cbf38782c7fd1744a242dc5d8476833de806f85d54a2162572ca415ffad7a735f190ee92d6fbe78f799c143a97 @@ -30,6 +32,7 @@ EBUILD postgresql-server-9.2.8.ebuild 11190 SHA256 3c2faac32c245e5489490be7a7678 EBUILD postgresql-server-9.3.3.ebuild 11111 SHA256 42601de389a861a90a77ae71dfbfe632d563cf26b3347bb5b7011973c896dddb SHA512 9ca3fb7a69c8ab1933ed3c794df9079065aa6ac3c83c70df237d06c0363efd247ac89a549d35aff784092fe84d64ddd91a4e7fafe377e84c96e16df03f046eaf WHIRLPOOL bb76875b15973e2e685115a635d63d11a51bb8a54c228915f90a2e976dd4d22f9ce0f03de33e482d70c1f0d8e5fc297a7dff28fb1e73d7e5359e104bc4944674 EBUILD postgresql-server-9.3.4-r1.ebuild 11313 SHA256 c5bb02ba018332d11daaf7a5de09295e27f3d0dc63d280ec966a5c7501f6affd SHA512 76c5c7b0cfadc8541cf4a3a2884f0bca61623d2b3cc461e0462e9f628fcca83d27da6a1c85000ccd97c20de21592eab247d05e9950a1b0f486f8b72c64db0992 WHIRLPOOL d3d33c85898abcbc99e6a1b0f13b42f99a3ec5615f79d44e2f2ad03f982f6f83d3439373ec0fe8c6e0f6d110243e3555cbdfcaba04ceb80a1705c312d45ca37b EBUILD postgresql-server-9.3.4.ebuild 11125 SHA256 f5da0be53dad1638afcfd435cf082633800df6cdd1754334f77af1025eaac3db SHA512 f98f10e34157916e6bb5f13b6cdd409d6af445d6f02d5da23ec9f6f3a8005b0e3ad28d88787898ab4e776b28eec34a53584ee9177c8f13e93945e69a7ba73e0e WHIRLPOOL 3b419cf1a4dbb5e69dcee790cd43f38f44ec597ca24b9ff5dd9c3d1cff1faddb44b7135cad79d65c4fda49f36de3a95febe3fc1682d4bdc6e40c0e4956814659 +EBUILD postgresql-server-9.4_beta1.ebuild 11315 SHA256 3cf3e2c71faa3f3b002ede547e37b96ff415cae534a45c2a20f25581aad2103f SHA512 f00895b36c1cbe2a3b9809d7a261bbabbb21bd9404498ae911e03ad670de63ae8ea2940c60628159805b1ca7e7df5be89b378c4909e628987aab7008262b5291 WHIRLPOOL 421ec15c01cb832ac2cfe0bebde2a4baadbdd91348df7c727c93e1eebb8a6a6b5a8fcad2ed89c0c112ab9dd81a64c49d6dfede65b6f5201234dbf261a96d4427 EBUILD postgresql-server-9999.ebuild 11311 SHA256 20d087a1e37cbfed6024791ad8842a7c1058b56c6310db7b6a8a7fa2ec2d5b51 SHA512 9e4004f5c2d2821ecf3601b6caba79bf04db5ecceb92a629b6a06235edd0997dfee1c538a5b899cba33487802fe6b100e465eed730c2aa10358561edf4a6d5c8 WHIRLPOOL c1fa5f257aaf2a3e3eaad13eae8a7e8907aea2bb4c67b85b482aa825babf741e0adaa7470b022a414c346b74f4449b0b3b73159175d90ec915f001de07cc2d96 -MISC ChangeLog 85548 SHA256 ec68b2883ff3ae2f005e7bfb82fdbe5d8138acfb811b34f4f2676c4eaa63f89a SHA512 ac62e21215957669fd9041f48fe650519fb72c5b1115e53a9de00525223e0a6de87f5af94313b44c661748a0d15d6d2f523360dc9b3162f926cbc1d3a79b6de4 WHIRLPOOL 7b6f6e212439e976b6552755ba291cbe2237436f88632a801308dc176f7609d905f695aa718c89f12cebe1d0ef5ffca74e871f394dd07476f6b243c5d125c51c +MISC ChangeLog 85689 SHA256 aad653c8ec9f961bca090ed4a76555db65e20eca5203e0a7ae29616e03e3e9fa SHA512 ac31e1f1e1085ca19b4d18a45a3a0752f2c70cf4be159dea6f2307e84e5463a71005cfa40ee54b79bf686d359e0c07481d11184f2653dd7d6cece4330c63411a WHIRLPOOL be77178b88cfd0d899d0f8e0b6c3dc6748bb15cd6f7dd9ec8705568ad641e96677f31e3c22d079d3a4b09944c7247c6ef11daabb780bbfbd2fc4957b321c3795 MISC metadata.xml 420 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62 SHA512 1731bced1ac398d90c6aca6ec209a9ea42deb0f7033d49952a6216349aeb992479c3e868b33cc1be2434cdead6185026503a58e779965455d0198edd87bf5b4c WHIRLPOOL 3bbd5598492cb7d90f4199fac80f27bcba281e1188f7f1d40ee3dd1561e530de13de109142f0add7221b49ec3a9c6a0bdb3add1446b1cc5a6cb3909fd193d19b diff --git a/dev-db/postgresql-server/postgresql-server-9.4_beta1.ebuild b/dev-db/postgresql-server/postgresql-server-9.4_beta1.ebuild new file mode 100644 index 000000000000..08e07df8990c --- /dev/null +++ b/dev-db/postgresql-server/postgresql-server-9.4_beta1.ebuild @@ -0,0 +1,357 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.4_beta1.ebuild,v 1.1 2014/06/26 07:21:16 patrick Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} ) +WANT_AUTOMAKE="none" + +RESTRICT="test" + +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" + +MY_PV=${PV/_/} +SLOT="$(get_version_component_range 1-2)" +S="${WORKDIR}/postgresql-${MY_PV}" +SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2 + http://dev.gentoo.org/~patrick/postgresql-patches-${SLOT}.tbz2 + http://dev.gentoo.org/~floppym/dist/postgresql-initscript-2.7.tbz2" + + + +LICENSE="POSTGRESQL GPL-2" +DESCRIPTION="PostgreSQL server" +HOMEPAGE="http://www.postgresql.org/" + +LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" +IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml" + +for lingua in ${LINGUAS}; do + IUSE+=" linguas_${lingua}" +done + +wanted_languages() { + local enable_langs + + for lingua in ${LINGUAS} ; do + use linguas_${lingua} && enable_langs+="${lingua} " + done + + echo -n ${enable_langs} +} + +RDEPEND=" +~dev-db/postgresql-base-${PV}[kerberos?,pam?,pg_legacytimestamp=,python=,nls=] +perl? ( >=dev-lang/perl-5.8 ) +python? ( ${PYTHON_DEPS} ) +selinux? ( sec-policy/selinux-postgresql ) +tcl? ( >=dev-lang/tcl-8 ) +uuid? ( dev-libs/ossp-uuid ) +xml? ( dev-libs/libxml2 dev-libs/libxslt ) +" + +DEPEND="${RDEPEND} +sys-devel/flex +xml? ( virtual/pkgconfig ) +" + +PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" + +pkg_setup() { + enewgroup postgres 70 + enewuser postgres 70 /bin/bash /var/lib/postgresql postgres + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${WORKDIR}/autoconf.patch" \ + "${WORKDIR}/bool.patch" \ + "${WORKDIR}/server.patch" \ + "${WORKDIR}/run-dir.patch" + + eprefixify src/include/pg_config_manual.h + + if use pam ; then + sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \ + -i src/backend/libpq/auth.c \ + || die 'PGSQL_PAM_SERVICE rename failed.' + fi + + if use perl ; then + sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \ + -i "${S}/src/pl/plperl/GNUmakefile" || die 'sed plperl failed' + fi + + if use test ; then + sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c \ + || die 'Failed regress sed' + else + echo "all install:" > "${S}/src/test/regress/GNUmakefile" + fi + + sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \ + -i "${WORKDIR}"/postgresql{.{init,confd,service},-check-db-dir} || + die "SLOT/LIBDIR sed failed" + + eautoconf +} + +src_configure() { + case ${CHOST} in + *-darwin*|*-solaris*) + use nls && append-libs intl + ;; + esac + + local PO="${EPREFIX%/}" + + # eval is needed to get along with pg_config quotation of space-rich entities. + eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ + $(use_with perl) \ + $(use_with tcl) \ + $(use_with xml libxml) \ + $(use_with xml libxslt) \ + $(use_with uuid ossp-uuid) \ + --with-system-tzdata="${PO}/usr/share/zoneinfo" \ + --with-includes="${PO}/usr/include/postgresql-${SLOT}/" \ + --with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \ + "$(use_enable nls nls "$(wanted_languages)")" +} + +src_compile() { + local bd + for bd in . contrib $(use xml && echo contrib/xml2); do + PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ + emake -C $bd || die "emake in $bd failed" + done +} + +src_install() { + local bd + for bd in . contrib $(use xml && echo contrib/xml2) ; do + PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ + emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed" + done + + # Avoid file collision with -base. + rm "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)/libpgcommon.a" + + dodir /etc/eselect/postgresql/slots/${SLOT} + echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ + "${ED}/etc/eselect/postgresql/slots/${SLOT}/server" + + newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} + newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} + + systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service + systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf + + insinto /usr/bin/ + newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir + + use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session + + if use prefix ; then + keepdir /run/postgresql + fperms 0775 /run/postgresql + fi +} + +pkg_postinst() { + postgresql-config update + + elog "Gentoo specific documentation:" + elog "http://www.gentoo.org/doc/en/postgres-howto.xml" + elog + elog "Official documentation:" + elog "http://www.postgresql.org/docs/${SLOT}/static/index.html" + elog + elog "The default location of the Unix-domain socket is:" + elog " ${EROOT%/}/run/postgresql/" + elog + elog "Before initializing the database, you may want to edit PG_INITDB_OPTS" + elog "so that it contains your preferred locale in:" + elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" + elog + elog "Then, execute the following command to setup the initial database" + elog "environment:" + elog " emerge --config =${CATEGORY}/${PF}" +} + +pkg_prerm() { + if [[ -z ${REPLACED_BY_VERSION} ]] ; then + ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?" + ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5" + + ebegin "Resuming removal in 10 seconds (Control-C to cancel)" + sleep 10 + eend 0 + fi +} + +pkg_postrm() { + postgresql-config update +} + +pkg_config() { + [[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" + [[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/" + [[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data" + + # environment.bz2 may not contain the same locale as the current system + # locale. Unset and source from the current system locale. + if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then + unset LANG + unset LC_CTYPE + unset LC_NUMERIC + unset LC_TIME + unset LC_COLLATE + unset LC_MONETARY + unset LC_MESSAGES + unset LC_ALL + source "${EROOT%/}/etc/env.d/02locale" + [ -n "${LANG}" ] && export LANG + [ -n "${LC_CTYPE}" ] && export LC_CTYPE + [ -n "${LC_NUMERIC}" ] && export LC_NUMERIC + [ -n "${LC_TIME}" ] && export LC_TIME + [ -n "${LC_COLLATE}" ] && export LC_COLLATE + [ -n "${LC_MONETARY}" ] && export LC_MONETARY + [ -n "${LC_MESSAGES}" ] && export LC_MESSAGES + [ -n "${LC_ALL}" ] && export LC_ALL + fi + + einfo "You can modify the paths and options passed to initdb by editing:" + einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}" + einfo + einfo "Information on options that can be passed to initdb are found at:" + einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html" + einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html" + einfo + einfo "PG_INITDB_OPTS is currently set to:" + if [[ -z "${PG_INITDB_OPTS}" ]] ; then + einfo " (none)" + else + einfo " ${PG_INITDB_OPTS}" + fi + einfo + einfo "Configuration files will be installed to:" + einfo " ${PGDATA}" + einfo + einfo "The database cluster will be created in:" + einfo " ${DATA_DIR}" + einfo + while [ "$correct" != "true" ] ; do + einfo "Are you ready to continue? (y/n)" + read answer + if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then + correct="true" + elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then + die "Aborting initialization." + else + echo "Answer not recognized" + fi + done + + if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then + eerror "The given directory, '${DATA_DIR}', is not empty." + eerror "Modify DATA_DIR to point to an empty directory." + die "${DATA_DIR} is not empty." + fi + + [ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128" + einfo "Checking system parameters..." + + if ! use kernel_linux ; then + einfo "Skipped." + einfo " Tests not supported on this OS (yet)" + else + if [ -z ${SKIP_SYSTEM_TESTS} ] ; then + einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..." + + local SEMMSL=$(sysctl -n kernel.sem | cut -f1) + local SEMMNS=$(sysctl -n kernel.sem | cut -f2) + local SEMMNI=$(sysctl -n kernel.sem | cut -f4) + local SHMMAX=$(sysctl -n kernel.shmmax) + + local SEMMSL_MIN=17 + local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 )) + local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 )) + local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) )) + + for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do + if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then + eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)" + eerror "You have now several options:" + eerror " - Change the mentioned system parameter" + eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a" + eerror " value lower than ${PG_MAX_CONNECTIONS}" + eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely" + eerror "More information can be found here:" + eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html" + die "System test failed." + fi + done + einfo "Passed." + else + ewarn "SKIP_SYSTEM_TESTS set, so skipping." + fi + fi + + einfo "Creating the data directory ..." + if [[ ${EUID} == 0 ]] ; then + mkdir -p "${DATA_DIR}" + chown -Rf postgres:postgres "${DATA_DIR}" + chmod 0700 "${DATA_DIR}" + fi + + einfo "Initializing the database ..." + + if [[ ${EUID} == 0 ]] ; then + su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}" + else + "${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS} + fi + + mv "${DATA_DIR%/}"/*.conf "${PGDATA}" + + einfo "The autovacuum function, which was in contrib, has been moved to the main" + einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled" + einfo "by default. You can disable it in the cluster's:" + einfo " ${PGDATA%/}/postgresql.conf" + einfo + einfo "The PostgreSQL server, by default, will log events to:" + einfo " ${DATA_DIR%/}/postmaster.log" + einfo + if use prefix ; then + einfo "The location of the configuration files have moved to:" + einfo " ${PGDATA}" + einfo "To start the server:" + einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'" + einfo "To stop:" + einfo " pg_ctl stop -D ${DATA_DIR}" + einfo + einfo "Or move the configuration files back:" + einfo "mv ${PGDATA}*.conf ${DATA_DIR}" + else + einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL" + einfo "instead of 'pg_ctl'." + fi +} + +src_test() { + einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" + + if [ ${UID} -ne 0 ] ; then + emake check + + einfo "If you think other tests besides the regression tests are necessary, please" + einfo "submit a bug including a patch for this ebuild to enable them." + else + ewarn "Tests cannot be run as root. Skipping." + ewarn "HINT: FEATURES=\"userpriv\"" + fi +} |