head 1.5; access; symbols pkgsrc-2017Q2:1.4.0.12 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.10 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.8 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.6 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.4 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.2 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.3.0.4 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.2 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.2.0.34 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.32 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.30 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.28 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.26 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.24 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.22 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.20 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.18 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.16 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.14 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.12 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.10 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.8 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.6 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.4 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.1.0.12 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.10 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.8 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.6 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.4 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.2 pkgsrc-2009Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2017.07.04.11.40.48; author fhajny; state dead; branches; next 1.4; commitid 7gxzqJU3ts4f9UXz; 1.4 date 2015.12.29.23.34.46; author dholland; state Exp; branches; next 1.3; commitid J5mAcuIF0darSTOy; 1.3 date 2015.07.18.08.55.16; author fhajny; state Exp; branches; next 1.2; commitid xoXJwgYlr0DChKty; 1.2 date 2011.04.14.19.34.09; author asau; state Exp; branches; next 1.1; 1.1 date 2009.12.15.12.09.20; author asau; state Exp; branches; next ; desc @@ 1.5 log @Update lang/erlang* to 20.0. Potential Incompatibilities --------------------------- - ERTS: - The non SMP Erlang VM is deprecated and not built by default - Remove deprecated erlang:hash/2 - erlang:statistics/1 with scheduler_wall_time now also includes info about dirty CPU schedulers. - The new purge strategy introduced in OTP 19.1 is mandatory and slightly incompatible for processes holding funs - The NIF library reload is not supported anymore. - Atoms can now contain arbitrary unicode characters which means that the DFLAG_UTF8_ATOMS capability in the distribution protocol must be supported if an OTP 20 node should accept the connection with another node or library. - Asn1: Deprecated module and functions removed (asn1rt, asn1ct:encode/3 and decode/3) - Ssh: client only option in a call to start a daemon will now fail Highlights ---------- - Erts: - Dirty schedulers enabled and supported on VM with SMP support. - support for "dirty" BIFs and "dirty" GC. - erlang:garbage_collect/2 for control of minor or major GC - Erlang literals are no longer copied when sending messages. - Improved performance for large ETS tables, >256 entries (except ordered_set) - erlang:system_info/1 atom_count and atom_limit - Reduced memory pressure by converting sub-binaries to heap-binaries during GC - enif_select, map an external event to message - Improvements of timers internally in the VM resulting in reduced memory consumption and more efficient administration for timers - Compiler: - Code generation for complicated guards is improved. - Warnings for repeated identical map keys. #{'a'=>1, 'b'=>2, 'a'=>3} will warn for the repeated key a. - By default there is now a warning when export_all is used. Can be disabled - Pattern matching for maps is optimized - New option deterministic to omit path to source + options info the BEAM file. - Atoms may now contain arbitrary unicode characters. - compile:file/2 has an option to include extra chunks in the BEAM file. - Misc other applications - Significantly updated string module with unicode support and many new functions - crypto now supports OpenSSL 1.1 - Unnamed ets tables optimized - gen_fsm is deprecated and replaced by gen_statem - A new event manager to handle a subset of OS signals in Erlang - Optimized sets add_element, del_element and union - Added rand:jump/0-1 - When a gen_server crashes, the stacktrace for the client will be printed to facilitate debugging. - take/2 has been added to dict, orddict, and gb_trees. - take_any/2 has been added to gb_trees - erl_tar support for long path names and new file formats - asn1: the new maps option changes the representation of SEQUENCE to be maps instead of records - A TLS client will by default call public_key:pkix_verify_hostname/2 to verify the hostname - ssl: DTLS documented in the API, experimental - ssh: improving security, removing and adding algorithms - New math:fmod/2 @ text @$NetBSD: patch-ao,v 1.4 2015/12/29 23:34:46 dholland Exp $ Be liberal in accepting mmap flags. --- erts/emulator/hipe/hipe_sparc.c.orig 2015-06-23 18:56:21.000000000 +0000 +++ erts/emulator/hipe/hipe_sparc.c @@@@ -131,6 +131,10 @@@@ static void atexit_alloc_code_stats(void #define ALLOC_CODE_STATS(X) do{}while(0) #endif +#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) +#define MAP_ANONYMOUS MAP_ANON +#endif + static int morecore(unsigned int alloc_bytes) { unsigned int map_bytes; @ 1.4 log @Add patch comments. @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.3 2015/07/18 08:55:16 fhajny Exp $ @ 1.3 log @Update erlang to 18.0. - Starting from 18.0 Erlang/OTP is released under the APL 2.0 - erts: The time functionality has been extended. This includes a new API for time, as well as "time warp" modes which alters the behavior when system time changes. You are strongly encouraged to use the new API instead of the old API based on erlang:now/0. erlang:now/0 has been deprecated since it is a scalability bottleneck. - erts: Beside the API changes and time warp modes a lot of scalability and performance improvements regarding time management has been made - erts: The previously introduced "eager check I/O" feature is now enabled by default. - erts/compiler: enhanced support for maps. Big maps new uses a HAMT (Hash Array Mapped Trie) representation internally which makes them more efficient. There is now also support for variables as map keys. - dialyzer: The -dialyzer() attribute can be used for suppressing warnings in a module by specifying functions or warning options. - ssl: Remove default support for SSL-3.0 and added padding check for TLS-1.0 due to the Poodle vulnerability. - ssl: Remove default support for RC4 cipher suites, as they are consider too weak. - stdlib: Allow maps for supervisor flags and child specs - stdlib: New functions in ets: - take/2. Works the same as ets:delete/2 but also returns the deleted object(s). - ets:update_counter/4 with a default object as argument Full changelog: http://www.erlang.org/download/otp_src_18.0.readme @ text @d1 3 a3 1 $NetBSD: patch-ao,v 1.2 2011/04/14 19:34:09 asau Exp $ @ 1.2 log @Update to Erlang/OTP R14B02 Highlights composed by Matthew Sporleder. Changes in R14B02 (http://www.erlang.org/download/otp_src_R14B02.readme) - It is now possible to use Erlang specifications and types in EDoc documentation - All tests in Erlang/OTP have been converted to be run with Common Test as the backend instead of Test Server. - From this release, the previously experimental halfword emulator is now official - Dependency generation for Makefiles has been added to the compiler and erlc - Add a --fullpath option to Dialyzer (include version 2.4.2) - Many fixes in erts - Remove hipe constants pool - Partial support for recursive structs and unions - It is now possible to use SSH to sign and verify binary data. - typer has been rewritten Changes R14B01 (http://www.erlang.org/download/otp_src_R14B01.readme) - New ETS option compressed, to enable a more compact storage format at the expence of heavier table operations - There is now a new function inet:getifaddrs/0 modeled after C library function getifaddrs() on BSD and Linux that reports existing interfaces and their addresses on the host - Multiple crashes and infinite loops fixed - AES CTR encryption support in crypto - erl_call: remove get_hostent - The Erlang VM now supports Unicode filenames - New ETS option compressed Changes in R14B (http://www.erlang.org/download/otp_src_R14B.readme) - Large parts of the ethread library have been rewritten. - The changed API of the ethread library has also caused modifications in the Erlang runtime system. - Some Built In Functions (BIFs) are now autoimported - Added erlang:system_info(build_type) - A number of memory leaks in the crypto NIF library have been fixed - erl_call: fix multiple buffer overflows - NIF 64-bit integer support - Removed some potential vulnerabilities from the Erlang Port Mapper Daemon (epmd) - Replaced the old http client api module (http) with the new, httpc in the users guide. - inet6 improvements - ssh fixes - many ssl improvements/fixes - wx crash fix Changes in R14A (http://www.erlang.org/download/otp_src_R14A.readme) - R14A is a major new release of Erlang/OTP. - The module binary from EEP31 (and EEP9) is implemented - It is now possible for the user to provide specific callback modules that handle test configuration data - New NIF features - Receive statements that can only read out a newly created reference are now specially optimized so that it will execute in constant time regardless of the number of messages in the receive queue for the process. - The run_test script has been replaced by a program (with the same name) which can be executed without explicit installation - eprof has been reimplemented with support in the Erlang virtual machine and is now both faster (i.e. slows down the code being measured less) and scales much better Changes in R13B04 (http://www.erlang.org/download/otp_src_R13B04.readme) - Many documentation and documentation build improvements - cross-compile/build improvements - buffer overflow fix - telnet keep alive fixes - compiler crash on boolean ifs - -Werror for erlc fixed - macro overloading implemented - the crypto module now supports Blowfish - explicit top directories in archive files are now optional - add lock profiling tool: lcnt - httpd methods "PUT" and "DELETE" now allowed + others fixes to resolver routine - compression supported when copying between mnesia nodes @ text @d1 1 a1 1 $NetBSD: patch-ao,v 1.1 2009/12/15 12:09:20 asau Exp $ d3 3 a5 3 --- erts/emulator/hipe/hipe_sparc.c.orig 2010-06-24 07:26:50.000000000 +0300 +++ erts/emulator/hipe/hipe_sparc.c 2010-06-24 07:27:25.000000000 +0300 @@@@ -130,6 +130,10 @@@@ d13 1 a13 1 static void morecore(unsigned int alloc_bytes) @ 1.1 log @Commit forgotten files. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- erts/emulator/hipe/hipe_sparc.c.orig 2008-02-05 08:38:06.000000000 -0500 +++ erts/emulator/hipe/hipe_sparc.c @@@@ -112,6 +112,10 @@@@ static void atexit_alloc_code_stats(void a15 11 @@@@ -135,8 +139,8 @@@@ static void morecore(unsigned int alloc_ map_start = mmap(map_hint, map_bytes, PROT_EXEC|PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS -#ifdef __x86_64__ - |MAP_32BIT +#if defined(MMAP_MAP_FIXED) + | MAP_FIXED #endif , -1, 0); @