[arch-commits] Commit in erlang-nox/repos (10 files)
Alexander Rødseth
arodseth at archlinux.org
Wed Mar 8 08:40:33 UTC 2017
Date: Wednesday, March 8, 2017 @ 08:40:32
Author: arodseth
Revision: 215278
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
erlang-nox/repos/community-staging-i686/
erlang-nox/repos/community-staging-i686/PKGBUILD
(from rev 215277, erlang-nox/trunk/PKGBUILD)
erlang-nox/repos/community-staging-i686/epmd.conf
(from rev 215277, erlang-nox/trunk/epmd.conf)
erlang-nox/repos/community-staging-i686/epmd.service
(from rev 215277, erlang-nox/trunk/epmd.service)
erlang-nox/repos/community-staging-i686/epmd.socket
(from rev 215277, erlang-nox/trunk/epmd.socket)
erlang-nox/repos/community-staging-x86_64/
erlang-nox/repos/community-staging-x86_64/PKGBUILD
(from rev 215277, erlang-nox/trunk/PKGBUILD)
erlang-nox/repos/community-staging-x86_64/epmd.conf
(from rev 215277, erlang-nox/trunk/epmd.conf)
erlang-nox/repos/community-staging-x86_64/epmd.service
(from rev 215277, erlang-nox/trunk/epmd.service)
erlang-nox/repos/community-staging-x86_64/epmd.socket
(from rev 215277, erlang-nox/trunk/epmd.socket)
---------------------------------------+
community-staging-i686/PKGBUILD | 76 ++++++++++++++++++++++++++++++++
community-staging-i686/epmd.conf | 3 +
community-staging-i686/epmd.service | 11 ++++
community-staging-i686/epmd.socket | 9 +++
community-staging-x86_64/PKGBUILD | 76 ++++++++++++++++++++++++++++++++
community-staging-x86_64/epmd.conf | 3 +
community-staging-x86_64/epmd.service | 11 ++++
community-staging-x86_64/epmd.socket | 9 +++
8 files changed, 198 insertions(+)
Copied: erlang-nox/repos/community-staging-i686/PKGBUILD (from rev 215277, erlang-nox/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-08 08:40:32 UTC (rev 215278)
@@ -0,0 +1,76 @@
+# $Id$
+# 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>
+
+pkgname=erlang-nox
+pkgver=19.2.3
+pkgrel=3
+pkgdesc='General-purpose concurrent functional programming language developed by Ericsson (headless version)'
+arch=('x86_64' 'i686')
+url='http://www.erlang.org/'
+license=('Apache')
+depends=('ncurses' 'openssl')
+makedepends=('perl' 'lksctp-tools' 'unixodbc' 'git' 'libxslt' 'fop'
+ 'java-environment')
+conflicts=('erlang')
+optdepends=('erlang-unixodbc: database support'
+ 'java-environment: for Java support'
+ 'lksctp-tools: for SCTP support')
+options=('staticlibs')
+source=("git://github.com/erlang/otp.git#tag=OTP-$pkgver"
+ "http://www.erlang.org/download/otp_doc_man_${pkgver%.*}.tar.gz"
+ 'epmd.service'
+ 'epmd.socket'
+ 'epmd.conf')
+sha256sums=('SKIP'
+ '8a76ff3bb40a6d6a1552fa5a4204c8a3c7d99d2ea6f12684f02d038b23ad25cb'
+ 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
+ '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34'
+ '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2')
+
+prepare() {
+ cd otp
+
+ ./otp_build setup
+}
+
+build() {
+ cd otp
+
+ ./configure --prefix=/usr --enable-smp-support --with-odbc --enable-builtin-zlib
+ make
+}
+
+package() {
+ make -C otp DESTDIR="$pkgdir" install
+
+ # Documentation
+ install -d "$pkgdir/usr/share/doc/erlang"
+ install -m0644 "$srcdir/otp/README.md" \
+ "$srcdir"/COPYRIGHT \
+ "$pkgdir/usr/share/doc/erlang"
+
+ # Compressed man pages
+ for page in "$srcdir/man/man?/*"; do gzip $page; done
+ cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang/"
+
+ # License
+ install -Dm0644 "$srcdir/otp/LICENSE.txt" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+
+ # Remove files that are packaged as erlang-unixodbc
+ rm -r "$pkgdir/usr/lib/erlang/"{lib/odbc*,man/man3/odbc.3.gz}
+
+ # epmd service, socket and conf
+ cd "$srcdir"
+ 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"
+}
+
+# getver: raw.githubusercontent.com/erlang/otp/maint/OTP_VERSION
+# vim:set ts=2 sw=2 et:
Copied: erlang-nox/repos/community-staging-i686/epmd.conf (from rev 215277, erlang-nox/trunk/epmd.conf)
===================================================================
--- community-staging-i686/epmd.conf (rev 0)
+++ community-staging-i686/epmd.conf 2017-03-08 08:40:32 UTC (rev 215278)
@@ -0,0 +1,3 @@
+#ERL_EPMD_ADDRESS=
+#ERL_EPMD_PORT=4369
+#ERL_EPMD_RELAXED_COMMAND_CHECK=
Copied: erlang-nox/repos/community-staging-i686/epmd.service (from rev 215277, erlang-nox/trunk/epmd.service)
===================================================================
--- community-staging-i686/epmd.service (rev 0)
+++ community-staging-i686/epmd.service 2017-03-08 08:40:32 UTC (rev 215278)
@@ -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
Copied: erlang-nox/repos/community-staging-i686/epmd.socket (from rev 215277, erlang-nox/trunk/epmd.socket)
===================================================================
--- community-staging-i686/epmd.socket (rev 0)
+++ community-staging-i686/epmd.socket 2017-03-08 08:40:32 UTC (rev 215278)
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=epmd.service
+
+[Socket]
+ListenStream=4369
+Accept=no
+
+[Install]
+WantedBy=sockets.target
Copied: erlang-nox/repos/community-staging-x86_64/PKGBUILD (from rev 215277, erlang-nox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-03-08 08:40:32 UTC (rev 215278)
@@ -0,0 +1,76 @@
+# $Id$
+# 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>
+
+pkgname=erlang-nox
+pkgver=19.2.3
+pkgrel=3
+pkgdesc='General-purpose concurrent functional programming language developed by Ericsson (headless version)'
+arch=('x86_64' 'i686')
+url='http://www.erlang.org/'
+license=('Apache')
+depends=('ncurses' 'openssl')
+makedepends=('perl' 'lksctp-tools' 'unixodbc' 'git' 'libxslt' 'fop'
+ 'java-environment')
+conflicts=('erlang')
+optdepends=('erlang-unixodbc: database support'
+ 'java-environment: for Java support'
+ 'lksctp-tools: for SCTP support')
+options=('staticlibs')
+source=("git://github.com/erlang/otp.git#tag=OTP-$pkgver"
+ "http://www.erlang.org/download/otp_doc_man_${pkgver%.*}.tar.gz"
+ 'epmd.service'
+ 'epmd.socket'
+ 'epmd.conf')
+sha256sums=('SKIP'
+ '8a76ff3bb40a6d6a1552fa5a4204c8a3c7d99d2ea6f12684f02d038b23ad25cb'
+ 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
+ '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34'
+ '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2')
+
+prepare() {
+ cd otp
+
+ ./otp_build setup
+}
+
+build() {
+ cd otp
+
+ ./configure --prefix=/usr --enable-smp-support --with-odbc --enable-builtin-zlib
+ make
+}
+
+package() {
+ make -C otp DESTDIR="$pkgdir" install
+
+ # Documentation
+ install -d "$pkgdir/usr/share/doc/erlang"
+ install -m0644 "$srcdir/otp/README.md" \
+ "$srcdir"/COPYRIGHT \
+ "$pkgdir/usr/share/doc/erlang"
+
+ # Compressed man pages
+ for page in "$srcdir/man/man?/*"; do gzip $page; done
+ cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang/"
+
+ # License
+ install -Dm0644 "$srcdir/otp/LICENSE.txt" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+
+ # Remove files that are packaged as erlang-unixodbc
+ rm -r "$pkgdir/usr/lib/erlang/"{lib/odbc*,man/man3/odbc.3.gz}
+
+ # epmd service, socket and conf
+ cd "$srcdir"
+ 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"
+}
+
+# getver: raw.githubusercontent.com/erlang/otp/maint/OTP_VERSION
+# vim:set ts=2 sw=2 et:
Copied: erlang-nox/repos/community-staging-x86_64/epmd.conf (from rev 215277, erlang-nox/trunk/epmd.conf)
===================================================================
--- community-staging-x86_64/epmd.conf (rev 0)
+++ community-staging-x86_64/epmd.conf 2017-03-08 08:40:32 UTC (rev 215278)
@@ -0,0 +1,3 @@
+#ERL_EPMD_ADDRESS=
+#ERL_EPMD_PORT=4369
+#ERL_EPMD_RELAXED_COMMAND_CHECK=
Copied: erlang-nox/repos/community-staging-x86_64/epmd.service (from rev 215277, erlang-nox/trunk/epmd.service)
===================================================================
--- community-staging-x86_64/epmd.service (rev 0)
+++ community-staging-x86_64/epmd.service 2017-03-08 08:40:32 UTC (rev 215278)
@@ -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
Copied: erlang-nox/repos/community-staging-x86_64/epmd.socket (from rev 215277, erlang-nox/trunk/epmd.socket)
===================================================================
--- community-staging-x86_64/epmd.socket (rev 0)
+++ community-staging-x86_64/epmd.socket 2017-03-08 08:40:32 UTC (rev 215278)
@@ -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