Commit Graph

29 Commits

Author SHA1 Message Date
krant 2e8da16fb4 erlang: update to 26.2.4
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-14 12:03:21 -07:00
krant 4cdbedc5f2 erlang: update to 26.2.3
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-03-22 16:05:20 +08:00
krant e14154df43 erlang: update to 26.2.2
- Drop upstreamed patch
- Fix broken symlink /usr/bin/epmd
- Re-enable mips16
- Formatting

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-08 21:41:50 -08:00
krant c813aaaed7 erlang: remove CFLAGS modification since it has been fixed in the upstream
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-01-29 16:05:22 -08:00
krant e8673e9e85 erlang: update to 26.2.1
- Update to Erlang/OTP 26.2.1
- Remove obsolete configure options
- Remove obsolete patches, add new one
- Add missing no_dot_erlang.boot file (fixes #20587)
- Change package URL to https

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-01-29 16:05:22 -08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Sebastian Kemper 6544b67f1f erlang: workaround LibreSSL-3.5.0 compat issues
Cherry-pick four upstream commits that prevent building of
otp_test_engine when LibreSSL-3.5.0 is used.

Since OpenWrt bumped LibreSSL to 3.5.3 the erlang host builds fail to
complete.

 CC	../priv/obj/x86_64-pc-linux-gnu/otp_test_engine.o
otp_test_engine.c: In function 'test_engine_md5_init':
otp_test_engine.c:144:34: error: dereferencing pointer to incomplete type 'EVP_MD_CTX' {aka 'struct env_md_ctx_st'}
 #define data(ctx) ((MD5_CTX *)ctx->md_data)
                                  ^~

Also switch to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-07-23 12:45:10 -07:00
Sergey V. Lobanov cca3001475 erlang: update to version 24.2
1. updated to 24.2  (RN: https://github.com/erlang/otp/releases/tag/OTP-24.2)
2. added libstdcpp dependency
3. erlang-hipe was removed in upstream
 (ref fccb8482ef)
 everything related to erlang-hipe was removed from Makefile
4. updated and refreshed patches
5. host-compile ssl library forced to OpenWrt LibreSSL to avoid using system library

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 13:46:17 -08:00
Rosen Penev 5685d92268 erlang: disable PIE
Fails to compile with it on.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 02:03:44 -07:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev bfabad1bd1
erlang: disable PGO on host
Fixes compilation with clang. The make system misidentifies clang as
GCC for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-31 18:12:22 -08:00
Sebastian Kemper 49ad98ce60 erlang: fix host build when pcre/host is installed
OpenWrt added pcre/host recently. When it is available (installed)
erlang finds staging_dir/hostpkg/include/pcre.h before it finds its own
copy and the build fails.

 CC	obj/x86_64-pc-linux-gnu/opt/smp/erl_bif_chksum.o
 CC	obj/x86_64-pc-linux-gnu/opt/smp/erl_bif_re.o
beam/erl_bif_re.c: In function 'erts_init_bif_re':
beam/erl_bif_re.c:96:5: error: 'erts_pcre_malloc' undeclared (first use in this function)
     erts_pcre_malloc = &erts_erts_pcre_malloc;
     ^~~~~~~~~~~~~~~~
beam/erl_bif_re.c:96:5: note: each undeclared identifier is reported only once for each function it appears in
beam/erl_bif_re.c:97:5: error: 'erts_pcre_free' undeclared (first use in this function)
     erts_pcre_free = &erts_erts_pcre_free;
     ^~~~~~~~~~~~~~

This adds a patch from Romain Naour and Bernd Kuhls to prevent that.
Patch snatched from buildroot [1].

[1] https://github.com/buildroot/buildroot/blob/master/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-01 23:15:06 +02:00
Rosen Penev 13b76d1b10
erlang: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:15:55 -07:00
Xiaobo Tian 55b247b3a8 erlang: upgrade opt 23.0
Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com>
2020-06-10 17:07:40 +08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev 83b9991e07
erlang: Fix compilation without deprecated OpenSSL APIs
Renamed the patch as it does more than fix ENGINE support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-20 13:29:32 -07:00
Rosen Penev d9c1c3b07d erlang: Fix compilation without deprecated OpenSSL 1.0.2 APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-01 23:23:00 -08:00
Arnaud Sautaux ca77eba901 erlang: license corrected
Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
2018-12-05 16:03:49 +01:00
Arnaud Sautaux 3a328e427a erlang: update to version 21.0
Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
2018-10-30 08:07:30 +01:00
Arnaud Sautaux 5a56e39f1d erlang: update to version 19.3, add packages
New packages:
* erlang-tools: This Erlang/OTP package provides support for misc tools.
* erlang-reltool: This Erlang/OTP package provides support for release management.
* erlang-erl-interface: This Erlang/OTP package provides support for erlang interoperability with other languages.
* erlang-os_mon: This Erlang/OTP package provides the following services:
  - cpu_sup CPU load and utilization supervision
  - disksup Disk supervision
  - memsup Memory supervision
* erlang-xmerl: This Erlang/OTP package provides functions for exporting XML data to an external format

Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
2018-06-13 13:56:38 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Yousong Zhou c8c91ed23c erlang: fix compilation error by disabling mips16
This is caused by a toolchain bug and has been reported to GCC a
while a ago without receiving any responses yet [1].  Fix it at the
moment by not compiling with mips16 enabled.

Should fix #1750 and #1904.

 [1] Bug 71519 - "Out of range operand" bteqz inst generated by
     "casesi_internal_mips16_<mode>",
     https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71519

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-09-01 16:49:25 +08:00
Nicolas Thill d4afd14ff1 erlang: fix musl compatibility
gethostbyname_r is available when _GNU_SOURCE is defined, add a patch to check for it instead of __GLIBC__, build with -D_GNU_SOURCE, bump release number

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-06-23 01:06:36 +02:00
Nicolas Thill 16fa9c0ff6 erlang: update to 17.5
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-04-06 13:17:44 +02:00
Nicolas Thill aae5275bea erlang: bump to 17.4
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-01-09 18:27:38 +01:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Nicolas Thill 59d841c968 erlang: bump to 17.3
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-11-12 02:29:59 +01:00
Nicolas Thill efec55b785 erlang: import from old packages feed
- update to latest version (v17.1)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-08-20 15:50:32 +02:00