From c8768f37b6f52007aae1c1f035e40df0f8cb9329 Mon Sep 17 00:00:00 2001 From: gsell Date: Thu, 17 Feb 2022 13:50:07 +0000 Subject: [PATCH 1/7] Add new directory --- Programming/erlang/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Programming/erlang/.gitkeep diff --git a/Programming/erlang/.gitkeep b/Programming/erlang/.gitkeep new file mode 100644 index 0000000..e69de29 From 3bd8a0db53391b278253fa23478a12ff1c914239 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 17 Feb 2022 16:38:08 +0100 Subject: [PATCH 2/7] build-block for erlang added --- Programming/erlang/build | 18 ++++++++++++++++++ Programming/erlang/files/variants.rhel7 | 1 + Programming/erlang/modulefile | 15 +++++++++++++++ 3 files changed, 34 insertions(+) create mode 100755 Programming/erlang/build create mode 100644 Programming/erlang/files/variants.rhel7 create mode 100644 Programming/erlang/modulefile diff --git a/Programming/erlang/build b/Programming/erlang/build new file mode 100755 index 0000000..82ae81a --- /dev/null +++ b/Programming/erlang/build @@ -0,0 +1,18 @@ +#!/usr/bin/env modbuild + +pbuild::add_to_group 'Programming' +pbuild::compile_in_sourcetree + +pbuild::set_download_url \ + "https://github.com/$P/otp/releases/download/OTP-${V_PKG}/otp_src_${V_PKG}.tar.gz" +#pbuild::set_sha256sum 'gnuplot-5.2.4.tar.gz:1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb' +#pbuild::install_docfiles 'Copyright' 'NEWS' 'README' + +pbuild::pre_configure() { + : +} +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Programming/erlang/files/variants.rhel7 b/Programming/erlang/files/variants.rhel7 new file mode 100644 index 0000000..4cf2fa8 --- /dev/null +++ b/Programming/erlang/files/variants.rhel7 @@ -0,0 +1 @@ +erlang/24.2.1 unstable wxWidgets/3.0.5 diff --git a/Programming/erlang/modulefile b/Programming/erlang/modulefile new file mode 100644 index 0000000..15802fe --- /dev/null +++ b/Programming/erlang/modulefile @@ -0,0 +1,15 @@ +#%Pmodule + +module-whatis "Practical functional programming for a parallel worldinterfaces" +module-url "https://www.erlang.org" +module-license "Apache 2.0" +module-maintainer "Achim Gsell " + +module-help " +Erlang is a programming language used to build massively scalable soft +real-time systems with requirements on high availability. Some of its +uses are in telecoms, banking, e-commerce, computer telephony and +instant messaging. Erlang's runtime system has built-in support for +concurrency, distribution and fault tolerance. +" + From d583b9887617a87cc9a04c105559cfddaf2151c5 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 17 Feb 2022 18:44:53 +0100 Subject: [PATCH 3/7] sha sum added, build with SSL support --- Programming/erlang/build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Programming/erlang/build b/Programming/erlang/build index 82ae81a..7fc119c 100755 --- a/Programming/erlang/build +++ b/Programming/erlang/build @@ -5,12 +5,13 @@ pbuild::compile_in_sourcetree pbuild::set_download_url \ "https://github.com/$P/otp/releases/download/OTP-${V_PKG}/otp_src_${V_PKG}.tar.gz" -#pbuild::set_sha256sum 'gnuplot-5.2.4.tar.gz:1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb' +pbuild::set_sha256sum 'otp-24.2.1.tar.gz:380a77aef34ad449bf8370a380b7901364b9be23e3d25068fc5c43258bcbec11' #pbuild::install_docfiles 'Copyright' 'NEWS' 'README' pbuild::pre_configure() { - : + pbuild::add_configure_args "--with-ssl=${OPENSSL_DIR}" } + # Local Variables: # mode: sh # sh-basic-offset: 8 From 05c6f9bc48e044a01683d5bb2e0d0f0fe1d5bd67 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 17 Feb 2022 18:45:18 +0100 Subject: [PATCH 4/7] build with SSL support --- Programming/erlang/files/variants.rhel7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Programming/erlang/files/variants.rhel7 b/Programming/erlang/files/variants.rhel7 index 4cf2fa8..a3a6d5d 100644 --- a/Programming/erlang/files/variants.rhel7 +++ b/Programming/erlang/files/variants.rhel7 @@ -1 +1 @@ -erlang/24.2.1 unstable wxWidgets/3.0.5 +erlang/24.2.1 unstable openssl/1.1.1 wxWidgets/3.0.5m From c1bfdf8c5e3a97886a423841d7e09dc26d700062 Mon Sep 17 00:00:00 2001 From: gsell Date: Fri, 18 Feb 2022 13:54:52 +0000 Subject: [PATCH 5/7] Add new file --- Programming/erlang/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Programming/erlang/README.md diff --git a/Programming/erlang/README.md b/Programming/erlang/README.md new file mode 100644 index 0000000..157c787 --- /dev/null +++ b/Programming/erlang/README.md @@ -0,0 +1,11 @@ +# Erlang module + +Build a Pmodule for Erlang. This module depends on wxWidgets and OpenSSL. + +*Please note:* + +After running the build script, the dependency files `$ERLANG_PREFIX/.dependencies` must be patched by hand. For the time being dependencies like `Libraries:wxWidgets/3.0.5` are not supported in the variant files but in the dependency file of the module. The dependency file must look like: +``` +openssl/1.1.1m +Libraries:wxWidgets/3.0.5 +``` From dcc14709712c60d86a75c9ae7874c32c7555f1cf Mon Sep 17 00:00:00 2001 From: gsell Date: Fri, 18 Feb 2022 13:55:30 +0000 Subject: [PATCH 6/7] Update README.md --- Programming/erlang/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Programming/erlang/README.md b/Programming/erlang/README.md index 157c787..05913e9 100644 --- a/Programming/erlang/README.md +++ b/Programming/erlang/README.md @@ -2,7 +2,7 @@ Build a Pmodule for Erlang. This module depends on wxWidgets and OpenSSL. -*Please note:* +***Please note:*** After running the build script, the dependency files `$ERLANG_PREFIX/.dependencies` must be patched by hand. For the time being dependencies like `Libraries:wxWidgets/3.0.5` are not supported in the variant files but in the dependency file of the module. The dependency file must look like: ``` From d1363d62c0ef24ae76a8a1c69c78b8c4e3ee359a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 5 Jul 2022 09:41:41 +0200 Subject: [PATCH 7/7] erlang/24.2.1: variants file changed to YAML, marked as stable --- Programming/erlang/files/variants.rhel7 | 1 - Programming/erlang/files/variants.yaml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 Programming/erlang/files/variants.rhel7 create mode 100644 Programming/erlang/files/variants.yaml diff --git a/Programming/erlang/files/variants.rhel7 b/Programming/erlang/files/variants.rhel7 deleted file mode 100644 index a3a6d5d..0000000 --- a/Programming/erlang/files/variants.rhel7 +++ /dev/null @@ -1 +0,0 @@ -erlang/24.2.1 unstable openssl/1.1.1 wxWidgets/3.0.5m diff --git a/Programming/erlang/files/variants.yaml b/Programming/erlang/files/variants.yaml new file mode 100644 index 0000000..9dd35ee --- /dev/null +++ b/Programming/erlang/files/variants.yaml @@ -0,0 +1,4 @@ +overlay: base +relstage: stable +erlang/24.2.1: + - dependencies: openssl/1.1.1m wxWidgets/3.0.5