[arch-commits] Commit in (12 files)
Alexander Rødseth
arodseth at archlinux.org
Mon Dec 18 11:16:51 UTC 2017
Date: Monday, December 18, 2017 @ 11:16:51
Author: arodseth
Revision: 274751
Add Erlang 20.0
Because Wings3D crashes with the later versions of Erlang
Added:
erlang200/
erlang200/repos/
erlang200/repos/community-x86_64/
erlang200/repos/community-x86_64/PKGBUILD
erlang200/repos/community-x86_64/epmd.conf
erlang200/repos/community-x86_64/epmd.service
erlang200/repos/community-x86_64/epmd.socket
erlang200/trunk/
erlang200/trunk/PKGBUILD
erlang200/trunk/epmd.conf
erlang200/trunk/epmd.service
erlang200/trunk/epmd.socket
-------------------------------------+
repos/community-x86_64/PKGBUILD | 84 +++++++++++++++++++++++++++++++++
repos/community-x86_64/epmd.conf | 3 +
repos/community-x86_64/epmd.service | 11 ++++
repos/community-x86_64/epmd.socket | 9 +++
trunk/PKGBUILD | 85 ++++++++++++++++++++++++++++++++++
trunk/epmd.conf | 3 +
trunk/epmd.service | 11 ++++
trunk/epmd.socket | 9 +++
8 files changed, 215 insertions(+)
Added: erlang200/repos/community-x86_64/PKGBUILD
===================================================================
--- erlang200/repos/community-x86_64/PKGBUILD (rev 0)
+++ erlang200/repos/community-x86_64/PKGBUILD 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,84 @@
+# $Id: PKGBUILD 274697 2017-12-17 23:28:17Z arodseth $
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
+# Contributor: Tom Burdick <thomas.burdick at wrightwoodtech.com>
+# Contributor: Ricardo Catalinas Jiménez <jimenezrick at gmail.com>
+
+pkgbase=erlang
+pkgname=('erlang' 'erlang-unixodbc')
+pkgver=20.2
+pkgrel=1
+_docver=20.2
+arch=('x86_64')
+url='https://www.erlang.org/'
+license=('Apache')
+makedepends=('fop' 'git' 'glu' 'java-environment' 'libxslt' 'lksctp-tools'
+ 'mesa' 'perl' 'unixodbc' 'wxgtk')
+options=('staticlibs')
+source=("git+https://github.com/erlang/otp.git#tag=OTP-$pkgver"
+ "http://www.erlang.org/download/otp_doc_man_$_docver.tar.gz"
+ 'epmd.service' 'epmd.socket' 'epmd.conf')
+sha256sums=('SKIP'
+ '950e088f9e47fc10a98e3f67d6420a990650836c648686a2f5dafe331747cbdf'
+ 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
+ '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34'
+ '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2')
+
+prepare() {
+ cd otp
+
+ ./otp_build autoconf
+}
+
+build() {
+ cd otp
+
+ ./configure --prefix=/usr --enable-smp-support --with-odbc --enable-builtin-zlib
+ make
+}
+
+package_erlang() {
+ pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
+ depends=('ncurses' 'glu' 'wxgtk' 'openssl')
+ optdepends=('erlang-unixodbc: database support'
+ 'java-environment: for Java support'
+ 'lksctp-tools: for SCTP support')
+ provides=('erlang-nox')
+ conflicts=('erlang-nox')
+
+ make -C otp DESTDIR="$pkgdir" install
+
+ # move files that belong to the erlang-unixodbc package
+ mkdir -p unixodbc
+ mv "$pkgdir/usr/lib/erlang/lib/odbc"* "$srcdir/unixodbc/"
+ #mv "$pkgdir/usr/lib/erlang/man/man3/odbc.3.gz" "$srcdir"
+
+ # services and configuration
+ install -Dm644 epmd.service "$pkgdir/usr/lib/systemd/system/epmd.service"
+ install -Dm644 epmd.socket "$pkgdir/usr/lib/systemd/system/epmd.socket"
+ install -Dm644 epmd.conf "$pkgdir/etc/conf.d/epmd"
+
+ # readme and licenses
+ install -Dm644 otp/README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+ install -Dm644 otp/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # man pages
+ cp -r man "$pkgdir/usr/lib/erlang/"
+}
+
+package_erlang-unixodbc() {
+ pkgdesc='Unixodbc support for Erlang'
+ depends=('unixodbc' 'erlang-nox')
+
+ install -d "$pkgdir/usr/lib/erlang/lib"
+ mv unixodbc/* "$pkgdir/usr/lib/erlang/lib/"
+ #install -Dm644 odbc.3 "$pkgdir/usr/lib/erlang/man/man3/odbc.3"
+ install -Dm644 otp/LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENCE.txt"
+}
+
+# getver: raw.githubusercontent.com/erlang/otp/maint/OTP_VERSION
+# vim: ts=2 sw=2 et:
Added: erlang200/repos/community-x86_64/epmd.conf
===================================================================
--- erlang200/repos/community-x86_64/epmd.conf (rev 0)
+++ erlang200/repos/community-x86_64/epmd.conf 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,3 @@
+#ERL_EPMD_ADDRESS=
+#ERL_EPMD_PORT=4369
+#ERL_EPMD_RELAXED_COMMAND_CHECK=
Added: erlang200/repos/community-x86_64/epmd.service
===================================================================
--- erlang200/repos/community-x86_64/epmd.service (rev 0)
+++ erlang200/repos/community-x86_64/epmd.service 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Erlang Port Mapper Daemon
+
+[Service]
+EnvironmentFile=/etc/conf.d/epmd
+ExecStart=/usr/bin/epmd -daemon $EPMD_OPTS
+ExecStop=/usr/bin/epmd -kill
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
Added: erlang200/repos/community-x86_64/epmd.socket
===================================================================
--- erlang200/repos/community-x86_64/epmd.socket (rev 0)
+++ erlang200/repos/community-x86_64/epmd.socket 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=epmd.service
+
+[Socket]
+ListenStream=4369
+Accept=no
+
+[Install]
+WantedBy=sockets.target
Added: erlang200/trunk/PKGBUILD
===================================================================
--- erlang200/trunk/PKGBUILD (rev 0)
+++ erlang200/trunk/PKGBUILD 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,85 @@
+# $Id: PKGBUILD 274696 2017-12-17 23:28:03Z arodseth $
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
+# Contributor: Tom Burdick <thomas.burdick at wrightwoodtech.com>
+# Contributor: Ricardo Catalinas Jiménez <jimenezrick at gmail.com>
+
+pkgbase=erlang
+pkgname=('erlang200' 'erlang200-unixodbc')
+pkgver=20.0
+pkgrel=1
+_docver=20.0
+arch=('x86_64')
+url='https://www.erlang.org/'
+license=('Apache')
+makedepends=('fop' 'git' 'glu' 'java-environment' 'libxslt' 'lksctp-tools'
+ 'mesa' 'perl' 'unixodbc' 'wxgtk')
+options=('staticlibs')
+source=("git+https://github.com/erlang/otp.git#tag=OTP-$pkgver"
+ "http://www.erlang.org/download/otp_doc_man_$_docver.tar.gz"
+ 'epmd.service' 'epmd.socket' 'epmd.conf')
+sha256sums=('SKIP'
+ 'b7f1542a94a170f8791f5d80a85706f9e8838924ea65d4301032d0c0cfb845cc'
+ 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
+ '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34'
+ '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2')
+
+prepare() {
+ cd otp
+
+ ./otp_build autoconf
+}
+
+build() {
+ cd otp
+
+ ./configure --prefix=/usr --enable-smp-support --with-odbc --enable-builtin-zlib
+ make
+}
+
+package_erlang200() {
+ pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
+ depends=('ncurses' 'glu' 'wxgtk' 'openssl')
+ optdepends=('erlang-unixodbc: database support'
+ 'java-environment: for Java support'
+ 'lksctp-tools: for SCTP support')
+ provides=('erlang-nox' 'erlang')
+ conflicts=('erlang-nox' 'erlang')
+
+ make -C otp DESTDIR="$pkgdir" install
+
+ # move files that belong to the erlang-unixodbc package
+ mkdir -p unixodbc
+ mv "$pkgdir/usr/lib/erlang/lib/odbc"* "$srcdir/unixodbc/"
+ #mv "$pkgdir/usr/lib/erlang/man/man3/odbc.3.gz" "$srcdir"
+
+ # services and configuration
+ install -Dm644 epmd.service "$pkgdir/usr/lib/systemd/system/epmd.service"
+ install -Dm644 epmd.socket "$pkgdir/usr/lib/systemd/system/epmd.socket"
+ install -Dm644 epmd.conf "$pkgdir/etc/conf.d/epmd"
+
+ # readme and licenses
+ install -Dm644 otp/README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+ install -Dm644 otp/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # man pages
+ cp -r man "$pkgdir/usr/lib/erlang/"
+}
+
+package_erlang200-unixodbc() {
+ pkgdesc='Unixodbc support for Erlang'
+ conflicts=('erlang-unixodbc')
+ depends=('unixodbc' 'erlang-nox')
+
+ install -d "$pkgdir/usr/lib/erlang/lib"
+ mv unixodbc/* "$pkgdir/usr/lib/erlang/lib/"
+ #install -Dm644 odbc.3 "$pkgdir/usr/lib/erlang/man/man3/odbc.3"
+ install -Dm644 otp/LICENSE.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENCE.txt"
+}
+
+# getver: raw.githubusercontent.com/erlang/otp/maint/OTP_VERSION
+# vim: ts=2 sw=2 et:
Added: erlang200/trunk/epmd.conf
===================================================================
--- erlang200/trunk/epmd.conf (rev 0)
+++ erlang200/trunk/epmd.conf 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,3 @@
+#ERL_EPMD_ADDRESS=
+#ERL_EPMD_PORT=4369
+#ERL_EPMD_RELAXED_COMMAND_CHECK=
Added: erlang200/trunk/epmd.service
===================================================================
--- erlang200/trunk/epmd.service (rev 0)
+++ erlang200/trunk/epmd.service 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Erlang Port Mapper Daemon
+
+[Service]
+EnvironmentFile=/etc/conf.d/epmd
+ExecStart=/usr/bin/epmd -daemon $EPMD_OPTS
+ExecStop=/usr/bin/epmd -kill
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
Added: erlang200/trunk/epmd.socket
===================================================================
--- erlang200/trunk/epmd.socket (rev 0)
+++ erlang200/trunk/epmd.socket 2017-12-18 11:16:51 UTC (rev 274751)
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=epmd.service
+
+[Socket]
+ListenStream=4369
+Accept=no
+
+[Install]
+WantedBy=sockets.target
More information about the arch-commits
mailing list