diff options
author | Mart Raudsepp <leio@gentoo.org> | 2009-01-26 08:09:46 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2009-01-26 08:09:46 +0000 |
commit | 519cce0d856ffc6fa60fea74039e417f88744a89 (patch) | |
tree | 14d315403512c751131949a9521b34d85b3c0d95 /dev-libs/libxml2 | |
parent | Version bump (diff) | |
download | historical-519cce0d856ffc6fa60fea74039e417f88744a89.tar.gz historical-519cce0d856ffc6fa60fea74039e417f88744a89.tar.bz2 historical-519cce0d856ffc6fa60fea74039e417f88744a89.zip |
Version bump.
Package-Manager: portage-2.2_rc22/cvs/Linux 2.6.28-gentoo x86_64
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r-- | dev-libs/libxml2/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libxml2/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/libxml2/libxml2-2.7.3.ebuild | 132 |
3 files changed, 141 insertions, 12 deletions
diff --git a/dev-libs/libxml2/ChangeLog b/dev-libs/libxml2/ChangeLog index 94c4fff34cfd..b172819ff36a 100644 --- a/dev-libs/libxml2/ChangeLog +++ b/dev-libs/libxml2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libxml2 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.251 2009/01/26 00:34:45 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.252 2009/01/26 08:09:46 leio Exp $ + +*libxml2-2.7.3 (26 Jan 2009) + + 26 Jan 2009; Mart Raudsepp <leio@gentoo.org> +libxml2-2.7.3.ebuild: + Version bump. 26 Jan 2009; Gilles Dartiguelongue <eva@gentoo.org> -files/libxml2-2.6.30-CVE-2007-6284.patch, diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest index f06e8c57da03..617db1883572 100644 --- a/dev-libs/libxml2/Manifest +++ b/dev-libs/libxml2/Manifest @@ -1,21 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX libxml2-2.7.2-CVE-2008-422x.patch 2983 RMD160 7453758b6b37d9f892d495fe9671551cdcc0cc3e SHA1 d8e6e917b8012f770d5f5a9e28a0651c45ad025f SHA256 5f836f30669410d496dc8ceee60307724b2a536a99ed710e94a3c5562634f8b6 AUX libxml2-2.7.2-old-sax-parser-behaviour-option.patch 4109 RMD160 0ea5e04ea498561f9cd20d6fb319632a9c609695 SHA1 c0e164de5ef3d01fac1e06193a9566df777af59f SHA256 e4be8adbb81fe71b684c43751b4da2034a8850b4fbad2513db7a1f8732810690 AUX libxml2-2.7.2-xmlAddChildList-pointer.patch 1523 RMD160 868436455c98d74666e6baf068b7c9d1b01cc16c SHA1 cc365e2e056fe0e07c9f61d8189d5fdcd0cef3df SHA256 131c9f3d5e5f970e14168d0086f31237d5aa166ef3021084457248094e3fc635 AUX libxml2-2.7.2-xmlTextWriterFullEndElement-indent.patch 925 RMD160 b58a61553e6752ce7e94d40626ab584bdff934df SHA1 eaa3e9bad2d74169a46548e24c4d194d2d334f22 SHA256 d2d37dfb9448817fff4508a82a8cb2ebfb826ea2174982f3cf07725057cb9411 DIST libxml2-2.7.2.tar.gz 4790639 RMD160 2b14531007a705679c7814618dc15baed62bc574 SHA1 750b2bcd4ee3bf8595baf97e1881f1a57b1ef363 SHA256 c01bd621f771cdee349877f55cc841a1bdfb206b2cf5c9aa62aa6a9680e61980 +DIST libxml2-2.7.3.tar.gz 4789450 RMD160 14018347531fd135366cee9fd9d760a1988546e2 SHA1 fd4e427fb55c977876bc74c0e552ef7d3d794a07 SHA256 432464d8c9bd8060d9c1fdef1cfa75803c1a363ceac20b21f8c7e34e056e5a98 DIST xsts-2002-01-16.tar.gz 6894439 RMD160 e8905fe1451a1c367b0104af24edca73bad1db08 SHA1 ca6344e6c47f8c28231f5b213d0c8deb0311a409 SHA256 55e5c08db29946a91ea8e70e8f2418d3fd30d8b6777941dfba7f54726ffd9914 DIST xsts-2004-01-14.tar.gz 2761085 RMD160 faff2d7826e47ae9968564bc83dab1b54c5e4bf6 SHA1 5896c2aa2cda464246306c5cf0577ed506eefaab SHA256 09bdf9f81f381ebf9bc158a9472e498e896f7a02eb7461146e9abe1b9493ca17 EBUILD libxml2-2.7.2-r1.ebuild 3815 RMD160 c691472efeab85c512ead7be2407d9f11152c4c0 SHA1 09cc3f856c04d79ab469a54e7f60f1c6b6489fe4 SHA256 64fa0c46933f0808277e16f3f7df23c3e22d176c29e0e75824027d200e168da9 EBUILD libxml2-2.7.2-r2.ebuild 4141 RMD160 4eb68dbcc553acaf15234f06c1a801aa8fad8464 SHA1 fccff7d999ba29e88952882e1696f56f4a0d3217 SHA256 3ea8a6191b06a365e2b8ebae0faacb808e769dad31b1873342f018d8ace9dca3 -MISC ChangeLog 33390 RMD160 e25475b7ca361b815cc42c38d94db6237da7b9ce SHA1 4dea65d2e2e07bbe6ff4bddf8c1dbde5db43022d SHA256 eed10253d3bcccd0b1593eb3b184daaa4261e5551b1566c0a877700af8a0d04a +EBUILD libxml2-2.7.3.ebuild 3863 RMD160 d5b45ef0f928207f01688189a37ba8ba46e60e26 SHA1 778afa2aa7d98d0365c003126395e182216fd06f SHA256 ac460c74c3ada9d53d3bd0e4c7c672dbdc04e2585ed1be3a8022b1503fef8684 +MISC ChangeLog 33508 RMD160 8d6abea457021d478119bc28b5af7650d057a892 SHA1 671b205e15550699538be880e848e8b98aa4143c SHA256 12cf39f0c3fc35fded4c2f255aed2f6009606d3e56ec52c69d4fe23431ba386b MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkl9EzoACgkQ1fmVwcYIWAYmMwCfRuRhA0hOhaO05kSmHg2mqXS1 -Z/oAoMoaBDP2RVD6Ig+zgBlHp22SRiNf -=cIYH ------END PGP SIGNATURE----- diff --git a/dev-libs/libxml2/libxml2-2.7.3.ebuild b/dev-libs/libxml2/libxml2-2.7.3.ebuild new file mode 100644 index 000000000000..2902a1ab9049 --- /dev/null +++ b/dev-libs/libxml2/libxml2-2.7.3.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.3.ebuild,v 1.1 2009/01/26 08:09:46 leio Exp $ + +inherit libtool flag-o-matic eutils python + +DESCRIPTION="Version 2 of the library to manipulate XML files" +HOMEPAGE="http://www.xmlsoft.org/" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="debug doc examples ipv6 python readline test" + +XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite" +XSTS_NAME_1="xmlschema2002-01-16" +XSTS_NAME_2="xmlschema2004-01-14" +XSTS_TARBALL_1="xsts-2002-01-16.tar.gz" +XSTS_TARBALL_2="xsts-2004-01-14.tar.gz" + +SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz + test? ( + ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1} + ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )" + +RDEPEND="sys-libs/zlib + python? ( dev-lang/python ) + readline? ( sys-libs/readline )" + +DEPEND="${RDEPEND} + hppa? ( >=sys-devel/binutils-2.15.92.0.2 )" + +src_unpack() { + # ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR, + # as they are needed as tarballs in ${S}/xstc instead and not unpacked + unpack ${P}.tar.gz + cd "${S}" + + if use test; then + cp "${DISTDIR}/${XSTS_TARBALL_1}" \ + "${DISTDIR}/${XSTS_TARBALL_2}" \ + "${S}"/xstc/ \ + || die "Failed to install test tarballs" + fi + + epunt_cxx +} + +src_compile() { + # USE zlib support breaks gnome2 + # (libgnomeprint for instance fails to compile with + # fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002). + + # The meaning of the 'debug' USE flag does not apply to the --with-debug + # switch (enabling the libxml2 debug module). See bug #100898. + + # --with-mem-debug causes unusual segmentation faults (bug #105120). + + local myconf="--with-zlib \ + $(use_with debug run-debug) \ + $(use_with python) \ + $(use_with readline) \ + $(use_with readline history) \ + $(use_enable ipv6)" + + # Please do not remove, as else we get references to PORTAGE_TMPDIR + # in /usr/lib/python?.?/site-packages/libxml2mod.la among things. + elibtoolize + + # filter seemingly problematic CFLAGS (#26320) + filter-flags -fprefetch-loop-arrays -funroll-loops + + econf $myconf || die "Configuration failed" + + # Patching the Makefiles to respect get_libdir + # Fixes BUG #86766, please keep this. + # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26 + for x in $(find "${S}" -name "Makefile") ; do + sed \ + -e "s|^\(PYTHON_SITE_PACKAGES\ =\ \/usr\/\).*\(\/python.*\)|\1$(get_libdir)\2|g" \ + -i ${x} \ + || die "sed failed" + done + + emake || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog Copyright NEWS README* TODO* + + if ! use doc; then + rm -rf "${D}"/usr/share/gtk-doc + rm -rf "${D}"/usr/share/doc/${P}/html + fi + + if ! use examples; then + rm -rf "${D}/usr/share/doc/${P}/examples" + rm -rf "${D}/usr/share/doc/${PN}-python-${PV}/examples" + fi +} + +pkg_postinst() { + if use python; then + python_version + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages + fi + + # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not + # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. + if [[ "${ROOT}" != "/" ]] + then + elog "Skipping XML catalog creation for stage building (bug #208887)." + else + # need an XML catalog, so no-one writes to a non-existent one + CATALOG="${ROOT}etc/xml/catalog" + + # we dont want to clobber an existing catalog though, + # only ensure that one is there + # <obz@gentoo.org> + if [ ! -e ${CATALOG} ]; then + [ -d "${ROOT}etc/xml" ] || mkdir -p "${ROOT}etc/xml" + /usr/bin/xmlcatalog --create > ${CATALOG} + einfo "Created XML catalog in ${CATALOG}" + fi + fi +} + +pkg_postrm() { + use python && python_mod_cleanup +} |