Dropped old versions. Added note for people having the pg-hier USE-flag set.
authorTiziano Müller <dev-zero@gentoo.org>
Sun, 17 Dec 2006 09:40:56 +0000 (09:40 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Sun, 17 Dec 2006 09:40:56 +0000 (09:40 +0000)
Package-Manager: portage-2.1.2_rc3

dev-db/postgresql/Manifest
dev-db/postgresql/files/digest-postgresql-8.0.9 [deleted file]
dev-db/postgresql/files/digest-postgresql-8.1.5 [deleted file]
dev-db/postgresql/postgresql-8.0.9.ebuild [deleted file]
dev-db/postgresql/postgresql-8.1.5.ebuild [deleted file]

index a8f5740818e193645fe50a1b5ded0c72b6fa83a0..1808f2c130f141eabef97cf8e4f6ad43ccd7bddc 100644 (file)
@@ -161,34 +161,26 @@ EBUILD postgresql-7.4.13.ebuild 10706 RMD160 b0d2ff978b1e4c1cadbd2e79c3229688bd1
 MD5 c970674fff433171fc0e2231e3be1035 postgresql-7.4.13.ebuild 10706
 RMD160 b0d2ff978b1e4c1cadbd2e79c3229688bd1111e5 postgresql-7.4.13.ebuild 10706
 SHA256 aaf22899f43a413ba55c771d6ca542986c64b0d21c3c41ac7301708156745240 postgresql-7.4.13.ebuild 10706
-EBUILD postgresql-7.4.14.ebuild 8334 RMD160 d180145248663a6672ffded91dc6986e1e150f2e SHA1 6fcb2476d5a24bdfffc23a6499c23445adb70a1b SHA256 c35be2730959667c776249f4bae00a2df3eafd80263f92b949515692aa6ece89
-MD5 c7e1510cc5ce410ff8df675e0bdfec3d postgresql-7.4.14.ebuild 8334
-RMD160 d180145248663a6672ffded91dc6986e1e150f2e postgresql-7.4.14.ebuild 8334
-SHA256 c35be2730959667c776249f4bae00a2df3eafd80263f92b949515692aa6ece89 postgresql-7.4.14.ebuild 8334
+EBUILD postgresql-7.4.14.ebuild 8843 RMD160 26430a06acdf26ff8866344da53df6147099e97b SHA1 e7330ac2daecd7de04c2c13aee61e3d971af9321 SHA256 48765a38134694fe6456c3bd82a569f67166fc42d459198a3500cf6161f4807b
+MD5 c7287eec24589a82a60db80b88856af0 postgresql-7.4.14.ebuild 8843
+RMD160 26430a06acdf26ff8866344da53df6147099e97b postgresql-7.4.14.ebuild 8843
+SHA256 48765a38134694fe6456c3bd82a569f67166fc42d459198a3500cf6161f4807b postgresql-7.4.14.ebuild 8843
 EBUILD postgresql-8.0.8.ebuild 7671 RMD160 d820ff2188af6bb6d90ce81e59434187dc4a51f9 SHA1 3567eafb1099f3bd8894881e9c73ad945465aa03 SHA256 6e953e8ce3b6e057022fc2c08569f221dde779c595562b9597ffed2fdf310591
 MD5 e5593b676c330eb0f88e49a7a363e5d0 postgresql-8.0.8.ebuild 7671
 RMD160 d820ff2188af6bb6d90ce81e59434187dc4a51f9 postgresql-8.0.8.ebuild 7671
 SHA256 6e953e8ce3b6e057022fc2c08569f221dde779c595562b9597ffed2fdf310591 postgresql-8.0.8.ebuild 7671
-EBUILD postgresql-8.0.9-r1.ebuild 8314 RMD160 4b7d85c2ccbba5fe1ef838a1872c96e4e658f092 SHA1 1f4766d50ff1dc0c76d0ee92f0a4415b08f45671 SHA256 61a9993458e9aa5f88f180df1c8e26ac05b36aec6cb66fe30e483d712d4e158d
-MD5 b0cf7f800d34b57f661d3021fb0cd6af postgresql-8.0.9-r1.ebuild 8314
-RMD160 4b7d85c2ccbba5fe1ef838a1872c96e4e658f092 postgresql-8.0.9-r1.ebuild 8314
-SHA256 61a9993458e9aa5f88f180df1c8e26ac05b36aec6cb66fe30e483d712d4e158d postgresql-8.0.9-r1.ebuild 8314
-EBUILD postgresql-8.0.9.ebuild 8310 RMD160 ab48cadeeaed9d22f3f6067203556c6fb8301439 SHA1 1e41f708041d785f6ec792b9c5361d77520114aa SHA256 c04db35f727326b4b5c90b0e556ce2316b2c9afae2321ead2d670008b0aeb47d
-MD5 b8207a0a1ff9b20480bc0f12be3e4e07 postgresql-8.0.9.ebuild 8310
-RMD160 ab48cadeeaed9d22f3f6067203556c6fb8301439 postgresql-8.0.9.ebuild 8310
-SHA256 c04db35f727326b4b5c90b0e556ce2316b2c9afae2321ead2d670008b0aeb47d postgresql-8.0.9.ebuild 8310
+EBUILD postgresql-8.0.9-r1.ebuild 8823 RMD160 6eb4f06da800e69c8cea5e5410397459000e2484 SHA1 2f8a0a3a60ff53fb67566cb2b26c8202eea111e0 SHA256 9590c45b8247990ce35cdb90c1b959a24b630af79faa8d57363e97b7e7fe9b6a
+MD5 6404e53096d0c315f7b3001c9bf8e97c postgresql-8.0.9-r1.ebuild 8823
+RMD160 6eb4f06da800e69c8cea5e5410397459000e2484 postgresql-8.0.9-r1.ebuild 8823
+SHA256 9590c45b8247990ce35cdb90c1b959a24b630af79faa8d57363e97b7e7fe9b6a postgresql-8.0.9-r1.ebuild 8823
 EBUILD postgresql-8.1.5-r1.ebuild 8497 RMD160 aec3c8a4220aba7ebe8c1e7defb136a83202df5a SHA1 37815c785fece4cee463e458f8b568179f393239 SHA256 ebb92b2ab9d435033a33b1695f164cca7055dea17c463dd8c834a9f4c2a57a0a
 MD5 ca1c9142e329325d94a0c8a168f67b50 postgresql-8.1.5-r1.ebuild 8497
 RMD160 aec3c8a4220aba7ebe8c1e7defb136a83202df5a postgresql-8.1.5-r1.ebuild 8497
 SHA256 ebb92b2ab9d435033a33b1695f164cca7055dea17c463dd8c834a9f4c2a57a0a postgresql-8.1.5-r1.ebuild 8497
-EBUILD postgresql-8.1.5.ebuild 8492 RMD160 4f90882bb047b9f6cb8176b272ac01fee8758e70 SHA1 8d69b0bbdbdc2f15bf0852ccf9eff295e92659bb SHA256 224f9c2c42868cb3b0d038bb620849dbda09e850749c10d1918a86f1f6ebdbde
-MD5 60a8f90b6ccf290fece5fa07b4dde8ba postgresql-8.1.5.ebuild 8492
-RMD160 4f90882bb047b9f6cb8176b272ac01fee8758e70 postgresql-8.1.5.ebuild 8492
-SHA256 224f9c2c42868cb3b0d038bb620849dbda09e850749c10d1918a86f1f6ebdbde postgresql-8.1.5.ebuild 8492
-MISC ChangeLog 65752 RMD160 5353734ff749d7e23c2560aca90a88a654810a0c SHA1 51de6733bfef6f67d5c31aa33c9e64c9fea07c84 SHA256 1595ef2edd93e175494cefd07dc097be6cd8e389c93047431faedac5603bf7f9
-MD5 23a3cbc2e12c24e47be25e9dcf3727e1 ChangeLog 65752
-RMD160 5353734ff749d7e23c2560aca90a88a654810a0c ChangeLog 65752
-SHA256 1595ef2edd93e175494cefd07dc097be6cd8e389c93047431faedac5603bf7f9 ChangeLog 65752
+MISC ChangeLog 65993 RMD160 1654d7067176a08097e60e76008c7368196a7747 SHA1 4f634613d15be908786e8e8e56378275c8e26cb2 SHA256 15068b0aded1d2a4c55eb31f432ed539732436a6e0dacd98eccd10b7a176b495
+MD5 121872b53d2b93c520008803e0fbc4b5 ChangeLog 65993
+RMD160 1654d7067176a08097e60e76008c7368196a7747 ChangeLog 65993
+SHA256 15068b0aded1d2a4c55eb31f432ed539732436a6e0dacd98eccd10b7a176b495 ChangeLog 65993
 MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
 MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164
 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164
@@ -208,15 +200,9 @@ SHA256 6910f88a5fc143d08c6ee0f6746833c586e8bb42b29d9ba7b8efa3ad53376414 files/di
 MD5 4dd90d685497cfc29caef97a786fbfc6 files/digest-postgresql-8.0.8 1063
 RMD160 c27fbdc33e77854dda297a5466e1854a9e52f0f4 files/digest-postgresql-8.0.8 1063
 SHA256 b47e1cde8cc579e0334c598c8798e6d02bdc0cf4436281949d10cf750ffb6360 files/digest-postgresql-8.0.8 1063
-MD5 e8da54a6c7b889de6961435728d929af files/digest-postgresql-8.0.9 1075
-RMD160 2dbebd489e85e2ef8a333d3708c6b9403df3d53b files/digest-postgresql-8.0.9 1075
-SHA256 54dd646bd90f8058c54f038aa030298f28ca6dd99f02203dfee80076b055debf files/digest-postgresql-8.0.9 1075
 MD5 e8da54a6c7b889de6961435728d929af files/digest-postgresql-8.0.9-r1 1075
 RMD160 2dbebd489e85e2ef8a333d3708c6b9403df3d53b files/digest-postgresql-8.0.9-r1 1075
 SHA256 54dd646bd90f8058c54f038aa030298f28ca6dd99f02203dfee80076b055debf files/digest-postgresql-8.0.9-r1 1075
-MD5 e4baa5814880c254728d082156c5629d files/digest-postgresql-8.1.5 1075
-RMD160 f0beab2222381790f34942747b149d743b4dc992 files/digest-postgresql-8.1.5 1075
-SHA256 89b2b19a00fa3f6b75aa6892b5cfe1f3cd83ec10bb32dcdaf7d8fcde4a18db1e files/digest-postgresql-8.1.5 1075
 MD5 e4baa5814880c254728d082156c5629d files/digest-postgresql-8.1.5-r1 1075
 RMD160 f0beab2222381790f34942747b149d743b4dc992 files/digest-postgresql-8.1.5-r1 1075
 SHA256 89b2b19a00fa3f6b75aa6892b5cfe1f3cd83ec10bb32dcdaf7d8fcde4a18db1e files/digest-postgresql-8.1.5-r1 1075
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.9 b/dev-db/postgresql/files/digest-postgresql-8.0.9
deleted file mode 100644 (file)
index f2e11e0..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 f9a044227ad6dc9c937d4853100733cb postgresql-base-8.0.9.tar.bz2 7824961
-RMD160 40cbea0b0a3a0f67670dfbe1670e08b48dbb1999 postgresql-base-8.0.9.tar.bz2 7824961
-SHA256 8ed190ee5468f3685a1edbc5279490819ffa6fe64f1b6f0139bdbec365852417 postgresql-base-8.0.9.tar.bz2 7824961
-MD5 0529eb29ac2c248a3b244b7bfc007456 postgresql-docs-8.0.9.tar.bz2 2262698
-RMD160 55df79bfc347147c33db925a1138c2341043f887 postgresql-docs-8.0.9.tar.bz2 2262698
-SHA256 b55d4a77c0c3b0f42c7233c08112b884e1463157160007efd70a63806ede632b postgresql-docs-8.0.9.tar.bz2 2262698
-MD5 363e009214bfde8235d900da09c7c675 postgresql-opt-8.0.9.tar.bz2 134706
-RMD160 be148e079c20c13aec1767180d993933b91c2116 postgresql-opt-8.0.9.tar.bz2 134706
-SHA256 007d5cded329dfbcc91b4f1d1ddb9473efb4316b1621294446ee611065393020 postgresql-opt-8.0.9.tar.bz2 134706
-MD5 8992a878fe5aa32e3da7fb84270614db postgresql-test-8.0.9.tar.bz2 931363
-RMD160 ae38c2225daff32449ebe6b483096f2f35aa8067 postgresql-test-8.0.9.tar.bz2 931363
-SHA256 f2b81b3cf7ade17a748fa84570c295817d82fd05b53d2e0fb9d9e922b0c613ea postgresql-test-8.0.9.tar.bz2 931363
diff --git a/dev-db/postgresql/files/digest-postgresql-8.1.5 b/dev-db/postgresql/files/digest-postgresql-8.1.5
deleted file mode 100644 (file)
index ac72d06..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 30a42fd5fc5326edc217e28651e5053b postgresql-base-8.1.5.tar.bz2 8044522
-RMD160 3460f38b720ce3a9687052d5523bcbd027655d6e postgresql-base-8.1.5.tar.bz2 8044522
-SHA256 cb878499848aa8abb82f1ae79574923174851b0396a5befa31f49089a3abb4df postgresql-base-8.1.5.tar.bz2 8044522
-MD5 d104e7e645ea36407831ca59470c7a12 postgresql-docs-8.1.5.tar.bz2 2489400
-RMD160 a29a5d1738f6f776597d162d9fc6d69805c74943 postgresql-docs-8.1.5.tar.bz2 2489400
-SHA256 01c0a848b0016598adfcebea74960340edf80fc037051d106b62bea14e1cd0c9 postgresql-docs-8.1.5.tar.bz2 2489400
-MD5 bcd3eec7cfc759dbfdde4f9e8fa07d27 postgresql-opt-8.1.5.tar.bz2 144784
-RMD160 5ac9b1ffdf1357316ceb1736f7b9be3ee339be3b postgresql-opt-8.1.5.tar.bz2 144784
-SHA256 4fe0dc14e02d65516348ec0e90633be2a3ada002c151fca8f2e7eba6556c8b1c postgresql-opt-8.1.5.tar.bz2 144784
-MD5 b3e050a0af7998d78f928b96d95fa6d7 postgresql-test-8.1.5.tar.bz2 947271
-RMD160 644b352354743eb5250bf422c62e1f2c340c1ed2 postgresql-test-8.1.5.tar.bz2 947271
-SHA256 60ed8d466a66dfe72994f7c8e45324e81e8ce6b91343eee07df5939f10559166 postgresql-test-8.1.5.tar.bz2 947271
diff --git a/dev-db/postgresql/postgresql-8.0.9.ebuild b/dev-db/postgresql/postgresql-8.0.9.ebuild
deleted file mode 100644 (file)
index c15cfa0..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-8.0.9.ebuild,v 1.5 2006/11/09 18:35:25 chtekk Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
-               mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
-               doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
-               test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
-               >=sys-libs/ncurses-5.2
-               kerberos? ( virtual/krb5 )
-               pam? ( virtual/pam )
-               perl? ( >=dev-lang/perl-5.6.1-r2 )
-               python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
-               readline? ( >=sys-libs/readline-4.1 )
-               selinux? ( sec-policy/selinux-postgresql )
-               ssl? ( >=dev-libs/openssl-0.9.6-r1 )
-               tcl? ( >=dev-lang/tcl-8 )
-               xml? ( dev-libs/libxml2 dev-libs/libxslt )
-               zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
-               sys-devel/autoconf
-               >=sys-devel/bison-1.875
-               nls? ( sys-devel/gettext )
-               xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-pkg_setup() {
-       if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
-               if [[ $(cat "${PG_DIR}/data/PG_VERSION") != $(get_version_component_range 1-2) ]] ; then
-                       eerror "PostgreSQL ${PV} cannot upgrade your existing databases, you must"
-                       eerror "use pg_dump to export your existing databases to a file, and then"
-                       eerror "pg_restore to import them when you have upgraded completely."
-                       eerror "You must remove your entire database directory to continue."
-                       eerror "(database directory = ${PG_DIR})."
-                       die "Remove your database directory to continue"
-               fi
-       fi
-       enewgroup postgres 70
-       enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-
-       epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
-       epatch "${FILESDIR}/${PN}-${PV}-sh.patch"
-
-       # Prepare package for future tests
-       if use test ; then
-               # Fix sandbox violation
-               sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" -i src/test/regress/{input,output}/tablespace.source
-
-               # We need to run the tests as a non-root user, portage seems the most fitting here,
-               # so if userpriv is enabled, we use it directly. If userpriv is disabled, well, we
-               # don't support that in this version of PostgreSQL ... :)
-               mkdir -p "${S}/src/test/regress/tmp_check"
-               chown portage "${S}/src/test/regress/tmp_check"
-               einfo "Tests will be run as user portage."
-       fi
-}
-
-src_compile() {
-       filter-flags -ffast-math -feliminate-dwarf2-dups
-
-       # Detect mips systems properly
-       gnuconfig_update
-
-       cd "${S}"
-
-       ./configure --prefix=/usr \
-               --includedir=/usr/include/postgresql/pgsql \
-               --sysconfdir=/etc/postgresql \
-               --mandir=/usr/share/man \
-               --host=${CHOST} \
-               --with-docdir=/usr/share/doc/${PF} \
-               --libdir=/usr/$(get_libdir) \
-               --enable-depend \
-               $(use_with kerberos krb5) \
-               $(use_enable nls ) \
-               $(use_with pam) \
-               $(use_with perl) \
-               $(use_enable pg-intdatetime integer-datetimes ) \
-               $(use_with python) \
-               $(use_with readline) \
-               $(use_with ssl openssl) \
-               $(use_with tcl) \
-               $(use_with zlib) \
-               || die "configure failed"
-
-       emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
-       cd "${S}/contrib"
-       emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
-       if use xml ; then
-               cd "${S}/contrib/xml2"
-               emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml2 emake failed"
-       fi
-}
-
-src_install() {
-       if use perl ; then
-               mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
-               sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
-                       "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
-       fi
-
-       cd "${S}"
-       emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
-       cd "${S}/contrib"
-       emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
-       if use xml ; then
-               cd "${S}/contrib/xml2"
-               emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml2 emake install failed"
-       fi
-
-       cd "${S}"
-       dodoc README HISTORY
-       dodoc contrib/adddepend/*
-
-       cd "${S}/doc"
-       dodoc FAQ* README.* TODO bug.template
-
-       if use doc ; then
-               cd "${S}/doc"
-               docinto FAQ_html
-               dodoc src/FAQ/*
-               docinto sgml
-               dodoc src/sgml/*.{sgml,dsl}
-               docinto sgml/ref
-               dodoc src/sgml/ref/*.sgml
-               docinto TODO.detail
-               dodoc TODO.detail/*
-       fi
-
-       newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
-       newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-
-       newinitd "${FILESDIR}/pg_autovacuum.init-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum init.d-file failed"
-       newconfd "${FILESDIR}/pg_autovacuum.conf-${PV%.*}" pg_autovacuum || die "Inserting pg_autovacuum conf.d-file failed"
-       dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-}
-
-pkg_postinst() {
-       elog "Execute the following command to setup the initial database environment:"
-       elog
-       elog "emerge --config =${PF}"
-       elog
-       elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
-       einfo "Creating the data directory ..."
-       mkdir -p "${PG_DIR}/data"
-       chown -Rf postgres:postgres "${PG_DIR}"
-       chmod 0700 "${PG_DIR}/data"
-
-       einfo "Initializing the database ..."
-       if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
-               eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
-               eerror "You must remove your entire database directory to continue."
-               eerror "(database directory = ${PG_DIR})."
-               die "Remove your database directory to continue"
-       else
-               if use kernel_linux ; then
-                       local SEM=`sysctl -n kernel.sem | cut -f-3`
-                       local SEMMNI=`sysctl -n kernel.sem | cut -f4`
-                       local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
-                       local SHMMAX=`sysctl -n kernel.shmmax`
-                       local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
-                       if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
-                               eerror "The current value of SEMMNI is too low"
-                               eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
-                               eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
-                               echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
-                       fi
-
-                       su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
-                       if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
-                               echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
-                               ewarn "Restoring the SEMMNI value to the previous value."
-                               ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
-                               ewarn "and set it to at least ${SEMMNI_MIN}:"
-                               ewarn
-                               ewarn "  kernel.sem = ${SEM} ${SEMMNI_MIN}"
-                               ewarn
-                       fi
-
-                       if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
-                               eerror "The current value of SHMMAX is too low for postgresql to run."
-                               eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
-                               eerror
-                               eerror "  kernel.shmmax = ${SHMMAX_MIN}"
-                               eerror
-                       fi
-               else
-                       su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-               fi
-
-               einfo
-               einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
-               einfo
-       fi
-}
-
-src_test() {
-       cd "${S}"
-
-       einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
-       if hasq userpriv ${FEATURES} ; then
-               if ! emake -j1 check ; then
-                       hasq test ${FEATURES} && die "Make check failed. See above for details."
-                       hasq test ${FEATURES} || eerror "Make check failed. See above for details."
-               fi
-       else
-               eerror "Tests won't be run if FEATURES=userpriv is disabled!"
-       fi
-
-       einfo "Yes, there are other tests which could be run."
-       einfo "... and no, we don't plan to add/support them."
-       einfo "For now, the main regressions tests will suffice."
-       einfo "If you think other tests are necessary, please submit a"
-       einfo "bug including a patch for this ebuild to enable them."
-}
diff --git a/dev-db/postgresql/postgresql-8.1.5.ebuild b/dev-db/postgresql/postgresql-8.1.5.ebuild
deleted file mode 100644 (file)
index 0b6a796..0000000
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-8.1.5.ebuild,v 1.5 2006/11/09 18:35:25 chtekk Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs versionator
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DESCRIPTION="Sophisticated and powerful Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${PV}.tar.bz2
-               mirror://postgresql/source/v${PV}/${PN}-opt-${PV}.tar.bz2
-               doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${PV}.tar.bz2 )
-               test? ( mirror://postgresql/source/v${PV}/${PN}-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="0"
-IUSE="doc kerberos nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
-
-RDEPEND="~dev-db/libpq-${PV}
-               >=sys-libs/ncurses-5.2
-               kerberos? ( virtual/krb5 )
-               pam? ( virtual/pam )
-               perl? ( >=dev-lang/perl-5.6.1-r2 )
-               python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
-               readline? ( >=sys-libs/readline-4.1 )
-               selinux? ( sec-policy/selinux-postgresql )
-               ssl? ( >=dev-libs/openssl-0.9.6-r1 )
-               tcl? ( >=dev-lang/tcl-8 )
-               xml? ( dev-libs/libxml2 dev-libs/libxslt )
-               zlib? ( >=sys-libs/zlib-1.1.3 )"
-DEPEND="${RDEPEND}
-               sys-devel/autoconf
-               >=sys-devel/bison-1.875
-               nls? ( sys-devel/gettext )
-               xml? ( dev-util/pkgconfig )"
-
-PG_DIR="/var/lib/postgresql"
-[[ -z "${PG_MAX_CONNECTIONS}" ]] && PG_MAX_CONNECTIONS="512"
-
-pkg_setup() {
-       if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
-               if [[ $(cat "${PG_DIR}/data/PG_VERSION") != $(get_version_component_range 1-2) ]] ; then
-                       eerror "PostgreSQL ${PV} cannot upgrade your existing databases, you must"
-                       eerror "use pg_dump to export your existing databases to a file, and then"
-                       eerror "pg_restore to import them when you have upgraded completely."
-                       eerror "You must remove your entire database directory to continue."
-                       eerror "(database directory = ${PG_DIR})."
-                       die "Remove your database directory to continue"
-               fi
-       fi
-       enewgroup postgres 70
-       enewuser postgres 70 /bin/bash /var/lib postgres
-}
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-
-       epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
-       epatch "${FILESDIR}/${PN}-${PV}-sh.patch"
-
-       # Prepare package for future tests
-       if use test ; then
-               # Fix sandbox violation
-               sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" -i src/test/regress/{input,output}/tablespace.source
-
-               # Fix broken tests
-               epatch "${FILESDIR}/${PN}-${PV}-regress_fix.patch"
-
-               # We need to run the tests as a non-root user, portage seems the most fitting here,
-               # so if userpriv is enabled, we use it directly. If userpriv is disabled, we need to
-               # su - to a valid user, portage again, so we patch the test-scripts to do that.
-               mkdir -p "${S}/src/test/regress/tmp_check"
-               chown portage "${S}/src/test/regress/tmp_check"
-               einfo "Tests will be run as user portage."
-               if ! hasq userpriv ${FEATURES} ; then
-                       mkdir -p "${S}/src/test/regress/results"
-                       chown portage "${S}/src/test/regress/results"
-                       epatch "${FILESDIR}/${PN}-${PV}-regress_su.patch"
-                       sed -e "s|PORTAGETEMPDIRPG|${S}/src/test/regress|g" -i src/test/regress/pg_regress.sh
-               fi
-       fi
-}
-
-src_compile() {
-       filter-flags -ffast-math -feliminate-dwarf2-dups
-
-       # Detect mips systems properly
-       gnuconfig_update
-
-       cd "${S}"
-
-       ./configure --prefix=/usr \
-               --includedir=/usr/include/postgresql/pgsql \
-               --sysconfdir=/etc/postgresql \
-               --mandir=/usr/share/man \
-               --host=${CHOST} \
-               --with-docdir=/usr/share/doc/${PF} \
-               --libdir=/usr/$(get_libdir) \
-               --enable-depend \
-               $(use_with kerberos krb5) \
-               $(use_enable nls ) \
-               $(use_with pam) \
-               $(use_with perl) \
-               $(use_enable pg-intdatetime integer-datetimes ) \
-               $(use_with python) \
-               $(use_with readline) \
-               $(use_with ssl openssl) \
-               $(use_with tcl) \
-               $(use_with zlib) \
-               || die "configure failed"
-
-       emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
-
-       cd "${S}/contrib"
-       emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib emake failed"
-
-       if use xml ; then
-               cd "${S}/contrib/xml2"
-               emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "contrib/xml2 emake failed"
-       fi
-}
-
-src_install() {
-       if use perl ; then
-               mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
-               sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
-                       "${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
-       fi
-
-       cd "${S}"
-       emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "main emake install failed"
-
-       cd "${S}/contrib"
-       emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib emake install failed"
-
-       if use xml ; then
-               cd "${S}/contrib/xml2"
-               emake -j1 DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "contrib/xml2 emake install failed"
-       fi
-
-       cd "${S}"
-       dodoc README HISTORY
-       dodoc contrib/adddepend/*
-
-       cd "${S}/doc"
-       dodoc FAQ* README.* TODO bug.template
-
-       if use doc ; then
-               cd "${S}/doc"
-               docinto FAQ_html
-               dodoc src/FAQ/*
-               docinto sgml
-               dodoc src/sgml/*.{sgml,dsl}
-               docinto sgml/ref
-               dodoc src/sgml/ref/*.sgml
-               docinto TODO.detail
-               dodoc TODO.detail/*
-       fi
-
-       newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die "Inserting init.d-file failed"
-       newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die "Inserting conf.d-file failed"
-}
-
-pkg_postinst() {
-       elog "Execute the following command to setup the initial database environment:"
-       elog
-       elog "emerge --config =${PF}"
-       elog
-       elog "The autovacuum function, which was in contrib, has been moved to the main"
-       elog "PostgreSQL functions starting with 8.1."
-       elog "You can enable it in ${ROOT}/etc/postgresql/postgresql.conf."
-       elog
-       elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql/'."
-}
-
-pkg_config() {
-       einfo "Creating the data directory ..."
-       mkdir -p "${PG_DIR}/data"
-       chown -Rf postgres:postgres "${PG_DIR}"
-       chmod 0700 "${PG_DIR}/data"
-
-       einfo "Initializing the database ..."
-       if [[ -f "${PG_DIR}/data/PG_VERSION" ]] ; then
-               eerror "PostgreSQL ${PV} cannot upgrade your existing databases."
-               eerror "You must remove your entire database directory to continue."
-               eerror "(database directory = ${PG_DIR})."
-               die "Remove your database directory to continue"
-       else
-               if use kernel_linux ; then
-                       local SEM=`sysctl -n kernel.sem | cut -f-3`
-                       local SEMMNI=`sysctl -n kernel.sem | cut -f4`
-                       local SEMMNI_MIN=`expr \( ${PG_MAX_CONNECTIONS} + 15 \) / 16`
-                       local SHMMAX=`sysctl -n kernel.shmmax`
-                       local SHMMAX_MIN=`expr 500000 + 30600 \* ${PG_MAX_CONNECTIONS}`
-
-                       if [ ${SEMMNI} -lt ${SEMMNI_MIN} ] ; then
-                               eerror "The current value of SEMMNI is too low"
-                               eerror "for PostgreSQL to run ${PG_MAX_CONNECTIONS} connections!"
-                               eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
-                               echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
-                       fi
-
-                       su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
-                       if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
-                               echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
-                               ewarn "Restoring the SEMMNI value to the previous value."
-                               ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
-                               ewarn "and set it to at least ${SEMMNI_MIN}:"
-                               ewarn
-                               ewarn "  kernel.sem = ${SEM} ${SEMMNI_MIN}"
-                               ewarn
-                       fi
-
-                       if [ ${SHMMAX} -lt ${SHMMAX_MIN} ] ; then
-                               eerror "The current value of SHMMAX is too low for postgresql to run."
-                               eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}:"
-                               eerror
-                               eerror "  kernel.shmmax = ${SHMMAX_MIN}"
-                               eerror
-                       fi
-               else
-                       su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-               fi
-
-               einfo
-               einfo "You can use the '${ROOT}/etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'."
-               einfo
-       fi
-}
-
-src_test() {
-       cd "${S}"
-
-       einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
-       if ! emake -j1 check ; then
-               hasq test ${FEATURES} && die "Make check failed. See above for details."
-               hasq test ${FEATURES} || eerror "Make check failed. See above for details."
-       fi
-
-       einfo "Yes, there are other tests which could be run."
-       einfo "... and no, we don't plan to add/support them."
-       einfo "For now, the main regressions tests will suffice."
-       einfo "If you think other tests are necessary, please submit a"
-       einfo "bug including a patch for this ebuild to enable them."
-}