diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-07-29 15:38:41 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-07-29 15:38:41 +0000 |
commit | 3fa0e7153869904c972f84bdbc22d9780fb7e662 (patch) | |
tree | ec5072652a1de1de6b8efd556dd406200d333a86 /media-libs/pdflib | |
parent | Remove vulnerable version(s), bug 271727 (diff) | |
download | gentoo-2-3fa0e7153869904c972f84bdbc22d9780fb7e662.tar.gz gentoo-2-3fa0e7153869904c972f84bdbc22d9780fb7e662.tar.bz2 gentoo-2-3fa0e7153869904c972f84bdbc22d9780fb7e662.zip |
Remove vulnerable version(s), bug 271717
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/pdflib')
-rw-r--r-- | media-libs/pdflib/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-6.0.3-r1.ebuild | 116 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-7.0.1.ebuild | 133 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-7.0.2.ebuild | 129 |
4 files changed, 6 insertions, 380 deletions
diff --git a/media-libs/pdflib/ChangeLog b/media-libs/pdflib/ChangeLog index 3acdc9b65516..181a52cc2e21 100644 --- a/media-libs/pdflib/ChangeLog +++ b/media-libs/pdflib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/pdflib -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.100 2008/06/14 17:49:57 zmedico Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.101 2009/07/29 15:38:41 darkside Exp $ + + 29 Jul 2009; Jeremy Olexa <darkside@gentoo.org> -pdflib-6.0.3-r1.ebuild, + -pdflib-7.0.1.ebuild, -pdflib-7.0.2.ebuild: + Remove vulnerable version(s), bug 271717 14 Jun 2008; Zac Medico <zmedico@gentoo.org> pdflib-7.0.2.ebuild, pdflib-7.0.2_p8.ebuild: diff --git a/media-libs/pdflib/pdflib-6.0.3-r1.ebuild b/media-libs/pdflib/pdflib-6.0.3-r1.ebuild deleted file mode 100644 index b4c5566fb625..000000000000 --- a/media-libs/pdflib/pdflib-6.0.3-r1.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/media-libs/pdflib/pdflib-6.0.3-r1.ebuild,v 1.10 2007/07/05 19:29:31 anant Exp $ - -# eutils must be inherited since get_libdir() is only -# globally available on baselayout-1.11 (still on ~arch) -inherit base eutils java-pkg-opt-2 flag-o-matic - -MY_PN="${PN/pdf/PDF}-Lite" -MY_P="${MY_PN}-${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="A library for generating PDF on the fly." -HOMEPAGE="http://www.pdflib.com/" -SRC_URI="http://www.pdflib.com/products/pdflib/download/${PV//./}src/${MY_P}.tar.gz" -LICENSE="PDFLite" -SLOT="5" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" -IUSE="doc tcl perl python java" - -COMMON_DEP=" - >=sys-apps/sed-4 - tcl? ( >=dev-lang/tcl-8.2 ) - perl? ( >=dev-lang/perl-5.1 ) - python? ( >=dev-lang/python-2.2 )" - -DEPEND=" - ${COMMON_DEP} - java? ( >=virtual/jdk-1.4 )" - -RDEPEND=" - ${COMMON_DEP} - java? ( >=virtual/jre-1.4 )" - -PATCHES="${FILESDIR}/fix-java-compile.patch" - -src_compile() { - local myconf - - # Bug #87004 - filter-flags -mcpu=* - filter-flags -mtune=* - - PYVER="$(/usr/bin/python -V 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1,2)" - # Necessary for multilib on amd64. Please keep this in future releases. - # BUG #81197 - # Danny van Dyk <kugelfang@gentoo.org> 2005/02/14 - TCLVER="$(echo 'puts [info tclversion]' | $(type -P tclsh))" - use tcl \ - && myconf="--with-tclpkg=/usr/$(get_libdir)/tcl${TCLVER}/" \ - || myconf="--with-tcl=no" - use perl || myconf="${myconf} --with-perl=no" - use python \ - && myconf="${myconf} --with-py=/usr --with-pyincl=/usr/include/python${PYVER}" \ - || myconf="${myconf} --with-py=no" - use java \ - && myconf="${myconf} --with-java=${JAVA_HOME}" \ - || myconf="${myconf} --with-java=no" - - econf \ - --enable-cxx \ - ${myconf} || die - - JAVACFLAGS="$(java-pkg_javac-args)" emake || die "emake failed" - if use java && use doc; then - cd ./bind/pdflib/java || die - emake javadoc || die "Failed to generate javadoc" - fi -} - -src_install() { - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/perl/Makefile" \ - || die "sed bind/pdflib/perl/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/python/Makefile" \ - || die "sed bind/pdflib/python/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/tcl/Makefile" \ - || die "sed bind/pdflib/tcl/Makefile failed" - - # ok, this should create the correct lib dirs for perl and python. - # yes, i know it is messy, but as i see it, a ebuild should be generic - # ... ie. you should be able to just use cp to update it - if use perl && [ -x /usr/bin/perl ] ; then - local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4 |cut -d '.' -f 1`" - local perlver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4`" - local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 7`" - dodir /usr/$(get_libdir)/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} - fi - if use python && [ -x /usr/bin/python ] ; then - dodir /usr/$(get_libdir)/python${PYVER}/lib-dynload - fi - #next line required for proper install - dodir /usr/bin - einstall || die - - dodoc readme.txt doc/* - docinto pdflib - dodoc doc/pdflib/* - - # seemant: seems like the makefiles for pdflib generate the .jar file - # anyway - use java && java-pkg_dojar bind/pdflib/java/pdflib.jar - if use java && use doc; then - java-pkg_dojavadoc ./bind/pdflib/java/javadoc - fi -} diff --git a/media-libs/pdflib/pdflib-7.0.1.ebuild b/media-libs/pdflib/pdflib-7.0.1.ebuild deleted file mode 100644 index 0249ab13d963..000000000000 --- a/media-libs/pdflib/pdflib-7.0.1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-7.0.1.ebuild,v 1.15 2007/12/11 23:53:39 vapier Exp $ - -# eutils must be inherited since get_libdir() is only -# globally available on baselayout-1.11 (still on ~arch) -inherit base eutils java-pkg-opt-2 flag-o-matic libtool - -MY_PN="${PN/pdf/PDF}-Lite" -MY_P="${MY_PN}-${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="A library for generating PDF on the fly." -HOMEPAGE="http://www.pdflib.com/" -SRC_URI="http://www.pdflib.com/binaries/${PN/pdf/PDF}/${PV//./}/${MY_P}.tar.gz" -LICENSE="PDFLite" -SLOT="5" -KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="doc tcl perl python java" - -COMMON_DEP=" - >=sys-apps/sed-4 - tcl? ( >=dev-lang/tcl-8.2 ) - perl? ( >=dev-lang/perl-5.1 ) - python? ( >=dev-lang/python-2.2 )" - -DEPEND=" - ${COMMON_DEP} - java? ( >=virtual/jdk-1.4 )" - -RDEPEND=" - ${COMMON_DEP} - java? ( >=virtual/jre-1.4 )" - -src_unpack() { - unpack ${A} - cd "${S}" - - elibtoolize -} - -src_compile() { - local myconf - - # Bug #87004 - filter-flags -mcpu=* - filter-flags -mtune=* - - PYVER="$(/usr/bin/python -V 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1,2)" - # Necessary for multilib on amd64. Please keep this in future releases. - # BUG #81197 - # Danny van Dyk <kugelfang@gentoo.org> 2005/02/14 - TCLVER="$(echo 'puts [info tclversion]' | $(type -P tclsh))" - use tcl \ - && myconf="--with-tclpkg=/usr/$(get_libdir)/tcl${TCLVER}/" \ - || myconf="--with-tcl=no" - use perl || myconf="${myconf} --with-perl=no" - use python \ - && myconf="${myconf} --with-py=/usr --with-pyincl=/usr/include/python${PYVER}" \ - || myconf="${myconf} --with-py=no" - use java \ - && myconf="${myconf} --with-java=${JAVA_HOME}" \ - || myconf="${myconf} --with-java=no" - - econf \ - --enable-cxx \ - ${myconf} || die - - if use java; then - JAVACFLAGS="$(java-pkg_javac-args)" emake || die "emake failed" - if use doc; then - cd ./bind/pdflib/java || die - emake javadoc || die "Failed to generate javadoc" - fi - else - emake || die "emake failed" - fi -} - -src_install() { - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/perl/Makefile" \ - || die "sed bind/pdflib/perl/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/python/Makefile" \ - || die "sed bind/pdflib/python/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/tcl/Makefile" \ - || die "sed bind/pdflib/tcl/Makefile failed" - - # ok, this should create the correct lib dirs for perl and python. - # yes, i know it is messy, but as i see it, a ebuild should be generic - # ... ie. you should be able to just use cp to update it - if use perl && [ -x /usr/bin/perl ] ; then - local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4 |cut -d '.' -f 1`" - local perlver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4`" - local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 7`" - dodir /usr/$(get_libdir)/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} - fi - if use python && [ -x /usr/bin/python ] ; then - dodir /usr/$(get_libdir)/python${PYVER}/lib-dynload - fi - #next line required for proper install - dodir /usr/bin - einstall || die - - dodoc readme.txt doc/* - docinto pdflib - dodoc doc/pdflib/* - - # seemant: seems like the makefiles for pdflib generate the .jar file - # anyway - use java && java-pkg_dojar bind/pdflib/java/pdflib.jar - if use java && use doc; then - java-pkg_dojavadoc ./bind/pdflib/java/javadoc - fi -} - -pkg_postinst() { - ewarn " " - ewarn "Please run revdep-rebuild now! All packages that linked with " - ewarn "previous versions of PDFLib will no longer work unless you " - ewarn "run it. " - ewarn " " -} diff --git a/media-libs/pdflib/pdflib-7.0.2.ebuild b/media-libs/pdflib/pdflib-7.0.2.ebuild deleted file mode 100644 index f27ec75e5add..000000000000 --- a/media-libs/pdflib/pdflib-7.0.2.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-7.0.2.ebuild,v 1.11 2008/06/14 17:49:57 zmedico Exp $ - -inherit java-pkg-opt-2 flag-o-matic libtool python perl-module multilib - -MY_PN="${PN/pdf/PDF}-Lite" -MY_P="${MY_PN}-${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="A library for generating PDF on the fly." -HOMEPAGE="http://www.pdflib.com/" -SRC_URI="http://www.pdflib.com/binaries/${PN/pdf/PDF}/${PV//./}/${MY_P}.tar.gz" -LICENSE="PDFLite" -SLOT="5" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="doc java perl python tcl" - -COMMON_DEP="tcl? ( >=dev-lang/tcl-8.2 ) - perl? ( >=dev-lang/perl-5.1 ) - python? ( >=dev-lang/python-2.2 )" - -DEPEND="${COMMON_DEP} - java? ( >=virtual/jdk-1.4 )" - -RDEPEND=" - ${COMMON_DEP} - java? ( >=virtual/jre-1.4 )" - -pkg_setup() { - java-pkg-opt-2_pkg_setup - perl-module_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - - elibtoolize -} - -src_compile() { - local myconf - - # Bug #87004 - filter-flags -mcpu=* - filter-flags -mtune=* - - append-ldflags -Wl,-z,noexecstack - - # Necessary for multilib on amd64. Please keep this in future releases. - # BUG #81197 - # Danny van Dyk <kugelfang@gentoo.org> 2005/02/14 - if use tcl ; then - TCLVER="$(echo 'puts [info tclversion]' | $(type -P tclsh))" - myconf="--with-tclpkg=/usr/$(get_libdir)/tcl${TCLVER}/" - else - myconf="--with-tcl=no" - fi - use perl || myconf="${myconf} --with-perl=no" - if use python ; then - python_version - myconf="${myconf} --with-py=/usr --with-pyincl=/usr/include/python${PYVER}" - else - myconf="${myconf} --with-py=no" - fi - use java \ - && myconf="${myconf} --with-java=${JAVA_HOME}" \ - || myconf="${myconf} --with-java=no" - - econf --enable-cxx ${myconf} - - if use java; then - JAVACFLAGS="$(java-pkg_javac-args)" emake || die "emake failed" - if use doc; then - cd ./bind/pdflib/java || die - emake javadoc || die "Failed to generate javadoc" - fi - else - emake || die "emake failed" - fi -} - -src_install() { - for binding in perl python tcl ; do - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/${binding}/Makefile" \ - || die "sed bind/pdflib/${binding}/Makefile failed" - done - - # this should create the correct lib dirs for perl and python. - if use python ; then - python_version - dodir /usr/$(get_libdir)/python${PYVER}/lib-dynload - fi - if use perl ; then - perlinfo - dodir ${SITE_ARCH} - fi - - # next line required for proper install - dodir /usr/bin - einstall || die - - dodoc readme.txt doc/* - docinto pdflib - dodoc doc/pdflib/* - - # seemant: seems like the makefiles for pdflib generate the .jar file anyway - use java && java-pkg_dojar bind/pdflib/java/pdflib.jar - if use java && use doc; then - java-pkg_dojavadoc ./bind/pdflib/java/javadoc - fi -} - -pkg_preinst () { - perl-module_pkg_preinst - has_version "<${CATEGORY}/${PN}-7.0.1" - previous_less_than_7_0_1=$? -} - -pkg_postinst() { - if [[ $previous_less_than_7_0_1 = 0 ]] ; then - ewarn "Please run revdep-rebuild now! All packages that linked with" - ewarn "previous versions of PDFLib will no longer work unless you" - ewarn "run it." - fi -} |