Commit graph

117 commits

Author SHA1 Message Date
ryoon
14fe7f78cd Update to 4.13.1
Changelog:
The NSPR 4.13.1 release is now available.  The hg tag is
NSPR_4_13_1_RTM.  The source tar file can be downloaded from
https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.13.1/src/

NSPR 4.13.1 contains a single bug fix.

The previously released version 4.13 had changed pipes to be
nonblocking by default, and as a consequence, PollEvent was changed
to not block on clear.

The NSPR development team received reports that these changes
caused regressions in some applications that use NSPR, and it
has been decided to revert the changes made in NSPR 4.13.

NSPR 4.13.1 restores the traditional behavior of pipes and PollEvent.
2016-10-26 14:13:53 +00:00
ryoon
b0ab8c52d2 Update to 4.13
Changelog:
NSPR 4.13 has the following bug fixes:

* PL_strcmp (and others) were fixed to return consistent results
  when one of the arguments is NULL.

* PollEvent was fixed to not block on clear.

* Pipes are always nonblocking.

* PR_GetNameForIdentity: added thread safety lock and bound checks.

* Removed the PLArena freelist.

* Avoid some integer overflows.

* fixed several comments.

For the full list see:
https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&query_format=advanced&product=NSPR&target_milestone=4.13
2016-09-30 11:54:27 +00:00
richard
92ab9a59b7 add runpath to Linux caught during check-shlibs-elf
fixes build on aarch64-linux-gnu
2016-08-28 07:00:50 +00:00
wiz
2b0a009d0e Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
jperkin
233be4e730 Bump PKGREVISION for previous change. 2016-03-10 18:15:51 +00:00
jperkin
4621e9bd8d Fix rpath, we don't support $ORIGIN. Fixes issues previously masked by a
bug in check-shlibs.
2016-03-10 16:23:54 +00:00
jperkin
a7efdccd6c Use OPSYSVARS. 2016-02-25 12:12:47 +00:00
jperkin
84c3cd9a42 Deliberately pass an invalid Mac SDK path so that the broken target logic
is not used.
2016-02-23 12:42:16 +00:00
ryoon
0610bb73d4 Update to 4.12
Changelog:
The NSPR 4.12 release is now available.  The hg tag is
NSPR_4_12_RTM.  The source tar file can be downloaded from
https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.12/src/

NSPR 4.12 has the following bug fixes:

* added a PR_GetEnvSecure function, which attempts to detect if the program
  is being executed with elevated privileges, and returns NULL if detected.
  It is recommended to use this function in general purpose library code.

* fixed a memory allocation bug related to the PR_*printf functions

* exported API PR_DuplicateEnvironment, which had already been added in
  NSPR 4.10.9

* added support for FreeBSD aarch64

* several minor correctness and compatibility fixes
2016-02-17 21:58:26 +00:00
ryoon
b0ef88e434 Update to 4.11
Changelog:
NSPR 4.11 has the following bug fixes:

1129878  Enable atomic instructions on mips
1129968  Fix mips assertion failure when creating thread
         with custom stack size
2016-02-06 22:08:57 +00:00
ryoon
648c043c7e Update to 4.10.10
Changelog:
Not available.
Required by upcoming Firefox 42.
2015-11-02 15:24:49 +00:00
ryoon
5d167399d4 Update to 4.10.9
Changelog:
NSPR 4.10.9 has the following bug fixes:

1021167 Leak of |poll_list| on failure in _MW_PollInternal
1030692 Make compiling nspr on windows possible again.
1088790 dosprint() doesn't support %zu and other size formats
1130787 prtime.h does not compile with MSVC's /Za (ISO C/C++
        conformance) option
1153610 MIPS64: Add support for n64 ABI
1156029 Teach clang-analyzer about PR_ASSERT
1160125 MSVC version detection is broken CC is set to a wrapper
        (like sccache)
1163346 Add NSPR support for FreeBSD mips/mips64
1169185 Add support for OpenRISC (or1k)
1174749 Remove configure block for iOS that uses MACOS_SDK_DIR
1174781 PR_GetInheritedFD can use uninitialized variables
2015-08-20 10:53:13 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
joerg
00109ee0ef Fix config.guess override. 2015-02-21 00:10:21 +00:00
ryoon
da08bc5b52 Update to 4.10.8
Changelog:
Not available yet.
2015-01-27 12:37:02 +00:00
ryoon
a9c9fad6c7 Bump PKGREVISION.
* When ABI=64 under OS X/Darwin, generate 64-bit shared libraries.
  Fix PR pkg/49532.
2015-01-03 19:52:22 +00:00
wiz
b6ad224c36 Update to 4.10.7:
NSPR 4.10.7 has the following bug fixes:
- Bug 836658: VC11+ defaults to SSE2 builds by default. Contributed by
  David Major.
- Bug 979278: TSan: data race nsprpub/pr/src/threads/prtpd.c:103
  PR_NewThreadPrivateIndex.
- Bug 1026129: Replace some manual declarations of MSVC intrinsics with
  #include <intrin.h>. Contributed by Ehsan Akhgari.
- Bug 1026469: Use AC_CHECK_LIB instead of MOZ_CHECK_PTHREADS. Skip
  compiler checks when using MSVC, even when $CC is not literally "cl".
  Contributed by Mike Hommey.
- Bug 1034415: NSPR hardcodes the C compiler to cl on Windows.
  Contributed by Ehsan Akhgari.
- Bug 1042408: Compilation fix for Android > API level 19. Contributed
  by Zach Anderson.
- Bug 1043082: NSPR's build system hardcodes -MD.
2014-10-13 09:14:29 +00:00
ryoon
af1446b6ff Update to 4.10.6
* Update HOMEPAGE

Changelog:
Not provided.

https://www.mozilla.org/security/announce/2014/mfsa2014-55.html
Mozilla Foundation Security Advisory 2014-55 has been fixed
in this release.
2014-06-11 02:41:34 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
ryoon
3133528496 Update to 4.10.5
Changelog:
An important internal change in NSPR 4.10.5 is that the configure script
was generated using Autoconf 2.69 instead of Autoconf 2.13. If your
build system uses Autoconf and your configure script invokes NSPR's
configure script as a sub-configure, some adjustments may be necessary.

NSPR 4.10.5 has the following bug fixes:
- Bug 50549: Link to ws2_32.lib instead of wsock32.lib under Windows.
- Bug 695993: Update NSPR's config.guess and config.sub, get rid of our
  non-upstreamed hacks. Contributed by Ulrich Weigand.
- Bug 849085: autoconf: Port NSPR's build/autoconf/acwinpaths.m4 to
  autoconf 2.56+.
- Bug 849093: autoconf: Do not call AC_PROG_CC inside a conditional
  block.
- Bug 977685: Support powerpc64le-linux platform in NSPR. Contributed by
  Ulrich Weigand.
- Bug 978636: Detect MSYS2 on configure. Contributed by Makoto Kato.
- Bug 981558: Do library timestamping with one-second resolution.
- Bug 986745: Add atomic primitives for Linux ppc64. Contributed by
  Ulrich Weigand.
- Bug 989497: nspr/configure.in should also call AC_PROG_CPP when
  cross-compiling.
- Bug 992471: nspr/configure.in should not check for CROSS_COMPILE in
  the environment.
2014-05-06 13:59:55 +00:00
jperkin
9e7a1ba4b9 Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2014-03-13 11:08:49 +00:00
ryoon
6e28587e44 Update to 4.10.4
Changelog:
NSPR 4.10.4 has the following bug fixes:
* Bug 767759: Add support for new x32 ABI for NSPR. Contributed by
  Daniel Schepler.
* Bug 844784: TSan: Thread data race in PR_EnterMonitor.
* Bug 936320: Change PR_StringToNetAddr to try pr_StringToNetAddrFB
  first.
* Bug 939786: TSan: data race nsprpub/pr/src/pthreads/ptthread.c:137
  _pt_root.
* Bug 958796: Users of _beginthreadex that set a custom stack size
  may not be getting the behavior they want. Contributed by
  Emanuel Hoogeveen.
* Bug 963033: AArch64 support update for NSPR. Contributed by
  Marcin Juszkiewicz.
* Bug 969061: Incorrect end-of-list test when iterating over a
  PRCList in prcountr.c and prtrace.c
* Bug 971152: IPv6 detection on linux depends on availability of
  /proc/net/if_inet6.
* Bug 972125: Support iOS arm64. Contributed by Sylvain Defresne.
2014-03-13 10:44:37 +00:00
ryoon
867619af34 Update to 4.10.3
Changelog:
NSPR 4.10.3 has the following bug fixes:
* Bug 749849: ensure we'll free the thread-specific data key.
  Contributed by Kai Engert.
* Bug 941461: don't compile android with unaligned memory access.
  Contributed by Brad Lassey.
* Bug 932398: Add PR_SyncMemMap, a portable version of
  msync/FlushViewOfFile. Contributed by Luke Wagner.
* Bug 952621: Fix a thread-unsafe access to lock->owner in PR_Lock.
* Bug 957458: Fix several bugs in the lock rank checking code.
* Bug 936320: Use an alternative test for IPv6 support on Linux to
  avoid opening a socket.
2014-02-02 23:41:31 +00:00
ryoon
f889a22120 Update to 4.10.2
Changelog:
NSPR 4.10.2 has the following bug fixes:
* Bug 770534: Possible pointer overflow in PL_ArenaAllocate().
  Fixed by Pascal Cuoq and Kamil Dudka.
* Bug 888546: ptio.c:PR_ImportUDPSocket doesn't work. Fixed by
  Miloslav Trmac
* Bug 915522: VS2013 support for NSPR. Fixed by Makoto Kato.
* Bug 927687: (CVE-2013-5607) Avoid unsigned integer wrapping in
  PL_ArenaAllocate.
2013-11-21 15:22:58 +00:00
ryoon
b479f5d296 Fix build on OpenBSD 5.4 2013-11-02 12:34:14 +00:00
ryoon
691a99b75f Update to 4.10.1
Changelog:
NSPR 4.10.1 has the following bug fixes:
* Bug 888273: RWIN Scaling (RFC1323) limited to 2 on Windows 7 and 8.
  Fixed by Patrick McManus.
* Bug 907512: Unix platforms shouldn't mask errors specific to Unix
  domain sockets.  Fixed by Jim Blandy.
2013-10-12 13:46:51 +00:00
ryoon
e40b74dbe1 Fix PR pkg/48085
* Version string in nspr is now 4.10.0.
2013-07-31 11:48:25 +00:00
ryoon
3fd37557f7 Update to 4.10, based on pkgsrc/wip/nspr by mef@.
* Set LICENSE.

Changelog:
http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-10-Release-td280660.html
--------------
  NSPR 4.10 has the following bug fixes:
* Bug 331169: Obviate PR_Sleep before PR_GetConnectStatus on Windows.
  Fixed by Brian Smith.
* Bug 687033: Support Windows/arm. Fixed by Makoto Kato (partially
  checked in).
* Bug 687033: Remove WINCE and Win9x support partially.
* Bug 844513: Add AddressSanitizer (ASan) memory check annotations to
  PLArena. Fixed by Mats Palmgren.
* Bug 849089: Simple changes to make NSPR's configure.in work with
  the current version of autoconf.
* Bug 856196: Fix compiler warnings and clean up code in NSPR 4.10.
* Bug 859066: Fix warning in nsprpub/pr/src/misc/prnetdb.c.
* Bug 859830: Deprecate ANDROID_VERSION in favor of android/api-level.h.
  Fixed by Vicamo Yang.
* Bug 861434: Make PR_SetThreadPriority() change priorities
  relatively to the main process instead of using absolute values on
  Linux. Fixed by Gabriele Svelto.
* Bug 871064L: _PR_InitThreads() should not call PR_SetThreadPriority.
2013-07-20 08:57:20 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
ryoon
568156c599 Update to 4.9.6
Changelog:
NSPR 4.9.6 has the following bug fixes:
* Bug 782214: Auto detect Android API version for x86. Fixed by Makoto
  Kato.
* Bug 807883: Add the PL_SizeOfArenaPoolExcludingPool function. Fixed by
  Nicholas Nethercote.
* Bug 812085: Initialize Windows CRITICAL_SECTIONs without debug info and
  with nonzero spin count. Fixed by  Chris Peterson.
* Bug 827271: Add support for Aarch64 (64-Bit ARM). Fixed by Al Stone and
  Riku Voipio.
* Bug 841651: PR_SetThreadPriority doesn't do anything when using Bionic.
  Fixed by Gabriele Svelto.
2013-04-13 11:32:03 +00:00
ryoon
fcedb54068 Update to 4.9.5
No changelog is provided.
2013-02-20 19:35:36 +00:00
wiz
bd06e1cb46 Reset MAINTAINER/OWNER (became observers) 2013-02-01 22:21:05 +00:00
ryoon
4360f1ab58 Fix bad PLIST substitution.
Fix build on non-NetBSD platform.
2012-12-15 01:31:33 +00:00
ryoon
6898d83fac Update to 4.9.4
No ChangeLog is provided.
2012-11-27 11:38:57 +00:00
ryoon
702607a32c Update to 4.9.3.3 (4.9.3 really)
No ChangeLog is provided.
2012-11-21 21:43:03 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
ryoon
72bcf0793c Fix broken librares on OS X/Darwin.
Build is o.k., but broken.
otool -L shows @executable_path string.
2012-10-01 11:25:52 +00:00
ryoon
51358e1dc8 Bump PKGREVISION
* Utilize pthread_set_name_np or pthread_setname_np on DragonFly or NetBSD.
  Fix build of devel/xulrunner.
* Regen patches
2012-08-28 13:29:15 +00:00
ryoon
45770c5913 Update to 4.9.3.2 (really 4.9.2)
* API have changed

Changelog:
The only change in NSPR 4.9.2 is the new functions to set and get thread names:
Bug 758837 - Add functions to set and get thread names
2012-08-12 15:19:07 +00:00
ryoon
77b63555e9 Update to 4.9.3.1 (4.9.1 really)
No ChangeLog is provided.
2012-06-07 13:48:18 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
ryoon
f9790ff510 Add distinfo and patches. 2012-04-18 20:57:33 +00:00
ryoon
5043ecfbc8 Bump PKGREVISION.
* Change distfile to separated source.

Tested on NetBSD/i386 6.99.4 and DragonFly/i386 3.0.1.
2012-04-18 20:51:12 +00:00
ryoon
c6825e4bce Update to 4.9.3
* Extract from xulrunner-11.0
* Add some header files in buildlink.
2012-03-15 08:34:06 +00:00
ryoon
28fccf237d Revert unintended change. 2012-03-11 03:59:27 +00:00
ryoon
45f8f27196 Recursive PKGREVISION bump for xulrunner, nss, and nspr. 2012-03-06 17:38:53 +00:00
ryoon
7a6f658186 Bump BUILDLINK_API_DEPENDS and BUILDLINK_ABI_DEPENDS. 2012-03-06 13:37:32 +00:00
ryoon
b7c00c5fe2 Update xulrunner 10.0.2 and corresponding nspr and nss.
* Improve sparc64 support.
* Use external libraries (for example cairo, libvpx etc.)

Thank you, martin@

Changelog:
* Fix security bugs
* Other improvements and bugfixes
2012-03-06 12:34:08 +00:00
drochner
7659b7b33e BUILDLINK_LDFLAGS must die. It causes nothing but damage, in particular
makes random programs link against unwanted libraries.
2012-02-13 12:54:43 +00:00