# 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.298 2014/11/21 05:46:43 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.299 2014/12/19 00:26:28 patrick Exp $
+
+*postgresql-base-9.4.0 (19 Dec 2014)
+
+ 19 Dec 2014; Patrick Lauer <patrick@gentoo.org> +postgresql-base-9.4.0.ebuild,
+ -postgresql-base-9.4_beta1.ebuild, -postgresql-base-9.4_beta2.ebuild,
+ -postgresql-base-9.4_beta3.ebuild, -postgresql-base-9.4_rc1.ebuild:
+ Bump
*postgresql-base-9.4_rc1 (21 Nov 2014)
DIST postgresql-9.1.14.tar.bz2 15666442 SHA256 d0647ce563d18ae02bf68c5dd646a4c75e8b45b3a4fada64d481371fdc16f522 SHA512 b32fa24bc34b7f16ab5bb0e9065ffaeafe299009d5889201a12a46998a29e1fd4ffb81bc225eb4cfc740c3b51aea3a2c9ebac2c1252f71219b0a203550cc32a0 WHIRLPOOL 20738768c86b0ba6470b5717e66aa4e1a970b58015ae8e3bd7ef0811dc9989a5e47ef3eac5f917d9a6c2a0dd945bb832d7685b71cc63bf56b28db6703e641f2f
DIST postgresql-9.2.9.tar.bz2 16269349 SHA256 94ec6d330f125b6fc725741293073b07d7d20cc3e7b8ed127bc3d14ad2370197 SHA512 a319af5781f528b5fcd384d133d0dc0d0f4302784c650b7d934670717a07e6af8cef51abaa9a34bdfc82f925ba9e8a81770242fa69a2e2105684be2a62be2db3 WHIRLPOOL 736afcc694cf60cf574d0ff4633637e50f6e3a951d9e5ed09b3afdf2e685291b5d073db801a1260543149576509e82a7cbe94842b6dc71a5d840a58cab390799
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-9.4rc1.tar.bz2 17420690 SHA256 6ce91d78fd6c306536f5734dbaca10889814b9d0fe0b38a41b3e635d95241c7c SHA512 46b9bb4334dd6a117df6f27057bffd3680e26434e6a93a49df3263180e7b1b00703b6db6fb94fa674fe624b06313e0366642628dd9859908ff7af3aeec53497c WHIRLPOOL ed771472bf47831b25820d8b9a57eb3aa8f9383e80fa222375a6536d74c8fb7ef0855d58867ffc003ac30463f3bb98ef081fe3a92eb1ab5f1f2c5e412ceacc9d
+DIST postgresql-9.4.0.tar.bz2 17344910 SHA256 7a35c3cb77532f7b15702e474d7ef02f0f419527ee80a4ca6036fffb551625a5 SHA512 733e0dd127783319506f8bd82e0b48adfc003e57e2b14131a60544fbd6fba0dca8672a3dd6364009b87a9fe082bcd1c4a3be5f309cc7a82c0744aebe7e4abcb0 WHIRLPOOL 968bc9bafef002d23ac7df1c9f49ab299c005b044e3ed9895aefe1a4e6dbe1a4c22eae7470b9e4cc4e355d6b57719a3e4d61fc9451c91fa4f7c997c695c77490
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
EBUILD postgresql-base-9.1.14.ebuild 4548 SHA256 f054bde635893769206958e4ce633a25b5de4bbfe913757169935f65dc6539db SHA512 fa6422501cc24725624c24a69e0c00829d308f9855149da41520a78471cd5ebd500918c883a55aea96ddda7d7e47b513b79581e93985c3e4747bf6c151dc5576 WHIRLPOOL e9bb0265d5946a22c4a243e850f6a22fcde6e6f4e7291427eb334e401189a64bb838617dfb01beedd0e355f502887a51dc8edc9273669941d8e6ba4d62f7b854
EBUILD postgresql-base-9.2.9.ebuild 4392 SHA256 51d27742edff8b2022afb8559c81212292592bbbcc582965f060e82495418bd7 SHA512 cf7e7a67b21e4357451fae433654f9dfca1e6103f25edd5a2a3be65da442db3304da974cacf9bfb9649bc1aa8019bc59f2b824e5e31533060f6621a9cd9a0716 WHIRLPOOL 1d4e7c9ceae9e35a991ff4dea135f46429c505dbded0322909eec9b5ea96a1c3f2d318c022d378c564619df6454b84ad8d6d43c5b91e95082d0f2da7b3ec30b7
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-9.4_rc1.ebuild 4426 SHA256 3fc78dfae64697ed5bef7366a88cc7dc894a7c9963ca1d6a323bd8216260032b SHA512 66feb3a6adc954b7c74fafd039e1243e488607b102bc58e98f7b036e3a38fb14b01033d2c00d5d1d4aef8e4a7e2cfcea9cfc8687f9092f65a7209fcea9bb782a WHIRLPOOL da69872b6c0e01c950201e3520fff2281b6baef7c2408062cadc5d5884f32d0fa17088a3e82100d9d0cac6ae10b51766f4f0e6b48e7214b9c71699e96c02298a
+EBUILD postgresql-base-9.4.0.ebuild 4424 SHA256 4ad0c08428b42c092b10b0fe54819e0435b738b54470ec74be61b6f03bb0894c SHA512 6cf7ca79657b259a6fe4bb502a5fc1210e378f2935670ad221fe97d9934eca8f6aa3326f6c97c0578544af749481439e35a5ad2a8fcbe3181b32460f7e89edcc WHIRLPOOL 7417061084e586c90ad4a9b0997eb977428fd4345488e791944ba0f88ff49bad60aae2e529929dc31363508fd8e323fbd406ea7b10a9d13c03721ad1c49f7625
EBUILD postgresql-base-9999.ebuild 4545 SHA256 5224730ac40d1bdfa0455c68fbc05b7a5caa0c15dd9ee538ad953020925a0cbb SHA512 94e09e0486cbb7190142fe7625da3832f6a1b35fef83fc5560bda7c4efc4150a494e997afdebb4b741154ce93172bc9b2211584398a01c93d89596fce3f60841 WHIRLPOOL ff3d46988cbd3a8785d089456caf8bc66cf3a9e449a2d2cfee4699cfa4905ac672dcd768635b6a4890d3d383b0999556ae12de9c1dfba7ed6e57579ad2c625c2
-MISC ChangeLog 75553 SHA256 a7342daabb714a576f8e81331e7fbb8b5645d7660865f98b839f0ea209c6442d SHA512 1cfe58d434b585d61219456019012530108ea0c82fbb3b6ab38345861843170a7f884e37c671db0c91e2cd23988bd8b18bd98a8f4b6234dd728462122e1718a8 WHIRLPOOL 8e39c2c6e0dd31f285275463d55b749d0369954fabc4ea176e2af565e1fba1e3bd72bad478e14ec354f95908d16c8f0915cd333a4624213a235e9a937f2617a2
+MISC ChangeLog 75822 SHA256 d2038df594176a3ec0bb42e99228755643cd68f3032670ec78f72710ccc4f607 SHA512 12792f0b2ea032ab4451a2de141dd1701ed7e22da36b39e6f65e76562bfa723395ef94d264b6e82005451dd329f9258b57117fa6f13789f1ab03e3c02213dc07 WHIRLPOOL e398b7c2420d52ca0e959d5d018e5ba4fc319ef8aee711be828eaa4ee0ea9bfeafb86f11d54373b092675754a1dd1683a2c3da594e0c8200624c1cdc06e5d4f5
MISC metadata.xml 319 SHA256 8ce157b48f2da128f1b40b0d59c3c06e51ba71173689ff7a86c4429a7055c471 SHA512 248b60da17006a89acb1d8b6f62f59e4d414421422d2d4445bc7efc4f0abf13d048fe52c09af6b3e10a7afad341a5edb0e8d48b9ec2ead5f84b40f4016448cf9 WHIRLPOOL d1cf97f5d676ef43d677cebf8f9c97f6823c1c7b31e1a40a6f22729771a6bdcc851ac7c27ace768509307f4d0774384805cf4125541acd7a785d48117c0d5e07
# 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_rc1.ebuild,v 1.1 2014/11/21 05:46:43 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.4.0.ebuild,v 1.1 2014/12/19 00:26:28 patrick Exp $
EAPI="5"
+++ /dev/null
-# 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.2 2014/06/27 04:21:03 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
-}
+++ /dev/null
-# 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_beta2.ebuild,v 1.1 2014/07/25 08:22:05 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
-}
+++ /dev/null
-# 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
-}
# 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.251 2014/11/21 05:47:30 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.252 2014/12/19 00:24:46 patrick Exp $
+
+*postgresql-docs-9.4.0 (19 Dec 2014)
+
+ 19 Dec 2014; Patrick Lauer <patrick@gentoo.org> +postgresql-docs-9.4.0.ebuild,
+ -postgresql-docs-9.4_beta1.ebuild, -postgresql-docs-9.4_beta2.ebuild,
+ -postgresql-docs-9.4_beta3.ebuild, -postgresql-docs-9.4_rc1.ebuild:
+ Bump
*postgresql-docs-9.4_rc1 (21 Nov 2014)
DIST postgresql-9.1.14.tar.bz2 15666442 SHA256 d0647ce563d18ae02bf68c5dd646a4c75e8b45b3a4fada64d481371fdc16f522 SHA512 b32fa24bc34b7f16ab5bb0e9065ffaeafe299009d5889201a12a46998a29e1fd4ffb81bc225eb4cfc740c3b51aea3a2c9ebac2c1252f71219b0a203550cc32a0 WHIRLPOOL 20738768c86b0ba6470b5717e66aa4e1a970b58015ae8e3bd7ef0811dc9989a5e47ef3eac5f917d9a6c2a0dd945bb832d7685b71cc63bf56b28db6703e641f2f
DIST postgresql-9.2.9.tar.bz2 16269349 SHA256 94ec6d330f125b6fc725741293073b07d7d20cc3e7b8ed127bc3d14ad2370197 SHA512 a319af5781f528b5fcd384d133d0dc0d0f4302784c650b7d934670717a07e6af8cef51abaa9a34bdfc82f925ba9e8a81770242fa69a2e2105684be2a62be2db3 WHIRLPOOL 736afcc694cf60cf574d0ff4633637e50f6e3a951d9e5ed09b3afdf2e685291b5d073db801a1260543149576509e82a7cbe94842b6dc71a5d840a58cab390799
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-9.4rc1.tar.bz2 17420690 SHA256 6ce91d78fd6c306536f5734dbaca10889814b9d0fe0b38a41b3e635d95241c7c SHA512 46b9bb4334dd6a117df6f27057bffd3680e26434e6a93a49df3263180e7b1b00703b6db6fb94fa674fe624b06313e0366642628dd9859908ff7af3aeec53497c WHIRLPOOL ed771472bf47831b25820d8b9a57eb3aa8f9383e80fa222375a6536d74c8fb7ef0855d58867ffc003ac30463f3bb98ef081fe3a92eb1ab5f1f2c5e412ceacc9d
+DIST postgresql-9.4.0.tar.bz2 17344910 SHA256 7a35c3cb77532f7b15702e474d7ef02f0f419527ee80a4ca6036fffb551625a5 SHA512 733e0dd127783319506f8bd82e0b48adfc003e57e2b14131a60544fbd6fba0dca8672a3dd6364009b87a9fe082bcd1c4a3be5f309cc7a82c0744aebe7e4abcb0 WHIRLPOOL 968bc9bafef002d23ac7df1c9f49ab299c005b044e3ed9895aefe1a4e6dbe1a4c22eae7470b9e4cc4e355d6b57719a3e4d61fc9451c91fa4f7c997c695c77490
EBUILD postgresql-docs-9.0.18.ebuild 1293 SHA256 e3a97878a8e6c41c3233d4151f284bd3cecaa9a85efffda23f56a92f2c986d7f SHA512 4b70379699f2f40b898cf94c1aca1788b273716e34dc29972dd76e1e1117e69e933adc4fb70ad1eb4737df3979f0a1913faabe3a0b6477f4de35f7482b8f458f WHIRLPOOL 5bbf1fceea52e46a9616b7cdbaac29fe179d96d1cee31af9aa70bb33ef85af78469e234de99a220de8cd641e63babe5e825b3baa1ca1a842f7166084b9a33ae5
EBUILD postgresql-docs-9.1.14.ebuild 1307 SHA256 6558726c3ee195197ac0fb05878b788ba885b7ea66e76df29095059544d464e0 SHA512 0ae9706abb19a13a15dd8fee8a78c5d2caf4ca86c3a708b82231c54acd7d52f12de782291a2ae275ba86ab1706c75df082cd4f0b91b1d67a1b77b1f82452813e WHIRLPOOL a588d96362c14862e46c94f7e6b77f6a559f693a22b2f675406daa649de4144ff66e8fa4fe76a933c578800c670f6958bcb014528cc2a935b305eb9cdaff2503
EBUILD postgresql-docs-9.2.9.ebuild 1618 SHA256 5d813de6d91aaf36a5fde6a707e328c6e57405dc7b5fc6f7e20fab469b73f60c SHA512 c37ab81bf7ca8b26b5471a10fa2a0ffe78214ef21aa2a41ad625d977172da3dff5272bc0809ee66de301f914abc55746c926fa8f4538a13810e93a6689daec8b WHIRLPOOL 14b2188da44e390250a05ed2ded7c2de9040e2f5accdd9165405d34818c96d4d9a7aafce5609518518674c8b0fcb33495935471d87879a85cb8273f0b1c87d1a
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
-EBUILD postgresql-docs-9.4_beta3.ebuild 1618 SHA256 25a1c728eec115cb6e29f80d93a6c18af0b7596936d22ee9ecfb8efa57ed17cd SHA512 ddb73dea3291ae3ebfd2be9aad6727df2f60831ba4effeecef7031ee3635e41e1b0da985c9fc7b7e1ec920380afdab21e62770e79e823d395f3d8c0b79925801 WHIRLPOOL 90757ad2e406de50a78571b60afe65f5b55724920bd653f3127939860573b0e4b01827724ffda954ebf696d0d8c39ee04f5635f2664f07842c9c157e4dda926d
-EBUILD postgresql-docs-9.4_rc1.ebuild 1616 SHA256 5eca349ffe20a0229582ea38115ea3ba0f7d58a44a0ea58109f7a61e6ef39bff SHA512 24aa0b090708a16d5683b801df7abcfae18ecde862c6f074ac4b889e37631b661d02897373b78fc63f128e0232975e4b61aeeaf9f4111c848c0318f6a837fce1 WHIRLPOOL 0bb217b6590ff4c48dfbaca6e30c153d66fdb99479113cc50c0535b432c3a94f24a4de7390693000faf04904b12723e20093fa3966865deb433fb3b2507d386e
-MISC ChangeLog 56059 SHA256 b64772f6b8ce3cf6ebc192dc28f0bfb7823593c9fb9b409a2a9b5fbea05c25d0 SHA512 6550f7b69731c2314660a8c74b0aa2036605526eabcc41970a1bd577f0802117cfdf7ab3977a55161cde5a95c1735c51c23998721a99312aafc5d001aa0e6ced WHIRLPOOL b5a8a72050ac71bd89334e6123a840d5f2cab1b3c7e8c93873bb9fbaff590b421b736da7db17d93271c2f2bef05396978492ea46e322412a11d12530a6d9d4c3
+EBUILD postgresql-docs-9.4.0.ebuild 1630 SHA256 8b8b283b393bc0d9a814fe5df40c7ec24e9aeb3ad4f800551a3f10274c7bc2ac SHA512 1164caae82b6fb2c33d439f2233d85ffc070de692acc6fd6a1096b43096a5e8e2977290b18bec7f91c5dbfe78414a7df2ee179b4ce18810d2a4ad5862399fb42 WHIRLPOOL cf23749d357c79025700de225d8c5e6e41e27ba3f1add538c1fd9d2b36a8c34a1253ba487e3b3474dec920cb344e0ae5e4a41abe983fa81a510bd03294996035
+MISC ChangeLog 56328 SHA256 bc831a2e35ac500b3c3d358c93c73faeb213a241f0163080842fa2ea5550a729 SHA512 91e33aa984726c77f6310e94997f21c4eae254c6f50bac270bd08aa0679801d0aafad9b21d151c8921ddf25fb44c8ca4f27bf70b3698a1af1151afef27a09b82 WHIRLPOOL c2a47f6dac7c338db419609970abe2feb6dad98c94b029a843f680795e5b25db7a9ac3733ee836ea551681da1d356bbf65b32d7799652dc79c16fd8f1554d0e6
MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.4.0.ebuild,v 1.1 2014/12/19 00:24:46 patrick Exp $
EAPI="4"
SLOT="$(get_version_component_range 1-2)"
# Comment the following four lines when not a beta or rc.
-MY_PV="${PV//_}"
+#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"
+#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
+#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2"
# Comment the following two lines when a beta or rc.
-#S="${WORKDIR}/postgresql-${PV}"
-#SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
+S="${WORKDIR}/postgresql-${PV}"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
IUSE=""
+++ /dev/null
-# 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_beta2.ebuild,v 1.1 2014/07/25 08:26:54 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"
-}
+++ /dev/null
-# 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"
-}
+++ /dev/null
-# 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_rc1.ebuild,v 1.1 2014/11/21 05:47:30 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"
-}
# ChangeLog for dev-db/postgresql
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.400 2014/12/07 12:25:41 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.401 2014/12/19 00:29:38 patrick Exp $
+
+*postgresql-9.4.0 (19 Dec 2014)
+
+ 19 Dec 2014; Patrick Lauer <patrick@gentoo.org> +postgresql-9.4.0.ebuild,
+ -postgresql-9.4_beta3-r2.ebuild, -postgresql-9.4_rc1.ebuild:
+ Bump
07 Dec 2014; Agostino Sarubbo <ago@gentoo.org> postgresql-9.0.18-r2.ebuild,
postgresql-9.1.14-r2.ebuild, postgresql-9.2.9-r2.ebuild,
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX pg_ctl-exit-status.patch 283 SHA256 bfa7d6cd233ebb0a3e0a1c818433fb6c7d03282752c62d88af295d683e447937 SHA512 3f0c9187e315a5dde86b2c99d108f702416a69aceda4b00ed0fa5b6d93b883a1e1a38640cb091282a3a8441b5f7264e28d755667fd3395e6c34ad060b107d813 WHIRLPOOL 95f669116d56c7423385f07302106c950a0b1c5050dc4ab5650066d935be09b954cdc8b8fb7ce97c8f90f89a49063405dca4b79b433c5856a56c7e44362123ad
AUX postgresql-9.0-no-server.patch 4077 SHA256 7c6c29ac472ed884b8752e7f464c4e540483626fb347927bd0919eb7cfe4b4ae SHA512 3a2ab00ca59a2f9fcb8c48487f18c8714058f42bce4e0bc4e914d77a730642e76547677a3c434918e278b81d4a5535463c8fc08bc29a5d046874d1489aa5a8e5 WHIRLPOOL eba9b4b651776f3e8a2733fb4f47ec84647def67b43162a4038f0fe56b16432a138924b2177dd2af1ca93571931d9b389d84f64321c27a4b592265f85fa17362
AUX postgresql-9.1-no-server.patch 4189 SHA256 6016251ce20d5338d612396bb935bb56f7d2fc7d525b4f2ac1f24ee79fdf013c SHA512 580063deb9f2427342018df0bdfd8ad0922ab72ca800f3b1b29d479dfa2736f573daa3434d47c9f15abf295e85ae6cd90401a40b12245e30c36e277f95df83f4 WHIRLPOOL 11ff7ec71b1f919bfbfe1aae4c4ae582ba8f28dc2a187b82317d8c3772217e7e0e0b0b7b32afe1a5c9f0825d28d05a2850b661f084832189ef0a486e16db6d6b
DIST postgresql-9.1.14.tar.bz2 15666442 SHA256 d0647ce563d18ae02bf68c5dd646a4c75e8b45b3a4fada64d481371fdc16f522 SHA512 b32fa24bc34b7f16ab5bb0e9065ffaeafe299009d5889201a12a46998a29e1fd4ffb81bc225eb4cfc740c3b51aea3a2c9ebac2c1252f71219b0a203550cc32a0 WHIRLPOOL 20738768c86b0ba6470b5717e66aa4e1a970b58015ae8e3bd7ef0811dc9989a5e47ef3eac5f917d9a6c2a0dd945bb832d7685b71cc63bf56b28db6703e641f2f
DIST postgresql-9.2.9.tar.bz2 16269349 SHA256 94ec6d330f125b6fc725741293073b07d7d20cc3e7b8ed127bc3d14ad2370197 SHA512 a319af5781f528b5fcd384d133d0dc0d0f4302784c650b7d934670717a07e6af8cef51abaa9a34bdfc82f925ba9e8a81770242fa69a2e2105684be2a62be2db3 WHIRLPOOL 736afcc694cf60cf574d0ff4633637e50f6e3a951d9e5ed09b3afdf2e685291b5d073db801a1260543149576509e82a7cbe94842b6dc71a5d840a58cab390799
DIST postgresql-9.3.5.tar.bz2 16727725 SHA256 14176ffb1f90a189e7626214365be08ea2bfc26f26994bafb4235be314b9b4b0 SHA512 a49bc8ea7635be5082044f5ebd6b81de7198583aedb072dffec8425521af90f2cb8e9f6e7b55b361ff24cbebc0670afefe365e8f5b80b8248ddf492b8092a746 WHIRLPOOL 15baa94b42f14bb815f84cc2009c018f68dcf26e0adf3e9550db2939e601df4ef817eccb029fea796446e6a16c22829c323a92f1f3f1c5276a387b81e3b29d24
-DIST postgresql-9.4beta3.tar.bz2 17355677 SHA256 5ad1d86a5b9a70d5c153dd862b306a930c6cf67fb4a3f00813eef19fabe6aa5d SHA512 a9226edf2af0f0c147c2a3ec74d0007dd7161b491b767fe1511e1303916693610ddbde9fb7862e3b052c3605de91d732c53833642c88891b2eaa390436b61ba6 WHIRLPOOL dffc24a51e55cd6be3bc5fad3238abcb20690eb0cb8068995ded371a163161b37b1bb118854e190356d02325ed8f183ee7c58ddc59efb5cddf0351699b46fcf9
-DIST postgresql-9.4rc1.tar.bz2 17420690 SHA256 6ce91d78fd6c306536f5734dbaca10889814b9d0fe0b38a41b3e635d95241c7c SHA512 46b9bb4334dd6a117df6f27057bffd3680e26434e6a93a49df3263180e7b1b00703b6db6fb94fa674fe624b06313e0366642628dd9859908ff7af3aeec53497c WHIRLPOOL ed771472bf47831b25820d8b9a57eb3aa8f9383e80fa222375a6536d74c8fb7ef0855d58867ffc003ac30463f3bb98ef081fe3a92eb1ab5f1f2c5e412ceacc9d
+DIST postgresql-9.4.0.tar.bz2 17344910 SHA256 7a35c3cb77532f7b15702e474d7ef02f0f419527ee80a4ca6036fffb551625a5 SHA512 733e0dd127783319506f8bd82e0b48adfc003e57e2b14131a60544fbd6fba0dca8672a3dd6364009b87a9fe082bcd1c4a3be5f309cc7a82c0744aebe7e4abcb0 WHIRLPOOL 968bc9bafef002d23ac7df1c9f49ab299c005b044e3ed9895aefe1a4e6dbe1a4c22eae7470b9e4cc4e355d6b57719a3e4d61fc9451c91fa4f7c997c695c77490
DIST postgresql-initscript-2.7.tbz2 3836 SHA256 fecc05fb75f782da1d8215af49134bfe593b94547458ff90692c14058384bfa2 SHA512 8ad9eba3e83d8b296ed1a035716c11c3a7b6a316470327919f168ef8fe861261b5eeb5275e8b643c94b17a94b38e2011c85dde5459b2f9c6f462a2f967f8f315 WHIRLPOOL 4de1ed1b0d8c1a3d56cf3b62456756764a9670e9655ee9f904dc2fba764f32313a74be9676544cca1fc684370b633950ccc4443ed2e59bb053e2a315b5c76b4e
DIST postgresql-initscript-pre92-2.6.tbz2 7826 SHA256 eb041a09011eb47da5daa62e0971a5fed6e7e308c54b5c7f840d9f49e42adc28 SHA512 b9d15ae6812a747907008606b8e89499b228cc10eda38c503a133b02c1151316ef414b6e72a9d26c3dcc87d153f26f38b0901e338e6bdd530327bf474394df8a WHIRLPOOL a218f715aa02acae27a25daedc72c2a5069060a0d4f3cd572a95ca295d0ed822453bb468fba461adf57f36978c6968bb8ebeb6c6d786f9c3baca4a346f483480
EBUILD postgresql-9.0.18-r2.ebuild 12316 SHA256 56c669b4c16cfce5381a4e25640852df15189a4f7865a874dd75ceb55f5693f7 SHA512 9383c18d9748f34b4c250c36fecdab30df3afe01b742edf4850c8062d750499d346169a9d7f6cc0041e4b16f49afe1fd54e2153200364c46ef827240733cf7e5 WHIRLPOOL 3e067e5b233e6eaf388068c0d943c71425ef75f0e1390c0ab00ecf71b055bc467240e8bd0f21eb1922b4f76e0c87cf2cff9b61b15b7bdb7b7be163db01d5c7c0
EBUILD postgresql-9.1.14-r2.ebuild 12316 SHA256 4016884f1f6f491b8fe045fd42df4aba8f3dd5f31d6cc77e3332cb07f6cba082 SHA512 8cacb65fae66438fdffcc1d8e3f9cde87ddd0410fc797d8d24a289e106b78ca8612ec85769c0c70c5274c841f432e850c97255d8858411603a79345a00e05380 WHIRLPOOL 67c869c242a80e3a85466f008de274a1940fb2efd973d5c2d491baff5ec94ca1251f4943882559159c48cd801f41072321eb9657e84da4a11332b3c8fff7625f
EBUILD postgresql-9.2.9-r2.ebuild 12655 SHA256 5d1689e9317fc323beb6bc9c44a7194a7315d458bd5272a9881f2a6073de6194 SHA512 eb391e1ee10510975a4511359c3ec4d538d124d8d6054849d3c72fe0f5eee4ce2046ca1ea00320931fb2277b7ebb5933bfe33f74c523461aa243fcf493a8ab81 WHIRLPOOL 0ae0c5763f5568c16acc36eb4497771d9ef27fd5f0759b1056b194b9c192ffea6e9c28645036876e7fe5c0719986037dfe32148bc653d7a0ed4dc47607ad447f
EBUILD postgresql-9.3.5-r2.ebuild 12655 SHA256 3de81ab5004411a94bcc0296706550e50d1dce759790143d4bbe7310d8008129 SHA512 b7093c46bdd5539789a13294b6040d282d1f337aab06fdc0fd162a5bf668bc319f8ac9f25413724eab4f495033da4995db6376016be4603dee63096fb98db27b WHIRLPOOL 4dcc35912185691fffb94fa3ab6b41416108d74091ba498582a85f778b538ad212b0f1fca42811a39ffc137828b3658f4822791c5e74990296411aa56cdfa632
-EBUILD postgresql-9.4_beta3-r2.ebuild 12707 SHA256 83d215548ad700cf8721e8b3bd35523e2b3e3f962c1901a0f01598bf885e733a SHA512 f8b16c38b0dbdea491cb2ef6d12adca0f6b4da23027614e3ba3c7f52115b3ce0e09075b577fe03749cac45ccabd3fe1c9dbefcca20dbda87475d2fd3d1ae475d WHIRLPOOL 15e29f37ef9b422bb1af78a9c235cd50050d37861dcf61f6d73f8d8b4ee5a39a3267bae1a93bb31571360b975134925bfced12aa32d46b7a91a3340487d0875f
-EBUILD postgresql-9.4_rc1.ebuild 12699 SHA256 c2ab6bf6622b0f3ffec694a26ad4b60dc464003691d83f68952c4ff5a89080c8 SHA512 bc4a279a9911b18f445742d9a7e98614e031016591b2156d9310b53caf1a2b6c8fcf3b35a506604b75cc432de8d611d2fcba2ee6321ac28a982f1513221fd8b5 WHIRLPOOL ab713b17ae056179fd3a54a9c966e124c2913dd06e7996f5ec4746457385d2fa7ffae506fbf8101a9343ce1c9f83ef5ff30e629473ea8daa4ac728a6671fa80e
+EBUILD postgresql-9.4.0.ebuild 12697 SHA256 6ab8dc5e15a7971933a805d0023e60aa3b451b61c7aebdd8c16d3a1ce47e7580 SHA512 f28bf9c7f1595dcede406d7dd7ca15f80386de92aad4e5daa3d161ab2e81174c8fc81569ddeb650a69618b17eab784a4c6d8de25a2352e149e9872214ef2a288 WHIRLPOOL 05f09f46bfdf4618efea2e76e8be304c737f866b6fbc9c3315f62c13c3509b4f83ebd0ec9b20e36e2098768ecb66c77c59febab1871416699399aaedc64555ae
EBUILD postgresql-9999.ebuild 12697 SHA256 d64ed66983f25b48e840d0fa3059aa5bfb3de77e31d29a25f21b5450a6f74416 SHA512 9eb4b8207bb9dd310f423a7c5bc755d901720d9625e9fff6129e4847e9bc82718e8de51a203d61100367d8424757ec550dfdf9121139d834091b19c2d333ad0c WHIRLPOOL 241c9c0dedc094077c09e5676507c4c4cbca17d052f075943c819738d0bd19120ce9631cfbe0956ba04a2b8d0a0fdab9549235be6b9a4c012052432344d22cb3
-MISC ChangeLog 4156 SHA256 1446cf2394c87aac7e26ffc741b9926d36c7353be6508d393d8e62a8a0f7b16f SHA512 8f2bf5510a11daa3c7ee74a702e1a85c032d2d7d6e2736acadd6cd5805ac00a34a6e919baf4e9e7f08c0871d8e3a36da5789b6da2e86f954bc3b4360a76e419e WHIRLPOOL 07d0f0893c9f7a9d65e137d82296e7afdbd2d6845a171380131ded43a81e173ca13c44e33d76e56974a196e8b48584aafc2b71665a37521d96ebf399b851a59c
+MISC ChangeLog 4340 SHA256 062384368e2d9f194525c46a1b8ceaf576aef12a15fea5b243e555b8e58cb08f SHA512 4c5d6f9212878642baaf83aee97b33aa4be2a90f7ce3c9f19ed1452c71040a1b2ced7009358ee715151ffd678e0ab1abfd0add52f2de532bd73eec4ce839021f WHIRLPOOL 2006409d5dedba8e42903957ce19f016af00f16a6dc30d05d3d132e5288512c000fa3733e300fdb49ec0e317a8d0b9b89fdda9ce5afe1a4b89e8635638293445
MISC metadata.xml 620 SHA256 85335fdf06be777d6fa46902094b666ddd7e0a64d12f03b0ba54c181641822c0 SHA512 00a3f52a73add4922a366534f50decb308254a27c64130c9b4fde4f27fbed318ff65a5065a95e0d99219f5f4c439d502b0b0a3951f4589393617385ad656e003 WHIRLPOOL b0a0bf7d88a585d04cdc7acb7aa46d455fff5508100c3a81485ecb9cf221dbbc13f10501652ff084253eacde019d4c79c7b4f997bc8408ade041edb8a23cb1cd
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iQIcBAEBCAAGBQJUhEdHAAoJELp701BxlEWfU90P/13BxYe71U78x21BemWfUBRM
-4n9QA8GiXEjtNm/Lzj7ABXKZYmdmj2dpv7l88KNfKqxZjj/tmaXWzdRDaKtQEmYv
-IKwtLs8NNaHjXSJgb0erMo98l8SMJyNArm4ZymywxYSfE1qAuFQsW26ytXHNBCcg
-3vpdYYhQdvjuIgDeeKKY10hrTRBTciTiECY4XISzHy0he/bfdGO3DrBcXJzB0oeR
-lRMT6Mvuoe1RjiQTce4kLjuthu3UI8nBzgb6aeIe+77UiT61QfKzpKB6WeAbw7kw
-CpIw0zk4iniweqF7F3PVSdQ4h3J0LqX4lrfjsaqliAiRh3V7cyRPZBrm19YyxErN
-RaCnOgcUqLPmVVf+fCJ7+Iptpjj2zamryaG0wqXGX/2hSJY1/l33GiFpc2U6aCNx
-NMYgmyaDqxggUptetrKg5pTzxf+ctxUKHiAwoycLjRA9JoLraf8uirt0fxpuH9Jo
-+5H3lZRRfPRv+cVZuQufgiQ+JpI9aW9cmVWcb0z4ppI7lzpitMunyVlN5QHfflN+
-IgYoX4wB4zxW4Kmu9DKWBdM0EKcy79FzTZclYUJHkfawZ5+7fVcz3QdyPGwtZfHu
-esLA/sS7oYKA8e02UE+5G+L9OVi4vCjossSqaXi4/VkeoYdmOCl3SVORZKp6zsmR
-7Sqc0rCU4as3Uid4YRYP
-=aJS3
------END PGP SIGNATURE-----
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-9.4_rc1.ebuild,v 1.1 2014/11/21 05:45:52 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-9.4.0.ebuild,v 1.1 2014/12/19 00:29:38 patrick Exp $
EAPI="5"
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-9.4_beta3-r2.ebuild,v 1.1 2014/11/04 01:01:12 titanofold Exp $
-
-EAPI="5"
-
-PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
-WANT_AUTOMAKE="none"
-
-inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 systemd user versionator
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~ppc-macos ~sparc-fbsd ~x86-fbsd ~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"
-
-# Add patch and initscript source.
-SRC_URI+=" http://dev.gentoo.org/~floppym/dist/postgresql-initscript-2.7.tbz2"
-
-LICENSE="POSTGRESQL GPL-2"
-DESCRIPTION="PostgreSQL RDBMS"
-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 ldap nls pam perl -pg_legacytimestamp python +readline selinux server ssl static-libs tcl threads uuid xml 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}
-}
-
-CDEPEND="
->=app-admin/eselect-postgresql-1.2.0
-sys-apps/less
-virtual/libintl
-kerberos? ( virtual/krb5 )
-ldap? ( net-nds/openldap )
-pam? ( virtual/pam )
-perl? ( >=dev-lang/perl-5.8 )
-python? ( ${PYTHON_DEPS} )
-readline? ( sys-libs/readline )
-ssl? ( >=dev-libs/openssl-0.9.6-r1 )
-tcl? ( >=dev-lang/tcl-8 )
-uuid? ( dev-libs/ossp-uuid )
-xml? ( dev-libs/libxml2 dev-libs/libxslt )
-zlib? ( sys-libs/zlib )
-"
-
-DEPEND="${CDEPEND}
-!!<sys-apps/sandbox-2.0
-sys-devel/bison
-sys-devel/flex
-nls? ( sys-devel/gettext )
-xml? ( virtual/pkgconfig )
-"
-
-RDEPEND="${CDEPEND}
-!dev-db/postgresql-docs:${SLOT}
-!dev-db/postgresql-base:${SLOT}
-!dev-db/postgresql-server:${SLOT}
-selinux? ( sec-policy/selinux-postgresql )
-"
-
-pkg_setup() {
- enewgroup postgres 70
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
-
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Eliminate autotools version check
- sed '/m4_PACKAGE_VERSION/,+3d' -i configure.in || die
-
- # Work around PPC{,64} compilation bug where bool is already defined
- sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
-
- # Set proper run directory
- sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
- -i src/include/pg_config_manual.h || die
-
- 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"
-
- use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
-
- if use pam ; then
- sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
- -i src/backend/libpq/auth.c || \
- die 'PGSQL_PAM_SERVICE rename failed.'
- fi
-
- eautoconf
-}
-
-src_configure() {
- case ${CHOST} in
- *-darwin*|*-solaris*)
- use nls && append-libs intl
- ;;
- esac
-
- export LDFLAGS_SL="${LDFLAGS}"
- export LDFLAGS_EX="${LDFLAGS}"
-
- local PO="${EPREFIX%/}"
-
- econf \
- --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
- --datadir="${PO}/usr/share/postgresql-${SLOT}" \
- --docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
- --includedir="${PO}/usr/include/postgresql-${SLOT}" \
- --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
- --sysconfdir="${PO}/etc/postgresql-${SLOT}" \
- --with-system-tzdata="${PO}/usr/share/zoneinfo" \
- $(use_enable !pg_legacytimestamp integer-datetimes) \
- $(use_enable threads thread-safety) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with pam) \
- $(use_with perl) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with ssl openssl) \
- $(use_with tcl) \
- $(use_with uuid ossp-uuid) \
- $(use_with xml libxml) \
- $(use_with xml libxslt) \
- $(use_with zlib) \
- "$(use_enable nls nls "$(wanted_languages)")"
-}
-
-src_compile() {
- emake
- emake -C contrib
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- emake DESTDIR="${D}" install -C contrib
-
- dodoc README HISTORY doc/{TODO,bug.template}
-
- # man pages are already built, but if we have the target make them,
- # they'll be generated from source before being installed so we
- # manually install man pages.
- # We use ${SLOT} instead of doman for postgresql.eselect
- insinto /usr/share/postgresql-${SLOT}/man/
- doins -r doc/src/sgml/man{1,3,7}
- if ! use server; then
- # Remove man pages for non-existent binaries
- for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
- rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
- done
- fi
- docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
-
- insinto /etc/postgresql-${SLOT}
- newins src/bin/psql/psqlrc.sample psqlrc
-
- dodir /etc/eselect/postgresql/slots/${SLOT}
- echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
- "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
-
- use static-libs || find "${ED}" -name '*.a' -delete
-
- if use doc ; then
- docinto html
- dodoc doc/src/sgml/html/*
-
- docinto sgml
- dodoc doc/src/sgml/*.{sgml,dsl}
- fi
-
- if use server; then
- 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
- 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
- fi
-}
-
-pkg_postinst() {
- postgresql-config update
-
- elog "If you need a global psqlrc-file, you can place it in:"
- elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
-
- if use server ; then
- elog
- elog "Gentoo specific documentation:"
- elog "https://wiki.gentoo.org/wiki/PostgreSQL"
- 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}"
- fi
-}
-
-pkg_prerm() {
- if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
- ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
- ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL#doc_chap5"
-
- ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
- sleep 10
- eend 0
- fi
-}
-
-pkg_postrm() {
- postgresql-config update
-}
-
-pkg_config() {
- use server || die "USE flag 'server' not enabled. Nothing to configure."
-
- [[ -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 use server && [[ ${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
- use server || \
- ewarn 'Tests cannot be run without the "server" use flag enabled.'
- [[ ${UID} -eq 0 ]] || \
- ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
-
- ewarn 'Skipping.'
- fi
-}