diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-06 18:16:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-05-06 18:16:34 +0000 |
commit | ff7a7af2ffca1f876b28a24991e5a04f15b862f4 (patch) | |
tree | 1e02b08330bd3297033beb8dedab921415ae59fa /dev-libs/gmp | |
parent | Bump to 2.0.4, bug 411325. Switch to upstream tarball location due to #411325... (diff) | |
download | historical-ff7a7af2ffca1f876b28a24991e5a04f15b862f4.tar.gz historical-ff7a7af2ffca1f876b28a24991e5a04f15b862f4.tar.bz2 historical-ff7a7af2ffca1f876b28a24991e5a04f15b862f4.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r-- | dev-libs/gmp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/gmp/Manifest | 21 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-5.0.5.ebuild | 101 |
3 files changed, 124 insertions, 5 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog index c7411529b2bb..b6137d195e70 100644 --- a/dev-libs/gmp/ChangeLog +++ b/dev-libs/gmp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/gmp # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.167 2012/04/26 12:27:18 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.168 2012/05/06 18:16:34 vapier Exp $ + +*gmp-5.0.5 (06 May 2012) + + 06 May 2012; Mike Frysinger <vapier@gentoo.org> +gmp-5.0.5.ebuild: + Version bump. 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> gmp-5.0.4.ebuild: keyword ~amd64-fbsd diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest index e3c9405a6d1b..cdfdde1b8858 100644 --- a/dev-libs/gmp/Manifest +++ b/dev-libs/gmp/Manifest @@ -15,9 +15,11 @@ DIST gmp-5.0.1.tar.bz2 2006109 RMD160 3e89ebf5294639e1c926b92d9786bbdd0c8fa587 S DIST gmp-5.0.2.tar.bz2 2024576 RMD160 fce06e3246f067301a54f3457960f1d6d71adfc2 SHA1 2968220e1988eabb61f921d11e5d2db5431e0a35 SHA256 dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28 DIST gmp-5.0.3.tar.xz 1685288 RMD160 551248891b3c36d03719fde77ab76b49d6ff6eeb SHA1 5621c5982d62c816d0ded542462786dcdbb1b91b SHA256 438ee3e2d03a5b7c23e9f3f46919ab53cab102bcf4f3c34ea3a08486610fd450 DIST gmp-5.0.4.tar.xz 1689832 RMD160 a1221f8ce3a20d953715332cb5db7f7c20768e9d SHA1 bed5f3b53df9d8b290979f48ab4fc818fd40df2b SHA256 4e6de1262ec94cce7833abb787a6d9157a822cc63d406c3d46c737e46ade1523 +DIST gmp-5.0.5.tar.xz 1671264 RMD160 d374e5505c6c61e582f64de864ea1d05b91971ba SHA1 4e006dd5e473f21d414b88997630122662ddc2be SHA256 e87015a825a2445e169931ee27849d52576a2d9e338d1383dcb36fed68d0006f DIST gmp-man-5.0.2.pdf 1024222 RMD160 8b109ab46248d2cc3eaa383a10921558c6eb657f SHA1 bccd7089b9a355c102770ce98534d581af8a1a42 SHA256 fcdd621dea0215b8920bdbfacf374ae8ef4f548a2d0c3e8d65d904f1b9d174d4 DIST gmp-man-5.0.3.pdf 1159053 RMD160 53f9a3f2556a5d0d7a2d63b1ace3d7a6629c5aae SHA1 95a7af50728eee6daa9727eb42d7cf69cbe4cfcb SHA256 8f12da7b0665a2a0b5e1bc83c702e67b1b854382af5cba58c2859564fc930550 DIST gmp-man-5.0.4.pdf 1160172 RMD160 f24a629206b5eaa7ec412d11160139db5a76bd5f SHA1 8f17b55c167254a9cb379ba253f2f9cf0c07313d SHA256 c577d4dea9964e85c07f859d60833fc56d10aba16fd42f380939b0360f79defb +DIST gmp-man-5.0.5.pdf 1162914 RMD160 5b7430442da6af84c43879ce130433f144385455 SHA1 c03c8d7154fa96be5b50eb84e858d1c55992d24f SHA256 33c7456155bf39704eb1c874849315a925140014b4ad8a8c6f0e07e4fde6a9f2 EBUILD gmp-4.3.2-r1.ebuild 1686 RMD160 7192064f72a756e7f87a19bb6e04974869fe9322 SHA1 e2d9390a1a4f5796d5f6f9dde62d3d12775f0d76 SHA256 27d0bb9abb49e4b123248fe7f101c824983b620e417f320cdcf5f62c877b4074 EBUILD gmp-4.3.2.ebuild 1995 RMD160 d4123b138aa96f8084dd652c886ae8a117551411 SHA1 cb4d3873679a4b0d5d073e4b89ef2d203798adc2 SHA256 b386354b1a93bbf9a20774aabb5f31e68fc3870e4eeba3d4931aa0c985608b10 EBUILD gmp-5.0.1.ebuild 2458 RMD160 b60ffd9a8f150317c51e8ac7cc06d40a39e19201 SHA1 5e6bb32b4ba660fad1fa5ce0d9e33947426f591f SHA256 8a7b8f7fadb14fb6c92881e6f0e063422ea9c6ecf57e0c3f1ffe0b08dcf945d0 @@ -25,12 +27,23 @@ EBUILD gmp-5.0.2.ebuild 2400 RMD160 749fdef4f722fde37ae46ff467de79b071f3eaea SHA EBUILD gmp-5.0.2_p1.ebuild 2842 RMD160 7d723a9f842c747b9f26e098b2fa50cb9b81d429 SHA1 60556b579c5f165169fea15a4b19dcc4e11cb3db SHA256 7631e4e1703d8bcd6098bd4dbda141f402a627bb52da8cc424e5d771a0f72b63 EBUILD gmp-5.0.3.ebuild 2765 RMD160 79d6af82aad0bb570234e794417cfe616cff749a SHA1 4471e66931b3eafa1926af7e33f3c8dba89dc6b4 SHA256 528f4aed6b044fb4a8c8fa86bb50ae7960329b03a5d3b11cd5d4945a4e20bc75 EBUILD gmp-5.0.4.ebuild 2761 RMD160 df6830d7f97802587375135c9c6ea16393d2b11f SHA1 cae70d68d59d5ad508156d2d6c76514f85f3e328 SHA256 96b6aee15c93e99469a140052e4b2dac8a1556db35c6c2d122eae407309f6be5 -MISC ChangeLog 22174 RMD160 71df5037357497a1e358c8a300a3d088f8e13430 SHA1 72dd1be46e544cbdec42b87e6398b688b850e145 SHA256 45bed34b0b427213fc02166e55c822318da9e88ff6b5c807ac0ebde86324f074 +EBUILD gmp-5.0.5.ebuild 2759 RMD160 a0ac302c461dc3ce9cecb08a94789b561859b27d SHA1 9a221a42c5cccb6d4e5d5fb6369d57532bb5645c SHA256 6029d46c30ac4db8cc343966bd9aebdc564adf84fd37b4b7249a7f0a23494d46 +MISC ChangeLog 22284 RMD160 392da83db5fc458a91fe00168d060c691a0a3a6b SHA1 b37f6575671ffb5ef6ee1f519be42dcdd06d1a55 SHA256 b2cc8901771d4c6c22c4bc3b2c2ed549b5440ee3347d652c0221accb9992b411 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk+ZPywACgkQvFcC4BYPU0qgYACcCuaPWYued8X5qnQqxzQbLPcZ -te4An1fFcmrE38y6GbMPrWzpSHxaMdjD -=Upl2 +iQIcBAEBAgAGBQJPpsBTAAoJELEHsLL7fEFWkwUQALFMQ71vfysF58vefe5S8BRo +rVwnKVIighduuRaNXpy+RzeJDssSUNdvcmde7YquGM+afmxR4MaM8bJpg4QLG63J +/p3oKyRI2F/osMNroI2UjhuhEgWFMxtZF7JYY3rTCGyNkVuErrHDJsZmS921KTCe +4d2RaEluILVT6Ti2CJaeQiwBr6slvZxMxTgkgh0tqABEAZjtgbyjtygSYHDhGPiv +20ZbYZA1PdYpGXyX/mMVZXLJL+IQI3rmBS9j8SHeqEwjkAg7dT2XGMNl8ORSSWJY +JMpO3HTeS8HQmCaOHbxKSv+ikVfY//OnvwXNVM2P7KuXTxQtvDEP2i3AfYkaHh/6 +Xs+CdokXE1vDrJnRW21ISObPQBUgeJcwpRQq2fYYU/GPKxemPZhAzrWltqpoLPyQ +Kn7kIPTznxxIsI3U/BtQf6m2g5fFrbTkUlgkalsLBJhvrvPmrjy48f1OMOtYarRM +k8kBiSnSfps14Y2JPiOtzmLxrN6DaHr7KOPkNKOVYmWI/qxybtAUMEOt5oaZ2fiZ +kXdAsbKddaDdqP9Wj8ThP0SixPp0MkUwqgz0hLwr3ioL58TvsnsN0aTv8Rzn+bFJ +aFi7rT2GmpW4hk11XOdce2brJl6A+pv9MXlDpxXSwVlgeeKeF74BfaHGweZFSPBC +98sXpqP0fEqhUPR6eWiW +=8F6s -----END PGP SIGNATURE----- diff --git a/dev-libs/gmp/gmp-5.0.5.ebuild b/dev-libs/gmp/gmp-5.0.5.ebuild new file mode 100644 index 000000000000..12f8f9d632fa --- /dev/null +++ b/dev-libs/gmp/gmp-5.0.5.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.0.5.ebuild,v 1.1 2012/05/06 18:16:34 vapier Exp $ + +inherit flag-o-matic eutils libtool unpacker toolchain-funcs + +MY_PV=${PV/_p*} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" +HOMEPAGE="http://gmplib.org/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz + doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="doc cxx static-libs" + +DEPEND="sys-devel/m4 + app-arch/xz-utils" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpacker_src_unpack + cd "${S}" + [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV} + epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch + epatch "${FILESDIR}"/${PN}-5.0.2-x32-support.patch + + # disable -fPIE -pie in the tests for x86 #236054 + if use x86 && gcc-specs-pie ; then + epatch "${FILESDIR}"/${PN}-5.0.1-x86-nopie-tests.patch + fi + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize + + # GMP uses the "ABI" env var during configure as does Gentoo (econf). + # So, to avoid patching the source constantly, wrap things up. + mv configure configure.wrapped || die + cat <<-\EOF > configure + #!/bin/sh + exec env ABI="$GMPABI" "${0}.wrapped" "$@" + EOF + chmod a+rx configure +} + +src_compile() { + # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works + # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) + if [[ ${CHOST} == hppa2.0-* ]] ; then + export GMPABI="1.0" + fi + + # ABI mappings (needs all architectures supported) + case ${ABI} in + 32|x86) GMPABI=32;; + 64|amd64|n64) GMPABI=64;; + [onx]32) GMPABI=${ABI};; + esac + export GMPABI + + tc-export CC + econf \ + --localstatedir=/var/state/gmp \ + --disable-mpbsd \ + $(use_enable cxx) \ + $(use_enable static-libs static) \ + || die + + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + # should be a standalone lib + rm -f "${D}"/usr/$(get_libdir)/libgmp.la + # this requires libgmp + local la="${D}/usr/$(get_libdir)/libgmpxx.la" + use static-libs \ + && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \ + || rm -f "${la}" + + dodoc AUTHORS ChangeLog NEWS README + dodoc doc/configuration doc/isa_abi_headache + dohtml -r doc + + use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/ +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libgmp.so.3 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3 +} |