summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMartin Jackson <mjolnir@gentoo.org>2008-01-16 05:47:26 +0000
committerMartin Jackson <mjolnir@gentoo.org>2008-01-16 05:47:26 +0000
commit130d8f24814a710e8dc24cf004c8af94e69a31b8 (patch)
tree963a67cb72092ad6c162bcde8ad7aaef19ee5ced /dev-db
parentTrim old ebuilds to solve bug #160179. (diff)
downloadgentoo-2-130d8f24814a710e8dc24cf004c8af94e69a31b8.tar.gz
gentoo-2-130d8f24814a710e8dc24cf004c8af94e69a31b8.tar.bz2
gentoo-2-130d8f24814a710e8dc24cf004c8af94e69a31b8.zip
Remove vulnerable versions that are not stable targets for #204760
(Portage version: 2.1.4)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/libpq/ChangeLog7
-rw-r--r--dev-db/libpq/files/digest-libpq-8.1.96
-rw-r--r--dev-db/libpq/files/digest-libpq-8.2.49
-rw-r--r--dev-db/libpq/files/libpq-8.1.9-gentoo.patch47
-rw-r--r--dev-db/libpq/files/libpq-8.2.4-gentoo.patch44
-rw-r--r--dev-db/libpq/libpq-8.1.9.ebuild116
-rw-r--r--dev-db/libpq/libpq-8.2.4.ebuild117
7 files changed, 6 insertions, 340 deletions
diff --git a/dev-db/libpq/ChangeLog b/dev-db/libpq/ChangeLog
index a9bcf975d233..2744cd1d7f07 100644
--- a/dev-db/libpq/ChangeLog
+++ b/dev-db/libpq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/libpq
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.140 2008/01/15 20:58:15 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.141 2008/01/16 05:47:25 mjolnir Exp $
+
+ 16 Jan 2008; Martin Jackson <mjolnir@gentoo.org>
+ -files/libpq-8.1.9-gentoo.patch, -files/libpq-8.2.4-gentoo.patch,
+ -libpq-8.1.9.ebuild, -libpq-8.2.4.ebuild:
+ Remove vulnerable versions for #204760
15 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org> libpq-7.3.21.ebuild,
libpq-7.4.19.ebuild, libpq-8.0.15.ebuild:
diff --git a/dev-db/libpq/files/digest-libpq-8.1.9 b/dev-db/libpq/files/digest-libpq-8.1.9
deleted file mode 100644
index 9e6ea56b560a..000000000000
--- a/dev-db/libpq/files/digest-libpq-8.1.9
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 44582cd7184badf63d9c558f91cdd128 postgresql-base-8.1.9.tar.bz2 8108212
-RMD160 e10c91f95e16cfcdf10235d533855676f8e03ceb postgresql-base-8.1.9.tar.bz2 8108212
-SHA256 4d11584d545d5f18566bc1bf65409794adceef1825dc4850514238f6b5d3f5fd postgresql-base-8.1.9.tar.bz2 8108212
-MD5 26fed39417431ff56e213caf11dc7215 postgresql-opt-8.1.9.tar.bz2 144737
-RMD160 3541c7c2d86e7a9d129d521c3a7bac189758d1a5 postgresql-opt-8.1.9.tar.bz2 144737
-SHA256 b8c5c3098c53e8c8b722ba8928787eb7478beeb3c6b42adbaad1d8ca24d2e49f postgresql-opt-8.1.9.tar.bz2 144737
diff --git a/dev-db/libpq/files/digest-libpq-8.2.4 b/dev-db/libpq/files/digest-libpq-8.2.4
deleted file mode 100644
index 3e31b4b438b9..000000000000
--- a/dev-db/libpq/files/digest-libpq-8.2.4
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 5c0576627c9969a3cedb6b014fb6ae05 postgresql-base-8.2.4.tar.bz2 8549159
-RMD160 876105c3cc9d36b66cf9dc9b687d4b6f6b2c3d9c postgresql-base-8.2.4.tar.bz2 8549159
-SHA256 8ee5ad364ee21079ce3d726b4abcfa0f318015a331e37e9856a3500fcce74cca postgresql-base-8.2.4.tar.bz2 8549159
-MD5 b71b0526e7c8af22d82fbc7b6f81a750 postgresql-opt-8.2.4.tar.bz2 167612
-RMD160 aaacb743be86afbfe0f885b7994c15c94fef2413 postgresql-opt-8.2.4.tar.bz2 167612
-SHA256 5977ca1f0913aa98bc889e49b38768621865959b14e2674e7716d44b7fe9eb35 postgresql-opt-8.2.4.tar.bz2 167612
-MD5 0fefe28b8c9d16ebdf6f05c366477a9d postgresql-test-8.2.4.tar.bz2 985819
-RMD160 c5fcbef081565f7ba02fc4ac96ce8e1f4141c3ae postgresql-test-8.2.4.tar.bz2 985819
-SHA256 fc4471ecece04251289cfe7feb0acbafa3a18cf8f35c2d61ce3f68bd4394e504 postgresql-test-8.2.4.tar.bz2 985819
diff --git a/dev-db/libpq/files/libpq-8.1.9-gentoo.patch b/dev-db/libpq/files/libpq-8.1.9-gentoo.patch
deleted file mode 100644
index 859daa58735b..000000000000
--- a/dev-db/libpq/files/libpq-8.1.9-gentoo.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -Nru postgresql-8.1.5.orig/src/interfaces/libpq/Makefile postgresql-8.1.5/src/interfaces/libpq/Makefile
---- postgresql-8.1.5.orig/src/interfaces/libpq/Makefile 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/interfaces/libpq/Makefile 2006-11-05 13:28:00.000000000 +0100
-@@ -20,6 +20,8 @@
- SO_MINOR_VERSION= 1
- DLTYPE= library
-
-+NAME_STATIC_LIB= $(NAME)-$(SO_MAJOR_VERSION)
-+
- override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
- ifneq ($(PORTNAME), win32)
- override CFLAGS += $(PTHREAD_CFLAGS)
-@@ -135,7 +137,7 @@
- $(INSTALL_DATA) $(srcdir)/libpq-fe.h $(DESTDIR)$(includedir)
- $(INSTALL_DATA) $(srcdir)/libpq-int.h $(DESTDIR)$(includedir_internal)
- $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h $(DESTDIR)$(includedir_internal)
-- $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service.conf.sample
-+ $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service-$(SO_MAJOR_VERSION).conf.sample
-
- installdirs:
- $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir_internal)
-diff -Nru postgresql-8.1.5.orig/src/interfaces/libpq/nls.mk postgresql-8.1.5/src/interfaces/libpq/nls.mk
---- postgresql-8.1.5.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/interfaces/libpq/nls.mk 2006-11-05 13:28:00.000000000 +0100
-@@ -1,5 +1,5 @@
- # $PostgreSQL: pgsql/src/interfaces/libpq/nls.mk,v 1.20 2005/01/14 08:57:06 petere Exp $
--CATALOG_NAME := libpq
-+CATALOG_NAME := libpq-4
- AVAIL_LANGUAGES := af cs de es fr hr it ko nb pl pt_BR ru sk sl sv tr zh_CN zh_TW
- GETTEXT_FILES := fe-auth.c fe-connect.c fe-exec.c fe-lobj.c fe-misc.c fe-protocol2.c fe-protocol3.c fe-secure.c
- GETTEXT_TRIGGERS:= libpq_gettext pqInternalNotice:2
-diff -Nru postgresql-8.1.5.orig/src/Makefile.shlib postgresql-8.1.5/src/Makefile.shlib
---- postgresql-8.1.5.orig/src/Makefile.shlib 2006-11-05 13:20:34.000000000 +0100
-+++ postgresql-8.1.5/src/Makefile.shlib 2006-11-05 13:28:00.000000000 +0100
-@@ -366,10 +366,10 @@
- install-lib: install-lib-static install-lib-shared
-
- install-lib-static: lib$(NAME).a
-- $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a
-+ $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME_STATIC_LIB).a
- ifeq ($(PORTNAME), darwin)
- cd $(DESTDIR)$(libdir) && \
-- ranlib lib$(NAME).a
-+ ranlib lib$(NAME_STATIC_LIB).a
- endif
-
- ifeq ($(enable_shared), yes)
diff --git a/dev-db/libpq/files/libpq-8.2.4-gentoo.patch b/dev-db/libpq/files/libpq-8.2.4-gentoo.patch
deleted file mode 100644
index 428232c131e9..000000000000
--- a/dev-db/libpq/files/libpq-8.2.4-gentoo.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- postgresql-8.2.3.orig/src/interfaces/libpq/Makefile 2006-12-28 01:01:12.000000000 +0100
-+++ postgresql-8.2.3/src/interfaces/libpq/Makefile 2007-03-29 10:24:27.000000000 +0200
-@@ -20,6 +20,8 @@
- SO_MINOR_VERSION= 0
- DLTYPE= library
-
-+NAME_STATIC_LIB= $(NAME)-$(SO_MAJOR_VERSION)
-+
- override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
- ifneq ($(PORTNAME), win32)
- override CFLAGS += $(PTHREAD_CFLAGS)
-@@ -160,7 +162,7 @@
- $(INSTALL_DATA) $(srcdir)/libpq-fe.h '$(DESTDIR)$(includedir)'
- $(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
- $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
-- $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
-+ $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service-$(SO_MAJOR_VERSION).conf.sample'
-
- installdirs:
- $(mkinstalldirs) '$(DESTDIR)$(libdir)' '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
---- postgresql-8.2.3.orig/src/interfaces/libpq/nls.mk 2005-01-14 09:57:06.000000000 +0100
-+++ postgresql-8.2.3/src/interfaces/libpq/nls.mk 2007-03-29 10:24:55.000000000 +0200
-@@ -1,5 +1,5 @@
- # $PostgreSQL: pgsql/src/interfaces/libpq/nls.mk,v 1.20 2005/01/14 08:57:06 petere Exp $
--CATALOG_NAME := libpq
-+CATALOG_NAME := libpq-4
- AVAIL_LANGUAGES := af cs de es fr hr it ko nb pl pt_BR ru sk sl sv tr zh_CN zh_TW
- GETTEXT_FILES := fe-auth.c fe-connect.c fe-exec.c fe-lobj.c fe-misc.c fe-protocol2.c fe-protocol3.c fe-secure.c
- GETTEXT_TRIGGERS:= libpq_gettext pqInternalNotice:2
---- postgresql-8.2.3.orig/src/Makefile.shlib 2006-09-19 17:36:07.000000000 +0200
-+++ postgresql-8.2.3/src/Makefile.shlib 2007-03-29 10:28:42.000000000 +0200
-@@ -346,10 +346,10 @@
- install-lib: install-lib-static install-lib-shared
-
- install-lib-static: lib$(NAME).a
-- $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/lib$(NAME).a'
-+ $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/lib$(NAME_STATIC_LIB).a'
- ifeq ($(PORTNAME), darwin)
- cd '$(DESTDIR)$(libdir)' && \
-- ranlib lib$(NAME).a
-+ ranlib lib$(NAME_STATIC_LIB).a
- endif
-
- ifeq ($(enable_shared), yes)
diff --git a/dev-db/libpq/libpq-8.1.9.ebuild b/dev-db/libpq/libpq-8.1.9.ebuild
deleted file mode 100644
index 37df5bdfc14a..000000000000
--- a/dev-db/libpq/libpq-8.1.9.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.1.9.ebuild,v 1.1 2007/05/03 05:47:18 aross Exp $
-
-inherit eutils gnuconfig flag-o-matic toolchain-funcs
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DESCRIPTION="PostgreSQL libraries."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
-LICENSE="POSTGRESQL"
-SLOT="4"
-IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib"
-
-RDEPEND="!<=dev-db/postgresql-8.1.4
- 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 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/postgresql-${PV}"
-
-pkg_preinst() {
- # Removing wrong symlink created by previous ebuild
- if [[ -L "${ROOT}/usr/include/libpq" ]] ; then
- rm -f "${ROOT}/usr/include/libpq"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-gentoo.patch"
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/libpq-${SLOT} \
- --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) \
- --without-perl \
- $(use_enable pg-intdatetime integer-datetimes ) \
- --without-python \
- $(use_with readline) \
- $(use_with ssl openssl) \
- --without-tcl \
- $(use_enable threads thread-safety ) \
- $(use_with zlib) \
- || die "configure failed"
-
- cd "${S}/src/interfaces/libpq"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake libpq failed"
-
- cd "${S}/src/bin/pg_config"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake pg_config failed"
-}
-
-src_install() {
- cd "${S}/src/interfaces/libpq"
- emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "emake install libpq failed"
-
- cd "${S}/src/include"
- emake DESTDIR="${D}" install || die "emake install headers failed"
-
- cd "${S}/src/bin/pg_config"
- emake DESTDIR="${D}" install || die "emake install pg_config failed"
-
- cd "${S}"
- dodoc README HISTORY
-
- dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a
-
- for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/*.h) ; do
- dosym postgresql/libpq-${SLOT}/$(basename ${f}) /usr/include/
- done
-
- dodir /usr/include/libpq
- for f in $(ls -1 "${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
-}
-
-src_test() {
- einfo "No tests available for libpq."
-}
diff --git a/dev-db/libpq/libpq-8.2.4.ebuild b/dev-db/libpq/libpq-8.2.4.ebuild
deleted file mode 100644
index bc07c7b282e8..000000000000
--- a/dev-db/libpq/libpq-8.2.4.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.2.4.ebuild,v 1.2 2007/05/02 22:13:09 voxus Exp $
-
-inherit eutils gnuconfig flag-o-matic toolchain-funcs
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DESCRIPTION="PostgreSQL libraries."
-HOMEPAGE="http://www.postgresql.org/"
-SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
- mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2
- threads? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )"
-LICENSE="POSTGRESQL"
-SLOT="4"
-IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib"
-
-RDEPEND="!<=dev-db/postgresql-8.1.4
- 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 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf
- >=sys-devel/bison-1.875
- nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/postgresql-${PV}"
-
-pkg_preinst() {
- # Removing wrong symlink created by previous ebuild
- if [[ -L "${ROOT}/usr/include/libpq" ]] ; then
- rm -f "${ROOT}/usr/include/libpq"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch"
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- # Detect mips systems properly
- gnuconfig_update
-
- cd "${S}"
-
- ./configure --prefix=/usr \
- --includedir=/usr/include/postgresql/libpq-${SLOT} \
- --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) \
- --without-perl \
- $(use_enable pg-intdatetime integer-datetimes ) \
- --without-python \
- $(use_with readline) \
- $(use_with ssl openssl) \
- --without-tcl \
- $(use_enable threads thread-safety ) \
- $(use_with zlib) \
- || die "configure failed"
-
- cd "${S}/src/interfaces/libpq"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake libpq failed"
-
- cd "${S}/src/bin/pg_config"
- emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake pg_config failed"
-}
-
-src_install() {
- cd "${S}/src/interfaces/libpq"
- emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "emake install libpq failed"
-
- cd "${S}/src/include"
- emake DESTDIR="${D}" install || die "emake install headers failed"
-
- cd "${S}/src/bin/pg_config"
- emake DESTDIR="${D}" install || die "emake install pg_config failed"
-
- cd "${S}"
- dodoc README HISTORY
-
- dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a
-
- for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/*.h) ; do
- dosym postgresql/libpq-${SLOT}/$(basename ${f}) /usr/include/
- done
-
- dodir /usr/include/libpq
- for f in $(ls -1 "${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
-}
-
-src_test() {
- einfo "No tests available for libpq."
-}