tetromino    15/07/30 02:18:34

  Modified:             ChangeLog expat-2.1.0-r4.ebuild
  Added:                expat-2.1.0-r5.ebuild
  Removed:              expat-2.1.0-r2.ebuild expat-2.1.0-r3.ebuild
  Log:
  Fix buffer overflow (bug #555642, CVE-2015-1283, thanks to Agostino Sarubbo 
and Paweł Hajdan, Jr.). Improve description. Clean out old ebuilds.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x18E5B6F2D8D5EC8D)

Revision  Changes    Path
1.175                dev-libs/expat/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/ChangeLog?rev=1.175&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/ChangeLog?rev=1.175&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/ChangeLog?r1=1.174&r2=1.175

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- ChangeLog   9 Jun 2015 14:16:10 -0000       1.174
+++ ChangeLog   30 Jul 2015 02:18:34 -0000      1.175
@@ -1,6 +1,14 @@
 # ChangeLog for dev-libs/expat
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.174 2015/06/09 
14:16:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.175 2015/07/30 
02:18:34 tetromino Exp $
+
+*expat-2.1.0-r5 (30 Jul 2015)
+
+  30 Jul 2015; Alexandre Rostovtsev <tetrom...@gentoo.org>
+  -expat-2.1.0-r2.ebuild, -expat-2.1.0-r3.ebuild, expat-2.1.0-r4.ebuild,
+  +expat-2.1.0-r5.ebuild, +files/expat-2.1.0-mozilla-sanity-check-size.patch:
+  Fix buffer overflow (bug #555642, CVE-2015-1283, thanks to Agostino Sarubbo
+  and Paweł Hajdan, Jr.). Improve description. Clean out old ebuilds.
 
   09 Jun 2015; Justin Lecher <j...@gentoo.org> metadata.xml:
   Updating remote-id in metadata.xml



1.12                 dev-libs/expat/expat-2.1.0-r4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/expat-2.1.0-r4.ebuild?rev=1.12&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/expat-2.1.0-r4.ebuild?rev=1.12&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/expat-2.1.0-r4.ebuild?r1=1.11&r2=1.12

Index: expat-2.1.0-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0-r4.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- expat-2.1.0-r4.ebuild       27 May 2015 12:55:43 -0000      1.11
+++ expat-2.1.0-r4.ebuild       30 Jul 2015 02:18:34 -0000      1.12
@@ -1,11 +1,11 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0-r4.ebuild,v 1.11 
2015/05/27 12:55:43 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0-r4.ebuild,v 1.12 
2015/07/30 02:18:34 tetromino Exp $
 
 EAPI=5
 inherit eutils libtool multilib toolchain-funcs multilib-minimal
 
-DESCRIPTION="XML parsing libraries"
+DESCRIPTION="Stream-oriented XML parser library"
 HOMEPAGE="http://expat.sourceforge.net/";
 SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
 



1.1                  dev-libs/expat/expat-2.1.0-r5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/expat-2.1.0-r5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/expat-2.1.0-r5.ebuild?rev=1.1&content-type=text/plain

Index: expat-2.1.0-r5.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0-r5.ebuild,v 1.1 
2015/07/30 02:18:34 tetromino Exp $

EAPI=5
inherit eutils libtool multilib toolchain-funcs multilib-minimal

DESCRIPTION="Stream-oriented XML parser library"
HOMEPAGE="http://expat.sourceforge.net/";
SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="elibc_FreeBSD examples static-libs unicode"
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r6
                !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"

src_prepare() {
        epatch "${FILESDIR}"/${P}-xmlwfargs.patch
        epatch "${FILESDIR}"/${P}-mozilla-sanity-check-size.patch #555642
        elibtoolize
}

multilib_src_configure() {
        local myconf="$(use_enable static-libs static)"

        mkdir -p "${BUILD_DIR}"{u,w} || die

        ECONF_SOURCE="${S}" econf ${myconf}

        if use unicode; then
                pushd "${BUILD_DIR}"u >/dev/null
                CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf 
${myconf}
                popd >/dev/null

                pushd "${BUILD_DIR}"w >/dev/null
                CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" 
ECONF_SOURCE="${S}" econf ${myconf}
                popd >/dev/null
        fi
}

multilib_src_compile() {
        emake

        if use unicode; then
                pushd "${BUILD_DIR}"u >/dev/null
                emake buildlib LIBRARY=libexpatu.la
                popd >/dev/null

                pushd "${BUILD_DIR}"w >/dev/null
                emake buildlib LIBRARY=libexpatw.la
                popd >/dev/null
        fi
}

multilib_src_install() {
        emake install DESTDIR="${D}"

        if use unicode; then
                pushd "${BUILD_DIR}"u >/dev/null
                emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
                popd >/dev/null

                pushd "${BUILD_DIR}"w >/dev/null
                emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
                popd >/dev/null

                pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
                cp expat.pc expatu.pc
                sed -i -e '/^Libs/s:-lexpat:&u:' expatu.pc || die
                cp expat.pc expatw.pc
                sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
                popd >/dev/null
        fi

        if multilib_is_native_abi ; then
                # libgeom in /lib and ifconfig in /sbin require libexpat on 
FreeBSD since
                # we stripped the libbsdxml copy starting from 
freebsd-lib-8.2-r1
                use elibc_FreeBSD && gen_usr_ldscript -a expat
        fi
}

multilib_src_install_all() {
        dodoc Changes README
        dohtml doc/*

        if use examples; then
                insinto /usr/share/doc/${PF}/examples
                doins examples/*.c
        fi

        prune_libtool_files
}




Reply via email to