diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2005-07-27 19:32:59 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2005-07-27 19:32:59 +0000 |
commit | 7999ce073e652e7caf8d7ef4a5724da4471fdfb9 (patch) | |
tree | 7918cf3d55c4a681e83d601a294d76b2200c3f15 /dev-db | |
parent | Stable on sparc wrt #100316 (diff) | |
download | gentoo-2-7999ce073e652e7caf8d7ef4a5724da4471fdfb9.tar.gz gentoo-2-7999ce073e652e7caf8d7ef4a5724da4471fdfb9.tar.bz2 gentoo-2-7999ce073e652e7caf8d7ef4a5724da4471fdfb9.zip |
version bump
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/libpq/ChangeLog | 11 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-7.3.10-r1 | 1 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-7.4.8-r1 | 1 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-8.0.1-r1 | 1 | ||||
-rw-r--r-- | dev-db/libpq/files/digest-libpq-8.0.3-r1 | 1 | ||||
-rw-r--r-- | dev-db/libpq/libpq-7.3.10-r1.ebuild | 111 | ||||
-rw-r--r-- | dev-db/libpq/libpq-7.4.8-r1.ebuild | 111 | ||||
-rw-r--r-- | dev-db/libpq/libpq-8.0.1-r1.ebuild | 111 | ||||
-rw-r--r-- | dev-db/libpq/libpq-8.0.3-r1.ebuild | 111 |
9 files changed, 458 insertions, 1 deletions
diff --git a/dev-db/libpq/ChangeLog b/dev-db/libpq/ChangeLog index b55df3df8287..35027939a714 100644 --- a/dev-db/libpq/ChangeLog +++ b/dev-db/libpq/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-db/libpq # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.16 2005/07/21 15:08:38 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.17 2005/07/27 19:32:59 nakano Exp $ + +*libpq-8.0.3-r1 (27 Jul 2005) +*libpq-8.0.1-r1 (27 Jul 2005) +*libpq-7.4.8-r1 (27 Jul 2005) +*libpq-7.3.10-r1 (27 Jul 2005) + + 27 Jul 2005; Masatomo Nakano <nakano@gentoo.org> +libpq-7.3.10-r1.ebuild, + +libpq-7.4.8-r1.ebuild, +libpq-8.0.1-r1.ebuild, +libpq-8.0.3-r1.ebuild: + Version bump to make sure fixing previous bugs. 21 Jul 2005; Markus Rothe <corsair@gentoo.org> libpq-8.0.3.ebuild: Stable on ppc64 diff --git a/dev-db/libpq/files/digest-libpq-7.3.10-r1 b/dev-db/libpq/files/digest-libpq-7.3.10-r1 new file mode 100644 index 000000000000..621556a019be --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-7.3.10-r1 @@ -0,0 +1 @@ +MD5 d0c5131bad7330b35a0168f871a87711 postgresql-base-7.3.10.tar.bz2 5645041 diff --git a/dev-db/libpq/files/digest-libpq-7.4.8-r1 b/dev-db/libpq/files/digest-libpq-7.4.8-r1 new file mode 100644 index 000000000000..6c71d767adea --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-7.4.8-r1 @@ -0,0 +1 @@ +MD5 c066dd74a746e15a49e0fded93a45329 postgresql-base-7.4.8.tar.bz2 6588745 diff --git a/dev-db/libpq/files/digest-libpq-8.0.1-r1 b/dev-db/libpq/files/digest-libpq-8.0.1-r1 new file mode 100644 index 000000000000..175762bb8eb2 --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-8.0.1-r1 @@ -0,0 +1 @@ +MD5 b8f8edce5b29bcf785251693c6225885 postgresql-base-8.0.1.tar.bz2 7798118 diff --git a/dev-db/libpq/files/digest-libpq-8.0.3-r1 b/dev-db/libpq/files/digest-libpq-8.0.3-r1 new file mode 100644 index 000000000000..e6523151a277 --- /dev/null +++ b/dev-db/libpq/files/digest-libpq-8.0.3-r1 @@ -0,0 +1 @@ +MD5 35ff2b9a3bc5c65f55b4192a334b0e88 postgresql-base-8.0.3.tar.bz2 7818251 diff --git a/dev-db/libpq/libpq-7.3.10-r1.ebuild b/dev-db/libpq/libpq-7.3.10-r1.ebuild new file mode 100644 index 000000000000..19bc8f38ee8f --- /dev/null +++ b/dev-db/libpq/libpq-7.3.10-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.3.10-r1.ebuild,v 1.1 2005/07/27 19:32:59 nakano Exp $ + +inherit eutils gnuconfig flag-o-matic toolchain-funcs + +DESCRIPTION="Libraries of postgresql" +HOMEPAGE="http://www.postgresql.org/" +MY_P="postgresql-${PV}" +SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2" + +LICENSE="POSTGRESQL" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="ssl nls pam readline zlib kerberos" +#pg-hier" + +S=${WORKDIR}/${MY_P} +DEPEND="virtual/libc + sys-devel/autoconf + >=sys-libs/ncurses-5.2 + >=sys-devel/bison-1.875 + zlib? ( >=sys-libs/zlib-1.1.3 ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + nls? ( sys-devel/gettext ) + kerberos? ( virtual/krb5 )" +RDEPEND="virtual/libc + zlib? ( >=sys-libs/zlib-1.1.3 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + kerberos? ( virtual/krb5 )" + +MAKEOPTS="${MAKEOPTS} -j1" + +pkg_preinst() { + # removing wrong symlink which is created by previous ebuild. + if [ -L /usr/include/libpq ]; then + rm /usr/include/libpq + fi +} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + local myconf + use ssl && myconf="$myconf --with-openssl" + use nls && myconf="$myconf --enable-nls" + use pam && myconf="$myconf --with-pam" + use readline || myconf="$myconf --without-readline" + use zlib || myconf="$myconf --without-zlib" + use kerberos && myconf="$myconf --with-krb5" + + # these are the only working CFLAGS I could get on ppc, so locking them + # down, anything more aggressive fails (i.e. -mcpu or -Ox) + # Gerk - Nov 26, 2002 + use ppc && CFLAGS="-pipe -fsigned-char" + + # Detect mips systems properly + gnuconfig_update + + ./configure --prefix=/usr \ + --include=/usr/include/postgresql/libpq-${SLOT} \ + --mandir=/usr/share/man \ + --host=${CHOST} \ + --with-docdir=/usr/share/doc/${PF} \ + --libdir=/usr/$(get_libdir) \ + --enable-depend \ + --with-gnu-ld \ + $myconf || die + + cd ${S}/src/interfaces/libpq + emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die +} + +src_install() { + cd ${S}/src/interfaces/libpq + make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die + + cd ${S}/src/include + make DESTDIR=${D} install || die + + cd ${S} + dodoc README HISTORY COPYRIGHT INSTALL + + dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a + + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/*.h + do + dosym postgresql/libpq-${SLOT}/$(basename $f) /usr/include/ + done + + dodir /usr/include/libpq + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/libpq/*.h + do + dosym ../postgresql/libpq-${SLOT}/libpq/$(basename $f) /usr/include/libpq/ + done + + cd ${D}/usr/include/postgresql/libpq-${SLOT} + for f in $(find * -name '*.h' -print) ; do + destdir=$(dirname $f) + if [ ! -d "${D}/usr/include/postgresql/${destdir}" ]; then + dodir /usr/include/postgresql/${destdir} + fi + dosym /usr/include/postgresql/libpq-${SLOT}/${f} /usr/include/postgresql/${destdir}/ + done +} diff --git a/dev-db/libpq/libpq-7.4.8-r1.ebuild b/dev-db/libpq/libpq-7.4.8-r1.ebuild new file mode 100644 index 000000000000..846e1f66c598 --- /dev/null +++ b/dev-db/libpq/libpq-7.4.8-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.8-r1.ebuild,v 1.1 2005/07/27 19:32:59 nakano Exp $ + +inherit eutils gnuconfig flag-o-matic toolchain-funcs + +DESCRIPTION="Libraries of postgresql" +HOMEPAGE="http://www.postgresql.org/" +MY_P="postgresql-${PV}" +SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2" + +LICENSE="POSTGRESQL" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="ssl nls pam readline zlib kerberos" +#pg-hier" + +S=${WORKDIR}/${MY_P} +DEPEND="virtual/libc + sys-devel/autoconf + >=sys-libs/ncurses-5.2 + >=sys-devel/bison-1.875 + zlib? ( >=sys-libs/zlib-1.1.3 ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + nls? ( sys-devel/gettext ) + kerberos? ( virtual/krb5 )" +RDEPEND="virtual/libc + zlib? ( >=sys-libs/zlib-1.1.3 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + kerberos? ( virtual/krb5 )" + +MAKEOPTS="${MAKEOPTS} -j1" + +pkg_preinst() { + # removing wrong symlink which is created by previous ebuild. + if [ -L /usr/include/libpq ]; then + rm /usr/include/libpq + fi +} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + local myconf + use ssl && myconf="$myconf --with-openssl" + use nls && myconf="$myconf --enable-nls" + use pam && myconf="$myconf --with-pam" + use readline || myconf="$myconf --without-readline" + use zlib || myconf="$myconf --without-zlib" + use kerberos && myconf="$myconf --with-krb5" + + # these are the only working CFLAGS I could get on ppc, so locking them + # down, anything more aggressive fails (i.e. -mcpu or -Ox) + # Gerk - Nov 26, 2002 + use ppc && CFLAGS="-pipe -fsigned-char" + + # Detect mips systems properly + gnuconfig_update + + ./configure --prefix=/usr \ + --include=/usr/include/postgresql/libpq-${SLOT} \ + --mandir=/usr/share/man \ + --host=${CHOST} \ + --with-docdir=/usr/share/doc/${PF} \ + --libdir=/usr/$(get_libdir) \ + --enable-depend \ + --with-gnu-ld \ + $myconf || die + + cd ${S}/src/interfaces/libpq + emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die +} + +src_install() { + cd ${S}/src/interfaces/libpq + make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die + + cd ${S}/src/include + make DESTDIR=${D} install || die + + cd ${S} + dodoc README HISTORY COPYRIGHT INSTALL + + dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a + + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/*.h + do + dosym postgresql/libpq-${SLOT}/$(basename $f) /usr/include/ + done + + dodir /usr/include/libpq + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/libpq/*.h + do + dosym ../postgresql/libpq-${SLOT}/libpq/$(basename $f) /usr/include/libpq/ + done + + cd ${D}/usr/include/postgresql/libpq-${SLOT} + for f in $(find * -name '*.h' -print) ; do + destdir=$(dirname $f) + if [ ! -d "${D}/usr/include/postgresql/${destdir}" ]; then + dodir /usr/include/postgresql/${destdir} + fi + dosym /usr/include/postgresql/libpq-${SLOT}/${f} /usr/include/postgresql/${destdir}/ + done +} diff --git a/dev-db/libpq/libpq-8.0.1-r1.ebuild b/dev-db/libpq/libpq-8.0.1-r1.ebuild new file mode 100644 index 000000000000..7aaa564bab92 --- /dev/null +++ b/dev-db/libpq/libpq-8.0.1-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.0.1-r1.ebuild,v 1.1 2005/07/27 19:32:59 nakano Exp $ + +inherit eutils gnuconfig flag-o-matic toolchain-funcs + +DESCRIPTION="Libraries of postgresql" +HOMEPAGE="http://www.postgresql.org/" +MY_P="postgresql-${PV}" +SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2" + +LICENSE="POSTGRESQL" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="ssl nls pam readline zlib kerberos" +#pg-hier" + +S=${WORKDIR}/${MY_P} +DEPEND="virtual/libc + sys-devel/autoconf + >=sys-libs/ncurses-5.2 + >=sys-devel/bison-1.875 + zlib? ( >=sys-libs/zlib-1.1.3 ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + nls? ( sys-devel/gettext ) + kerberos? ( virtual/krb5 )" +RDEPEND="virtual/libc + zlib? ( >=sys-libs/zlib-1.1.3 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + kerberos? ( virtual/krb5 )" + +MAKEOPTS="${MAKEOPTS} -j1" + +pkg_preinst() { + # removing wrong symlink which is created by previous ebuild. + if [ -L /usr/include/libpq ]; then + rm /usr/include/libpq + fi +} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + local myconf + use ssl && myconf="$myconf --with-openssl" + use nls && myconf="$myconf --enable-nls" + use pam && myconf="$myconf --with-pam" + use readline || myconf="$myconf --without-readline" + use zlib || myconf="$myconf --without-zlib" + use kerberos && myconf="$myconf --with-krb5" + + # these are the only working CFLAGS I could get on ppc, so locking them + # down, anything more aggressive fails (i.e. -mcpu or -Ox) + # Gerk - Nov 26, 2002 + use ppc && CFLAGS="-pipe -fsigned-char" + + # Detect mips systems properly + gnuconfig_update + + ./configure --prefix=/usr \ + --include=/usr/include/postgresql/libpq-${SLOT} \ + --mandir=/usr/share/man \ + --host=${CHOST} \ + --with-docdir=/usr/share/doc/${PF} \ + --libdir=/usr/$(get_libdir) \ + --enable-depend \ + --with-gnu-ld \ + $myconf || die + + cd ${S}/src/interfaces/libpq + emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die +} + +src_install() { + cd ${S}/src/interfaces/libpq + make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die + + cd ${S}/src/include + make DESTDIR=${D} install || die + + cd ${S} + dodoc README HISTORY COPYRIGHT INSTALL + + dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a + + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/*.h + do + dosym postgresql/libpq-${SLOT}/$(basename $f) /usr/include/ + done + + dodir /usr/include/libpq + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/libpq/*.h + do + dosym ../postgresql/libpq-${SLOT}/libpq/$(basename $f) /usr/include/libpq/ + done + + cd ${D}/usr/include/postgresql/libpq-${SLOT} + for f in $(find * -name '*.h' -print) ; do + destdir=$(dirname $f) + if [ ! -d "${D}/usr/include/postgresql/${destdir}" ]; then + dodir /usr/include/postgresql/${destdir} + fi + dosym /usr/include/postgresql/libpq-${SLOT}/${f} /usr/include/postgresql/${destdir}/ + done +} diff --git a/dev-db/libpq/libpq-8.0.3-r1.ebuild b/dev-db/libpq/libpq-8.0.3-r1.ebuild new file mode 100644 index 000000000000..0619d793181a --- /dev/null +++ b/dev-db/libpq/libpq-8.0.3-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.0.3-r1.ebuild,v 1.1 2005/07/27 19:32:59 nakano Exp $ + +inherit eutils gnuconfig flag-o-matic toolchain-funcs + +DESCRIPTION="Libraries of postgresql" +HOMEPAGE="http://www.postgresql.org/" +MY_P="postgresql-${PV}" +SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2" + +LICENSE="POSTGRESQL" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="ssl nls pam readline zlib kerberos" +#pg-hier" + +S=${WORKDIR}/${MY_P} +DEPEND="virtual/libc + sys-devel/autoconf + >=sys-libs/ncurses-5.2 + >=sys-devel/bison-1.875 + zlib? ( >=sys-libs/zlib-1.1.3 ) + readline? ( >=sys-libs/readline-4.1 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + nls? ( sys-devel/gettext ) + kerberos? ( virtual/krb5 )" +RDEPEND="virtual/libc + zlib? ( >=sys-libs/zlib-1.1.3 ) + ssl? ( >=dev-libs/openssl-0.9.6-r1 ) + kerberos? ( virtual/krb5 )" + +MAKEOPTS="${MAKEOPTS} -j1" + +pkg_preinst() { + # removing wrong symlink which is created by previous ebuild. + if [ -L /usr/include/libpq ]; then + rm /usr/include/libpq + fi +} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + filter-flags -ffast-math -feliminate-dwarf2-dups + + local myconf + use ssl && myconf="$myconf --with-openssl" + use nls && myconf="$myconf --enable-nls" + use pam && myconf="$myconf --with-pam" + use readline || myconf="$myconf --without-readline" + use zlib || myconf="$myconf --without-zlib" + use kerberos && myconf="$myconf --with-krb5" + + # these are the only working CFLAGS I could get on ppc, so locking them + # down, anything more aggressive fails (i.e. -mcpu or -Ox) + # Gerk - Nov 26, 2002 + use ppc && CFLAGS="-pipe -fsigned-char" + + # Detect mips systems properly + gnuconfig_update + + ./configure --prefix=/usr \ + --include=/usr/include/postgresql/libpq-${SLOT} \ + --mandir=/usr/share/man \ + --host=${CHOST} \ + --with-docdir=/usr/share/doc/${PF} \ + --libdir=/usr/$(get_libdir) \ + --enable-depend \ + --with-gnu-ld \ + $myconf || die + + cd ${S}/src/interfaces/libpq + emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die +} + +src_install() { + cd ${S}/src/interfaces/libpq + make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die + + cd ${S}/src/include + make DESTDIR=${D} install || die + + cd ${S} + dodoc README HISTORY COPYRIGHT INSTALL + + dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a + + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/*.h + do + dosym postgresql/libpq-${SLOT}/$(basename $f) /usr/include/ + done + + dodir /usr/include/libpq + for f in ${D}/usr/include/postgresql/libpq-${SLOT}/libpq/*.h + do + dosym ../postgresql/libpq-${SLOT}/libpq/$(basename $f) /usr/include/libpq/ + done + + cd ${D}/usr/include/postgresql/libpq-${SLOT} + for f in $(find * -name '*.h' -print) ; do + destdir=$(dirname $f) + if [ ! -d "${D}/usr/include/postgresql/${destdir}" ]; then + dodir /usr/include/postgresql/${destdir} + fi + dosym /usr/include/postgresql/libpq-${SLOT}/${f} /usr/include/postgresql/${destdir}/ + done +} |