63 Commits

Author SHA1 Message Date
landry
c4bbec9fe4 Update to nspr 4.10.8.
- https://groups.google.com/forum/#!topic/mozilla.dev.tech.nspr/6yPZqtZhHzM
- remove rwlockrank.c patch, merged in #1072454
- remove chunk of patch-nspr_pr_src_pthreads_ptthread_c, merged upstream
  in #756047. Leave chunk about pthread_set_name_np() returning void, to
be upstreamed
- use PATH_MAX instead of MAXPATHLEN in patch-nspr_pr_src_linking_prlink_c
2015-03-16 19:39:45 +00:00
landry
3de2b9ea28 Subtly fix a OpenBSD/OPENBSD mistake that crept in r1.1.
NSPR headers define OPENBSD (which is what we need to know what OS we're
on), sys/param.h defines OpenBSD. And MAXPATHLEN, which is used in that
patch. Oh well, fix it this way for now, pending a better fix.
2015-01-15 21:50:19 +00:00
landry
372b3bbb1c Fix c++-style comments breaking make test since we build with cc. #1072454 2014-09-25 06:55:47 +00:00
landry
47ccdb1748 Update to NSPR 4.10.7. 2014-09-24 18:43:39 +00:00
landry
82267e15f4 Update to nspr 4.10.6, required by upcoming ffx 30.
Might or might not fix security issues, noone knows as there are no
release announcements, nor changelogs. Check
http://hg.mozilla.org/projects/nspr/shortlog for a list of changes...
2014-06-11 07:58:17 +00:00
landry
1e744301b1 Minor bugfix update to nspr 4.10.3, req'ed by future mozillas. 2014-03-10 20:17:27 +00:00
landry
4761ac0db6 SECURITY(?) update to nspr 4.10.2.
Fixes the following bugs:
Bug 927687: Avoid unsigned integer wrapping in PL_ArenaAllocate (possible CVE?, not confirmed yet)
Bug 770534: eliminate possible pointer overflow in PL_ArenaAllocate().
Bug 888546: PR_ImportUDPSocket doesn't work.

No release notes yet.
Note: This is what will be shipped within Fx 25.0.1, per #935568 & #935959.
2013-11-13 20:54:45 +00:00
landry
e1a56cbb50 Bugfix update to nspr 4.10.1.
Went in a bulk build without fallout.
2013-10-03 19:13:35 +00:00
landry
3ee07c96c4 Update to nspr 4.10.
http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-10-Release-td280660.html

After years of sticking to CVS, upstream finally switched to hg,
changing its directory layout while here. All our patches are actually
unchanged, but got renamed/moved. CVS doesn't handle moves :)

Tested in an amd64 bulk build.
2013-06-23 18:36:50 +00:00
landry
f3aa48856f Update to nspr 4.9.6, needed by upcoming ffx 21.
NSPR 4.9.6 has the following bug fixes:
* Bug 782214: Auto detect Android API version for x86.
* Bug 807883: Add the PL_SizeOfArenaPoolExcludingPool function.
* Bug 812085: Initialize Windows CRITICAL_SECTIONs without debug info
 and with nonzero spin count.
* Bug 827271: Add support for Aarch64 (64-Bit ARM).
* Bug 841651: PR_SetThreadPriority doesn't do anything when using Bionic.

Bump minor for PL_SizeOfArenaPoolExcludingPool addition.
2013-05-16 19:55:32 +00:00
landry
0cd765881e Update to nspr 4.9.5.
After two years of discussion in bug #634793 and countless hours lost on
filing followup bugs at each type mismatch, nspr upstream finally got
convinced that on OpenBSD uint64_t was unsigned long long, and there was
no reason at all to define PRUint64 as unsigned long, happily raping the
principle of least surprise. So now that upstream behaves correctly,
remove the two pr{long,types}.h patches.

And there was much rejoicing.

Tested on sparc64/ppc/hppa/amd64, went in a bunch of bulk builds.
2013-03-18 20:30:31 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +00:00
landry
3100e8b778 Update to nspr 4.9.4.
Tested on sparc64 & hppa, and went into an amd64 bulk build.
2012-12-29 19:58:22 +00:00
landry
df694e00fd Update to nspr 4.9.3.
- remove subpackages, it makes no sense to have -docs fetching its distfile
from a separate tarball. If really needed one can make a standalone port.
- remove handmade nspr.pc.in, upstream provides one
- remove handrolled install target and use the one upstream provides.
- merge PFRAG.shared back into PLIST

Tested on amd64/i386/powerpc and in a bulk build.
Needed by firefox 18.

ok sthen@ ajacoutot@ jasper@
2012-11-12 20:39:09 +00:00
landry
ee15792e12 Update to nspr 4.9.2.
- Garbage collect patch adding -pthread hack while here.
- Improve pthread_set_name_np() call (returns void)
- Needed anyway by upcoming Mozilla 16 releases
been in a bunch of amd64 bulks, ok ajacoutot@
2012-09-17 20:00:09 +00:00
ajacoutot
7ab36748ae Remove irrelevant $FreeBSD RCS ids. 2012-08-18 12:41:37 +00:00
landry
981c23b608 add bug # url 2012-05-17 10:23:24 +00:00
landry
7d8652ecf1 add comments explaining damn patches 2012-05-17 08:59:00 +00:00
ajacoutot
86265ce150 Fix usage of the _POSIX_THREAD_PRIORITY_SCHEDULING macro.
from Brad
2012-05-17 05:01:35 +00:00
landry
3059d88974 Garbage collect two patches :
- using /dev/arandom instead of /dev/urandom is not needed anymore
- #undef _POSIX_THREAD_PRIORITY_SCHEDULING is not needed since the
  switch to rthreads.
from brad.
2012-03-06 21:15:30 +00:00
landry
73f17c0d11 Update to nspr 4.9, needed for mozilla 11+.
Tested on alpha amd64 hppa i386 powerpc sparc64, no change in regression
output (well, dtoa still fails, but thats not surprising given
corresponding code is heavily patched)
2012-02-20 09:17:00 +00:00
robert
b3a9391a22 match uint64_t and int64_t typedefs with the system ones to avoid confusion
in chrome for example

ok jasper@
2011-10-27 07:58:03 +00:00
jasper
d6529ddc7a missing bump 2011-10-04 21:35:25 +00:00
landry
4b417acf04 Add patch from #650772 after lengthy bikeshedding. On OpenBSD, the
.so.x.y passed to PR_LoadLibrary() is never the same as the one on
linux, since the portstree controls the .x.y, so if the first dlopen()
fails, let's strip what's after .so and retry, since ld.so is clever
enough to open the correct lib if asked for libfoo.so. Allows me to
remove smth like 40 patches in all mozilla ports. Take maintainership
while here.
discussed with deraadt@
2011-10-03 17:54:23 +00:00
landry
a143707039 Update to nspr 4.8.9, needed by upcoming mozilla updates.
Bump major as some prtime #define were changed.
Remove a patch merged upstream (bug #622425)
ok martynas@ rpointel@
2011-08-23 20:07:08 +00:00
landry
32a276b54e Update to nspr 4.8.7, required by ffx4.0b8 and later, and
soon-to-be-required by stable releases in other mozilla branches.
ok sthen@ martynas@
2011-01-15 16:58:28 +00:00
landry
c758812833 Make sure that PR_GetPhysicalMemorySize() is properly implemented by
using the same code NetBSD uses. Tracked down after a report from tedu@
about default memory cache size. Reported upstream as
https://bugzilla.mozilla.org/show_bug.cgi?id=622425
ok & tested by dcoppa@
2011-01-03 13:21:04 +00:00
landry
a1e2c78dcd Update to nspr 4.8.6, required by (at least) a future firefox 4 update..
Tested in a bunch of amd64 bulk builds.
ok naddy@ phessler@
2010-08-30 20:12:55 +00:00
jasper
2e442c45cd - allow this to build on mips64*
feedback from kettenis@
ok phessler@
2010-03-30 11:47:33 +00:00
martynas
449827516e update to nspr-4.8. security. please note, this will be needed
in stable for further mozilla-firefox security updates.
bulk build done by sthen@.  thanks!
2009-08-04 13:56:09 +00:00
jakemsr
f44059c898 use /dev/arandom instead of /dev/urandom. reading from /dev/urandom
is too slow.

ok martynas@
2009-03-23 00:50:52 +00:00
sthen
3b31c247fd build this on hppa; ok martynas (maintainer). 2009-02-14 12:01:48 +00:00
martynas
4499dcc359 NSPR 4.7.3:
- PL_ArenaFinish should zero the static variable PRCallOnceType
once.
- Missing _MD_UNLOCK() in IsFileLocal in ntio.c.
- PR_Interrupt() interrupts PR_TransmitFile() while PR_BlockInterrupt()
in effect.
- use /dev/urandom instead of /dev/random
ok naddy@
2008-12-15 21:26:04 +00:00
martynas
6dd7e1027c nspr 4.7.1 ships source tarball with weird permission modes. fix
modes for header files in the install target, so that the resulting
package is right, and non-root/wheel users are able to build apps
depending on nspr
ok kurt@, naddy@, pval@
2008-07-31 17:31:00 +00:00
martynas
9a5c1037db update to nspr-4.7.1. also needed by firefox 3.0
tested by many, both w/ mozilla 1.8 branch projects, and mozilla 1.9
"nspr and nss should go in" naddy@
ok kurt@
2008-07-25 00:42:33 +00:00
martynas
027c941cba update to nspr-4.6.8; ok kurt@ 2008-02-12 23:21:38 +00:00
merdely
376b75df06 Remove quotes surrounding COMMENT*/PERMIT_*/BROKEN 2007-09-16 02:52:56 +00:00
martynas
649f9d75b4 update to 4.6.7; ok kurt@ 2007-08-01 21:11:13 +00:00
ajacoutot
6278c3e12c - give maintainership to martynas@ 2007-05-22 18:47:14 +00:00
martynas
56edb6b56d - regen patches;
- remove useless patch-mozilla_nsprpub_pr_include_private_primpl_h;
no pkg changes = no pkgname bump
ok maintainer ajacoutot@, kurt@
2007-04-10 18:07:43 +00:00
espie
470294650d base64 distinfo with SHA256 2007-04-05 15:37:40 +00:00
kurt
5169d71731 bump SO_VERSION to 19.0 to make room for firefox -stable updates. firefox
in -stable has internal nspr and will cause issues for users who upgrade if
SO_VERSION reaches 19.0 due to the .libs package. discussed with martynas.
okay pvalchev@
2007-03-06 18:30:31 +00:00
robert
71dd59e68a update to version 4.6.5; from Martynas Venckus; ok pvalchev@ 2007-03-01 22:37:48 +00:00
ajacoutot
a2295043cc - remove substitutions in PKGNAME
talked with and ok jasper@
2006-12-06 17:43:31 +00:00
kurt
456dbd5108 Don't append nspr's shared lib version in PR_GetLibraryName. This fixes
missing 'Builtin Roots Module'/Authorities problem in mozilla* apps.
okay ajacoutot@
2006-11-30 16:53:53 +00:00
ajacoutot
2b0b20716d - add @pkgpath to PLIST-main (oops)
- bump PKGNAME

spotted by steven@
2006-11-23 10:13:33 +00:00
ajacoutot
f9bbdc7aab - update to 4.6.4
from Martynas Venckus <martynas at altroot dot org>, thanks!

ok jolan@
2006-11-23 09:36:03 +00:00
kurt
cd7517c261 link in libc since we are using libc strtod and __dtoa 2006-11-15 17:42:24 +00:00
ajacoutot
8e2d2dcdfb - add arm support (from kili@)
- increase soft limits for regression tests and make sure the prpollml
test works (from kili@ and kurt@)
- enable nameshm1 regression test (disable ClientServerTest function)

ok kurt@
2006-11-15 09:05:36 +00:00
ajacoutot
7eff0c83cd - add a -doc subpackage with complete HTML documentation reference
"looks good" steven@
2006-11-10 16:01:29 +00:00