summaryrefslogtreecommitdiff
path: root/lang/erlang
AgeCommit message (Collapse)AuthorFilesLines
2006-08-17Update to Erlang R11B-0 (erlang-11.0). Changes since R10B:ghen4-63/+182
=== 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-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
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-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-05-23make sure no java compiler will be found unless the java option is selectedtonio1-1/+3
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
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-03-29Update erlang to R10B-10 (10.1.10), a bug fix release for R10B. The ChangeLogghen6-34/+34
is available at <http://www.erlang.org/download/otp_src_R10B-10.readme>.
2006-03-29Move all version info from Makefile and PLIST to Makefile.versions to makeghen5-4033/+4094
updates easier. e.g. PLIST diffs will become much smaller and more readable.
2006-03-29Fix two pkglint warnings:ghen1-3/+3
* Please use ${BUILDLINK_PREFIX.openssl:Q} instead of ${BUILDLINK_PREFIX.openssl}. * SUBST_MESSAGE.target should not be quoted.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
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-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-2/+4
2006-01-01Floating point exceptions are enabled for __x86_64__ on all operationkristerw3-1/+29
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.
2005-12-30Add missing @comment $NetBSD$.ghen1-0/+1
2005-12-30- Update Erlang to R10B-9. (The changes are innumerable, this package hasn'tghen9-3484/+4119
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-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
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-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-3/+2
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-12Pass openssl location to configure script. From George Michaelsonwiz1-1/+3
in PR 30607.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-2/+2
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-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-06Add patch from Urban Boquist that should fix bulk build on 2.0/i386.wiz2-1/+15
2005-02-24Add RMD160 digestsagc1-1/+2
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-2/+2
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-09-13Make platform target used in the make match that used in the configure.markd1-1/+7
Fixes build problems seen in the bulkbuilds.
2004-06-28This build is broken on NetBSD i386 2.0BETA (it looks for aabs1-5/+5
"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-03-26PKGREVISION bump after openssl-security-fix-update to 0.9.6m.wiz1-2/+2
Buildlink files: RECOMMENDED version changed to current version.
2004-01-24replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2003-11-12PKGREVISION++ after openssl update.jschauma1-1/+2
2003-09-28Back out last change related to moving ncurses/buildlink2.mk tojlam1-2/+2
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-27move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it providesgrant1-2/+2
support for base system curses/ncurses as well as ncurses itself. suggested by wiz.
2003-09-11This needs a java1.2 implementationjmc1-1/+3
2003-08-31Update to version 9.2.jtb5-2391/+2500
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-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-12This doesn't buildlinkify a java compiler so the java portions aren't built.jmc1-6/+1
Remove them as refs from PLIST (until someone tests java support)
2003-05-02Dependency bumps, needed because of devel/pth's major bump, and relatedwiz1-1/+2
dependency bumps.
2003-04-29Initial import of erlang-9.1.jtb5-0/+3435
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.