pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/erlang-xmpp Import erlang-xmpp-1.1.14 as net/erlan...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b454e2f6a951
branches:  trunk
changeset: 356698:b454e2f6a951
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jan 03 18:35:54 2017 +0000

description:
Import erlang-xmpp-1.1.14 as net/erlang-xmpp.

Fast Expat based Erlang XML parsing and manipulation library, with
a strong focus on XML stream parsing from network.

diffstat:

 net/erlang-xmpp/DESCR                      |   2 +
 net/erlang-xmpp/Makefile                   |  30 ++++++++++++++++++++++++++
 net/erlang-xmpp/PLIST                      |  34 ++++++++++++++++++++++++++++++
 net/erlang-xmpp/distinfo                   |   7 ++++++
 net/erlang-xmpp/patches/patch-rebar.config |  19 ++++++++++++++++
 5 files changed, 92 insertions(+), 0 deletions(-)

diffs (112 lines):

diff -r 78eebc647073 -r b454e2f6a951 net/erlang-xmpp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/erlang-xmpp/DESCR     Tue Jan 03 18:35:54 2017 +0000
@@ -0,0 +1,2 @@
+Fast Expat based Erlang XML parsing and manipulation library, with
+a strong focus on XML stream parsing from network.
diff -r 78eebc647073 -r b454e2f6a951 net/erlang-xmpp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/erlang-xmpp/Makefile  Tue Jan 03 18:35:54 2017 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2017/01/03 18:35:54 fhajny Exp $
+
+DISTNAME=      xmpp-1.1.4
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=processone/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://github.com/processone/xmpp/
+COMMENT=       XMPP parsing and serialization library on top of Fast XML
+LICENSE=       apache-2.0
+
+DEPENDS+=      erlang-fast_xml>=1.1.18:../../textproc/erlang-fast_xml
+DEPENDS+=      erlang-stringprep>=1.0.7:../../textproc/erlang-stringprep
+
+GITHUB_PROJECT=        xmpp
+
+BUILD_TARGET=  src
+
+SUBST_CLASSES+=                path
+SUBST_STAGE.path=      pre-configure
+SUBST_FILES.path=      rebar.config
+SUBST_MESSAGE.path=    Fixing include path
+SUBST_VARS.path=       LOCALBASE
+
+# Leave a non-versioned symlink in place for net/erlang-esip to find
+post-install:
+       ${LN} -sf ${DISTNAME} ${DESTDIR}${PREFIX}/lib/erlang/lib/xmpp
+
+.include "../../lang/erlang/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 78eebc647073 -r b454e2f6a951 net/erlang-xmpp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/erlang-xmpp/PLIST     Tue Jan 03 18:35:54 2017 +0000
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/03 18:35:54 fhajny Exp $
+lib/erlang/lib/xmpp
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/flex_offline.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/jid.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/mam_query.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_register.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_request.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_roomconfig.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_roominfo.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_get_pending.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_node_config.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_publish_options.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_subscribe_authorization.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_subscribe_options.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xdata_codec.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp.app
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp_codec.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp_util.beam
+lib/erlang/lib/xmpp-${PKGVERSION}/include/flex_offline.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/jid.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/mam_query.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_register.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_request.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_roomconfig.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_roominfo.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/ns.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_get_pending.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_node_config.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_publish_options.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_subscribe_authorization.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_subscribe_options.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/xmpp.hrl
+lib/erlang/lib/xmpp-${PKGVERSION}/include/xmpp_codec.hrl
diff -r 78eebc647073 -r b454e2f6a951 net/erlang-xmpp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/erlang-xmpp/distinfo  Tue Jan 03 18:35:54 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/01/03 18:35:54 fhajny Exp $
+
+SHA1 (xmpp-1.1.4.tar.gz) = d2c791766d09819ba54c2980f9317fdf01644302
+RMD160 (xmpp-1.1.4.tar.gz) = 03671fd8e1d7913b028838a5e5f26fd6d29100d5
+SHA512 (xmpp-1.1.4.tar.gz) = 430be850f500a76d9a34447f1e6169d0a4e8611bfb57109e5392844e7d681a54b18ec03c4b7bc0182284944328303ec3264fdb66eef965e610555692e0a2ddee
+Size (xmpp-1.1.4.tar.gz) = 344660 bytes
+SHA1 (patch-rebar.config) = 1d03a7f56107d057bf15a5981b041b334565ef80
diff -r 78eebc647073 -r b454e2f6a951 net/erlang-xmpp/patches/patch-rebar.config
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/erlang-xmpp/patches/patch-rebar.config        Tue Jan 03 18:35:54 2017 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-rebar.config,v 1.1 2017/01/03 18:35:54 fhajny Exp $
+
+Deps are handled by pkgsrc.
+Look up fast_xml includes properly.
+
+--- rebar.config.orig  2016-12-06 16:30:13.000000000 +0000
++++ rebar.config
+@@ -22,10 +22,7 @@
+ {erl_opts, [debug_info, {src_dirs, ["src"]},
+           {i, "include"},
+           {i, "../fast_xml/include"},
+-          {i, "deps/fast_xml/include"}]}.
+-
+-{deps, [{fast_xml, ".*", {git, "https://github.com/processone/fast_xml";, {tag, "1.1.18"}}},
+-      {stringprep, ".*", {git, "https://github.com/processone/stringprep";, {tag, "1.0.7"}}}]}.
++          {i, "@LOCALBASE@/lib/erlang/lib/fast_xml/include"}]}.
+ 
+ {cover_enabled, true}.
+ {cover_export_enabled, true}.



Home | Main Index | Thread Index | Old Index