Commit graph

127 commits

Author SHA1 Message Date
Jimmy Olgeni
421f39272f lang/erlang, lang/erlang-java, lang/erlang-wx: upgrade to 21.3.8.2.
- Add support for CORBA applications that were removed from recent
  releases, and enable them by default as they were before. They follow a
  separate GH_TAGNAME.

- Remove obsolete GS application.

- SMP is now enabled by default.

lang/erlang-doc, lang/erlang-man: upgrade to 21.3.

- Add missing NO_ARCH.

Differential Revision:    https://reviews.freebsd.org/D19911
2019-05-27 12:34:09 +00:00
Jimmy Olgeni
555686a4b6 lang/erlang, -wx, -java: update to version 19.3.6.13.
- Switch to GitHub build and remove all hosted patches
- Move debugger, et, and observer applications to erlang-wx

Differential Revision:	https://reviews.freebsd.org/D19606
2019-04-10 10:23:25 +00:00
Jean-Sébastien Pédron
88bd5a054a lang/erlang, lang/erlang-runtime*: Indicate which port supports OpenSSL 1.1
With some patching [1], Erlang 19.x supports OpenSSL 1.1.x (lang/erlang,
lang/erlang-runtime19).

However, previous versions are now marked as broken with OpenSSL 1.1.x.

PR:		225898
Submitted by:	brnrd [1]
Obtained from:	Upstream
2018-11-05 23:20:17 +00:00
Jimmy Olgeni
cc623c6e0d lang/erlang{,-wx,-runtime19,-runtime20}: regenerate the
'configure' script for WX so that it doesn't fail on 12.x.

PR:		226241
Submitted by:	dch
2018-04-10 13:14:43 +00:00
Jimmy Olgeni
3e78d29428 Downgrade Erlang to version 19 until it is clear how the new term format
affects all ports, or dependencies on runtime19 are in place.
2017-06-24 18:34:56 +00:00
Jimmy Olgeni
49f716ec00 Update Erlang ports to version 20.0. 2017-06-23 13:46:58 +00:00
Jimmy Olgeni
46e35646f8 Update Erlang ports to version 19.3.2.
- Copy clang 4.0 fix from lang/erlang-wx to lang/erlang (PR 216615)
- Copy /dev/shm fix from lang/erlang to lang/erlang-runtime19
2017-04-25 05:56:45 +00:00
Jimmy Olgeni
94e759fdb5 Remove hardcoded RPATH from Erlang's crypto libraries.
Pkg always wants to install compat10x-amd64 when using the port's default RPATH.

The same fix can be found in Suse, and in Erlang packages from RabbitMQ.

Noticed by:	lwhsu, bapt
2016-05-07 09:02:08 +00:00
Jimmy Olgeni
78a64cde43 Upgrade to R18.
- HIPE is now enabled by default
- Add APACHE20 license
- Remove unnecessary autoreconf
- Sort option descriptions

Gotchas:

- The LLVM HiPE backend does not seem to work yet.
2015-06-29 07:18:42 +00:00
Jimmy Olgeni
2ea8d0de94 Add hotfix for unhandled cipher algorithms.
Obtained from:	Ingela Andin (ingela.andin@gmail.com) on erlang-questions
2015-06-09 12:17:59 +00:00
Jimmy Olgeni
0eba18886b Upgrade to version 17.5.6.
- Use PATCHFILES for revision patches, because upstream basically
  stopped rolling tarballs for minor updates.

- Rebuild local patch files to make portlint happier.
2015-06-02 12:39:39 +00:00
Mathieu Arnold
6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00
Jimmy Olgeni
5187c61024 Upgrade to version 17.5.4 and link snmpc binary into bin/. 2015-05-18 10:44:12 +00:00
Jimmy Olgeni
7f804124ed Upgrade all Erlang 17 ports to 17.5.3. 2015-05-07 20:34:30 +00:00
Jimmy Olgeni
e5f0af0839 Fix implementation of sendfile function on FreeBSD.
Also, replace USE_AUTOTOOLS with USES=autoreconf while I'm here.

PR:		199649
Submitted by:	Stefan Grundmann
2015-04-24 13:15:00 +00:00
Jimmy Olgeni
6f841e0a10 Upgrade to version 17.5.2. 2015-04-23 13:23:58 +00:00
Jimmy Olgeni
be2f8c5646 Upgrade to version 17.5.1. 2015-04-12 10:11:35 +00:00
Jimmy Olgeni
76249a1970 Upgrade to version 17.4.1.
- Sort OPTIONS_DEFINE and OPTIONS_DEFAULT.
- Create SKIP files for applications disabled by port options.
- Remove disabled applications from ${STAGEDIR}.
- Check if dtraceall is actually loaded when DTRACE is enabled.
2015-02-21 10:14:37 +00:00
Jimmy Olgeni
ea300678eb Fix SSL handshake when SNI-extension is empty.
While I'm here:

- Cleanup plist
- Unmute an install command

PR:		194214
Submitted by:	Dave Cottlehuber
2014-10-09 12:50:54 +00:00
Jimmy Olgeni
9d99af9d04 Do not forcibly disable SMP in erlc.
SMP used to crash some builds a long time ago, but now it seems safe.
2014-08-29 05:44:02 +00:00
Jimmy Olgeni
e3e91037ff Upgrade to version 17.1. 2014-07-22 07:17:36 +00:00
Jimmy Olgeni
ccc8b0b357 - Upgrade to version R16B03.
- Add MANPATH entry.
- Do not mute the remaining install commands.
2014-01-08 11:45:58 +00:00
Jimmy Olgeni
f9ecf79989 Upgrade to version R16B02. 2013-11-17 21:49:37 +00:00
Jimmy Olgeni
b69398fc8c Fix a couple of issues, using patches from erlang-patches:
- When using an async thread pool, terminating a process that uses
the file:open/2 that specify the "compressed" option causes a crash.
(by Filipe David Manana)

- Due to a bug in ssl_manager:clean_cert_db, very time a tcp
connection was upgraded the certificates would be leaked and never
removed from the 'ssl_otp_cacertificate_db' table. (by Daniel Barney)
2013-01-10 14:42:50 +00:00
Jimmy Olgeni
c2129e1c6b Upgrade to version R15B03-1, which contains a few minor improvements
over R15B03:

- Official fix for the ssl:ssl_accept/2 timeout issue.
- Revert erl_crash.dump creation behavior back to R15B02.

Feature safe:	yes
2012-12-07 21:49:46 +00:00
Jimmy Olgeni
261d7ffe0d Fix timeout issue in ssl_connection.erl.
Due to a missing function clause to handle the ssl:ssl_accept-timeout,
it was treated as a canceled timeout.

Submitted by:	Ingela Anderton Andin on erlang-bugs
Feature safe:	yes
2012-11-29 21:42:28 +00:00
Jimmy Olgeni
bfe3323fa3 Fix crash when a table viewer in the observer application attempts
to refresh an ETS table which no longer exists.

Submitted by:	Peti Gomori on erlang-patches
Feature safe:	yes
2012-11-27 21:34:53 +00:00
Jimmy Olgeni
30a4e350be Fix 64-bit bug in odbcserver application:
- encode_out_params should perform cast using SQL_INTEGER* rather than long*.

Submitted by:	Joseph Wayne Norton <norton@lovely.email.ne.jp> on erlang-bugs
Feature safe:	yes
2012-11-05 14:53:00 +00:00
Jimmy Olgeni
fa161be0ef - Upgrade to version R15B01, plus a general cleanup and lots of
fixes (notably SSL and SCTP). [0]

- Switch to a more common version numbering in package name.

Submitted by:	ale[0]
2012-08-15 20:01:14 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Jimmy Olgeni
b8efb5ed93 Do not include util.h.
If net/libbgpdump was installed then the Erlang build would pick
up a stray util.h and fail to build.

No PORTREVISION bump required: existing installations are just fine.

Reported by:	Kurt Jaeger <pi opsec eu>
2011-10-17 22:53:57 +00:00
Jimmy Olgeni
c63fc7eba2 Upgrade to version R14B03. 2011-05-25 21:04:58 +00:00
Jimmy Olgeni
ad6f264a1e In FreeBSD jails, the source and destination address of connections
to localhost are changed to be the IP address of the jail.

Consider connections from the host's IP address to itself (e.g., the
source and destination address match) to be local for the access
control checks.

Reported by:	<tom diogunix com>
Obtained from:	Michael Santos <michael santos gmail com>
2010-12-23 15:02:17 +00:00
Jimmy Olgeni
79d5253338 Upgrade to version R14B01. 2010-12-15 13:52:59 +00:00
Jimmy Olgeni
8efcfd869e Upgrade to version R14B, with a couple of fixes from the Erlang
mailing lists.
2010-09-27 20:17:16 +00:00
Jimmy Olgeni
27133a4414 Remove obsolete message about nsswitch.conf in FreeBSD 5.x (no
PORTREVISION bump, which would be overkill for this).
2010-07-23 13:23:23 +00:00
Jimmy Olgeni
b1a3b36665 Patch erlc.c to automatically pass the "-smp disable" arguments to
the Erlang runtime.

This should hopefully fix the pointyhat build hangs which seem
related to the Erlang SMP runtime (beam.smp).
2010-04-07 22:04:49 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Jimmy Olgeni
f1ae00508b Add missing emacs files.
Obtained from:	Nico Kruber <kruber at zib dot de>
2010-03-20 20:20:59 +00:00
Jimmy Olgeni
94492cc4a7 Upgrade to version r13b04.
Obtained from:	vanilla (with additional SCTP fix)
2010-03-15 15:30:57 +00:00
Jimmy Olgeni
5a830433de Upgrade to version R13B03.
Obtained from:	Kenji Rikitake <kenji.rikitake at acm.org> (mostly)
2009-11-27 13:21:58 +00:00
Jimmy Olgeni
87d714407b Improve Emacs indentation code (the try/after clause is now handled correctly.)
Obtained from:	Steve Vinoski <vinoski at gmail.com>
2009-10-26 17:45:08 +00:00
Jimmy Olgeni
ce4c3e4256 Upgrade to version R13B02.
Feature safe:	yes
2009-09-22 15:57:20 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Jimmy Olgeni
56d091e0c5 The per-thread last floating point exception pointer is not initialized
to NULL when it is allocated. As a result, spurious floating point
exceptions are reported.

Obtained from:	David Reiss <dreiss at cs.stanford.edu>
2009-07-01 14:58:04 +00:00
Jimmy Olgeni
90dfafc410 Add bugfix for ei_decode_big.
"The high order bits of the 16-bits digit (short) are read, even if
the byte (at u[(i*2)+1]) doesn't belong to the big. In other words,
big numbers such as 16#1234567890 with an odd number of bytes are
decoded with a garbage byte (i.e. 16#XX1234567890)."

http://erlang.org/pipermail/erlang-bugs/2008-October/001023.html

Obtained from:	Paul Guyot <pguyot at kallisys.net>
2009-06-13 10:02:42 +00:00
Jimmy Olgeni
7f9a84b15a files/patch-lib_compiler_src_beam__utils.erl:
Fix "Internal consistency check failed" compiler error.

Obtained from:  Bjorn Gustavsson <bgustavsson at gmail.com>

files/patch-lib_inets_src_http__client_http.erl:

The process would hang because {stream,{self,once}} is not recognized as an invalid option.

Obtained from:  Adam Kocoloski <adam.kocoloski at gmail.com>
2009-06-12 15:24:53 +00:00
Jimmy Olgeni
82e145a3ca Upgrade to version R13B01. 2009-06-11 11:02:16 +00:00
Jimmy Olgeni
9b534d30b7 Remove dependency on GCC 4.3: allow proper CFLAGS to reach lib/wx/configure.
Obtained from:	vanilla
2009-06-10 15:57:29 +00:00