Commit graph

79 commits

Author SHA1 Message Date
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