summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-03-10 08:01:42 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-03-10 08:01:42 +0000
commit6e686b630aecc2a669834257e452210522b63401 (patch)
treea75f2a4d83894fb4109d2e86771a12b1d59632cd
parentdev-db/postgresql-base: Added blockers for various packages. Removed docs ins... (diff)
downloadexperimental-6e686b630aecc2a669834257e452210522b63401.tar.gz
experimental-6e686b630aecc2a669834257e452210522b63401.tar.bz2
experimental-6e686b630aecc2a669834257e452210522b63401.zip
dev-db/postgresql-base: Added 7.3.21. Changed descriptions.
svn path=/experimental/; revision=319
-rw-r--r--dev-db/postgresql-base/ChangeLog7
-rw-r--r--dev-db/postgresql-base/Manifest16
-rw-r--r--dev-db/postgresql-base/files/postgresql-7.3-base.patch117
-rw-r--r--dev-db/postgresql-base/files/postgresql-7.3.21-autoconf.patch57
-rw-r--r--dev-db/postgresql-base/postgresql-base-7.3.21.ebuild138
-rw-r--r--dev-db/postgresql-base/postgresql-base-7.4.19.ebuild2
-rw-r--r--dev-db/postgresql-base/postgresql-base-8.0.15.ebuild2
-rw-r--r--dev-db/postgresql-base/postgresql-base-8.1.11.ebuild2
-rw-r--r--dev-db/postgresql-base/postgresql-base-8.2.6.ebuild2
-rw-r--r--dev-db/postgresql-base/postgresql-base-8.3.0.ebuild2
10 files changed, 334 insertions, 11 deletions
diff --git a/dev-db/postgresql-base/ChangeLog b/dev-db/postgresql-base/ChangeLog
index 4297ee0..86ef019 100644
--- a/dev-db/postgresql-base/ChangeLog
+++ b/dev-db/postgresql-base/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Mar 2008; Tiziano Müller <dev-zero@gentoo.org>
+ +postgresql-base-7.3.21.ebuild, +files/postgresql-7.3.21-autoconf.patch,
+ +files/postgresql-7.3-base.patch, postgresql-base-7.4.19.ebuild,
+ postgresql-base-8.0.15.ebuild, postgresql-base-8.1.11.ebuild,
+ postgresql-base-8.2.6.ebuild, postgresql-base-8.3.0.ebuild:
+ Added 7.3.21. Changed descriptions.
+
07 Mar 2008; Tiziano Müller <dev-zero@gentoo.org>
postgresql-base-7.4.19.ebuild, postgresql-base-8.0.15.ebuild,
postgresql-base-8.1.11.ebuild, postgresql-base-8.2.6.ebuild,
diff --git a/dev-db/postgresql-base/Manifest b/dev-db/postgresql-base/Manifest
index b237f80..0f7058a 100644
--- a/dev-db/postgresql-base/Manifest
+++ b/dev-db/postgresql-base/Manifest
@@ -1,3 +1,5 @@
+AUX postgresql-7.3-base.patch 3145 RMD160 0e2c63db78227840151ff0365201a23a91f77f20 SHA1 443bd6907e05043ac19fc4f43e91e605d2afffb9 SHA256 257fa7d0575bfe922435c56ae596597bf684ad14e1669dc6357b7e6f7d320f62
+AUX postgresql-7.3.21-autoconf.patch 2141 RMD160 3bff01abeeeb094f04469960d4725c977657fb1c SHA1 aceb7ebafde14fde0efe6eefc68115fd8b4cb95a SHA256 9444af9ac2908f18fc69ef2db6fe78584384a46d28dd4c8af10740f9138796a8
AUX postgresql-7.4-base.patch 3197 RMD160 7b55b9b4e3e70fa66a75ef210b4adbd307641373 SHA1 a33882b329f231f4cfb590102141c57136d58761 SHA256 c7b1339320cc0446b0ec5c361867c483238db9decee7dd8e67c6b6448e85afcc
AUX postgresql-7.4-common.patch 2640 RMD160 b25ba915d5d6ad9c12c1d51426363c196b830923 SHA1 7b946d57bfed34e2e7e1338c3ab3004341d7ab12 SHA256 36ca9cb4f26424c302fdd704b7c1a268e87612afa3006bf008d4594dabe080f8
AUX postgresql-7.4-hppa.patch 1433 RMD160 4c4021ab6654d4c131704d6def2b2d689df7f527 SHA1 2234eff32e0ae4bdecd4b21eb9f6c7be33023652 SHA256 4424694fecd4f16655cd5ff9603489fa644175ab344498040f2c88cb0962aa6b
@@ -11,14 +13,16 @@ AUX postgresql-8.2-base.patch 3553 RMD160 b022015dc17a7b74a56776b537f2dba82bb981
AUX postgresql-8.2-common.patch 2640 RMD160 b25ba915d5d6ad9c12c1d51426363c196b830923 SHA1 7b946d57bfed34e2e7e1338c3ab3004341d7ab12 SHA256 36ca9cb4f26424c302fdd704b7c1a268e87612afa3006bf008d4594dabe080f8
AUX postgresql-8.3-base.patch 3639 RMD160 734dff98ed89d59b63f75b6994fc6ca22ae902a6 SHA1 46370a45241f5fd1610b4248c7e0526dbb6a06f6 SHA256 4049c6d4b22465302f20cf998cf2a5d0894e1f4f6bef9baa16f2b3fe25b9c973
AUX postgresql-8.3-common.patch 2641 RMD160 0822bf1512457e91d5f32f9d192de6f197db9c55 SHA1 e4bdbd5eee1023e8f0b42ef408b34b57495d1e2b SHA256 e416c26d9c3d266b306ddbc0a2b648054739b7ace35e2b4e449fbdaf094bc197
+DIST postgresql-7.3.21.tar.bz2 9284558 RMD160 f9de4676b4fbe3d96e6d1462b8bc3c05600d6525 SHA1 bdfa3bddc483c6642cc2ee271d076bfaa4c20c92 SHA256 bf44e0ac259e9f6e14ac102f2977496b6996ecea2fd227fbdcea5fa70e342888
DIST postgresql-7.4.19.tar.bz2 10307396 RMD160 c9a1c7dc8e7bf9ce93c3b4f061af0563b1cc2627 SHA1 19c563d47b0d5deeef03b5ca7707c9f1917853ce SHA256 447ac7070aa0a547f17a307e842734fc27e2716cb4a251fa9a810b178d44c389
DIST postgresql-8.0.15.tar.bz2 11253897 RMD160 6aff5c63dce73eea609f0b6e013cd043ae8b7a37 SHA1 66a6fef7749afb91471200005511c04fc1ac2706 SHA256 59408a00db1c73e638a11af10438a827507b7a72b53916d58f2d44c477718714
DIST postgresql-8.1.11.tar.bz2 11735420 RMD160 9fb98eadc4f1015205970f26b31b68ea0378bda9 SHA1 73c0f09754fc8e3c7f8d7de49d70244b76927416 SHA256 3e91cdfc1353fa9c6416d9fc8ae9d6ab3171565f00aeb6c882214c2f08a03e2e
DIST postgresql-8.2.6.tar.bz2 12559117 RMD160 fa12ce310919cb52be3558d38a7e329bc73bbe33 SHA1 8934dfbd4c1d8c4f2945cb80f02072611681f967 SHA256 ee41327e821f933de2894d6e0c319edc4b63e80cb902e673b490b7eaf4ead114
DIST postgresql-8.3.0.tar.bz2 13923051 RMD160 99f48d26d9b0fb0cfda0de7156ad6a9554017d9e SHA1 b221e9a82fdb10af1a2b527551a4e30b7ccb958d SHA256 85356d6ab577e21bb528eb5d672e4373b21fe98ac046e77a0eed975608066ea6
-EBUILD postgresql-base-7.4.19.ebuild 4420 RMD160 ec40c9aadaeef85e6e8835f0f2a69b5915caf5d5 SHA1 89284de34f281b69ce8385b6397dae6410beb566 SHA256 002121dcaef64e58d0481083740055f1a2c8b88211bda441bc2b245b8fb512e8
-EBUILD postgresql-base-8.0.15.ebuild 4417 RMD160 558cefbe2570c09f2967c4306067addc5908dffd SHA1 5e7ec8b49d8911312efdcf49a2b0c637a2a96eae SHA256 07cab457d6f86e6f8dacdf7d5bed1ea324094a261f1e89f7ae886f357d5f67ff
-EBUILD postgresql-base-8.1.11.ebuild 4417 RMD160 558cefbe2570c09f2967c4306067addc5908dffd SHA1 5e7ec8b49d8911312efdcf49a2b0c637a2a96eae SHA256 07cab457d6f86e6f8dacdf7d5bed1ea324094a261f1e89f7ae886f357d5f67ff
-EBUILD postgresql-base-8.2.6.ebuild 4404 RMD160 6fa3355b1026ee312ef031ebcb039d0d59f31798 SHA1 eafee2f267a2b0eccf00c7e918e3c1053cba9849 SHA256 1144ce15451803ee4a9c765af4a17dbfba3877ddc97657e1ca0aea286232d87b
-EBUILD postgresql-base-8.3.0.ebuild 4404 RMD160 6fa3355b1026ee312ef031ebcb039d0d59f31798 SHA1 eafee2f267a2b0eccf00c7e918e3c1053cba9849 SHA256 1144ce15451803ee4a9c765af4a17dbfba3877ddc97657e1ca0aea286232d87b
-MISC ChangeLog 1646 RMD160 e69931fbd92b522f887f30b5661e31dead327bf1 SHA1 3429a720f1e62d285c2013d81ac38425f476fa9b SHA256 593c86fd311edf1d07663781b2f7e6c4a0f5ee96daf3855b1fffef6a4f6ba231
+EBUILD postgresql-base-7.3.21.ebuild 4243 RMD160 727a66b5745319edb1990a0f9503e91d69377237 SHA1 4843ff6409f95061b4cf859620bd0287da2f657a SHA256 20eecb985ce83b5bf492da26921f1368d575c9215211d40ecee6a0047a5053b8
+EBUILD postgresql-base-7.4.19.ebuild 4432 RMD160 3fedc5456e0ec3b9776265a4201cacdf3b99904f SHA1 64bdbab5ff27115a75146f3e5b127df195816955 SHA256 ea0cab9fea694a48b8723014023b9710a328c15d9e210eea225f0bcc15ffefed
+EBUILD postgresql-base-8.0.15.ebuild 4429 RMD160 87f90e9630ac4f4e2f0003759fd23a171b2f72f4 SHA1 506e0e7930af8ae83f2bfcf968a9951611d9c587 SHA256 03984b221fc161124013c904f75815a9d07d55b5de4816112d68add1dfbb7212
+EBUILD postgresql-base-8.1.11.ebuild 4429 RMD160 87f90e9630ac4f4e2f0003759fd23a171b2f72f4 SHA1 506e0e7930af8ae83f2bfcf968a9951611d9c587 SHA256 03984b221fc161124013c904f75815a9d07d55b5de4816112d68add1dfbb7212
+EBUILD postgresql-base-8.2.6.ebuild 4416 RMD160 dc8666f6b780f6e56725396043bb182cbfb4480f SHA1 b3747ad0f7c6591ccd64cf05ac5516f98477dce7 SHA256 6cb94d2db5df95156fad4cca932aef7468b77ad3efee3493831f3106a9b76db8
+EBUILD postgresql-base-8.3.0.ebuild 4416 RMD160 dc8666f6b780f6e56725396043bb182cbfb4480f SHA1 b3747ad0f7c6591ccd64cf05ac5516f98477dce7 SHA256 6cb94d2db5df95156fad4cca932aef7468b77ad3efee3493831f3106a9b76db8
+MISC ChangeLog 2006 RMD160 0884ada7d7681c191ce1a66cb8001485bab694d8 SHA1 6ab4ccbc1e0ca83b64dc898867bfb3c18c0ab152 SHA256 69bd974226e8effd81d1628144e82378647aaa0d24b5e9cfa0d7064e9a5a5899
diff --git a/dev-db/postgresql-base/files/postgresql-7.3-base.patch b/dev-db/postgresql-base/files/postgresql-7.3-base.patch
new file mode 100644
index 0000000..0549ec0
--- /dev/null
+++ b/dev-db/postgresql-base/files/postgresql-7.3-base.patch
@@ -0,0 +1,117 @@
+=== contrib/Makefile
+==================================================================
+--- contrib/Makefile (revision 12)
++++ contrib/Makefile (local)
+@@ -5,40 +5,10 @@
+ include $(top_builddir)/src/Makefile.global
+
+ WANTED_DIRS = \
+- array \
+- btree_gist \
+- chkpass \
+- cube \
+- dbase \
+- dblink \
+- dbmirror \
+- dbsize \
+- earthdistance \
+ findoidjoins \
+- fulltextindex \
+- fuzzystrmatch \
+- intagg \
+- intarray \
+- isbn_issn \
+- lo \
+- ltree \
+- miscutil \
+- noupdate \
+ oid2name \
+ pg_dumplo \
+- pg_logger \
+ pgbench \
+- pgcrypto \
+- pgstattuple \
+- rserv \
+- rtree_gist \
+- seg \
+- spi \
+- string \
+- tablefunc \
+- tips \
+- tsearch \
+- userlock \
+ vacuumlo
+
+ # Missing:
+=== src/Makefile
+==================================================================
+--- src/Makefile (revision 12)
++++ src/Makefile (local)
+@@ -16,11 +16,9 @@
+ all install installdirs uninstall dep depend distprep:
+ $(MAKE) -C port $@
+ $(MAKE) -C backend $@
+- $(MAKE) -C backend/utils/mb/conversion_procs $@
+ $(MAKE) -C include $@
+ $(MAKE) -C interfaces $@
+ $(MAKE) -C bin $@
+- $(MAKE) -C pl $@
+
+ install-all-headers:
+ $(MAKE) -C include $@
+=== src/backend/Makefile
+==================================================================
+--- src/backend/Makefile (revision 12)
++++ src/backend/Makefile (local)
+@@ -29,7 +29,7 @@
+
+ ##########################################################################
+
+-all: submake-libpgport postgres $(POSTGRES_IMP)
++all: someheaders
+
+ ifneq ($(PORTNAME), win)
+
+@@ -78,7 +78,7 @@
+
+ .PHONY: $(DIRS:%=%-recursive)
+ # Update the commonly used headers before building the subdirectories
+-$(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h
++someheaders $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir)/src/include/utils/fmgroids.h
+ $(MAKE) -C $(subst -recursive,,$@) all
+
+
+@@ -125,16 +125,7 @@
+
+ ##########################################################################
+
+-install: all installdirs install-bin
+-ifeq ($(PORTNAME), win)
+-ifeq ($(MAKE_DLL), true)
+- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a
+-endif
+-endif
+- $(MAKE) -C catalog install-bki
+- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample
+- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample
+- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample
++install:
+
+ install-bin: postgres $(POSTGRES_IMP) installdirs
+ $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X)
+=== src/bin/Makefile
+==================================================================
+--- src/bin/Makefile (revision 12)
++++ src/bin/Makefile (local)
+@@ -13,9 +13,8 @@
+ top_builddir = ../..
+ include $(top_builddir)/src/Makefile.global
+
+-DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
+- psql scripts pg_config pg_controldata pg_resetxlog \
+- pg_encoding
++DIRS := pg_ctl pg_dump pg_id \
++ psql scripts pg_config
+
+ ifeq ($(with_tcl), yes)
+ DIRS += pgtclsh
diff --git a/dev-db/postgresql-base/files/postgresql-7.3.21-autoconf.patch b/dev-db/postgresql-base/files/postgresql-7.3.21-autoconf.patch
new file mode 100644
index 0000000..0b526b2
--- /dev/null
+++ b/dev-db/postgresql-base/files/postgresql-7.3.21-autoconf.patch
@@ -0,0 +1,57 @@
+diff --git a/config/programs.m4 b/config/programs.m4
+index 35d9e2b..c681983 100644
+--- a/config/programs.m4
++++ b/config/programs.m4
+@@ -153,13 +153,13 @@ AC_DEFUN([PGAC_CHECK_GETTEXT],
+ dnl FIXME: We should probably check for version >=0.10.36.
+ AC_CHECK_PROGS(XGETTEXT, xgettext)
+
+- # Note: share/locale is always the default, independent of $datadir
+- localedir='${prefix}/share/locale'
+- if test x"$prefix" = x"NONE"; then
+- exp_localedir="$ac_default_prefix/share/locale"
+- else
+- exp_localedir="$prefix/share/locale"
+- fi
++ # Note: share/locale *WAS* always the default, independent of $datadir
++ AC_ARG_WITH([locale-dir],
++ AC_HELP_STRING([--with-locale-dir],[Set path to locale files]),
++ [ localedir="${withval}" ],
++ [ localedir='${prefix}/share/locale' ]
++ )
++ exp_localedir="${localedir}"
+
+ AC_SUBST(localedir)
+ AC_DEFINE_UNQUOTED(LOCALEDIR, ["$exp_localedir"],
+diff --git a/configure.in b/configure.in
+index 07cc529..37fdded 100644
+--- a/configure.in
++++ b/configure.in
+@@ -19,17 +19,8 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
+ dnl
+ dnl The GNU folks apparently haven't heard that some people don't use
+ dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir".
+-m4_define([info], [doc])
+-m4_define([infodir], [docdir])
+ AC_INIT([PostgreSQL], [7.3.21], [pgsql-bugs@postgresql.org])
+-m4_undefine([infodir])
+-m4_undefine([info])
+-AC_SUBST(docdir)
+-
+-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.53], [], [m4_fatal([Autoconf version 2.59 is required.
+-Untested combinations of 'autoconf' and PostgreSQL versions are not
+-recommended. You can remove the check from 'configure.in' but it is then
+-your responsibility whether the result works or not.])])
++
+ AC_COPYRIGHT([Copyright 2002 PostgreSQL Global Development Group])
+ AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
+ AC_CONFIG_AUX_DIR(config)
+@@ -626,7 +617,7 @@ AC_CHECK_LIB(PW, main)
+ AC_CHECK_LIB(resolv, main)
+ AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
+ # QNX:
+-AC_CHECK_LIB([[unix]], main)
++AC_CHECK_LIB([unix], main)
+ AC_SEARCH_LIBS(crypt, crypt)
+ # BeOS:
+ AC_CHECK_LIB(bind, __inet_ntoa)
diff --git a/dev-db/postgresql-base/postgresql-base-7.3.21.ebuild b/dev-db/postgresql-base/postgresql-base-7.3.21.ebuild
new file mode 100644
index 0000000..bc2f82b
--- /dev/null
+++ b/dev-db/postgresql-base/postgresql-base-7.3.21.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="none"
+
+inherit eutils multilib toolchain-funcs versionator autotools
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+
+DESCRIPTION="PostgreSQL libraries and clients"
+HOMEPAGE="http://www.postgresql.org/"
+SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
+LICENSE="POSTGRESQL"
+SLOT="$(get_version_component_range 1-2)"
+# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/'
+IUSE_LINGUAS="
+ linguas_cs linguas_de linguas_es linguas_fr linguas_hr linguas_hu
+ linguas_pt_BR linguas_ru linguas_sv linguas_tr linguas_zh_CN
+ linguas_zh_TW"
+IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ${IUSE_LINGUAS}"
+RESTRICT="test"
+
+wanted_languages() {
+ for u in ${IUSE_LINGUAS} ; do
+ use $u && echo ${u#linguas_}
+ done
+}
+
+RDEPEND="kerberos? ( virtual/krb5 )
+ pam? ( virtual/pam )
+ readline? ( >=sys-libs/readline-4.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ zlib? ( >=sys-libs/zlib-1.1.3 )
+ >=app-admin/eselect-postgresql-0.2
+ !dev-db/postgresql-libs
+ !dev-db/postgresql-client
+ !dev-db/libpq
+ !dev-db/postgresql"
+DEPEND="${RDEPEND}
+ >=sys-devel/bison-1.875
+ nls? ( sys-devel/gettext )"
+PDEPEND="doc? ( dev-db/postgresql-docs:${SLOT} )"
+
+S="${WORKDIR}/postgresql-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/postgresql-${PV}-autoconf.patch" \
+ "${FILESDIR}/postgresql-${SLOT}-base.patch"
+
+ # to avoid collision - it only should be installed by server
+ rm "${S}/src/backend/nls.mk"
+
+ eautoconf
+}
+
+src_compile() {
+ econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \
+ --datadir=/usr/share/postgresql-${SLOT} \
+ --sysconfdir=/etc/postgresql-${SLOT} \
+ --includedir=/usr/include/postgresql-${SLOT} \
+ --with-locale-dir=/usr/share/postgresql-${SLOT}/locale \
+ --mandir=/usr/share/postgresql-${SLOT}/man \
+ --host=${CHOST} \
+ --with-docdir=/usr/share/doc/${PF} \
+ --without-tcl \
+ --without-perl \
+ --without-python \
+ $(use_with kerberos krb5) \
+ "$(use_enable nls nls "$(wanted_languages)")" \
+ $(use_with pam) \
+ $(use_enable pg-intdatetime integer-datetimes ) \
+ $(use_with readline) \
+ $(use_with ssl openssl) \
+ $(use_enable threads thread-safety ) \
+ $(use_with zlib) \
+ || die "configure failed"
+
+ emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed"
+
+ cd "${S}/contrib"
+ emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ insinto /usr/include/postgresql-${SLOT}/postmaster
+ doins "${S}"/src/include/postmaster/*.h
+ dodir /usr/share/postgresql-${SLOT}/man/man1
+ tar -zxf "${S}/doc/man.tar.gz" -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1
+
+ rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster}.1
+ dodoc README HISTORY doc/{README.*,TODO,bug.template}
+
+ cd "${S}/contrib"
+ emake DESTDIR="${D}" install || die "emake install failed"
+ cd "${S}"
+
+ dodir /usr/lib/eselect-postgresql/slots/${SLOT}
+
+ IDIR="/usr/include/postgresql-${SLOT}"
+ cat > "${D}/usr/lib/eselect-postgresql/slots/${SLOT}/base" <<-__EOF__
+postgres_ebuilds="\${postgres_ebuilds} ${PF}"
+postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT}
+postgres_datadir=/usr/share/postgresql-${SLOT}
+postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin
+postgres_symlinks=(
+ ${IDIR} /usr/include/postgresql
+ ${IDIR}/libpq-fe.h /usr/include/libpq-fe.h
+ ${IDIR}/libpq /usr/include/libpq
+ ${IDIR}/postgres_ext.h /usr/include/postgres_ext.h
+)
+__EOF__
+
+ cat >"${T}/50postgresql-95-${SLOT}" <<-__EOF__
+ LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)
+ MANPATH=/usr/share/postgresql-${SLOT}/man
+ __EOF__
+ doenvd "${T}/50postgresql-95-${SLOT}"
+
+ keepdir /etc/postgresql-${SLOT}
+}
+
+pkg_postinst() {
+ eselect postgresql update
+ [[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT}
+ elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'."
+}
+
+pkg_postrm() {
+ eselect postgresql update
+}
diff --git a/dev-db/postgresql-base/postgresql-base-7.4.19.ebuild b/dev-db/postgresql-base/postgresql-base-7.4.19.ebuild
index e993657..321770d 100644
--- a/dev-db/postgresql-base/postgresql-base-7.4.19.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-7.4.19.ebuild
@@ -11,7 +11,7 @@ inherit eutils multilib toolchain-funcs versionator autotools
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-DESCRIPTION="PostgreSQL libraries"
+DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
diff --git a/dev-db/postgresql-base/postgresql-base-8.0.15.ebuild b/dev-db/postgresql-base/postgresql-base-8.0.15.ebuild
index 481a09e..3e7fc41 100644
--- a/dev-db/postgresql-base/postgresql-base-8.0.15.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-8.0.15.ebuild
@@ -11,7 +11,7 @@ inherit eutils multilib toolchain-funcs versionator autotools
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-DESCRIPTION="PostgreSQL libraries"
+DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
diff --git a/dev-db/postgresql-base/postgresql-base-8.1.11.ebuild b/dev-db/postgresql-base/postgresql-base-8.1.11.ebuild
index 481a09e..3e7fc41 100644
--- a/dev-db/postgresql-base/postgresql-base-8.1.11.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-8.1.11.ebuild
@@ -11,7 +11,7 @@ inherit eutils multilib toolchain-funcs versionator autotools
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-DESCRIPTION="PostgreSQL libraries"
+DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
diff --git a/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild b/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild
index e6a4085..b9c364c 100644
--- a/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-8.2.6.ebuild
@@ -11,7 +11,7 @@ inherit eutils multilib toolchain-funcs versionator autotools
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-DESCRIPTION="PostgreSQL libraries"
+DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
diff --git a/dev-db/postgresql-base/postgresql-base-8.3.0.ebuild b/dev-db/postgresql-base/postgresql-base-8.3.0.ebuild
index e6a4085..b9c364c 100644
--- a/dev-db/postgresql-base/postgresql-base-8.3.0.ebuild
+++ b/dev-db/postgresql-base/postgresql-base-8.3.0.ebuild
@@ -11,7 +11,7 @@ inherit eutils multilib toolchain-funcs versionator autotools
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-DESCRIPTION="PostgreSQL libraries"
+DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"