diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-10-10 04:26:30 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-10-10 04:26:30 +0000 |
commit | 57ed08d49a4c1b7f8ff1853fdb340dadc745fd6a (patch) | |
tree | c955e64fc6ebf71d70d83fe2263ff6663dea526b /dev-db | |
parent | Version bump, add static-libs use flag. (diff) | |
download | historical-57ed08d49a4c1b7f8ff1853fdb340dadc745fd6a.tar.gz historical-57ed08d49a4c1b7f8ff1853fdb340dadc745fd6a.tar.bz2 historical-57ed08d49a4c1b7f8ff1853fdb340dadc745fd6a.zip |
Bump
Package-Manager: portage-2.2.14_rc1/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 | 24 | ||||
-rw-r--r-- | dev-db/postgresql-base/postgresql-base-9.4_beta3.ebuild | 168 | ||||
-rw-r--r-- | dev-db/postgresql-docs/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/postgresql-docs/Manifest | 24 | ||||
-rw-r--r-- | dev-db/postgresql-docs/postgresql-docs-9.4_beta3.ebuild | 59 | ||||
-rw-r--r-- | dev-db/postgresql-server/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/postgresql-server/Manifest | 24 | ||||
-rw-r--r-- | dev-db/postgresql-server/postgresql-server-9.4_beta3.ebuild | 357 |
9 files changed, 614 insertions, 66 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog index 27a0179e9cfe..bce63dade12b 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.295 2014/09/19 10:43:13 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.296 2014/10/10 04:24:46 patrick Exp $ + +*postgresql-base-9.4_beta3 (10 Oct 2014) + + 10 Oct 2014; Patrick Lauer <patrick@gentoo.org> + +postgresql-base-9.4_beta3.ebuild: + Bump 19 Sep 2014; Agostino Sarubbo <ago@gentoo.org> -postgresql-base-9.0.16.ebuild, -postgresql-base-9.0.17.ebuild, -postgresql-base-9.1.12.ebuild, diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest index f8638f48e060..0be170b0ab7d 100644 --- a/dev-db/postgresql-base/Manifest +++ b/dev-db/postgresql-base/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-8.4.22.tar.bz2 14651732 SHA256 5c1d56ce77448706d9dd03b2896af19d9ab1b9b8dcdb96c39707c74675ca3826 SHA512 520b5fca1ff03ec84359b3ce55ad5216139f35b5576585db311870ec66da2032462990ddc5c2e5eb8c68ba66aa4708f76ae2941b16b93f01c82f3136fbee4ccb WHIRLPOOL c9f644cbdc3a8b87c13df98ade04389df34d652cc8dc8f39a58bb321f1e49dcadf9a29782516dcd5afc1c63c417627ad30810ecf2b9c3458cbcac745331264c1 @@ -10,6 +7,7 @@ DIST postgresql-9.2.9.tar.bz2 16269349 SHA256 94ec6d330f125b6fc725741293073b07d7 DIST postgresql-9.3.5.tar.bz2 16727725 SHA256 14176ffb1f90a189e7626214365be08ea2bfc26f26994bafb4235be314b9b4b0 SHA512 a49bc8ea7635be5082044f5ebd6b81de7198583aedb072dffec8425521af90f2cb8e9f6e7b55b361ff24cbebc0670afefe365e8f5b80b8248ddf492b8092a746 WHIRLPOOL 15baa94b42f14bb815f84cc2009c018f68dcf26e0adf3e9550db2939e601df4ef817eccb029fea796446e6a16c22829c323a92f1f3f1c5276a387b81e3b29d24 DIST postgresql-9.4beta1.tar.bz2 17216572 SHA256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47 SHA512 aa46e9132d303f4be775fecc3b8a13caf7ffc7b44566b9de6a5f3850c9ce58cd6c6e111f4d50be7cbe23f83b75e623c3161cc1b15797542d9dfa9e40884ac681 WHIRLPOOL e6daae50b784301d5ab78f609e900ed94c190aaa7f0fc81dbf6fa612baccd24f64a5d36a6beb54df0aac7b2c79f4ff1e0bfccdfaac89e4ce1755bba4122b241b DIST postgresql-9.4beta2.tar.bz2 17271387 SHA256 567406cf58386917916d8ef7ac892bf79e98742cd16909bb00fc920dd31a388c SHA512 ab8bac10508c8e5508cf68102e53e3fe1e0fbfbdb024d042ae7fc8ab801e47bb623716ed662da4614d4e938e5913cfb5d665018297e27b4d33851bb0f61adde8 WHIRLPOOL 8ab9a8ca218394ed658c981c4321885355c6803da78e93ba1dd6410f7d4f570688fa88a91f8516c6849cc0dd9d73e32021688fe088263f315955499f35d08659 +DIST postgresql-9.4beta3.tar.bz2 17355677 SHA256 5ad1d86a5b9a70d5c153dd862b306a930c6cf67fb4a3f00813eef19fabe6aa5d SHA512 a9226edf2af0f0c147c2a3ec74d0007dd7161b491b767fe1511e1303916693610ddbde9fb7862e3b052c3605de91d732c53833642c88891b2eaa390436b61ba6 WHIRLPOOL dffc24a51e55cd6be3bc5fad3238abcb20690eb0cb8068995ded371a163161b37b1bb118854e190356d02325ed8f183ee7c58ddc59efb5cddf0351699b46fcf9 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 @@ -26,23 +24,7 @@ EBUILD postgresql-base-9.2.9.ebuild 4392 SHA256 51d27742edff8b2022afb8559c812122 EBUILD postgresql-base-9.3.5.ebuild 4424 SHA256 0fc7eea836fe5cc96ed35af1dbc8b1b59c55c51f5f7fa03dc6b870bcba048bd7 SHA512 0b64446c4515b76e9dd03a78559dff323281162e5ea900e2985649fe00acb6130fbf1a9a6ece1f06a108a6b8d281bbb7e272ca8d5854bd69100c92027acbee08 WHIRLPOOL b41e4e39b66fe6a81ff224836250da4e8109784e33d92339065c89d133d2d9b9c3ccbfd210c6d8b8f695582e65ca1e4fbff3f6716f506914ffaeadeab0e1fc5d EBUILD postgresql-base-9.4_beta1.ebuild 4428 SHA256 a37106da83ae3c98e769666b8dae3f0994b9e1f16c44a41a61f66616383533a7 SHA512 27a77832da22a1657372de04f4b7ec850196750f217b97a006aa9da56781559655e58bff82f45130b555bbf5be9e6ec20641cac39e8b6cf501b9b28e069c3e95 WHIRLPOOL 844a5168b916f8d315589487c8520222797cce9b691f4aff95a7bfe310f432706fd62ef0bf6060c51182c8338d272554efd67c37b983e80a98b7c3f67a7bb58b EBUILD postgresql-base-9.4_beta2.ebuild 4428 SHA256 811a6abc51e122476660ceba084e275f5ea25cf0d3da4fc4c0978297f79287ba SHA512 0ee4b78e810b8687f91a71ae95f6a9062aeed23c180c1ba5bd8ee8c2184037823df9d746ae422ca456a487247e963916760c0ecda3406b729707289b9826cf88 WHIRLPOOL e2f04f26fd52485a059d468219b571d0c271d8444b93ada65cddf294b3579264ebde802c4a502c6502c7d68de497358ae2c1a9f160c74a252cb4bd0ba5b19bd4 +EBUILD postgresql-base-9.4_beta3.ebuild 4428 SHA256 915bcbfd6b73d635a38b7a514301ede8136a951834c5cfa36991a4c27c1fb269 SHA512 0ebeafd0da571d93d752a1fcce9f1d038ca04a3d2b0d2e3998ef575a621172c80bc43e3344c4ec9033e351b46ce5af3df8434918adcda3896ef991486fd5dedf WHIRLPOOL 0d4eb63f16d92e5a7c701ad33b76d8f1122823b4eaad2921a44464bb9511c1f3d28d8899940649eb9d223291ae0a444e5d474d2c69db834f9330ef300652bcf0 EBUILD postgresql-base-9999.ebuild 4545 SHA256 5224730ac40d1bdfa0455c68fbc05b7a5caa0c15dd9ee538ad953020925a0cbb SHA512 94e09e0486cbb7190142fe7625da3832f6a1b35fef83fc5560bda7c4efc4150a494e997afdebb4b741154ce93172bc9b2211584398a01c93d89596fce3f60841 WHIRLPOOL ff3d46988cbd3a8785d089456caf8bc66cf3a9e449a2d2cfee4699cfa4905ac672dcd768635b6a4890d3d383b0999556ae12de9c1dfba7ed6e57579ad2c625c2 -MISC ChangeLog 75099 SHA256 0a5d641f9fbd0f0ddd9d845cee805a46ad7e1a89e4368f93c4bc34e54c65fcb3 SHA512 1c55ac0c68149b3393f8c6578f730c2a854ad1b5dbed1be32021b3c04b1a9d9683a7d8052476de3d8ef8f195326f98a01cfad0b97043072e3ef5ae6405b72652 WHIRLPOOL d9893c8c7f3d39e4ec815935e1c829cb49356c2b58b7ca0c728ccc3e4a33d01a28c3cdac22d189c6d1931aca8a04bb05548c987fab2f084cca71505220d90a24 +MISC ChangeLog 75240 SHA256 b16df8f205460a41d09f135f0ca0283aebbd2c698f24a61da2c0dca4d4462ca9 SHA512 60da1ff181b445da48b34bf289b3d7d81cb93fdffe2e6ba239a10c944a5eee269e298cc014979175a942008ea2940aa8d5c3ccc6251e936b78f4395417397e7f WHIRLPOOL fcaf0d999f79dfab399dcb0586283dab6215a003ee9722970594357c909b302d1bd936a070c70bfa4a03732ecc5ad2d6694f3138ab4d5930440f8e7f75c98f0c MISC metadata.xml 319 SHA256 8ce157b48f2da128f1b40b0d59c3c06e51ba71173689ff7a86c4429a7055c471 SHA512 248b60da17006a89acb1d8b6f62f59e4d414421422d2d4445bc7efc4f0abf13d048fe52c09af6b3e10a7afad341a5edb0e8d48b9ec2ead5f84b40f4016448cf9 WHIRLPOOL d1cf97f5d676ef43d677cebf8f9c97f6823c1c7b31e1a40a6f22729771a6bdcc851ac7c27ace768509307f4d0774384805cf4125541acd7a785d48117c0d5e07 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQIcBAEBCAAGBQJUHAjCAAoJELp701BxlEWf9OkP/iqytJx8q3d1dtCQczM/q6Hr -30ekPihMqYb41vzFOuCHnjbSXXQvXdxlPavo67y0nNKRlzrdRaYQGwtw+ntBptcS -bAO5RQ+UbhPbaljK/Dq2auTHA2owb3y2tCqQ+okXQmjwl66uLSHxauFmn8BEF53u -LTzM7OCTO4gldWf8bgWPlf38eX/+RaJHkwombQsoh33oaa6fzy2g4HfkxqJDQNGU -ihmiHnBXjZijD7/C4/iNV/PKzSynzUA6Yf1YXJll/H9/KXlzn/G7bEhC3WJC0djw -FhuePUYJeaQD7Yvr7P1x4R+f6wlmSvQNcOHyYzjkQPEMgYuwU5L3Ys9WLRA+HyF2 -jhpiI8v7NnV4NFoseTbfZlRHKBDECvb5Jk6kwBxIAR0rQMXzvjLmDNn7gJY6oM3W -/Gv5YU6HZylAM71hiaXymgMqIzJVHnJwXZ1LBRmbh4fkd0X6xOcpWxLvIVZdiv/q -jFhdA0n6WXtriZ1bsAyxUQ0CR7DGAD/j4GFK4n40NHegIFt32lcnZrpk9rsilV2v -q/FA9tj1QKOX2L/FzH8/2HsKBkBx30xkDw88O2qIZwhwXL6bm7Yb0hWzCuCAW8p9 -e/uUBKOmXe3Hl5wLTg0VWpdcm3DDQlq7ZNYdAWTIwJRw1y1tIWGWJI3CgGzXaqpl -fkvNWkqbl6QhHKMGHv2M -=eRAz ------END PGP SIGNATURE----- diff --git a/dev-db/postgresql-base/postgresql-base-9.4_beta3.ebuild b/dev-db/postgresql-base/postgresql-base-9.4_beta3.ebuild new file mode 100644 index 000000000000..7f3b44e68ca0 --- /dev/null +++ b/dev-db/postgresql-base/postgresql-base-9.4_beta3.ebuild @@ -0,0 +1,168 @@ +# 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_beta3.ebuild,v 1.1 2014/10/10 04:24:46 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 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 d2dbe377023c..6253431f11ac 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.248 2014/09/19 10:42:59 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.249 2014/10/10 04:25:29 patrick Exp $ + +*postgresql-docs-9.4_beta3 (10 Oct 2014) + + 10 Oct 2014; Patrick Lauer <patrick@gentoo.org> + +postgresql-docs-9.4_beta3.ebuild: + Bump 19 Sep 2014; Agostino Sarubbo <ago@gentoo.org> -postgresql-docs-9.0.16.ebuild, -postgresql-docs-9.0.17.ebuild, -postgresql-docs-9.1.12.ebuild, diff --git a/dev-db/postgresql-docs/Manifest b/dev-db/postgresql-docs/Manifest index 3da31555d7d8..06deb5e12670 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-8.4.22.tar.bz2 14651732 SHA256 5c1d56ce77448706d9dd03b2896af19d9ab1b9b8dcdb96c39707c74675ca3826 SHA512 520b5fca1ff03ec84359b3ce55ad5216139f35b5576585db311870ec66da2032462990ddc5c2e5eb8c68ba66aa4708f76ae2941b16b93f01c82f3136fbee4ccb WHIRLPOOL c9f644cbdc3a8b87c13df98ade04389df34d652cc8dc8f39a58bb321f1e49dcadf9a29782516dcd5afc1c63c417627ad30810ecf2b9c3458cbcac745331264c1 @@ -10,6 +7,7 @@ DIST postgresql-9.2.9.tar.bz2 16269349 SHA256 94ec6d330f125b6fc725741293073b07d7 DIST postgresql-9.3.5.tar.bz2 16727725 SHA256 14176ffb1f90a189e7626214365be08ea2bfc26f26994bafb4235be314b9b4b0 SHA512 a49bc8ea7635be5082044f5ebd6b81de7198583aedb072dffec8425521af90f2cb8e9f6e7b55b361ff24cbebc0670afefe365e8f5b80b8248ddf492b8092a746 WHIRLPOOL 15baa94b42f14bb815f84cc2009c018f68dcf26e0adf3e9550db2939e601df4ef817eccb029fea796446e6a16c22829c323a92f1f3f1c5276a387b81e3b29d24 DIST postgresql-9.4beta1.tar.bz2 17216572 SHA256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47 SHA512 aa46e9132d303f4be775fecc3b8a13caf7ffc7b44566b9de6a5f3850c9ce58cd6c6e111f4d50be7cbe23f83b75e623c3161cc1b15797542d9dfa9e40884ac681 WHIRLPOOL e6daae50b784301d5ab78f609e900ed94c190aaa7f0fc81dbf6fa612baccd24f64a5d36a6beb54df0aac7b2c79f4ff1e0bfccdfaac89e4ce1755bba4122b241b DIST postgresql-9.4beta2.tar.bz2 17271387 SHA256 567406cf58386917916d8ef7ac892bf79e98742cd16909bb00fc920dd31a388c SHA512 ab8bac10508c8e5508cf68102e53e3fe1e0fbfbdb024d042ae7fc8ab801e47bb623716ed662da4614d4e938e5913cfb5d665018297e27b4d33851bb0f61adde8 WHIRLPOOL 8ab9a8ca218394ed658c981c4321885355c6803da78e93ba1dd6410f7d4f570688fa88a91f8516c6849cc0dd9d73e32021688fe088263f315955499f35d08659 +DIST postgresql-9.4beta3.tar.bz2 17355677 SHA256 5ad1d86a5b9a70d5c153dd862b306a930c6cf67fb4a3f00813eef19fabe6aa5d SHA512 a9226edf2af0f0c147c2a3ec74d0007dd7161b491b767fe1511e1303916693610ddbde9fb7862e3b052c3605de91d732c53833642c88891b2eaa390436b61ba6 WHIRLPOOL dffc24a51e55cd6be3bc5fad3238abcb20690eb0cb8068995ded371a163161b37b1bb118854e190356d02325ed8f183ee7c58ddc59efb5cddf0351699b46fcf9 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-8.4.22.ebuild 1316 SHA256 06f78f29d78c2617fe7accc40f782a7df1bf8f762459123060fc2b1be88b776e SHA512 ec64d096c4914a95c7ae42b0d56e1f95eef16cf32d278174b35ccbaf0fc8b450d411a982007ff056e627543f99699c1eb7c00de7179e35a4f3692e9c3d0809d9 WHIRLPOOL 82d3f5ecf83cffcbe2fc78080f4e02c877e81c4d8299c7072a3c40fc1ba958b573bd95559fb8b94a3c970602a50ab8974480b1c7eff256518b29a07d76b2ead0 @@ -19,22 +17,6 @@ EBUILD postgresql-docs-9.2.9.ebuild 1618 SHA256 5d813de6d91aaf36a5fde6a707e328c6 EBUILD postgresql-docs-9.3.5.ebuild 1618 SHA256 e341d2fd4e1f11000713ed87f2775b8cb0c955ed6d2d8ea21ef666c899b9137e SHA512 6b95ab05f3d9d8339e172a875dbf94c4ae402f02884d032f28b721885de2f42c473c9e49002fef8d220c587fc8e167aa9cda056b3d8cc8fbe71383fc4c258a87 WHIRLPOOL 294e84abe2789d6a334311bef7a1b30b01240d44e66aa6161a71d214292b84b0828bfad96cde57ffa7c93b252763042a48be894101e3254776332c2c7cd01285 EBUILD postgresql-docs-9.4_beta1.ebuild 1618 SHA256 3e104ad10449fe9730445218cce3f8ebc688fcf2eb66344056b886547601810c SHA512 543f83dd6286730c2e44925859281da3f5fd180f35e5725dd2e9327e87381eae40c5d23d9ac4e2e74fd7238995a6a2cfd452c6ec1d588d1a2f75ec4a93ceac3b WHIRLPOOL a9abe7da70adbd50e7f3d02bdf4430688a91e7985ea6b9a336e2a1086ca30539b42d46c58e8f0dbe008eaac9690dad93a3face23ffb68d704f46e64736e14dda EBUILD postgresql-docs-9.4_beta2.ebuild 1618 SHA256 28fede658af3dfd8080777862a4397bfc889a627b9f41de210a98b9457ac8f09 SHA512 ba91bfcb1617564260b65f7adbaa86070e57693e78e9b00a4ead5b6d500bcc0eadbb924b746a6b4d93d5c5caaf2ce10ea1c0775a8f7a8bfaae6dfc48505adf58 WHIRLPOOL bde325179ef83cb8d906b65776e095b2f4eacddefc5b34fc86635651507b540021305d1cf0bcd9b36e947ef881b0bb8ecac28b1a1d17ee5827ee5d5fb12d15b8 -MISC ChangeLog 55605 SHA256 ef84e629f44e78469cbc04c2be0feaa651e68a09ef9763307d4b9bc287c83f1b SHA512 5f55aaa3c7352195227afae886130ae0d157a2075501c1f6d3303980e3e3a3e4da2b103cbef868ce14fa0921fe6cb85344819eac704c0d448828bd5741f76b59 WHIRLPOOL aa0bc293a58674cd7f6ee2eea3788d23fd9781dcbeeecbfb00791cfec8996facc3338c4f79fd61df10bac072168c22a62e000b0b9f1784b77e77623825225fa3 +EBUILD postgresql-docs-9.4_beta3.ebuild 1618 SHA256 25a1c728eec115cb6e29f80d93a6c18af0b7596936d22ee9ecfb8efa57ed17cd SHA512 ddb73dea3291ae3ebfd2be9aad6727df2f60831ba4effeecef7031ee3635e41e1b0da985c9fc7b7e1ec920380afdab21e62770e79e823d395f3d8c0b79925801 WHIRLPOOL 90757ad2e406de50a78571b60afe65f5b55724920bd653f3127939860573b0e4b01827724ffda954ebf696d0d8c39ee04f5635f2664f07842c9c157e4dda926d +MISC ChangeLog 55746 SHA256 84270b685dd86e1b7a82af637e5ad06a736e04c5446a78daf402276d3540225c SHA512 755b3da1e3cd1f9af973d8eb5bfdfc01d6f383ed9e69bd390b23795ff7f8cc9ad9f3c448ee51b993ef9cce53894a285381a8dde0d38f99d5ee898c24d36a6611 WHIRLPOOL b20d83b60a821349f6c615e9f1ad133e8650c9a3e30f6db3c490871517a5a198a98d034ff4d8da9cac0d960dc12b35f5da31182562df5e9301827aba094a687f MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQIcBAEBCAAGBQJUHAi0AAoJELp701BxlEWfA1UP+wfwudFnMoiTs09egXMoK6T6 -jLi69fcDpXARFBvl82as7z66OY5aGmZLqRaNyBZ9q6VNyXV6mSFKfuTpAhD2lRl+ -SxB+s1Hsj1gMDJ6xB6YqVaHHsjNHE5bYr1K63uPlHXoL4lqbxeGJ9eHvXXetIVlG -5xMYamId/1TpEiIbuT5n09VAZw1xqa5MKGPordySQUE5MscSlX9xXRmrZBST9s0l -CqWUwAKEmwO3cLiRLQ7eTQ6YadrjzBo7SnsqKQFi8Xp29inJT3MjjhkmG182s754 -ic0iqaZDNPovGlUMKVWMBZkLlaQTYvq7T4d+UPnzVO2lIarvVpB+QZK15TlpqWjC -pn/SREGhyi03xyNDuzsEHBk+ajYfsOKSNntcY7uICyXk3jDHzr3iasSItGI+v6lg -1uVaPS1uF2fRee7OhtyL0G3BzYJz5EIFmnN9DTxUd2Hsg3RfnFVGMt5GqbdqndcJ -JWHk61YnDDs7P6YvGBTaTpWdMtRL/KUbei8/l0SlBaP07zt/lZHfbCKBeQqtmeeW -mkcWioje3DsXTB6tUqPCN8VgZxWWEJL6zuaLLi1rCXpRbiXErPWWI7POPohOjFhH -i+3XYtKCgpNYdfnh5Zmy09SVAp1xnay9SKWnOv+l4WVn9O4n8/6LwIGXel5U2IuM -EMPN9SWAmqJRaZdmL6Jw -=ZqRY ------END PGP SIGNATURE----- diff --git a/dev-db/postgresql-docs/postgresql-docs-9.4_beta3.ebuild b/dev-db/postgresql-docs/postgresql-docs-9.4_beta3.ebuild new file mode 100644 index 000000000000..5e21e2f567e5 --- /dev/null +++ b/dev-db/postgresql-docs/postgresql-docs-9.4_beta3.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_beta3.ebuild,v 1.1 2014/10/10 04:25:29 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 7c2287d4b916..132482a43d73 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.308 2014/09/19 10:43:28 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.309 2014/10/10 04:26:17 patrick Exp $ + +*postgresql-server-9.4_beta3 (10 Oct 2014) + + 10 Oct 2014; Patrick Lauer <patrick@gentoo.org> + +postgresql-server-9.4_beta3.ebuild: + Bump 19 Sep 2014; Agostino Sarubbo <ago@gentoo.org> -postgresql-server-9.0.16.ebuild, -postgresql-server-9.0.17.ebuild, diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest index a116f946ce27..70d53c018a39 100644 --- a/dev-db/postgresql-server/Manifest +++ b/dev-db/postgresql-server/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-8.4.22.tar.bz2 14651732 SHA256 5c1d56ce77448706d9dd03b2896af19d9ab1b9b8dcdb96c39707c74675ca3826 SHA512 520b5fca1ff03ec84359b3ce55ad5216139f35b5576585db311870ec66da2032462990ddc5c2e5eb8c68ba66aa4708f76ae2941b16b93f01c82f3136fbee4ccb WHIRLPOOL c9f644cbdc3a8b87c13df98ade04389df34d652cc8dc8f39a58bb321f1e49dcadf9a29782516dcd5afc1c63c417627ad30810ecf2b9c3458cbcac745331264c1 @@ -10,6 +7,7 @@ DIST postgresql-9.2.9.tar.bz2 16269349 SHA256 94ec6d330f125b6fc725741293073b07d7 DIST postgresql-9.3.5.tar.bz2 16727725 SHA256 14176ffb1f90a189e7626214365be08ea2bfc26f26994bafb4235be314b9b4b0 SHA512 a49bc8ea7635be5082044f5ebd6b81de7198583aedb072dffec8425521af90f2cb8e9f6e7b55b361ff24cbebc0670afefe365e8f5b80b8248ddf492b8092a746 WHIRLPOOL 15baa94b42f14bb815f84cc2009c018f68dcf26e0adf3e9550db2939e601df4ef817eccb029fea796446e6a16c22829c323a92f1f3f1c5276a387b81e3b29d24 DIST postgresql-9.4beta1.tar.bz2 17216572 SHA256 0e088eff79bb5171b2233222a25d7a2906eaf62aa86266daf6ec5217b1797f47 SHA512 aa46e9132d303f4be775fecc3b8a13caf7ffc7b44566b9de6a5f3850c9ce58cd6c6e111f4d50be7cbe23f83b75e623c3161cc1b15797542d9dfa9e40884ac681 WHIRLPOOL e6daae50b784301d5ab78f609e900ed94c190aaa7f0fc81dbf6fa612baccd24f64a5d36a6beb54df0aac7b2c79f4ff1e0bfccdfaac89e4ce1755bba4122b241b DIST postgresql-9.4beta2.tar.bz2 17271387 SHA256 567406cf58386917916d8ef7ac892bf79e98742cd16909bb00fc920dd31a388c SHA512 ab8bac10508c8e5508cf68102e53e3fe1e0fbfbdb024d042ae7fc8ab801e47bb623716ed662da4614d4e938e5913cfb5d665018297e27b4d33851bb0f61adde8 WHIRLPOOL 8ab9a8ca218394ed658c981c4321885355c6803da78e93ba1dd6410f7d4f570688fa88a91f8516c6849cc0dd9d73e32021688fe088263f315955499f35d08659 +DIST postgresql-9.4beta3.tar.bz2 17355677 SHA256 5ad1d86a5b9a70d5c153dd862b306a930c6cf67fb4a3f00813eef19fabe6aa5d SHA512 a9226edf2af0f0c147c2a3ec74d0007dd7161b491b767fe1511e1303916693610ddbde9fb7862e3b052c3605de91d732c53833642c88891b2eaa390436b61ba6 WHIRLPOOL dffc24a51e55cd6be3bc5fad3238abcb20690eb0cb8068995ded371a163161b37b1bb118854e190356d02325ed8f183ee7c58ddc59efb5cddf0351699b46fcf9 DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f DIST postgresql-initscript-2.6.tbz2 3499 SHA256 0ab0e175a2ed735c330fd2e1c659c1130ae7217fea8d3804d5b5eb74c68ddac1 SHA512 b5c8add696b755e422db4b419c3aa8078b8f3b63e15ad2d100c8f81e654c02eee6c1971a7129d72de201afacdc72dcc50674b79e054be81d575ae1339b2e239b WHIRLPOOL 7bfc03a83f24f2a1a88bab86c71bdecaa14f4a4bb3eb12c46d6a164f9c1aad891e94445a59c55e1168a5dd5c85c78aa5198425c1914d26de86d0f22de5d031af DIST postgresql-initscript-2.7.tbz2 3836 SHA256 fecc05fb75f782da1d8215af49134bfe593b94547458ff90692c14058384bfa2 SHA512 8ad9eba3e83d8b296ed1a035716c11c3a7b6a316470327919f168ef8fe861261b5eeb5275e8b643c94b17a94b38e2011c85dde5459b2f9c6f462a2f967f8f315 WHIRLPOOL 4de1ed1b0d8c1a3d56cf3b62456756764a9670e9655ee9f904dc2fba764f32313a74be9676544cca1fc684370b633950ccc4443ed2e59bb053e2a315b5c76b4e @@ -31,23 +29,7 @@ EBUILD postgresql-server-9.2.9.ebuild 11192 SHA256 28e32a89e3a044cc4aaa97ecd98b4 EBUILD postgresql-server-9.3.5.ebuild 11315 SHA256 1ce736875aca1799aef0eca590553f4577733342706f3c9bed2d84adc6ca2b7c SHA512 8d59237bdc27e7b29fd664afb19d9529ad060d5b3d6e3f2d29f0b74d49461fc5a4dcc0cd4f15883ea4b075ca2efc3b9de001661a4cbe6dab9ee1f0bd917b3b9b WHIRLPOOL 22f1b33a6f853ae5de41a6b32b4711233b163f37d7dfb165505fd9d1583d83f9bb30d72dc984797426a945adc5c0c5fb6cb1d6fadd9501c43e1914026138aaea EBUILD postgresql-server-9.4_beta1.ebuild 11313 SHA256 bdaf181f281f2016a595d7df6508b89e4cda39bc51a7bde90c11bde20b72abf6 SHA512 7178fbd608675c2b6045208cd2dafdfd8148ce8821b4ca5728f41cf31d750fa539a8a50a2fd8c4f93704af3b6abe03150bc257d0a7e986287792d9de626ff281 WHIRLPOOL af815d6685e35c7192fa8fdf23d7e07751155a5636b2cf06cd0abb35eec771dfe95137d1e5fdfaab39b3c75c1914da91f1752d7d3050e5b16c9ac14f4f396ba6 EBUILD postgresql-server-9.4_beta2.ebuild 11333 SHA256 7e2edc0ea34fa0d6a3d5ea21c93e707a73b3986a214de3c9f7a8e2704ff368e5 SHA512 acd4025d7ea9b5831c1504e3c18b765b50c85a729bc0ce0ec94024d0a231f2e5777ad7907a8d01c908ebad0a051f448bf1bd366f87e4275cd7a3a6ea5593e08f WHIRLPOOL 791f17c1c434277b0e4063f9399eeb0c1f1f9d31a31ab11363846bfa026323de143e8e63e3c5e40bc68836d55486dfba0d9e39c190cffdc8537f08fe596604e1 +EBUILD postgresql-server-9.4_beta3.ebuild 11333 SHA256 f233a016faeb6eb144eb1af596bc73c242f5a9fc8d6a20ca64d073a7b5e3fe49 SHA512 ce7a3eed53e44d09f409a7648bd4559100b9594e320eb4b624b31b3eae3cba91780ad231d60cc8a13275db84ec35a0d02ef91c445203b9e99e4249f15da674d3 WHIRLPOOL 98ff1cbb7520b7af53536f679351398b3f421d0c2e07417b8b4e9185005e370ea0f04d9fa6a3b11e69e4a94fe10f5a301c6b86079ab4476f68aaa47788359249 EBUILD postgresql-server-9999.ebuild 11311 SHA256 20d087a1e37cbfed6024791ad8842a7c1058b56c6310db7b6a8a7fa2ec2d5b51 SHA512 9e4004f5c2d2821ecf3601b6caba79bf04db5ecceb92a629b6a06235edd0997dfee1c538a5b899cba33487802fe6b100e465eed730c2aa10358561edf4a6d5c8 WHIRLPOOL c1fa5f257aaf2a3e3eaad13eae8a7e8907aea2bb4c67b85b482aa825babf741e0adaa7470b022a414c346b74f4449b0b3b73159175d90ec915f001de07cc2d96 -MISC ChangeLog 88643 SHA256 c0752089a5a00d07839fa982acc6bc59508dd82f9d420b471ac1091867b4ca58 SHA512 d2f9e3ad621d0b00451bcce65bec314823f49d3323172ae063f9bf4589d84fe073a93d41baddef6fe1b1c1aa021153c8a46025e056c5bd1ec1d63c40a2bdbb65 WHIRLPOOL 6bbe1717790a2b4fd40bae54a5d33d2bbe3fbd00e546c5401f3291c5e30a9e8a323fcd0200d596738ebd84edeea843176947beda9305c49df9b4b3d688367373 +MISC ChangeLog 88788 SHA256 80f24941899d4737f3baa6d3c462b8dcaa64787f5eb5c78d3460f234fadd7ba2 SHA512 e2c7b6e56d0477b3ca7ee9235381ff4c0eac76dcc13bfe5af29ab94375e3e2c6c935f795ba13a4493ea0fa3621fdc608c0cf09a7d7ffdab19a2cba99555c0563 WHIRLPOOL fce59cdc746cffa2511c17064072cc0acbe379380c62966e4695a6fcefb202aa659614849ba2cc2542a7e058c74e790127b895f5ba211ceaaa1040a130e6cd36 MISC metadata.xml 420 SHA256 ac37a5084450a782d02510149d030bd0d4a63164f2ffb7bdda3ddf344606ca62 SHA512 1731bced1ac398d90c6aca6ec209a9ea42deb0f7033d49952a6216349aeb992479c3e868b33cc1be2434cdead6185026503a58e779965455d0198edd87bf5b4c WHIRLPOOL 3bbd5598492cb7d90f4199fac80f27bcba281e1188f7f1d40ee3dd1561e530de13de109142f0add7221b49ec3a9c6a0bdb3add1446b1cc5a6cb3909fd193d19b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQIcBAEBCAAGBQJUHAjRAAoJELp701BxlEWf9y8P/R3eYTDaGX4INMXRGRUwGfjC -6SOEkipklZsZjxuHdtmLgvMzVx3MrDJHLZf++2uBxnVfppPqSVpM3jDfUAr6KsxR -pYYhHktyfDvd75FZZ4013aVyp4s+op9r7sPSBwkaP9ANCMn6zX/kvE0fnToUyVIh -Fz5LN4wX/FSCENnLg2YUW5Ua5K5PW8BAH+P2ZzSLwUEpx9ech/lIbtdBBJ0eizWi -32ENIKjo5qhFacOCwwZ8VDJ5L2J1EKkEMOKyrIuUS2BuJG651CcrfqClnHZBqr8K -/9Qsq5r3dpFT8gJW3UjDmpNC0K8mSgVVc0vRzaDkXJbMbjg+bEchyd62cwv6ZI53 -RHGkzoLgRNsbfQZ8eufWMrBF+igJQKWKOB01hS1GnglUGvlWiqj83Mfj1+8adS/c -4YiU4i46hoVzzcKvcAeTn2uP4LipDJ2bmW5F4j849kkdm4IEVkiJjKHnr91E8d5R -5h8EIQqFkdINAWKYH9tc+fJgS5tiLQuJ4WQfmpsRNvPEGFQyEVpiRB77NQ8sSJaT -bcd+cnt0Ks5EkAYXM1ylcTpSwviWWegGJgnGOuOvdRhxMDssWsMx/15OdmMVOK5O -9jBhd3lv6a47SGtLTQxXz5vRwjnwRosKiJ8QN4FtfDNwWaGG7C5TI8OEdMskIn3L -NXvjDD2/sarWhrJCsfId -=krRY ------END PGP SIGNATURE----- diff --git a/dev-db/postgresql-server/postgresql-server-9.4_beta3.ebuild b/dev-db/postgresql-server/postgresql-server-9.4_beta3.ebuild new file mode 100644 index 000000000000..39a28406ca45 --- /dev/null +++ b/dev-db/postgresql-server/postgresql-server-9.4_beta3.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_beta3.ebuild,v 1.1 2014/10/10 04:26:17 patrick Exp $ + +EAPI="5" + +RESTRICT="test" + +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}-r1.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 +} |