[arch-commits] Commit in erlang/repos/community-x86_64 (8 files)

Alexander Rødseth arodseth at archlinux.org
Mon Dec 21 14:23:29 UTC 2020


    Date: Monday, December 21, 2020 @ 14:23:29
  Author: arodseth
Revision: 781108

archrelease: copy trunk to community-x86_64

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

--------------+
 PKGBUILD     |  174 ++++++++++++++++++++++++++++++---------------------------
 epmd.conf    |    6 -
 epmd.service |   22 +++----
 epmd.socket  |   18 ++---
 4 files changed, 115 insertions(+), 105 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-21 14:23:22 UTC (rev 781107)
+++ PKGBUILD	2020-12-21 14:23:29 UTC (rev 781108)
@@ -1,82 +0,0 @@
-# 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=23.2
-pkgrel=1
-_docver=23.2
-arch=(x86_64)
-url='https://www.erlang.org'
-license=(Apache)
-makedepends=(fop git glu java-environment libxslt lksctp-tools
-             mesa perl unixodbc wxgtk3)
-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'
-            '5650e5f24d321d38622a981da103a2006cbf17eabbf2d8de645b00870ccf0067'
-            '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=(glu ncurses openssl wxgtk)
-  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=(erlang-nox unixodbc)
-
-  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

Copied: erlang/repos/community-x86_64/PKGBUILD (from rev 781107, erlang/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-21 14:23:29 UTC (rev 781108)
@@ -0,0 +1,92 @@
+# 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=23.2
+pkgrel=1
+_docver=23.2
+arch=(x86_64)
+url='https://www.erlang.org'
+license=(Apache)
+makedepends=(fop git glu java-environment libxslt lksctp-tools
+             mesa perl unixodbc wxgtk3)
+options=(staticlibs)
+source=("git+https://github.com/erlang/otp.git#tag=OTP-$pkgver"
+        "$url/download/otp_doc_man_$_docver.tar.gz"
+        "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-lang/erlang/files/18.2.1-wx3.0.patch"
+        epmd.conf epmd.service epmd.socket)
+sha256sums=('SKIP'
+            '5650e5f24d321d38622a981da103a2006cbf17eabbf2d8de645b00870ccf0067'
+            'b0e1d2ed833feb0f308060c2a451fcd58fceb68c9c63432fab38ae4cd0264ee2'
+            '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2'
+            'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
+            '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34')
+
+prepare() {
+  mkdir -p bin
+  ln -s /usr/bin/wx-config bin/wx-config
+  cd otp
+  patch -p1 -i ../18.2.1-wx3.0.patch
+  export PATH="$srcdir/bin:$PATH"
+  ./otp_build autoconf
+}
+
+build() {
+  cd otp
+  export PATH="$srcdir/bin:$PATH"
+  ./configure \
+    --prefix=/usr \
+    --enable-builtin-zlib \
+    --enable-smp-support \
+    --with-odbc \
+    --with-wx-config=/usr/bin/wx-config-gtk3 \
+    --with-wxdir=/dev/null
+  make
+}
+
+package_erlang() {
+  pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
+  depends=(glu ncurses openssl wxgtk)
+  optdepends=('erlang-unixodbc: database support'
+              'java-environment: for Java support'
+              'lksctp-tools: for SCTP support')
+  provides=(erlang-nox)
+  conflicts=(erlang-nox)
+
+  export PATH="$srcdir/bin:$PATH"
+  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=(erlang-nox unixodbc)
+
+  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

Deleted: epmd.conf
===================================================================
--- epmd.conf	2020-12-21 14:23:22 UTC (rev 781107)
+++ epmd.conf	2020-12-21 14:23:29 UTC (rev 781108)
@@ -1,3 +0,0 @@
-#ERL_EPMD_ADDRESS=
-#ERL_EPMD_PORT=4369
-#ERL_EPMD_RELAXED_COMMAND_CHECK=

Copied: erlang/repos/community-x86_64/epmd.conf (from rev 781107, erlang/trunk/epmd.conf)
===================================================================
--- epmd.conf	                        (rev 0)
+++ epmd.conf	2020-12-21 14:23:29 UTC (rev 781108)
@@ -0,0 +1,3 @@
+#ERL_EPMD_ADDRESS=
+#ERL_EPMD_PORT=4369
+#ERL_EPMD_RELAXED_COMMAND_CHECK=

Deleted: epmd.service
===================================================================
--- epmd.service	2020-12-21 14:23:22 UTC (rev 781107)
+++ epmd.service	2020-12-21 14:23:29 UTC (rev 781108)
@@ -1,11 +0,0 @@
-[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-x86_64/epmd.service (from rev 781107, erlang/trunk/epmd.service)
===================================================================
--- epmd.service	                        (rev 0)
+++ epmd.service	2020-12-21 14:23:29 UTC (rev 781108)
@@ -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

Deleted: epmd.socket
===================================================================
--- epmd.socket	2020-12-21 14:23:22 UTC (rev 781107)
+++ epmd.socket	2020-12-21 14:23:29 UTC (rev 781108)
@@ -1,9 +0,0 @@
-[Unit]
-Conflicts=epmd.service
-
-[Socket]
-ListenStream=4369
-Accept=no
-
-[Install]
-WantedBy=sockets.target

Copied: erlang/repos/community-x86_64/epmd.socket (from rev 781107, erlang/trunk/epmd.socket)
===================================================================
--- epmd.socket	                        (rev 0)
+++ epmd.socket	2020-12-21 14:23:29 UTC (rev 781108)
@@ -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