Commit graph

210 commits

Author SHA1 Message Date
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
fhajny
0b0f497c03 Update lang/erlang to 18.1.
Some highlights of the release are:

- ssl: Add possibility to downgrade an SSL/TLS connection to a tcp
  connection, and give back the socket control to a user process.
- ssh: The following new key exchange algorithms are implemented:
  'ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521',
  'diffie-hellman-group14-sha1', 'diffie-hellman-group-exchange-sha1'
  and 'diffie-hellman-group-exchange-sha256'. This raises the
  security level considerably.
- kernel,stdlib,sasl: A mechanism for limiting the amount of text
  that the built-in error logger events will produce has been
  introduced. It is useful for limiting both the size of log files
  and the CPU time used to produce them.

Full release notes:

  http://www.erlang.org/download/otp_src_18.1.readme
2015-09-25 15:15:58 +00:00
fhajny
a308157b6c Add PLIST.Darwin, fix build on OS X. 2015-09-13 08:11:09 +00:00
jperkin
8091aee373 Now that _STRIPFLAG_INSTALL is disabled by default on Darwin, remove manual
settings of INSTALL_UNSTRIPPED=yes for Darwin in individual packages.
2015-09-07 12:02:05 +00:00
jperkin
8171bac787 Don't strip on Darwin, fails on dyntrace.o, and enable kernel poll. Both
patches from Steven Williamson.
2015-08-30 12:30:33 +00:00
abs
758d7ba062 Add cpu_sup for netbsd also 2015-07-25 12:13:53 +00:00
fhajny
1657ae23da Fix forgotten LICENSE change, bump PKGREVISION. 2015-07-18 13:47:42 +00:00
fhajny
f1980674b0 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
2015-07-18 08:55:16 +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
fhajny
0e1f494f53 Fix PLIST for the erlang-hipe option. Fixes default build on NetBSD. 2015-04-29 09:39:47 +00:00
fhajny
69570fa8e4 Update lang/erlang to 17.5.
erlang-17.5
================================

Highlights:
- ERTS: Added command line argument option for setting the initial size
  of process dictionaries.
- Diameter: configurable incoming_max len and string_decode for diameter
  messages
- Bugfixes and minor small features in applications such as compiler,
  common_test, crypto, debugger, eldap, erts, hipe, inets, ssh, ssl,...

Full changelog:
  http://www.erlang.org/download/otp_src_17.5.readme


erlang-17.4
================================

Highlights:
- eldap: Nearly all TCP options are possible to give in the eldap:open/2 call.
- ssh: Added API functions ptty_alloc/3 and ptty_alloc/4, to allocate
  a pseudo tty.
- ssl: Handle servers that may send an empty SNI extension to the client.

Full changelog:
  http://www.erlang.org/download/otp_src_17.4.readme


erlang-17.3
================================

Highlights:
- erts: Introduced enif_schedule_nif() which allows a long running NIF
  to be broken into separate NIF invocations without the help of a wrapper
  function written in Erlang
- common_test: Experimental support for running Quickcheck and PropEr tests
  from common_test suites is added. Examples of usage in the suites for
  the ssh and inets applications
- Bugfixes and minor new features in applications such as asn1, erts, kernel,
  stdlib, diameter, ssh, mnesia, ssl, jinterface

Full changelog:
  http://www.erlang.org/download/otp_src_17.3.readme


erlang-17.1
================================

Highlights:
- crypto: Add aes_cfb8 cypher to crypto:block_encrypt and block_decrypt.
- diameter: Add result code counters for CEA, DWA, and DPA.
- erts: The following built in functions in the erlang and binary modules
  now bump an appropriate amount of reductions and yield when
  out of reductions:
    binary_to_list/1, binary_to_list/3, bitstring_to_list/1,
    list_to_binary/1, iolist_to_binary/1, list_to_bitstring/1,
    binary:list_to_bin/1
- hipe: Handle Maps instructions get_map_elements, put_map_assoc,
  put_map_exact in the HiPE native code compiler.
- mnesia: The time for inserting locks for a transaction with large
  number of locks is reduced significantly.
- ssh: Option max_sessions added to ssh:daemon/{2,3}.
- stdlib: Add maps:get/3 to maps module. The function will return the
  supplied default value if the key does not exist in the map.

Full changelog:
  http://www.erlang.org/download/otp_src_17.1.readme


erlang-17.0
================================

Highlights:
- Erlang/OTP has been ported to the realtime operating system OSE.
- Maps, a new dictionary data type (experimental)
- A more natural mapping from ASN.1 OCTET STRING and BIT STRING to
  Erlang types, and other ASN.1 improvements and optimizations
- The {active, N} socket option for TCP, UDP, and SCTP
- A new (optional) scheduler utilization balancing mechanism
- Migration of memory carriers has been enabled by default on all
  ERTS internal memory allocators
- Increased garbage collection tenure rate
- Experimental "dirty schedulers" functionality
- Funs can now be given names
- Miscellaneous unicode support enhancements
- A new version scheme for OTP its applications has been introduced

Full changelog:
  http://www.erlang.org/download/otp_src_17.0.readme

erlang 16.1.3.1 (R16B03-1)
================================

Highlights:
- The ODBC application was missing in the prebuilt Windows installers
- 3 corrections in the SSL application:
  - Add missing validation of the server_name_indication option and test
    for its explicit use.
  - Elliptic curve selection in server mode now properly selects a curve
    suggested by the client, if possible.
  - The server did not indicate support for secure renegotiation during
    TLS extension handling.
- In the syntax tools application a bug was introduced which broke
  reverting of local funs. This is now corrected (thanks to Anthony Ramine)
- wx - Solved a problem which caused the debugger to crash when closing
  a window. Fixed static linking on Mac.
- xmerl - Fixed a problem in the SAX-parser when the header of
  the next document was appearing in the buffer when using
  the xmerl_sax_parser:stream/2 function.

Full changelog:
  http://www.erlang.org/download/otp_src_R16B03-1.readme

erlang-16.1.3 (R16B03)
================================

Highlights:
- A new memory allocation feature called "super carrier" has been introduced.
  It can for example be used for pre-allocation of all memory that the
  runtime system should be able to use. It is enabled by passing the +MMscs
  (size in MB) command line argument. For more information see
  the documentation of the +MMsco, +MMscrfsd, +MMscrpm, +MMscs, +MMusac, and,
  +Mlpm command line arguments in the erts_alloc(3) documentation.
- The ldap client eldap now supports the start_tls operation. This upgrades
  an existing tcp connection to encryption using tls,
  see eldap:start_tls/2 and /3.
- The ftp client (inets application) now supports ftp over tls (ftps).

Full changelog:
  http://www.erlang.org/download/otp_src_R16B03.readme
2015-04-28 14:34:20 +00:00
ryoon
22bee7a3c3 Recursive revbump from databases/unixodbc. 2015-04-26 11:52:18 +00:00
hiramatsu
c5dfe04210 Add --without-odbc to CONFIGURE_ARGS when neither "iodbc" nor
"unixodbc" option is selected.

This change prevent configure from picking up system installed
iodbc on Mac OS X 10.10.
2015-04-24 18:25:54 +00:00
jperkin
cac68a8eda Fix build with DTrace 1.11 and newer which is more strict about objects
with no probes enabled.

Bump PKGREVISION.
2015-02-19 11:56:18 +00:00
is
bbb6a42615 make Erlang compile on netbsd-6*/shark. 2015-02-11 15:11:48 +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
jperkin
222f8dc36b Import initial SMF support for individual packages. 2014-03-11 14:34:36 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
is
7ddcc628b5 From https://github.com/erlang/otp/pull/46#issuecomment-21719585
"Since b29ecbd (OTP-10418, R15B03) Erlang does not compile anymore with
old versions of GCC that do not have atomic ops builtins on platforms
where there is no native ethread implementation (e.g. ARM): (...)

Please note however that I will be merging this branch as well,
which will mean that you have to explicitly tell configure that
you intend to use the fallback atomic operations though
--disable-native-ethr-impls or --disable-smp-require-native-atomics."

Translated: On NetBSD-5.1 (with gcc-4.1.3) the erlang package
didn't compile because of

>  ../include/internal/gcc/ethr_membar.h:49:4: error:
>	#error "No __sync_val_compare_and_swap"

Adding the abovementioned option --disable-native-ethr-impls make the
Erlang runtime system use the original (now fallback) code. This should
maybe be an pkg option, but for now this has to do.
2013-12-24 15:00:44 +00:00
asau
12db2f4ca9 Update Erlang/OTP to R16B02.
R16B02 is the second maintenance release for the R16B major release.
You can find the README file for the release at
  http://www.erlang.org/download/otp_src_R16B02.readme


R16B01 is the first maintenance release for the R16B major release.
You can find the README file for the release at
  http://www.erlang.org/download/otp_src_R16B01.readme

Highlights for R16B01:

   OTP-10279  == erts ==

	      Support for migration of memory carriers between memory
	      allocator instances has been introduced.

	      By default this feature is not enabled and do not effect the
	      characteristics of the system. When enabled it has the
	      following impact on the characteristics of the system:

	      -- Reduced memory footprint when the memory load is unevenly
	      distributed between scheduler specific allocator instances.

	      -- Depending on the default allocaton strategy used on a
	      specific allocator there might or might not be a slight
	      performance loss.

	      -- When enabled on the fix_alloc allocator, a different
	      strategy for management of fix blocks will be used.

	      -- The information returned from
	      erlang:system_info({allocator, A}), and
	      erlang:system_info({allocator_sizes, A}) will be slightly
	      different when this feature has been enabled. An mbcs_pool
	      tuple will be present giving information about abandoned
	      carriers, and in the fix_alloc case no fix_types tuple will
	      be present.

	      For more information, see the documentation of the +M<S>acul
	      command line argument.

   OTP-11009  == ssl public_key crypto common_test dialyzer ssh stdlib snmp
	      inets ==

	      Integrate elliptic curve contribution from Andreas Schultz

	      In order to be able to support elliptic curve cipher suites
	      in SSL/TLS, additions to handle elliptic curve infrastructure
	      has been added to public_key and crypto.

	      This also has resulted in a rewrite of the crypto API to gain
	      consistency and remove unnecessary overhead. All OTP
	      applications using crypto has been updated to use the new
	      API.

	      Impact: Elliptic curve cryptography (ECC) offers equivalent
	      security with smaller key sizes than other public key
	      algorithms. Smaller key sizes result in savings for power,
	      memory, bandwidth, and computational cost that make ECC
	      especially attractive for constrained environments.

   OTP-11159  == erts ==

	      Lift static limitation (FD_SETSIZE) for file descriptors on
	      Mac OS X. (Thanks to Anthony Ramine)
2013-10-20 18:37:49 +00:00
roy
8cf8ec8151 erlang uses termcap, not curses 2013-10-18 15:47:49 +00:00
jperkin
9dcbf12b50 PLIST and generation fixes for various options. 2013-07-05 12:42:48 +00:00
jperkin
f9e5719572 Avoid -Werror=return-type errors. Fixes SunOS build. 2013-06-25 10:06:34 +00:00
asau
45a92e075d Update to Erlang/OTP R16B (designated as 16.1 in pkgsrc).
R16B is a major new release of Erlang/OTP.

Detailed information on changes can be fetched at
http://www.erlang.org/download/otp_src_R16B.readme

--- HIGHLIGHTS ----------------------------------------------------------

    OTP-7786  == ssh ==

	      Added User Guide for the SSH application

    OTP-9892  == erts ==

	      Process optimizations. The most notable:

	      -- New internal process table implementation allowing for
	      both parallel reads as well as writes. Especially read
	      operations have become really cheap. This reduce contention
	      in various situations. For example when, spawning processes,
	      terminating processes, sending messages, etc.

	      -- Optimizations of run queue management reducing contention.

	      -- Optimizations of process state changes reducing
	      contention.

	      These changes imply changes of the characteristics the
	      system. Most notable: changed timing in the system.

    OTP-9974  == erts ==

	      Non-blocking code loading. Earlier when an Erlang module was
	      loaded, all other execution in the VM were halted while the
	      load operation was carried out in single threaded mode. Now
	      modules are loaded without blocking the VM. Processes may
	      continue executing undisturbed in parallel during the entire
	      load operation. The load operation is completed by making the
	      loaded code visible to all processes in a consistent way with
	      one single atomic instruction. Non-blocking code loading will
	      improve realtime characteristics when modules are
	      loaded/upgraded on a running SMP system.

   OTP-10256  == inets ==

	      httpc: The HTTP client now supports HTTPS through proxies

   OTP-10336  == erts ==

	      Major port improvements. The most notable:

	      -- New internal port table implementation allowing for both
	      parallel reads as well as writes. Especially read operations
	      have become really cheap.This reduce contention in various
	      situations. For example when, creating ports, terminating
	      ports, etc.

	      -- Dynamic allocation of port structures. This allow for a
	      much larger maximum amount of ports allowed as a default. The
	      previous default of 1024 has been raised to 65536. Maximum
	      amount of ports can be set using the +Q command line flag of
	      erl(1). The previously used environment variable
	      ERL_MAX_PORTS has been deprecated and scheduled for removal
	      in OTP-R17.

	      -- Major rewrite of scheduling of port tasks. Major benefits
	      of the rewrite are reduced contention on run queue locks, and
	      reduced amount of memory allocation operations needed. The
	      rewrite was also necessary in order to make it possible to
	      schedule signals from processes to ports.

	      -- Improved internal thread progress functionality for easy
	      management of unmanaged threads. This improvement was
	      necessary for the rewrite of the port task scheduling.

	      -- Rewrite of all process to port signal implementations in
	      order to make it possible to schedule those operations. All
	      port operations can now be scheduled which allows for reduced
	      lock contention on the port lock as well as truly
	      asynchronous communication with ports.

	      -- Optimized lookup of port handles from drivers.

	      -- Optimized driver lookup when creating ports.

	      -- Preemptable erlang:ports/0 BIF.

	      -- Improving responsiveness by bumping reductions for a
	      process calling a driver callback directly.

	      These changes imply changes of the characteristics of the
	      system. The most notable:

	      -- Order of signal delivery -- The previous implementation of
	      the VM has delivered signals from processes to ports in a
	      synchronous stricter fashion than required by the language.
	      As of ERTS version 5.10, signals are truly asynchronously
	      delivered. The order of signal delivery still adheres to the
	      requirements of the language, but only to the requirements.
	      That is, some signal sequences that previously always were
	      delivered in one specific order may now from time to time be
	      delivered in different orders. This may cause Erlang programs
	      that have made false assumptions about signal delivery order
	      to fail even though they previously succeeded. For more
	      information about signal ordering guarantees, see the chapter
	      on communication in the ERTS user's guide. The +n command
	      line flag of erl(1) can be helpful when trying to find
	      signaling order bugs in Erlang code that have been exposed by
	      these changes.

	      -- Latency of signals sent from processes to ports -- Signals
	      from processes to ports where previously always delivered
	      immediately. This kept latency for such communication to a
	      minimum, but it could cause lock contention which was very
	      expensive for the system as a whole. In order to keep this
	      latency low also in the future, most signals from processes
	      to ports are by default still delivered immediately as long
	      as no conflicts occur. Such conflicts include not being able
	      to acquire the port lock, but also include other conflicts.
	      When a conflict occur, the signal will be scheduled for
	      delivery at a later time. A scheduled signal delivery may
	      cause a higher latency for this specific communication, but
	      improves the overall performance of the system since it
	      reduce lock contention between schedulers. The default
	      behavior of only scheduling delivery of these signals on
	      conflict can be changed by passing the +spp command line flag
	      to erl(1). The behavior can also be changed on port basis
	      using the parallelism option of the open_port/2 BIF.

	      -- Execution time of the erlang:ports/0 BIF -- Since
	      erlang:ports/0 now can be preempted, the responsiveness of
	      the system as a whole has been improved. A call to
	      erlang:ports/0 may, however, take a much longer time to
	      complete than before. How much longer time heavily depends on
	      the system load.

	      -- Reduction cost of calling driver callbacks -- Calling a
	      driver callback is quite costly. This was previously not
	      reflected in reduction cost at all. Since the reduction cost
	      now has increased, a process performing lots of direct driver
	      calls will be scheduled out more frequently than before.

	      Potential incompatibilities:

	      -- driver_send_term() has been deprecated and has been
	      scheduled for removal in OTP-R17. Replace usage of
	      driver_send_term() with usage of erl_drv_send_term().

	      -- driver_output_term() has been deprecated and has been
	      scheduled for removal in OTP-R17. Replace usage of
	      driver_output_term() with usage of erl_drv_output_term().

	      -- The new function erl_drv_busy_msgq_limits() has been added
	      in order to able to control management of port queues.

	      The driver API version has been bumped to 2.1 from 2.0 due to
	      the above changes in the driver API.

   OTP-10410  == asn1 ==

	      The options for the ASN.1 compiler has been drastically
	      simplified. The backend is chosen by using ber, per, or uper.
	      The options optimize, nif, and driver are no longer needed.
	      The old options will still work, but will issue a warning.

	      Another change is that generated encode/2 function will
	      always return a binary (some backends used to return an
	      iolist).

   OTP-10588  == asn1 ==

	      The ASN.1 compiler will now always include necessary run-time
	      functions in the generated Erlang modules (except for
	      asn1rt_nif which is still neeeded). If the option 'inline' is
	      used the ASN.1 compiler will generate a warning. But if
	      '{inline,OutputFile}' is use, the ASN.1 compiler will refuse
	      to compile the file. (Use a .set.asn file if you need to
	      remove the output file.)

	      The 'BIT STRING' type will now be decoded as Erlang
	      bitstrings by default. Use the new legacy_bit_string option
	      to encode as lists of ones and zeroes. (The
	      compact_bit_string option still works as before.)

	      Open types are now always returned as binaries (when there is
	      no information allowing them to be decoded).

--- POTENTIAL INCOMPATIBILITIES -----------------------------------------

    OTP-9052  == common_test ==

	      Removed depricated run_test program, use ct_run instead.

    OTP-9881  == common_test ==

	      It is now possible to let a test specification include other
	      test specifications. Included specs can either be joined with
	      the source spec (and all other joined specs), resulting in
	      one single test run, or they can be executed in separate test
	      runs. Also, a start flag/option, join_specs, has been
	      introduced, to be used in combination with the spec option.
	      With join_specs, Common Test can be told to either join
	      multiple test specifications, or run them separately. Without
	      join_specs, the latter behaviour is default. Note that this
	      is a change compared to earlier versions of Common Test,
	      where specifications could only be joined. More information
	      can be found in the Running Tests chapter in the User's Guide
	      (see the Test Specifications section).

   OTP-10117  == inviso ==

	      The inviso application has been removed.

   OTP-10170  == erts pman ==

	      Tuple funs (deprecated in R15B) are no longer supported.

   OTP-10195  == edoc ==

	      Since EDoc 0.7.7 (R14B02) separate values of union types can
	      be annotated. However, the parser has hitherto chosen not to
	      add the necessary parentheses due to backwards compatibility.

	      From this release on code traversing the output of
	      edoc_parser needs to take care of parentheses around separate
	      values of union types. Examples of such code are layout
	      modules and doclet modules.

   OTP-10336  == erts ==

	      Major port improvements. The most notable:

	      -- New internal port table implementation allowing for both
	      parallel reads as well as writes. Especially read operations
	      have become really cheap.This reduce contention in various
	      situations. For example when, creating ports, terminating
	      ports, etc.

	      -- Dynamic allocation of port structures. This allow for a
	      much larger maximum amount of ports allowed as a default. The
	      previous default of 1024 has been raised to 65536. Maximum
	      amount of ports can be set using the +Q command line flag of
	      erl(1). The previously used environment variable
	      ERL_MAX_PORTS has been deprecated and scheduled for removal
	      in OTP-R17.

	      -- Major rewrite of scheduling of port tasks. Major benefits
	      of the rewrite are reduced contention on run queue locks, and
	      reduced amount of memory allocation operations needed. The
	      rewrite was also necessary in order to make it possible to
	      schedule signals from processes to ports.

	      -- Improved internal thread progress functionality for easy
	      management of unmanaged threads. This improvement was
	      necessary for the rewrite of the port task scheduling.

	      -- Rewrite of all process to port signal implementations in
	      order to make it possible to schedule those operations. All
	      port operations can now be scheduled which allows for reduced
	      lock contention on the port lock as well as truly
	      asynchronous communication with ports.

	      -- Optimized lookup of port handles from drivers.

	      -- Optimized driver lookup when creating ports.

	      -- Preemptable erlang:ports/0 BIF.

	      -- Improving responsiveness by bumping reductions for a
	      process calling a driver callback directly.

	      These changes imply changes of the characteristics of the
	      system. The most notable:

	      -- Order of signal delivery -- The previous implementation of
	      the VM has delivered signals from processes to ports in a
	      synchronous stricter fashion than required by the language.
	      As of ERTS version 5.10, signals are truly asynchronously
	      delivered. The order of signal delivery still adheres to the
	      requirements of the language, but only to the requirements.
	      That is, some signal sequences that previously always were
	      delivered in one specific order may now from time to time be
	      delivered in different orders. This may cause Erlang programs
	      that have made false assumptions about signal delivery order
	      to fail even though they previously succeeded. For more
	      information about signal ordering guarantees, see the chapter
	      on communication in the ERTS user's guide. The +n command
	      line flag of erl(1) can be helpful when trying to find
	      signaling order bugs in Erlang code that have been exposed by
	      these changes.

	      -- Latency of signals sent from processes to ports -- Signals
	      from processes to ports where previously always delivered
	      immediately. This kept latency for such communication to a
	      minimum, but it could cause lock contention which was very
	      expensive for the system as a whole. In order to keep this
	      latency low also in the future, most signals from processes
	      to ports are by default still delivered immediately as long
	      as no conflicts occur. Such conflicts include not being able
	      to acquire the port lock, but also include other conflicts.
	      When a conflict occur, the signal will be scheduled for
	      delivery at a later time. A scheduled signal delivery may
	      cause a higher latency for this specific communication, but
	      improves the overall performance of the system since it
	      reduce lock contention between schedulers. The default
	      behavior of only scheduling delivery of these signals on
	      conflict can be changed by passing the +spp command line flag
	      to erl(1). The behavior can also be changed on port basis
	      using the parallelism option of the open_port/2 BIF.

	      -- Execution time of the erlang:ports/0 BIF -- Since
	      erlang:ports/0 now can be preempted, the responsiveness of
	      the system as a whole has been improved. A call to
	      erlang:ports/0 may, however, take a much longer time to
	      complete than before. How much longer time heavily depends on
	      the system load.

	      -- Reduction cost of calling driver callbacks -- Calling a
	      driver callback is quite costly. This was previously not
	      reflected in reduction cost at all. Since the reduction cost
	      now has increased, a process performing lots of direct driver
	      calls will be scheduled out more frequently than before.

	      Potential incompatibilities:

	      -- driver_send_term() has been deprecated and has been
	      scheduled for removal in OTP-R17. Replace usage of
	      driver_send_term() with usage of erl_drv_send_term().

	      -- driver_output_term() has been deprecated and has been
	      scheduled for removal in OTP-R17. Replace usage of
	      driver_output_term() with usage of erl_drv_output_term().

	      -- The new function erl_drv_busy_msgq_limits() has been added
	      in order to able to control management of port queues.

	      The driver API version has been bumped to 2.1 from 2.0 due to
	      the above changes in the driver API.

   OTP-10410  == asn1 ==

	      The options for the ASN.1 compiler has been drastically
	      simplified. The backend is chosen by using ber, per, or uper.
	      The options optimize, nif, and driver are no longer needed.
	      The old options will still work, but will issue a warning.

	      Another change is that generated encode/2 function will
	      always return a binary (some backends used to return an
	      iolist).

   OTP-10417  == kernel sasl ==

	      It is no longer possible to have {Mod,Vsn} in the 'modules'
	      list in a .app file.

	      This was earlier possible, although never documented in the
	      .app file reference manual. It was however visible in the
	      documentation of application:load/[1,2], where the same term
	      as in a .app file can be used as the first argument.

	      The possibility has been removed since the Vsn part was never
	      used.

   OTP-10451  == ssl ==

	      Remove filter mechanisms that made error messages backwards
	      compatible with old ssl but hid information about what
	      actually happened.

	      This does not break the documented API however other reason
	      terms may be returned, so code that matches on the reason
	      part of {error, Reason} may fail.

   OTP-10490  == stdlib ==

	      If a child process fails in its start function, then the
	      error reason was earlier only reported as an error report
	      from the error_handler, and supervisor:start_link would only
	      return {error,shutdown}. This has been changed so the
	      supervisor will now return {error,{shutdown,Reason}}, where
	      Reason identifies the failing child and its error reason.
	      (Thanks to Tomas Pihl)

   OTP-10523  == tools ==

	      A new function, cover:flush(Nodes), is added which will fetch
	      data from remote nodes without stopping cover on those nodes.
	      This is used by test_server and common_test when it is safe
	      to assume that the node will be terminated after the test
	      anyway. The purpose is to avoid processes crashing when
	      re-loading the original beam if the processes is still
	      running old code.

	      Remote nodes will now continue to count code coverage if the
	      connection to the main node is broken. Earlier, a broken
	      connection would cause the cover_server on the remote node to
	      die and thus any still cover compiled modules would cause
	      process crash when trying to insert cover data in ets tables
	      that used to exist on the cover_server. The new functionality
	      also involves synchronization with the main node if the nodes
	      are reconnected.

   OTP-10588  == asn1 ==

	      The ASN.1 compiler will now always include necessary run-time
	      functions in the generated Erlang modules (except for
	      asn1rt_nif which is still neeeded). If the option 'inline' is
	      used the ASN.1 compiler will generate a warning. But if
	      '{inline,OutputFile}' is use, the ASN.1 compiler will refuse
	      to compile the file. (Use a .set.asn file if you need to
	      remove the output file.)

	      The 'BIT STRING' type will now be decoded as Erlang
	      bitstrings by default. Use the new legacy_bit_string option
	      to encode as lists of ones and zeroes. (The
	      compact_bit_string option still works as before.)

	      Open types are now always returned as binaries (when there is
	      no information allowing them to be decoded).

   OTP-10613  == ssl ==

	      Removed deprecated function ssl:pid/0, it has been pointless
	      since R14 but has been keep for backwards compatibility.

   OTP-10633  == erts ==

	      Erlang specification 4.7.3 defines max tuple size to 65535
	      elements It is now enforced to no more than 16777215 elements
	      (arity 24 bits)

	      Previous edge cases (28 bits) were not validated and could
	      cause undefined behaviour.

   OTP-10647  == erts ==

	      The previous default of a maximum of 32768 simultaneous
	      processes has been raised to 262144. This value can be
	      changed using the the +P command line flag of erl(1). Note
	      that the value passed now is considered as a hint, and that
	      actual value chosen in most cases will be a power of two.

   OTP-10812  == stdlib ==

	      filelib:wildcard("some/relative/path/*.beam", Path) would
	      fail to match any file. That is, filelib:wildcard/2 would not
	      work if the first component of the pattern did not contain
	      any wildcard characters. (A previous attempt to fix the
	      problem in R15B02 seems to have made matters worse.)

	      (Thanks to Samuel Rivas and Tuncer Ayaz.)

	      There is also an incompatible change to the Path argument. It
	      is no longer allowed to be a binary.

   OTP-10872  == erts ==

	      As of ERTS-5.10/OTP-R16A node names passed in the EPMD
	      protocol are required to be encoded in UTF-8. Since EPMD
	      previously accepted latin1 encoded node names this is an
	      incompatibility. However, since Erlang nodes always have
	      required characters in node names to be 7-bit ASCII
	      characters (and still do require this), this incompatibility
	      should not effect anyone using EPMD as an Erlang Port Mapper
	      Daemon.
2013-06-08 06:48:24 +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
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
asau
4b963f3929 Update to Erlang/OTP R15B03-1
Changes in R15B03-1

After the release of R15B03 a very unfortunate bug in ssl:ssl_accept/2
(accept with timeout) was detected. This bug will have negative impact
on a number of popular http servers and server frameworks written in
Erlang.

The differences from R15B03 are in ssl-5.1.2 and erts-5.9.3.1.

Full log at http://www.erlang.org/download/otp_src_R15B03-1.readme


Changes in R15B03

Mostly bug fixes and small improvements.

Full log at http://www.erlang.org/download/otp_src_R15B03.readme

Changes in R15B02

Highlights

  OTP-8871  == ssl ==

    Experimental support for TLS 1.1 is now available, will be
    officially supported from OTP-R16. Thanks to Andreas Schultz
    for implementing the first version.

  OTP-8872  == ssl ==

    Experimental support for TLS 1.2 is now available, will be
    officially supported from OTP-R16. Thanks to Andreas Schultz
    for implementing the first version.

 OTP-10113  == ssl ==

    Removed some bottlenecks increasing the applications
    parallelism especially for the client side.


Full log at http://www.erlang.org/download/otp_src_R15B02.readme
2013-01-23 21:46:06 +00:00
joerg
8e98e3b242 Explicitly include sys/vmmeter.h on NetBSD. 2013-01-11 13:28:36 +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
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
asau
bbf29c150d Update to Erlang/OTP R15B02
Changes in Erlang/OTP R15B01

Highlights:

 * Dialyzer: The type analysis tool Dialyzer is optimized to be
   generally faster. - It can now also run in parallel (default)
   on SMP systems and by this perform the analysis significantly
   faster (Thanks to Stavros Aronis and Kostis Sagonas)
 * The SSL application now has experimental support for the
   TLS 1.1 and 1.2 standards as well (Thanks to Andreas Schultz).
 * CommonTest: It is now possible to sort the generated html tables.
   A Netconf client (ct_netconf) which support basic netconf over
   ssh is added
 * Diameter: Statistics counters related to Diameter messages
   can now be retrieved by calling the diameter:service_info/2
   function.
 * Various smaller optimizations in the Erlang VM
 * This release also contains 66 contributions from users
   outside the Ericsson team
2012-09-12 19:13:26 +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
fhajny
6c28cb4491 Add DTrace (SystemTap resp.) support for relevant platforms 2012-04-16 07:28:14 +00:00
asau
18ecbad8d1 Update to Erlang/OTP R15B01
Presumably fixes PR pkg/46297


Changes in Erlang/OTP R15B01

Highlights:

  * Added erlang:statistics(scheduler_wall_time) to ensure
    correct determination of scheduler utilization. Measuring
    scheduler utilization is strongly preferred over CPU
    utilization, since CPU utilization gives very poor
    indications of actual scheduler/vm usage.
  * Changed ssh implementation to use the public_key application
    for all public key handling. This is also a first step for
    enabling a callback API for supplying public keys and
    handling keys protected with password phrases. Additionally
    the test suites where improved so that they do not copy the
    users keys to test server directories as this is a security
    liability. Also ipv6 and file access issues found in the
    process has been fixed.
  * When an escript ends now all printout to standard output and
    standard error gets out on the terminal. This bug has been
    corrected by changing the behaviour of erlang:halt/0,1,
    which should fix the same problem for other escript-like
    applications, i.e. that data stored in the output port
    driver buffers got lost when printing on a TTY and exiting
    through erlang:halt/0,1. The BIF:s erlang:halt/0,1 has
    gotten improved semantics and there is a new BIF
    erlang:halt/2 to accomplish something like the old
    semantics. See the documentation.
  * The DTrace source patch from Scott Lystig Fritchie is
    integrated in the source tree. Using an emulator with dtrace
    probe is still not supported for production use, but may be
    a valuable debugging tool.
  * Added Torbjörn Törnkvists LDAP client as a new application
    called eldap.
  * Added options for the ssh client to support user keys files
    that are password protected.



Changes in Erlang/OTP R15B

Highlights:

  * Line number and filename information are now included in
    exception backtraces. This information will be
    pretty-printed in the shell and used in crash reports etc.
    In practice it will be much easier to find where something
    failed.
  * The driver interface has been changed to enable 64-bit aware
    drivers. Most importantly the return types for ErlDrvEntry
    callbacks 'call' and 'control' has been changed which
    require drivers to be changed.
  * New in this release is the support for 64 bit Windows.
    The self extracting installer can be found here.
  * CommonTest hooks are now in a final supported version.
  * There is a new GUI tool in the observer application which
    integrates pman, etop, appmon and tv into one tool. The tool
    does also contain functions for activating tracing in an easy way.
  * The Erlang distribution can now be run over the new SSL implementation.


Changes in Erlang/OTP R15A

Notable changes:

OTP-9468  'Line numbers in exceptions'

OTP-9451  'Parallel make'

OTP-4779  A new GUI for Observer. Integrating pman, etop and tv into
          observer with tracing facilities.

OTP-7775  A number of memory allocation optimizations have been
          implemented. Most optimizations reduce contention caused by
          synchronization between threads during allocation and
          deallocation of memory. Most notably:

             Synchronization of memory management in scheduler
             specific allocator instances has been rewritten to
             use lock-free synchronization.

             Synchronization of memory management in scheduler
	     specific pre-allocators has been rewritten to use
	     lock-free synchronization.

             The 'mseg_alloc' memory segment allocator now use
	     scheduler specific instances instead of one
	     instance. Apart from reducing contention this also
	     ensures that memory allocators always create memory
	     segments on the local NUMA node on a NUMA system.

OTP-9632  An ERTS internal, generic, many to one, lock-free
          queue for communication between threads has been
          introduced. The many to one scenario is very common in
          ERTS, so it can be used in a lot of places in the
          future. Currently it is used by scheduling of certain
          jobs, and the async thread pool, but more uses are
          planned for the future.

          Drivers using the driver_async functionality are not
	  automatically locked to the system anymore, and can be
	  unloaded as any dynamically linked in driver.

          Scheduling of ready async jobs is now also interleaved
	  in between other jobs. Previously all ready async jobs
	  were performed at once.

OTP-9631  The ERTS internal system block functionality has been
          replaced by new functionality for blocking the system.
          The old system block functionality had contention
          issues and complexity issues. The new functionality
          piggy-backs on thread progress tracking functionality
          needed by newly introduced lock-free synchronization
          in the runtime system. When the functionality for
          blocking the system isn't used, there is more or less
          no overhead at all. This since the functionality for
          tracking thread progress is there and needed anyway.
2012-04-12 12:14:12 +00:00
sbd
e8a5c3b85a Add PLIST.Linux
Bump PKGREVISION
2012-01-24 03:39:22 +00:00
fhajny
d2bd6601d4 Update erlang to R14B04
This release is mainly a stabilization of the R14B03 release (but as
usual there are some new functionality as well).

One pkgsrc change: add flex to USE_TOOLS, so that megaco_flex_scanner_drv
gets built on all SunOS flavors.

Read full announcement at
http://www.erlang.org/download/otp_src_R14B04.readme
2012-01-19 10:17:56 +00:00
hans
b8cc478001 Don't use SIOCGIFHWADDR on SunOS. 2011-12-14 11:08:50 +00:00
asau
0dbd52d48d Update Erlang to R14B03
Highlights:
- Initial release of the diameter application.
- Strengthened random number generation.
- Some fixes for bugs that caused crashes.

Read full announcement at
http://www.erlang.org/download/otp_src_R14B03.readme
2011-05-26 20:19:43 +00:00
asau
da4df3c1ff Replace "/usr/bin/env" interpreter to comply with stricter rules. 2011-04-25 20:58:24 +00:00
asau
0cf647014f Remove unused file. Forgotten during the update to R14B02. 2011-04-14 22:37:46 +00:00
asau
076bd3ded7 Add forgotten file from R14B02 update. 2011-04-14 20:38:09 +00:00
asau
786ef722e5 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
2011-04-14 19:34:07 +00:00
tez
ab43b6e5f3 CVE-2008-2371 pcro buffer overflow fix based on:
http://vcs.pcre.org/viewvc/code/trunk/pcre_compile.c?r1=504&r2=505&view=patch
2010-04-17 20:10:16 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
tnn
e1c9bba240 fix java PLIST. PR pkg/42548 2010-01-13 19:28:33 +00:00
asau
e349a86605 Dragonfly build fix.
From Goetz Isenmann via private mail.
2009-12-18 23:33:19 +00:00
wiz
3ced8a1b86 Fix path to itself. 2009-12-16 09:29:06 +00:00
asau
4ff0a75e45 Deduplicate, move common code into more appropriate place. 2009-12-15 13:53:24 +00:00
asau
6023d8f793 jinterface version should be 1.5.2,
discovered while updating documentation package.
2009-12-15 13:33:47 +00:00
asau
a4ea7a4bb9 Commit forgotten files. 2009-12-15 12:09:20 +00:00
asau
91934f9785 Update to Erlang/OTP R13B03.
SunOS, Java and ODBC support by Filip Hajny
and some tests by Matthias Kretschmer.


Changes in R13B03
-----------------

There are mostly error corrections, but also some new functionality.
Some highlights in the R13B03 release are:
 - Native Implemented Functions (NIFs) still experimental but very useful.
 - The documentation is built in a new way using xsltproc and Apache FOP.
   The layout is changed both in HTML and PDF versions. This is the first
   step, more changes and improvements will come in the following releases.


Changes between R13A and R13B02 are unknown.


Changes in R13A
---------------

1.1 Erlang Language and Run-time System

Multi-core and SMP performance improvements

There SMP performance is significantly improved:
 - multiple, scheduler specific run queues;
 - further optimized message passing;
 - CPU-bound scheduler threads.

Unicode support as described in EEP10

New BIF's: atom_to_binary/2, binary_to_atom/2, binary_to_existing_atom/2.

Independent Erlang clusters on the same host


1.2 New Applications

Reltool, release management tool.
WxErlang


1.3 New features in Existing Applications

Common_test
 - SSH and SFTP support
 - test case groups

Dialyzer
 - opaque type declarations;
 - UTF segments handling

SSL
 - pure Erlang implementation (except crypto routines)

STDLIB
 - scanner has been augmented to return white-space, comments
 and exact location of tokens.
2009-12-15 12:07:57 +00:00
joerg
edbc2fac64 Replace @exec/@unexec with @pkgdir or drop it. 2009-06-14 20:34:12 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
hasso
a1791b078a Make it compile on DragonFly master. 2009-04-07 18:36:52 +00:00
tron
9b79d68aa6 Add the mirror at the Stockholm University, Sweden as the first master
site because the primary master site is painfully slow.
2009-03-23 18:30:44 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
df3e16d130 Don't leak the workdir for destdir builds. Patches from OpenBSD ports.
Bump revision.
2009-02-07 21:45:43 +00:00
ahoka
ef891727ab MAKE_JOBS_SAFE=no
Reported by Aleksej Saushev.
2008-08-19 11:04:52 +00:00
joerg
bdc5a92897 Force normal linkage against libcrypto. This allows the crypto module to
be build on amd64 and avoids text relocations elsewhere.
Apply build fix for FreeBSD from PR 38984.
Bump revision.
2008-06-21 22:13:09 +00:00
martti
0cf82db165 Replaced ${MACHINE_ARCH} with i386 as this always installs files for
i386, ppc32, sparc32 and x86_64. Also sorted PLIST.

This was previously not working properly on non-i386 hosts...
2008-04-08 13:22:06 +00:00
martti
200bb57a83 Some pkglint -Wall fixes. 2008-04-08 13:16:22 +00:00
tnn
cc1a7a456f adapt mremap call so erlang builds on NetBSD-current (fixes PR 37131)
patch from Daniel Horecki on #pkgsrc
2008-02-13 11:09:01 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
ghen
7f7e86aea1 Full DESTDIR support for erlang packages. 2008-01-04 14:10:05 +00:00
ghen
f85f155b40 Update erlang, erland-doc and erlang-man to 12.0, aka R12B-0.
This builds again on x86_64 platforms, is@ will test further.

This release supports new language extensions bitstring and binary
comprehensions.

Other major changes are listed on <http://www.erlang.org/doc/highlights.html>.
See <http://www.erlang.org/download/otp_src_R12B-0.readme> for full detail.
2008-01-04 14:05:05 +00:00
joerg
b1a50d204b Mark as broken on NetBSD/amd64 as configure will spin. 2008-01-03 15:58:45 +00:00
is
1297699953 Make the port program memsup build again. This way, PLIST is correct, so
that pkg_sync and pkg_tarup work (on NetBSD-4).
memsup.erl/memsup.c still need work to make it actually work on NetBSD.
2007-10-30 14:02:15 +00:00
obache
3c088a79a0 Fix permission of sample files and remove unused *.bat files.
Bump PKGREVISION to nb1.
2007-08-03 11:01:37 +00:00
joerg
79e4c23f92 Fix build on DragonFly. SCTP is detected, but some struct is missing,
so disable it for now.
2007-07-30 07:15:36 +00:00
obache
16840ad30a Update erlang to 11.5, aka R11B-5.
Pkgsrc changes:
* Drop dependency on X11.
  GS (Graphic System) doesn't use X11 directly, using `wish' command.
  Wish command will be picked up from PATH, to use GS, install wish command
  from x11/tk.
  (closes PR 35373, PR 36418)
* FIxed to install crypto library correctly.
  (closes PR 36616)

Changes list is too long. See attached URL for more detail.

Bug fix release : otp_src_R11B-5
Build date      : 2007-06-12
http://www.erlang.org/download/otp_src_R11B-5.readme

Bug fix release : otp_src_R11B-4
Build date      : 2007-03-28
http://www.erlang.org/download/otp_src_R11B-4.readme

Bug fix release : otp_src_R11B-3
Build date      : 2007-01-30
http://www.erlang.org/download/otp_src_R11B-3.readme

Bug fix release : otp_src_R11B-2
Build date      : 2006-11-07
http://www.erlang.org/download/otp_src_R11B-2.readme

Bug fix release : otp_src_R11B-1
Build date      : 2006-08-29
http://www.erlang.org/download/otp_src_R11B-1.readme
2007-07-28 14:27:09 +00:00
obache
567551e6a3 Fixes pkglint warnings. 2007-07-28 06:28:38 +00:00
uebayasi
1b3075bcb2 Simplify, no functional change. 2007-07-08 14:12:13 +00:00
joerg
71c598867f Use pkgsrc magic for config.guess/.sub overriding. Tested by is@ for
ARM.
2007-02-26 15:47:43 +00:00
ghen
6196d0fe39 Update to Erlang R11B-0 (erlang-11.0). Changes since R10B:
=== SMP Support ===

The major news is the support for SMP (Symmetric MultiProcessing).

SMP is supported by most modern operating systems like Linux, Windows, Mac OSx,
Solaris and is becoming more important now when dual processors,
hyper-threading technology and multi-core systems are a reality.

With Erlang, most of the problems which occur in multi-threaded programs have
been solved once and for all in the Erlang VM and do not have to be handled by
the application programmers.

In the SMP version of the Erlang virtual machine, there can be many process
schedulers running in separate OS threads. As default there will be as many
schedulers as there are processors or processor cores on the system.

The SMP support is totally transparent for the Erlang programs. That is, there
is no need to change or recompile existing programs. Programs with built-in
assumptions about sequential execution must be rewritten in order to take
advantage of the SMP support, however.

In this release, the Erlang VM supports SMP with focus on stability. There will
follow a number of subsequent steps with necessary optimizations and support
for more platforms.

=== Erlang Language and Related Issues ===

    * The andalso and orelse operators are now allowed to be used in guards.
      That also applies to match specifications.

    * The BIF is_record/3 can now be used in guards. Also, is_record/3 can now
      be called without an erlang: module prefix for consistency with the other
      is_* functions.

    * The compiler options ignore_try and ignore_cond, which allowed code that
      used unquoted try or cond as atoms or record tags, has been removed. Old
      code that depended on the options need to be revised to have occurrences
      of try or cond as atom or record tags single-quoted. (Note: Although cond
      is a reserved keyword, there is no cond statement. It might be introduced
      in a future release.)

    * (ERTS 5.4.8) The new fun M:F/A construct creates a fun that refers to the
      latest version of M:F/A. This syntax is meant to replace tuple funs {M,F}
      which have many problems.

    * (ERTS 5.4.8) The new type test is_function(Fun, Arity) -- which may be
      used in guards -- test whether Fun is a fun that can be applied to Arity
      arguments.

=== New Applications ===

Dialyzer

Dialyzer is a static analysis tool that identifies software discrepancies such
as type errors, unreachable code, unnecessary tests, etc in single Erlang
modules or entire (sets of) applications.

Inviso

The Inviso application, together with some new extensions to Runtime_Tools, is
aimed at providing features for efficient tracing of production Erlang/OTP
systems:

    * Distributed tracing - tracing on any number of Erlang nodes.
    * Autostart - tracing during system start-up.
    * Overload protection - mechanisms for suspending and later reactivating
      tracing, should an overload situation occur.
    * Enhanced use of meta tracing.
    * Trace cases - predefined specifications of what to trace.
    * Off-line merging and formatting of log files.

Inviso is still under development. An easier-to-use trace tool, using the
features listed above, is planned to be released as an R11B patch in Q3/Q4
2006.

SSH

The SSH application is an Erlang implementation of the secure shell protocol.
It is considered to be a beta release, meaning there can be changes made to the
API before it reaches 1.0.

=== Existing Applications ===

Compiler

(Compiler 4.3.6) It is now possible to encrypt the debug information in Beam
files.

Debugger

(Debugger 2.0) The debugger can now handle the try/catch language construct.

Inets

The Erlang implementation of the TFTP procotcol, tftp, is now documented.

Kernel

In Kernel 2.10.X, several bug fixes and improvements have been made in global ,
the global name registration facility.

OS_Mon

(OS_Mon 2.0) The entire OS_Mon application (code and documentation) has been
reviewed and consequently updated with the goal to make the application more
robust, homogeneous and easier to configure.

STDLIB

Added the zip module with functions for reading and creating zip archives.
2006-08-17 16:16:30 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
tonio
806cc2197e make sure no java compiler will be found unless the java option is selected 2006-05-23 15:09:52 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
ghen
946dd7bdd1 Update erlang to R10B-10 (10.1.10), a bug fix release for R10B. The ChangeLog
is available at <http://www.erlang.org/download/otp_src_R10B-10.readme>.
2006-03-29 21:40:12 +00:00
ghen
46f0901005 Move all version info from Makefile and PLIST to Makefile.versions to make
updates easier.  e.g. PLIST diffs will become much smaller and more readable.
2006-03-29 21:34:13 +00:00
ghen
b515b86786 Fix two pkglint warnings:
* Please use ${BUILDLINK_PREFIX.openssl:Q} instead of ${BUILDLINK_PREFIX.openssl}.
* SUBST_MESSAGE.target should not be quoted.
2006-03-29 21:33:16 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
kristerw
5922f27089 Floating point exceptions are enabled for __x86_64__ on all operation
systems, but the code that take care of them is inly implemented
on Linux.  This made the build go into an infinite loop on NetBSD.

Disable floating point exceptions on NetBSD/amd64 for now, until
I get around implementing and testing the necessary sigaction glue.
2006-01-01 18:24:58 +00:00
ghen
d1b33df842 Add missing @comment $NetBSD$. 2005-12-30 16:10:29 +00:00
ghen
eebba04ca0 - Update Erlang to R10B-9. (The changes are innumerable, this package hasn't
been updated in more than two years.)
- Add a buildlink3.mk file.
- Make the Java dependency optional, and disable this option by default (this
  will make erlang build in more bulk builds).

Ok by wiz.
2005-12-30 10:32:16 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
wiz
b88a98af52 Pass openssl location to configure script. From George Michaelson
in PR 30607.
2005-07-12 09:40:46 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
d0af3665a2 Add patch from Urban Boquist that should fix bulk build on 2.0/i386. 2005-04-06 06:10:12 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
markd
2e547ddde3 Make platform target used in the make match that used in the configure.
Fixes build problems seen in the bulkbuilds.
2004-09-13 13:43:30 +00:00
abs
b57bff20ad This build is broken on NetBSD i386 2.0BETA (it looks for a
"i386-unknown-netbsdelf2.0." directory when a "i386--netbsdelf"
one is present. Someone who wants to read gmake files is going
to have to fix that.
That aside, its now equivalemtly broken with bl3 rather than bl2.
2004-06-28 17:39:46 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +00:00
jmc
38f8e017dd This needs a java1.2 implementation 2003-09-11 03:42:02 +00:00
jtb
bc49b5d314 Update to version 9.2.
This  version  is  focused  on  improved performance and stability,
  rather  than introducing new functionality, hence it is called R9C.

Build Process NEW

   The  build  process  has been improved so that it is possible to build
   Erlang/OTP  from  source  even  on  Windows platforms. There is also a
   completely new installation program for Windows.

Observer

  crashdump_viewer NEW

   A  HTML based tool for browsing Erlang crashdumps. The tool can handle
   crashdumps  from  OTP R7B, R8B and R9B as well but there is additional
   information in the crashdumps for R9C.

OTP_MIBs NEW

   The  OTP  mibs  that  where included in the SASL application have been
   moved  to  this  new application otp_mibs. This is a step too create a
   pure   core   for   Erlang/OTP  that  does  not  depend  on  specific,
   non-mainstream applications such as SNMP.
2003-08-31 01:01:55 +00:00
martti
ee90b572a6 COMMENT should start with a capital letter. 2003-07-21 16:45:54 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmc
36cd7cbeb3 This doesn't buildlinkify a java compiler so the java portions aren't built.
Remove them as refs from PLIST (until someone tests java support)
2003-05-12 01:41:53 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jtb
820df7e27d Initial import of erlang-9.1.
Erlang is a programming language which has many features more commonly
associated with an operating system than with a programming language:
concurrent processes, scheduling, memory management, distribution,
networking, etc.

The initial open-source Erlang release contains the implementation of
Erlang, as well as a large part of Ericsson's middleware for building
distributed high-availability systems.
2003-04-29 23:47:45 +00:00