Opened 15 years ago

Last modified 10 years ago

#20180 new enhancement

Erlang + SCTP

Reported by: rkmspence@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: erlang

Description

The basic lang/erlang port does not enable the use of SCTP and does not offer this as a variant. Patching the Portfile to facilitate this is easy (attached) but throws up a number of other problems. I have patched these issues too, but they mostly need to be fed to the upstream Erlang maintainers.

I now have Erlang+SCTP working on Leopard (PPC & Intel) using the FH Muenster SCTP NKE (version 5.4.0 = latest).

Attachments (4)

Portfile.diff (820 bytes) - added by rkmspence@… 15 years ago.
lang/erlang Portfile patch adding SCTP variant and required patches
patch-erts_emulator_Makefile.in (684 bytes) - added by rkmspence@… 15 years ago.
Modified erts/emulator/Makefile.in to fix a trivial depend-phase error.
patch-erts_emulator_drivers_common-inet_drv.c (1.1 KB) - added by rkmspence@… 15 years ago.
Introduce conditional compilation around Linux-specific SCTP features. (Linux has yet to be updated to the latest SCTP interface definition.)
patch-lib_kernel_src-inet_sctp.erl (846 bytes) - added by rkmspence@… 15 years ago.
Fix a matching bug in inet_sctp.erl preventing correct operation of gen_sctp:connect etc.

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by rkmspence@…

Attachment: Portfile.diff added

lang/erlang Portfile patch adding SCTP variant and required patches

Changed 15 years ago by rkmspence@…

Modified erts/emulator/Makefile.in to fix a trivial depend-phase error.

Changed 15 years ago by rkmspence@…

Introduce conditional compilation around Linux-specific SCTP features. (Linux has yet to be updated to the latest SCTP interface definition.)

Changed 15 years ago by rkmspence@…

Fix a matching bug in inet_sctp.erl preventing correct operation of gen_sctp:connect etc.

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to bfulgham@…
Port: erlang added; lang/erlang removed

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Type: defectenhancement

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Does this apply cleanly to the current (R14A) port?

comment:4 Changed 12 years ago by bfulgham@…

Note that this requires a third-party kernel extension to work.

comment:5 Changed 10 years ago by ci42

Owner: changed from bfulgham@… to ciserlohn@…
Note: See TracTickets for help on using tickets.