Date: Friday, March 29, 2019 @ 11:21:39
  Author: arodseth
Revision: 445989

archrelease: copy trunk to community-staging-x86_64

Added:
  erlang/repos/community-staging-x86_64/
  erlang/repos/community-staging-x86_64/PKGBUILD
    (from rev 445988, erlang/trunk/PKGBUILD)
  erlang/repos/community-staging-x86_64/epmd.conf
    (from rev 445988, erlang/trunk/epmd.conf)
  erlang/repos/community-staging-x86_64/epmd.service
    (from rev 445988, erlang/trunk/epmd.service)
  erlang/repos/community-staging-x86_64/epmd.socket
    (from rev 445988, erlang/trunk/epmd.socket)

--------------+
 PKGBUILD     |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 epmd.conf    |    3 ++
 epmd.service |   11 +++++++
 epmd.socket  |    9 ++++++
 4 files changed, 105 insertions(+)

Copied: erlang/repos/community-staging-x86_64/PKGBUILD (from rev 445988, 
erlang/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-29 11:21:39 UTC (rev 445989)
@@ -0,0 +1,82 @@
+# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org>
+# Contributor: Lukas Fleischer <lfleisc...@archlinux.org>
+# Contributor: Vesa Kaihlavirta <v...@archlinux.org>
+# Contributor: Sarah Hay <sarah...@mb.sympatico.ca>
+# Contributor: Tom Burdick <thomas.burd...@wrightwoodtech.com>
+# Contributor: Ricardo Catalinas Jiménez <jimenezr...@gmail.com>
+
+pkgbase=erlang
+pkgname=(erlang erlang-unixodbc)
+pkgver=21.3.2
+pkgrel=2
+_docver=21.3
+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";
+        "$url/download/otp_doc_man_$_docver.tar.gz"
+        epmd.conf epmd.service epmd.socket)
+sha256sums=('SKIP'
+            'f5464b5c8368aa40c175a5908b44b6d9670dbd01ba7a1eef1b366c7dc36ba172'
+            '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2'
+            'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
+            '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34')
+
+prepare() {
+  cd otp && ./otp_build autoconf
+}
+
+build() {
+  cd otp
+  ./configure \
+    --prefix=/usr \
+    --enable-builtin-zlib \
+    --enable-smp-support \
+    --with-odbc
+  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/"
+
+  # 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 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:

Copied: erlang/repos/community-staging-x86_64/epmd.conf (from rev 445988, 
erlang/trunk/epmd.conf)
===================================================================
--- community-staging-x86_64/epmd.conf                          (rev 0)
+++ community-staging-x86_64/epmd.conf  2019-03-29 11:21:39 UTC (rev 445989)
@@ -0,0 +1,3 @@
+#ERL_EPMD_ADDRESS=
+#ERL_EPMD_PORT=4369
+#ERL_EPMD_RELAXED_COMMAND_CHECK=

Copied: erlang/repos/community-staging-x86_64/epmd.service (from rev 445988, 
erlang/trunk/epmd.service)
===================================================================
--- community-staging-x86_64/epmd.service                               (rev 0)
+++ community-staging-x86_64/epmd.service       2019-03-29 11:21:39 UTC (rev 
445989)
@@ -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/repos/community-staging-x86_64/epmd.socket (from rev 445988, 
erlang/trunk/epmd.socket)
===================================================================
--- community-staging-x86_64/epmd.socket                                (rev 0)
+++ community-staging-x86_64/epmd.socket        2019-03-29 11:21:39 UTC (rev 
445989)
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=epmd.service
+
+[Socket]
+ListenStream=4369
+Accept=no
+
+[Install]
+WantedBy=sockets.target

Reply via email to