Date: Tuesday, January 7, 2014 @ 23:26:45 Author: eric Revision: 103556
archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: erlang/repos/community-staging-i686/ erlang/repos/community-staging-i686/PKGBUILD (from rev 103555, erlang/trunk/PKGBUILD) erlang/repos/community-staging-i686/epmd.conf (from rev 103555, erlang/trunk/epmd.conf) erlang/repos/community-staging-i686/epmd.service (from rev 103555, erlang/trunk/epmd.service) erlang/repos/community-staging-i686/epmd.socket (from rev 103555, erlang/trunk/epmd.socket) erlang/repos/community-staging-x86_64/ erlang/repos/community-staging-x86_64/PKGBUILD (from rev 103555, erlang/trunk/PKGBUILD) erlang/repos/community-staging-x86_64/epmd.conf (from rev 103555, erlang/trunk/epmd.conf) erlang/repos/community-staging-x86_64/epmd.service (from rev 103555, erlang/trunk/epmd.service) erlang/repos/community-staging-x86_64/epmd.socket (from rev 103555, erlang/trunk/epmd.socket) ---------------------------------------+ community-staging-i686/PKGBUILD | 89 ++++++++++++++++++++++++++++++++ community-staging-i686/epmd.conf | 3 + community-staging-i686/epmd.service | 11 +++ community-staging-i686/epmd.socket | 9 +++ community-staging-x86_64/PKGBUILD | 89 ++++++++++++++++++++++++++++++++ community-staging-x86_64/epmd.conf | 3 + community-staging-x86_64/epmd.service | 11 +++ community-staging-x86_64/epmd.socket | 9 +++ 8 files changed, 224 insertions(+) Copied: erlang/repos/community-staging-i686/PKGBUILD (from rev 103555, erlang/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-01-07 22:26:45 UTC (rev 103556) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: Lukas Fleischer <archli...@cryptocrack.de> +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# 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=R16B03 +pkgrel=5 +arch=('x86_64' 'i686') +url='http://www.erlang.org/' +license=('custom') +makedepends=('perl' 'mesa' 'lksctp-tools' 'unixodbc' 'wxgtk' 'glu') +options=('staticlibs') +source=("http://www.erlang.org/download/otp_src_${pkgver/_/-}.tar.gz" + "http://www.erlang.org/download/otp_doc_man_${pkgver/_/-}.tar.gz" + 'epmd.service' + 'epmd.socket' + 'epmd.conf') +sha256sums=('6133b3410681a5c934e54c76eee1825f96dead8d6a12c31a64f6e160daf0bb06' + 'a2038d32e7c940d5d04f7338406e11b723cac0d26e82d7834596105eea492452' + 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e' + '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34' + '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2') + +build() { + cd "otp_src_${pkgver/_1/}" + + ./configure --prefix=/usr --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') + + cd "otp_src_${pkgver/_1/}" + + make DESTDIR="$pkgdir" install + + # Documentation + install -d "$pkgdir/usr/share/doc/erlang" + install -m0644 "$srcdir/otp_src_${pkgver/_1/}/README.md" \ + "$srcdir"/{README,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_src_${pkgver/_1/}/EPLICENCE" \ + "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" + + # Move over files that will be packaged as erlang-unixodbc + mkdir "$srcdir/unixodbc" + mv "$pkgdir/usr/lib/erlang/lib/odbc"* "$srcdir/unixodbc/" + mv "$pkgdir/usr/lib/erlang/man/man3/odbc.3.gz" "$srcdir" + + # 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" +} + +package_erlang-unixodbc() { + pkgdesc='Unixodbc support for Erlang' + depends=('unixodbc' 'erlang-nox') + + # Get the files that should be packaged as erlang-unixodbc + mkdir -p "$pkgdir/usr/lib/erlang/"{lib,man/man3} + mv "$srcdir/unixodbc/"* "$pkgdir/usr/lib/erlang/lib/" + mv "$srcdir/odbc.3.gz" "$pkgdir/usr/lib/erlang/man/man3/" + + # License + install -Dm0644 "$srcdir/otp_src_${pkgver/_1/}/EPLICENCE" \ + "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" +} + +# vim:set ts=2 sw=2 et: Copied: erlang/repos/community-staging-i686/epmd.conf (from rev 103555, erlang/trunk/epmd.conf) =================================================================== --- community-staging-i686/epmd.conf (rev 0) +++ community-staging-i686/epmd.conf 2014-01-07 22:26:45 UTC (rev 103556) @@ -0,0 +1,3 @@ +#ERL_EPMD_ADDRESS= +#ERL_EPMD_PORT=4369 +#ERL_EPMD_RELAXED_COMMAND_CHECK= Copied: erlang/repos/community-staging-i686/epmd.service (from rev 103555, erlang/trunk/epmd.service) =================================================================== --- community-staging-i686/epmd.service (rev 0) +++ community-staging-i686/epmd.service 2014-01-07 22:26:45 UTC (rev 103556) @@ -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-i686/epmd.socket (from rev 103555, erlang/trunk/epmd.socket) =================================================================== --- community-staging-i686/epmd.socket (rev 0) +++ community-staging-i686/epmd.socket 2014-01-07 22:26:45 UTC (rev 103556) @@ -0,0 +1,9 @@ +[Unit] +Conflicts=epmd.service + +[Socket] +ListenStream=4369 +Accept=no + +[Install] +WantedBy=sockets.target Copied: erlang/repos/community-staging-x86_64/PKGBUILD (from rev 103555, erlang/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-01-07 22:26:45 UTC (rev 103556) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: Lukas Fleischer <archli...@cryptocrack.de> +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# 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=R16B03 +pkgrel=5 +arch=('x86_64' 'i686') +url='http://www.erlang.org/' +license=('custom') +makedepends=('perl' 'mesa' 'lksctp-tools' 'unixodbc' 'wxgtk' 'glu') +options=('staticlibs') +source=("http://www.erlang.org/download/otp_src_${pkgver/_/-}.tar.gz" + "http://www.erlang.org/download/otp_doc_man_${pkgver/_/-}.tar.gz" + 'epmd.service' + 'epmd.socket' + 'epmd.conf') +sha256sums=('6133b3410681a5c934e54c76eee1825f96dead8d6a12c31a64f6e160daf0bb06' + 'a2038d32e7c940d5d04f7338406e11b723cac0d26e82d7834596105eea492452' + 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e' + '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34' + '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2') + +build() { + cd "otp_src_${pkgver/_1/}" + + ./configure --prefix=/usr --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') + + cd "otp_src_${pkgver/_1/}" + + make DESTDIR="$pkgdir" install + + # Documentation + install -d "$pkgdir/usr/share/doc/erlang" + install -m0644 "$srcdir/otp_src_${pkgver/_1/}/README.md" \ + "$srcdir"/{README,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_src_${pkgver/_1/}/EPLICENCE" \ + "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" + + # Move over files that will be packaged as erlang-unixodbc + mkdir "$srcdir/unixodbc" + mv "$pkgdir/usr/lib/erlang/lib/odbc"* "$srcdir/unixodbc/" + mv "$pkgdir/usr/lib/erlang/man/man3/odbc.3.gz" "$srcdir" + + # 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" +} + +package_erlang-unixodbc() { + pkgdesc='Unixodbc support for Erlang' + depends=('unixodbc' 'erlang-nox') + + # Get the files that should be packaged as erlang-unixodbc + mkdir -p "$pkgdir/usr/lib/erlang/"{lib,man/man3} + mv "$srcdir/unixodbc/"* "$pkgdir/usr/lib/erlang/lib/" + mv "$srcdir/odbc.3.gz" "$pkgdir/usr/lib/erlang/man/man3/" + + # License + install -Dm0644 "$srcdir/otp_src_${pkgver/_1/}/EPLICENCE" \ + "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" +} + +# vim:set ts=2 sw=2 et: Copied: erlang/repos/community-staging-x86_64/epmd.conf (from rev 103555, erlang/trunk/epmd.conf) =================================================================== --- community-staging-x86_64/epmd.conf (rev 0) +++ community-staging-x86_64/epmd.conf 2014-01-07 22:26:45 UTC (rev 103556) @@ -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 103555, erlang/trunk/epmd.service) =================================================================== --- community-staging-x86_64/epmd.service (rev 0) +++ community-staging-x86_64/epmd.service 2014-01-07 22:26:45 UTC (rev 103556) @@ -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 103555, erlang/trunk/epmd.socket) =================================================================== --- community-staging-x86_64/epmd.socket (rev 0) +++ community-staging-x86_64/epmd.socket 2014-01-07 22:26:45 UTC (rev 103556) @@ -0,0 +1,9 @@ +[Unit] +Conflicts=epmd.service + +[Socket] +ListenStream=4369 +Accept=no + +[Install] +WantedBy=sockets.target