summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-02-15 13:30:16 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-02-15 13:30:16 +0000
commit3e1ab6d51c52a54841e072844a3e0d44767c17c0 (patch)
tree84185f8bcf5eae0cc5b9317bfdf9bbaa640b34fe /dev-libs/nspr
parentFix QA warning (diff)
downloadhistorical-3e1ab6d51c52a54841e072844a3e0d44767c17c0.tar.gz
historical-3e1ab6d51c52a54841e072844a3e0d44767c17c0.tar.bz2
historical-3e1ab6d51c52a54841e072844a3e0d44767c17c0.zip
Version bump
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'dev-libs/nspr')
-rw-r--r--dev-libs/nspr/ChangeLog7
-rw-r--r--dev-libs/nspr/Manifest24
-rw-r--r--dev-libs/nspr/nspr-4.9.5.ebuild109
3 files changed, 138 insertions, 2 deletions
diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog
index bd65a4a2784b..e7ce1dc0c343 100644
--- a/dev-libs/nspr/ChangeLog
+++ b/dev-libs/nspr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/nspr
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.216 2013/02/08 14:47:21 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.217 2013/02/15 13:29:14 polynomial-c Exp $
+
+*nspr-4.9.5 (15 Feb 2013)
+
+ 15 Feb 2013; Lars Wendler <polynomial-c@gentoo.org> +nspr-4.9.5.ebuild:
+ Version bump.
08 Feb 2013; Agostino Sarubbo <ago@gentoo.org> nspr-4.9.4.ebuild:
Stable for s390, wrt bug #450286
diff --git a/dev-libs/nspr/Manifest b/dev-libs/nspr/Manifest
index 07ef31eb8a6a..874e6bd258b8 100644
--- a/dev-libs/nspr/Manifest
+++ b/dev-libs/nspr/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX nspr-4.6.1-config-1.patch 565 SHA256 9ed8fd15102ef3de6d837d40ec5d73aef0ea45bf9059b4cf5ff1f47b6a519ed6 SHA512 3556cff96d3e773d6e1762d94b9c325207578e4e910d33464c26b2084f42f2162c5fbb12d8f2206dbe4c5a7ecb1c8c63a699f08bd1b31c5b71eb73d257c46be6 WHIRLPOOL 7c249f1465f65da765b37b256d9cd8c8cef7d5fc7cb8a57f40f29a98cb2247cc3e1ec002f106d50bc531cfc6a8c9de5a85d6f522ad5b8f6e956fc0790d5993b4
AUX nspr-4.6.1-config.patch 2722 SHA256 01bba00a314375cbb056c4e26e059515a6a0df92c62229799abca9f3fa9c7842 SHA512 2c8d0fa5c1bf1b79883fabeb09870e253073fe001fa7fc63c8a2f44a4ec20bc235d4be40c2d1fa247fa93a0d642233a7dee5b4734451cee46b7c1df2a1dd09d1 WHIRLPOOL 31b00c6674b72c705f43f1c41f887448dad880947a63bfd0abe8dc8853a0322e238012c6d2708b5840f35016f1ef812d62bf5e370b84239f86c1b7109947d58d
AUX nspr-4.6.1-lang.patch 1718 SHA256 326f5f9d020e73a6ed8e949124eb075f21d856d0b099b8d04035ecc937cd35fb SHA512 ee23a7fffb36e8ea10fe029dcd2fa374eb397fb038c628d9140f20c9a6267dd2ee4f76fb02ec79698fae4a1493fe58b7b4f28795afd54cb868ef6fce276cf291 WHIRLPOOL 56ad48b4d75cc624382a60d783e36dfaf2c6fc5195f300710a35fa7a058ea4b0f5904e7d6de361e5f340116531c824cd86175dc80e52efbc04f5ded92e592ce9
@@ -18,6 +21,7 @@ DIST nspr-4.8.9.tar.gz 1235265 SHA256 ff43c7c819e72f03bb908e7652c5d5f59a5d31ee86
DIST nspr-4.9.1.tar.gz 1172951 SHA256 5b696b80a3254aa0e5c7f0614b6bb9b14c483df46af66c792993e3d853568d17 SHA512 b7613eb5f97d9d8d0254d454fb516a672664fbf46b34eb03cc51a9b3af11d8cbdc117691c068f8e64a8255aadfd28b2814eda53edcd97a643b26b94b5adec341 WHIRLPOOL 9df74a88ea050d0fb2ff8f8a38d703c2bd77f6ecc4c5e6fe09c240bf9f99266ba56083aed566ea2e0a1df7afdb090861dbe6b45725906af5979242f9b2a82161
DIST nspr-4.9.2.tar.gz 1172193 SHA256 570206f125fc31b8589b31d3837c190ee2a75d4f3b8faec2cbedbeacc016e82c SHA512 1f1f35fc2b9ead7e3b4ef93a02f13c0bcccc314bf9cfad67e6ddb755aaf6ab411499b0b57b94b032e2c7ee21fc7c114ca447e24825b79611f720f88eb37bd348 WHIRLPOOL b50c87f8ba77601ea79282659b4781fe674925bc87bc130dd5acc056021b135769a0d5ed1b76e759c1dfbb0c7df9d6fb0d97d292f42c5d7c5db43233c2498f07
DIST nspr-4.9.4.tar.gz 1160641 SHA256 749046c75be17f2f8b3874d288873d3355cedcb37abe7b6eb7b3bc374440d4a4 SHA512 5c1caf290bbe6cec7fddd40ae1eefbe54608a0f6fce908b1680513c50661dde40f4c1638ddca56b8a7125b20be6945aa2b4507fa0dde09e3e9eb0b08e90cfe2b WHIRLPOOL a9fd7a0c4b17240c746312cdab1495a5d5ebcabcc945a7c2f1a3df435db2d4e5e80e3086d20bd658a94c573abb916611327ad877430c9cd0282e8d192217d707
+DIST nspr-4.9.5.tar.gz 1156396 SHA256 616ab65c849155c9ed0e5f502530a241cc9108e278275aa448b417ae632c7604 SHA512 cbe60e4c5265863fa3250d7c16a2727d3a4a8762d17bc63d044ec88d11758fe9f54f54c08e198db6278ee68c55edd88f7c4bc5db9bdc46bdea4e4cf9eb277f27 WHIRLPOOL d2792148805a99d1f2de919b57e48cfd03290b1f8faaec55d4374004574a578ed3fef110956fbb767a2f7f6d00cb9d594aa3a534e29df5790f3284c4fcea8b7b
DIST nspr-4.9.tar.gz 1218528 SHA256 ecc632bc578c125650999776673eeff952096afa6d151f6d91f6c3a93e1e716a SHA512 c0c18d06919a20f779b683d3ec24a82bcd48693e00f6aff4f66038c55e16305d050b83e1e6b7a4b3d0da5d1f1db699eb11ae111280989c60f5ea5c42420884d9 WHIRLPOOL 3d0be6f316368041b5cae7f00a273c33467f4b8ccc6e14d3a3728d5130a1cb625f44fda89cf9f80c092b70ea26a0958a7238f959e8d06263c5393edd835c7a31
EBUILD nspr-4.8.8.ebuild 3553 SHA256 c178bf852a1fa2150716ff08ade3c6fb2755986bed4fbf44227f068d5e38b86c SHA512 52b0cdc89fd349dbec6ece260e3a1282ba91dd3ec8a60da370d073d1c7f0054092b99d2bdee6f56562d1e9654f8b02c7b1893393119d87b1196267cc0b2660b6 WHIRLPOOL c70fefc921e562db5277f230c2849230405f2c8f449deeb647e6192b9bfca47507dd023e05a53e8cdeee211af8fe580d3b4428c473f4dd7e5b30eac7f11f907f
EBUILD nspr-4.8.9.ebuild 3784 SHA256 888de34db739f48ca4368827b97f91932efb81de781f686995016f346fb0607c SHA512 7d04936f51b9e22c5ed1c6042b8305d1cb886b09aa240e7588f3dfd7059b25d2e0537c79dfd2e3520bc79e7698fe1f6a2bfa1211151c3e1c7259dafab8ae50b7 WHIRLPOOL 32526437e464b825b33dd5c65e89ee5a9deaeda52886b7530f02f3492313e24dc774e5779db8104f4dc56f4547372bc02d374e1ec923baa76f777103fc34f5bf
@@ -25,6 +29,24 @@ EBUILD nspr-4.9.1.ebuild 3653 SHA256 b1d909af59039b012f7a09485385d0639a00d80fdf3
EBUILD nspr-4.9.2-r1.ebuild 3760 SHA256 2086bb41ae781d78f379422db45ce4c6ac55648cf4f26388a6dd757b4125ade3 SHA512 eb7d650eaf43eb90a4c2a2ae2eee9263b5b54d585771d6b4cf5adcb2802f658d92c9525932eecba3b99319511ce6570a8625543f11ad8daaa81f86bd367381c7 WHIRLPOOL 52cb084893d175933aea2d240e0d2a888fd4117909357e04c5c4971fe83a1d1c16f43203a7289e0a5723111821b6ec9704d2d3584204e12a01ff42cdde7501f6
EBUILD nspr-4.9.2.ebuild 3656 SHA256 21e578c935decb6a905d31e081bb7c3a1c520efe9b6436c3fb35cbf572827964 SHA512 5239547b08317f41741011d6ecbf64f381abc6fccf32073464dbaf03201925ca2b6ec1ec1ad2ffcb9f96a4e3a91e435b8cb322a93dd3c137b845629c8d78ceca WHIRLPOOL 4581834ce55ff0c7e8f980b71fa09ba63c2e956b1b55c2666e0d40a56c42f0f3ebacdb199c749939da64c0600e95d2cca8d70c180f1889163337e0ed7c02c788
EBUILD nspr-4.9.4.ebuild 3636 SHA256 93762a1b9d8b9cbc4a3a4fd441f2cbb750a0e4c92aea720325105e962c362a54 SHA512 e177ff28c9a639ad48e5a5263ccbce32276b3c5105fb1e002fbf12506aaa15266f7d5a68fb60affe784d121485504816b0e3c3c618128a41815ff4e318464ad9 WHIRLPOOL 69c78de7c4e7ebbad7e0ee805a118801728d53ef5e5a91d306b319a9eccabeca76953d6c74f502ea9ee497251d7485966624fbba8bcfeba01d38d23f558f85ec
+EBUILD nspr-4.9.5.ebuild 3652 SHA256 e38ada1c71cccde9323f05bb05fdc4d24aa0462f7b2ec0346d358a2e3ec09503 SHA512 4f66bc16983dbfb874c81f171ebeabb6a0ec5c245f62f3de631fe1f1a988315479a3d6f4bc379d0e5391d8335f003c901c91f81df237ea2047624e3d2309aacc WHIRLPOOL 4b1148122d8fac02dad4a2e27b8b1aa4dbc2bf1e5e8cfd0c395a43a5286dc601141bf797be1504448461359366444edbd8bdded55487c9295823b7082a3028da
EBUILD nspr-4.9.ebuild 3702 SHA256 70d3843e5d588eab366a77e35d5205f94decf60493f9670c0fe7ff3940b0c204 SHA512 f3a8b66281183b57278a44f8841dbc68fb3ef7ea45a56dfb46c142219d016641c1accd805b0d790136a96b51223c1a00a08738e77b291893ec050e0e1c18d99e WHIRLPOOL 8762e5b0cf414b64daa81c472daf4841e6209c946f2a1d3dadd1a8150449563b0293e9ba9613fb2d2878fcfdac3e3b7b04a0e9defb0db40f4b27257e1c79fc4f
-MISC ChangeLog 27379 SHA256 e0d7512014de2f294b779056a8329420de08c2556c8129ead1b69ab15c08938a SHA512 c3d7f0f825c9ad75e805a25577cfbf9723814c97c676f0b7fba838315043105eb552f24a6b9c6ab1183f2407bac2ca6cffdce3caf97e8eb66eb7d739fd163909 WHIRLPOOL dd355a54dad3e064b5e1e6d15a80e040a63be52526997f65fa45ede5f6f8461180aaeba7c9d570dd1636952dbc96641eae4a583b4145077b2ac5de47174d7347
+MISC ChangeLog 27506 SHA256 3d7279f3e94483653445be94729efe9b4bbfaeb018122b5fa52babb07d088477 SHA512 772295b8251711e118c4ad247e4205a8fdb7b2e9f14854ceb24af719bcd9a4dd77a11890383c1dad64dce0e2973a8afbba74e9bde260ccba336f1a5b0b3ea92f WHIRLPOOL 5ce653af1a7c2e408aa6ffcb5d3274da26038db03adab857fe89b86d99b95288d9b791186e07d5331f14ed403028ed39d121ed402ca034ee3e3b3d7140a03e13
MISC metadata.xml 160 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b SHA512 ed6f709d55351c1b69f2b43ada124fcc2f8969f8c3867073bb0c68aa502f16247cbcd78734a891e4d1a509d334f6805e5267d2088cd03f3408a636ad9aedc2bb WHIRLPOOL e6bf1791838158287debcc3160dd075dcdf88bc1b33060aefe4687b4451108e55b6f8021fc36f07ab85c4e37a4225444cc2804cf40bd61ba49726bbf12fa4e38
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJRHjgrAAoJEPiazRVxLXTFd8oQAKiRnJWtBeKUwe0MvEJgMbL5
+vKoCxCdwPO03q/ZNnRxA3GZQBbp/6p+ufIlSWXmYyhLHu4rd71D6IscA59Vw6a+o
+V3moGQTPfxZ1Ob1lHNZczKUBZ7U8cA9bB079eXiJkYRgv5PyKDmII7/5PtgKqNuv
+jgdCE8jdJwJn1egSPeSn9o3PBlHEnuavtJjlWSB2ilUbO32iFAl+mvfCkKHx3J5P
+JBpkBEPFEiK7CRXnFj5hvf4O3TkmeC9vFxDjm3bDkAGyrv7kKPAJHURYddvSJPqr
+rba/pC9jqr5OTKX0By+6CuKiZIYx0KepzomWN/X2H+C/Wta4qeyHX2oACa7Wa3WS
+DN/nwlKC/FZWTg87LMSqohSjPRE+ZQUgDtNYhQ0Ju4DUkQif8MH+lYHyqYviCk20
+4WjnGVL3KTJITnIp/guLdLAAJtYti7Y/BgKXmmItFgjtwaYbwRCjz4AjgfG19kP/
+e/gJTVwIWR86y/35aBeXi2b19iF0C896eDV+QncoFXA4B6kXsJKtAJNSzpbuQQYF
+HrcoabEupobwSEl2TjX5n00DhJwTvNAe4svmpOEXedFh9+p9wsNsujt+KO8+K3kX
+AAlbfKjIY7MWGOH+n/OUSnJUr6CkyhPmQxQZOojc1JEuobf1hn+ugjdDjbolqcZz
+UPpkUwzJHlCrvrKWrIZX
+=6Qdl
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/nspr/nspr-4.9.5.ebuild b/dev-libs/nspr/nspr-4.9.5.ebuild
new file mode 100644
index 000000000000..3024f7624190
--- /dev/null
+++ b/dev-libs/nspr/nspr-4.9.5.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.5.ebuild,v 1.1 2013/02/15 13:29:14 polynomial-c Exp $
+
+EAPI=3
+WANT_AUTOCONF="2.1"
+
+inherit autotools eutils multilib toolchain-funcs versionator
+
+MIN_PV="$(get_version_component_range 2)"
+
+DESCRIPTION="Netscape Portable Runtime"
+HOMEPAGE="http://www.mozilla.org/projects/nspr/"
+SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
+
+LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="debug"
+
+src_prepare() {
+ mkdir build inst
+ epatch "${FILESDIR}"/${PN}-4.8-config.patch
+ epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
+ epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
+ epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
+ epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
+ epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
+ epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
+ # Patch needs updating
+ #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
+ epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
+ epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
+
+ # We must run eautoconf to regenerate configure
+ cd "${S}"/mozilla/nsprpub
+ eautoconf
+
+ # make sure it won't find Perl out of Prefix
+ sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
+
+ # Respect LDFLAGS
+ sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
+ "${S}"/mozilla/nsprpub/config/rules.mk || die
+}
+
+src_configure() {
+ cd "${S}"/build
+
+ # We use the standard BUILD_xxx but nspr uses HOST_xxx
+ tc-export_build_env BUILD_CC
+ export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
+ tc-export AR CC CXX RANLIB
+ [[ ${CBUILD} != ${CHOST} ]] \
+ && export CROSS_COMPILE=1 \
+ || unset CROSS_COMPILE
+
+ local myconf
+ echo > "${T}"/test.c
+ ${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die
+ case $(file "${T}"/test.o) in
+ *32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";;
+ *32-bit*|*ppc*|*i386*) ;;
+ *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
+ esac
+
+ # Ancient autoconf needs help finding the right tools.
+ LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" \
+ ac_cv_path_AR="${AR}" \
+ econf \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ $(use_enable debug) \
+ $(use_enable !debug optimize) \
+ ${myconf}
+}
+
+src_compile() {
+ cd "${S}"/build
+ emake || die "failed to build"
+}
+
+src_install() {
+ # Their build system is royally confusing, as usual
+ MINOR_VERSION=${MIN_PV} # Used for .so version
+ cd "${S}"/build
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ cd "${ED}"/usr/$(get_libdir)
+ einfo "removing static libraries as upstream has requested!"
+ rm -f *.a || die "failed to remove static libraries."
+
+ local n=
+ # aix-soname.patch does this already
+ [[ ${CHOST} == *-aix* ]] ||
+ for file in *$(get_libname); do
+ n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
+ mv ${file} ${n} || die "failed to mv files around"
+ ln -s ${n} ${file} || die "failed to symlink files."
+ if [[ ${CHOST} == *-darwin* ]]; then
+ install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
+ fi
+ done
+
+ # install nspr-config
+ dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
+
+ # Remove stupid files in /usr/bin
+ rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
+}