diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-15 02:30:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-15 02:30:27 +0000 |
commit | dd2bc2ba507e855eb05e551793df156f3695a61c (patch) | |
tree | bbc21307e86be8201ba4954d493b4cc977c5ffb8 /dev-libs/expat | |
parent | alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #405915. compared to -r5 this is... (diff) | |
download | historical-dd2bc2ba507e855eb05e551793df156f3695a61c.tar.gz historical-dd2bc2ba507e855eb05e551793df156f3695a61c.tar.bz2 historical-dd2bc2ba507e855eb05e551793df156f3695a61c.zip |
old
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/expat')
-rw-r--r-- | dev-libs/expat/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/expat/Manifest | 20 | ||||
-rw-r--r-- | dev-libs/expat/expat-2.0.1-r5.ebuild | 72 | ||||
-rw-r--r-- | dev-libs/expat/expat-2.1.0_beta2.ebuild | 97 | ||||
-rw-r--r-- | dev-libs/expat/files/expat-2.1.0_beta2-move_setContext_call.patch | 90 |
5 files changed, 14 insertions, 272 deletions
diff --git a/dev-libs/expat/ChangeLog b/dev-libs/expat/ChangeLog index 24724818d22f..61e9f4af2f00 100644 --- a/dev-libs/expat/ChangeLog +++ b/dev-libs/expat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/expat # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.120 2012/03/15 02:29:18 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.121 2012/03/15 02:30:27 ssuominen Exp $ + + 15 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> -expat-2.0.1-r5.ebuild, + -expat-2.1.0_beta2.ebuild, + -files/expat-2.1.0_beta2-move_setContext_call.patch: + old 15 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> expat-2.0.1-r6.ebuild: alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #405915 diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest index 8d3a1a290c57..59ac912896bb 100644 --- a/dev-libs/expat/Manifest +++ b/dev-libs/expat/Manifest @@ -4,24 +4,20 @@ Hash: SHA1 AUX expat-2.0.1-CVE-2009-3560-revised.patch 532 RMD160 dea59f98ce296e64cde88910e130f2dda0eab70c SHA1 539bb11a6ae11d83c703c52636fa35d32e7711dc SHA256 1909160d5745b47e54e3db525b94c5992320ddd8ef28a0aaf52c081669cef368 AUX expat-2.0.1-check_stopped_parser.patch 410 RMD160 10fa46c2844aeffd31c43f23ba08367f87aa2ac0 SHA1 dc457839ba07ff661f5ed424841af9ea0bbdf605 SHA256 555f1c652c983f60010e1d88af96c672520245034a9aa846aec048d258726d44 AUX expat-2.0.1-fix_bug_1990430.patch 428 RMD160 7b566a7db9036238a7e781a20157f9b4c13fa0d9 SHA1 5d1c09acaa7d73cae98cda327d79a2d64f3b6926 SHA256 1e491172e983878ca7974c1a40a7327a630b728cc33eb9183f8050b536dcb692 -AUX expat-2.1.0_beta2-move_setContext_call.patch 2759 RMD160 482cffb356efb6f4ae1be2c309721536bb5a2995 SHA1 165e2715ce2215eb9629673855259f0830bebbaa SHA256 904cda287821d37a4aebbb5990b5bf8754615b82b82364cb39d255249d453547 DIST expat-2.0.1.tar.gz 446456 RMD160 d31bcb152adaff9e358968be1ea901e1b4ed3b2f SHA1 663548c37b996082db1f2f2c32af060d7aa15c2d SHA256 847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93 -DIST expat-2.1.0-beta2.tar.gz 561905 RMD160 e02a82f523a5ec455636217460b97a2e3e010b19 SHA1 b81e4b4aa32ef5f429fd4c1a22afdf80415fcecb SHA256 a87f81e6743238cf77c33a4e2e61b9b7c23bcbe58a4e152259aa18203ea39264 DIST expat-2.1.0-beta3.tar.gz 562612 RMD160 2a03f16494c61fe7eb0e5e3081a4f68f78f3610d SHA1 956e05916d4840c46ca9f5377a01b13cafc4b510 SHA256 69d2ec90d46b1308ffd2f4e8f2f269124951f9c12314d422df8f47fe315f2aa6 -EBUILD expat-2.0.1-r5.ebuild 1910 RMD160 99d50a6e17a445d8c67c2f0f9cc33b45b9404c58 SHA1 6a94f680f79235cb0a7889059f769df9e717f3f2 SHA256 d17970310caa1566be1f560e855f6ef88a0ee332c5ecc5609cfc44196d87cfd2 EBUILD expat-2.0.1-r6.ebuild 2271 RMD160 3328a7a2af7d28e4dd4b96094fa1be55744e2a4f SHA1 163b37b7b83fb32f64a347f6a94828c90e3cf4fa SHA256 0c477a2016491abf555c9cd64c5da42a7f3350abbf6dd5180ae7e65c36530a7f -EBUILD expat-2.1.0_beta2.ebuild 2284 RMD160 6f7cbb83a63cc88892c70faf8de5360607c76382 SHA1 d09266eca84028270418ffd8a88ba80faa2c6d80 SHA256 12f049abbec48899e8de523b3e652b8bf6a1d022b9b13d3ec5963d568a7321d0 EBUILD expat-2.1.0_beta3.ebuild 2220 RMD160 ce57c2d707450fa75193143c7b2337112f10c52e SHA1 216f1d2ec255577471e969fb7f39065c62d5820c SHA256 6e120f18884d2ec101ec137b8400e1e6ef4ef2964351ab48e2d2fe8e070813a2 -MISC ChangeLog 15819 RMD160 6678c4303229662bbe07fb0816351a7eebc49efd SHA1 6ce6f5147b90cceb755bda6e313c9b216197a572 SHA256 8422937071595b0b90982ab70e0ec26ce5ab2da4d53ac2b0bd68f21d91c78899 +MISC ChangeLog 15988 RMD160 16c8c40c2e22dc3c85765702260c5f3d0d698cd3 SHA1 8708cd94c2fed3576c8ef6772b3c57d8b2689083 SHA256 afc6ea5137cdd3958faeb5f92fbde6db4e355da3fa41cc3d7a26c483d330a5bc MISC metadata.xml 166 RMD160 70f6dcdab1516411ac581b270671fb776401f7b3 SHA1 79f7c7e01fdc4b59d924371b4ec75b000948fecc SHA256 a4f7a9f8f89d2da4f8d0c2d6acdacc96c38d4c076d23d8b2081f2a149ff15a56 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJPYVQAAAoJEEdUh39IaPFN31MH/j53yjI3m/8DxzB6wIhaUseJ -YkNrW7809pPHDHKII0rEYAx0WDYCVYwbyWp6Xp/u3DVxZY9CjjOJVLf+i93TAHyX -o4WP3Wb+2/yHVDOGr3soborxOFa+mZobsobHpFzaR0r9/BaTArAt1Uq28i9SpXmC -7ppHSxPEhMy14sGaeyG1T6qQOc4aZSuATege4K11lNTFvbZcZV6m+KxI8spGLkvL -VFUOfI4Q+Ep1B4wnPSuxGyg1Y0OiTkr2uV8Z/pqYxkCEB/LXTIniz5AU99ZlsYkQ -1nwuzoZKo1OZpNYcXQ5iCBmUoSytl1VQ0UuQcwyhiGVpB68FIpIW45Wd2JfNK/0= -=lUca +iQEcBAEBAgAGBQJPYVRFAAoJEEdUh39IaPFNV1MH/1wEQq8j5cWEMDx1TkZ3kaW7 +/cZUtvaC+OEjlLq/Tyi1So+rZl87YWSkPLYwOX4q4wVTiM08OuQ5rqyxWsy+CuEf +PvYIUiqU1GHwwVq7yWzjtjTEsBloPjMPCFJhYL42xU3pTXb2m89XVs4Pg1MisMpH ++INJnfXDfiga8/ALdrLCslGI7nBBENE24XPu1+K7MSxO7BA4lInpmW8MjuXr2eqo +fwhr6nbgBmap8dn9JUDaa6wuFdfTO0sVwX78x1JwmQfVB3H9Umm2l8oQzK8lzBMb +bxryh/fhqnoQcB4AVvIVGub7/ol4ANcHz5CzV6ZL7BusOcOIoq8L9xBYKxZ1xS8= +=Uqpa -----END PGP SIGNATURE----- diff --git a/dev-libs/expat/expat-2.0.1-r5.ebuild b/dev-libs/expat/expat-2.0.1-r5.ebuild deleted file mode 100644 index dd8a956afd1b..000000000000 --- a/dev-libs/expat/expat-2.0.1-r5.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.0.1-r5.ebuild,v 1.8 2011/12/22 16:43:20 ssuominen Exp $ - -EAPI=4 -inherit eutils libtool toolchain-funcs - -DESCRIPTION="XML parsing libraries" -HOMEPAGE="http://expat.sourceforge.net/" -SRC_URI="mirror://sourceforge/expat/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="elibc_FreeBSD examples static-libs" - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-check_stopped_parser.patch \ - "${FILESDIR}"/${P}-fix_bug_1990430.patch \ - "${FILESDIR}"/${P}-CVE-2009-3560-revised.patch - - elibtoolize - epunt_cxx - - mkdir "${S}"-build{,u,w} || die -} - -src_configure() { - local myconf="$(use_enable static-libs static)" - - local d - for d in build buildu buildw; do - pushd "${S}"-${d} - [[ ${d} == buildu ]] && export GENTOO_CPPFLAGS="-UXML_UNICODE" - [[ ${d} == buildw ]] && export GENTOO_CPPFLAGS="-UXML_UNICODE -DXML_UNICODE_WCHAR_T" - CPPFLAGS="${CPPFLAGS} ${GENTOO_CPPFLAGS}" ECONF_SOURCE="${S}" econf ${myconf} - popd - done -} - -src_compile() { - cd "${S}"-build - emake - cd "${S}"-buildu - emake buildlib LIBRARY=libexpatu.la - cd "${S}"-buildw - emake buildlib LIBRARY=libexpatw.la -} - -src_install() { - dodoc Changes README - dohtml doc/* - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins examples/*.c - fi - - cd "${S}"-build - emake install DESTDIR="${D}" - cd "${S}"-buildu - emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la - cd "${S}"-buildw - emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la - - use static-libs || rm -f "${D}"usr/lib*/libexpat{,u,w}.la - - # libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we - # stripped the libbsdxml copy starting from freebsd-lib-8.2-r1 - use elibc_FreeBSD && gen_usr_ldscript -a expat{,u,w} -} diff --git a/dev-libs/expat/expat-2.1.0_beta2.ebuild b/dev-libs/expat/expat-2.1.0_beta2.ebuild deleted file mode 100644 index a2b2a8bdea2e..000000000000 --- a/dev-libs/expat/expat-2.1.0_beta2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2012 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_beta2.ebuild,v 1.2 2012/03/10 17:51:46 ssuominen Exp $ - -EAPI=4 -inherit eutils libtool toolchain-funcs - -DESCRIPTION="XML parsing libraries" -HOMEPAGE="http://expat.sourceforge.net/" -SRC_URI="mirror://sourceforge/expat/${P/_/-}.tar.gz" - -LICENSE="MIT" -SLOT="0" -#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="elibc_FreeBSD examples static-libs unicode" - -src_unpack() { - if [[ ${PV} == *beta* ]]; then - unpack ${A} - mv ${PN}-* "${S}" - else - default - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-move_setContext_call.patch #407555 - - elibtoolize - epunt_cxx - - mkdir "${S}"-build{,u,w} || die -} - -src_configure() { - local myconf="$(use_enable static-libs static)" - - pushd "${S}"-build >/dev/null - ECONF_SOURCE="${S}" econf ${myconf} - popd >/dev/null - - if use unicode; then - pushd "${S}"-buildu >/dev/null - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf} - popd >/dev/null - - pushd "${S}"-buildw >/dev/null - CFLAGS="${CFLAGS} -fshort-wchar" CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf} - popd >/dev/null - fi -} - -src_compile() { - pushd "${S}"-build >/dev/null - emake - popd >/dev/null - - if use unicode; then - pushd "${S}"-buildu >/dev/null - emake buildlib LIBRARY=libexpatu.la - popd >/dev/null - - pushd "${S}"-buildw >/dev/null - emake buildlib LIBRARY=libexpatw.la - popd >/dev/null - fi -} - -src_install() { - dodoc Changes README - dohtml doc/* - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins examples/*.c - fi - - pushd "${S}"-build >/dev/null - emake install DESTDIR="${D}" - popd >/dev/null - - if use unicode; then - pushd "${S}"-buildu >/dev/null - emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la - popd >/dev/null - - pushd "${S}"-buildw >/dev/null - emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la - popd >/dev/null - fi - - rm -f "${ED}"usr/lib*/libexpat{,u,w}.la - - # libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we - # stripped the libbsdxml copy starting from freebsd-lib-8.2-r1 - use elibc_FreeBSD && gen_usr_ldscript -a expat{,u,w} -} diff --git a/dev-libs/expat/files/expat-2.1.0_beta2-move_setContext_call.patch b/dev-libs/expat/files/expat-2.1.0_beta2-move_setContext_call.patch deleted file mode 100644 index ab0860a89ff2..000000000000 --- a/dev-libs/expat/files/expat-2.1.0_beta2-move_setContext_call.patch +++ /dev/null @@ -1,90 +0,0 @@ -http://bugs.gentoo.org/407555 -http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.168&r2=1.170 -http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3500861&group_id=10127 - ---- lib/xmlparse.c -+++ lib/xmlparse.c -@@ -432,6 +432,9 @@ - getElementType(XML_Parser parser, const ENCODING *enc, - const char *ptr, const char *end); - -+static unsigned long generate_hash_secret_salt(void); -+static XML_Bool startParsing(XML_Parser parser); -+ - static XML_Parser - parserCreate(const XML_Char *encodingName, - const XML_Memory_Handling_Suite *memsuite, -@@ -695,22 +698,27 @@ - return rand(); - } - -+static XML_Bool /* only valid for root parser */ -+startParsing(XML_Parser parser) -+{ -+ /* hash functions must be initialized before setContext() is called */ -+ if (hash_secret_salt == 0) -+ hash_secret_salt = generate_hash_secret_salt(); -+ if (ns) { -+ /* implicit context only set for root parser, since child -+ parsers (i.e. external entity parsers) will inherit it -+ */ -+ return setContext(parser, implicitContext); -+ } -+ return XML_TRUE; -+} -+ - XML_Parser XMLCALL - XML_ParserCreate_MM(const XML_Char *encodingName, - const XML_Memory_Handling_Suite *memsuite, - const XML_Char *nameSep) - { -- XML_Parser parser = parserCreate(encodingName, memsuite, nameSep, NULL); -- if (parser != NULL && ns) { -- /* implicit context only set for root parser, since child -- parsers (i.e. external entity parsers) will inherit it -- */ -- if (!setContext(parser, implicitContext)) { -- XML_ParserFree(parser); -- return NULL; -- } -- } -- return parser; -+ return parserCreate(encodingName, memsuite, nameSep, NULL); - } - - static XML_Parser -@@ -946,7 +954,7 @@ - poolClear(&temp2Pool); - parserInit(parser, encodingName); - dtdReset(_dtd, &parser->m_mem); -- return setContext(parser, implicitContext); -+ return XML_TRUE; - } - - enum XML_Status XMLCALL -@@ -1499,8 +1507,10 @@ - errorCode = XML_ERROR_FINISHED; - return XML_STATUS_ERROR; - case XML_INITIALIZED: -- if (hash_secret_salt == 0) -- hash_secret_salt = generate_hash_secret_salt(); -+ if (parentParser == NULL && !startParsing(parser)) { -+ errorCode = XML_ERROR_NO_MEMORY; -+ return XML_STATUS_ERROR; -+ } - default: - ps_parsing = XML_PARSING; - } -@@ -1623,8 +1633,10 @@ - errorCode = XML_ERROR_FINISHED; - return XML_STATUS_ERROR; - case XML_INITIALIZED: -- if (hash_secret_salt == 0) -- hash_secret_salt = generate_hash_secret_salt(); -+ if (parentParser == NULL && !startParsing(parser)) { -+ errorCode = XML_ERROR_NO_MEMORY; -+ return XML_STATUS_ERROR; -+ } - default: - ps_parsing = XML_PARSING; - } |