diff options
author | fhajny <fhajny> | 2015-11-04 13:45:44 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2015-11-04 13:45:44 +0000 |
commit | 25f5db1f326f493103786f7fe2ec4a0bc369112e (patch) | |
tree | fafd632e46e4178036f90e914826c029af9b9e06 /net | |
parent | 33917b78c3291ecc26009e1de9e74b25012d5d20 (diff) | |
download | pkgsrc-25f5db1f326f493103786f7fe2ec4a0bc369112e.tar.gz |
Import 20 Erlang module packages that will work as dependencies
in the ejabberd 15.10 update that follows.
Diffstat (limited to 'net')
-rw-r--r-- | net/erlang-p1_sip/DESCR | 1 | ||||
-rw-r--r-- | net/erlang-p1_sip/Makefile | 38 | ||||
-rw-r--r-- | net/erlang-p1_sip/PLIST | 19 | ||||
-rw-r--r-- | net/erlang-p1_sip/distinfo | 7 | ||||
-rw-r--r-- | net/erlang-p1_sip/patches/patch-rebar.config | 20 | ||||
-rw-r--r-- | net/erlang-p1_stun/DESCR | 1 | ||||
-rw-r--r-- | net/erlang-p1_stun/Makefile | 33 | ||||
-rw-r--r-- | net/erlang-p1_stun/PLIST | 14 | ||||
-rw-r--r-- | net/erlang-p1_stun/distinfo | 7 | ||||
-rw-r--r-- | net/erlang-p1_stun/patches/patch-rebar.config | 15 |
10 files changed, 155 insertions, 0 deletions
diff --git a/net/erlang-p1_sip/DESCR b/net/erlang-p1_sip/DESCR new file mode 100644 index 00000000000..4dfed6fc02f --- /dev/null +++ b/net/erlang-p1_sip/DESCR @@ -0,0 +1 @@ +ProcessOne SIP server component in Erlang. diff --git a/net/erlang-p1_sip/Makefile b/net/erlang-p1_sip/Makefile new file mode 100644 index 00000000000..1cade7b176e --- /dev/null +++ b/net/erlang-p1_sip/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1 2015/11/04 13:45:45 fhajny Exp $ + +DISTNAME= p1_sip-0.20150622 +PKGNAME= erlang-${DISTNAME} +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/processone/p1_esip/ +COMMENT= ProcessOne SIP server component +LICENSE= gnu-gpl-v2 + +BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar +DEPENDS+= erlang-p1_stun-[0-9]*:../../net/erlang-p1_stun +DEPENDS+= erlang-p1_tls-[0-9]*:../../security/erlang-p1_tls +DEPENDS+= erlang-p1_utils-[0-9]*:../../misc/erlang-p1_utils + +GITHUB_PROJECT= p1_sip +GITHUB_TAG= d662d3fe7f6288b444ea321d854de0bd6d40e022 +WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG} + +SUBST_CLASSES+= path +SUBST_STAGE.path= pre-configure +SUBST_FILES.path= rebar.config +SUBST_MESSAGE.path= Fixing include path +SUBST_VARS.path= LOCALBASE + +GNU_CONFIGURE= yes +USE_TOOLS+= pax + +INSTALLATION_DIRS+= lib/erlang/lib/esip + +do-install: + cd ${WRKSRC} && ${PAX} -rw -pp ebin include priv \ + ${DESTDIR}${PREFIX}/lib/erlang/lib/esip/ + +.include "../../lang/erlang/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/erlang-p1_sip/PLIST b/net/erlang-p1_sip/PLIST new file mode 100644 index 00000000000..b79d602527b --- /dev/null +++ b/net/erlang-p1_sip/PLIST @@ -0,0 +1,19 @@ +@comment $NetBSD: PLIST,v 1.1 2015/11/04 13:45:45 fhajny Exp $ +lib/erlang/lib/esip/ebin/esip.app +lib/erlang/lib/esip/ebin/esip.beam +lib/erlang/lib/esip/ebin/esip_app.beam +lib/erlang/lib/esip/ebin/esip_client_transaction.beam +lib/erlang/lib/esip/ebin/esip_codec.beam +lib/erlang/lib/esip/ebin/esip_dialog.beam +lib/erlang/lib/esip/ebin/esip_listener.beam +lib/erlang/lib/esip/ebin/esip_server_transaction.beam +lib/erlang/lib/esip/ebin/esip_socket.beam +lib/erlang/lib/esip/ebin/esip_sup.beam +lib/erlang/lib/esip/ebin/esip_tmp_sup.beam +lib/erlang/lib/esip/ebin/esip_transaction.beam +lib/erlang/lib/esip/ebin/esip_transport.beam +lib/erlang/lib/esip/ebin/esip_udp_sup.beam +lib/erlang/lib/esip/ebin/examples/.gitignore +lib/erlang/lib/esip/include/esip.hrl +lib/erlang/lib/esip/include/esip_lib.hrl +lib/erlang/lib/esip/priv/esip_drv.so diff --git a/net/erlang-p1_sip/distinfo b/net/erlang-p1_sip/distinfo new file mode 100644 index 00000000000..973dfe464f7 --- /dev/null +++ b/net/erlang-p1_sip/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2015/11/04 13:45:45 fhajny Exp $ + +SHA1 (p1_sip-0.20150622-d662d3fe7f6288b444ea321d854de0bd6d40e022.tar.gz) = bf374eae06fea02cbbd460129003e3d10d8625bc +RMD160 (p1_sip-0.20150622-d662d3fe7f6288b444ea321d854de0bd6d40e022.tar.gz) = fae36950346938ec699db57de5b79fd97b3ce2c9 +SHA512 (p1_sip-0.20150622-d662d3fe7f6288b444ea321d854de0bd6d40e022.tar.gz) = 3ca2cdaeb221fcc1bc5c91d58c2b3e4fca10eb5ecf6c5724d2f9d4adffe53b8422065a46e57d43cad8eebcb4e229cbbc526ce8c43527473ca2aade6c5482dd55 +Size (p1_sip-0.20150622-d662d3fe7f6288b444ea321d854de0bd6d40e022.tar.gz) = 234688 bytes +SHA1 (patch-rebar.config) = d6cdd67e8a4b1f737e89b7e07d063a9e9c7869d8 diff --git a/net/erlang-p1_sip/patches/patch-rebar.config b/net/erlang-p1_sip/patches/patch-rebar.config new file mode 100644 index 00000000000..bd6c34635ee --- /dev/null +++ b/net/erlang-p1_sip/patches/patch-rebar.config @@ -0,0 +1,20 @@ +$NetBSD: patch-rebar.config,v 1.1 2015/11/04 13:45:45 fhajny Exp $ + +Deps are handled by pkgsrc. +Look up p1_stun includes properly. + +--- rebar.config.orig 2015-07-22 08:42:22.000000000 +0000 ++++ rebar.config +@@ -1,11 +1,7 @@ + {erl_opts, [{i, "include"}, +- {i, "deps/p1_stun/include"}, ++ {i, "@LOCALBASE@/lib/erlang/lib/p1_stun/include"}, + {i, "../p1_stun/include"}]}. + +-{deps, [{p1_stun, ".*", {git, "https://github.com/processone/stun"}}, +- {p1_tls, ".*", {git, "https://github.com/processone/tls"}}, +- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils"}}]}. +- + %% Local Variables: + %% mode: erlang + %% End: diff --git a/net/erlang-p1_stun/DESCR b/net/erlang-p1_stun/DESCR new file mode 100644 index 00000000000..17db5cbb742 --- /dev/null +++ b/net/erlang-p1_stun/DESCR @@ -0,0 +1 @@ +Erlang STUN implementation for ejabberd. diff --git a/net/erlang-p1_stun/Makefile b/net/erlang-p1_stun/Makefile new file mode 100644 index 00000000000..28ee0749335 --- /dev/null +++ b/net/erlang-p1_stun/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2015/11/04 13:45:45 fhajny Exp $ + +DISTNAME= p1_stun-0.20150916 +PKGNAME= erlang-${DISTNAME} +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/processone/stun/ +COMMENT= STUN for ejabberd +LICENSE= gnu-gpl-v2 + +BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar +DEPENDS+= erlang-p1_tls-[0-9]*:../../security/erlang-p1_tls +DEPENDS+= erlang-p1_utils-[0-9]*:../../misc/erlang-p1_utils + +GITHUB_PROJECT= stun +GITHUB_TAG= 061bdae484268cbf0457ad4797e74b8516df3ad1 +WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG} + +NO_CONFIGURE= yes +USE_TOOLS+= pax + +BUILD_TARGET= src + +INSTALLATION_DIRS+= lib/erlang/lib/p1_stun + +do-install: + cd ${WRKSRC} && ${PAX} -rw -pp ebin include \ + ${DESTDIR}${PREFIX}/lib/erlang/lib/p1_stun/ + +.include "../../lang/erlang/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/erlang-p1_stun/PLIST b/net/erlang-p1_stun/PLIST new file mode 100644 index 00000000000..64319a73414 --- /dev/null +++ b/net/erlang-p1_stun/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1 2015/11/04 13:45:45 fhajny Exp $ +lib/erlang/lib/p1_stun/ebin/p1_stun.app +lib/erlang/lib/p1_stun/ebin/stun.beam +lib/erlang/lib/p1_stun/ebin/stun_app.beam +lib/erlang/lib/p1_stun/ebin/stun_codec.beam +lib/erlang/lib/p1_stun/ebin/stun_listener.beam +lib/erlang/lib/p1_stun/ebin/stun_shaper.beam +lib/erlang/lib/p1_stun/ebin/stun_sup.beam +lib/erlang/lib/p1_stun/ebin/stun_test.beam +lib/erlang/lib/p1_stun/ebin/stun_tmp_sup.beam +lib/erlang/lib/p1_stun/ebin/turn.beam +lib/erlang/lib/p1_stun/ebin/turn_sm.beam +lib/erlang/lib/p1_stun/ebin/turn_tmp_sup.beam +lib/erlang/lib/p1_stun/include/stun.hrl diff --git a/net/erlang-p1_stun/distinfo b/net/erlang-p1_stun/distinfo new file mode 100644 index 00000000000..836bef03fe7 --- /dev/null +++ b/net/erlang-p1_stun/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2015/11/04 13:45:45 fhajny Exp $ + +SHA1 (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = 13465e3f206a5b43856a80f63f299fd9ba82f27c +RMD160 (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = 681ee4fa4c716730c667aa8be9ce7ccfadd527fc +SHA512 (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = b0fb6d02ef872a7bd3128416e23e44ab6e67f10b8d3ece50d220021f85b9ca0ac5b9d47e05e9943bef4e9ca9d4455526ede0ffc82edfd1a571f08a7a6634dffa +Size (p1_stun-0.20150916-061bdae484268cbf0457ad4797e74b8516df3ad1.tar.gz) = 28085 bytes +SHA1 (patch-rebar.config) = e71502fe60caa9e2da9e236f40f8af4f570e2d32 diff --git a/net/erlang-p1_stun/patches/patch-rebar.config b/net/erlang-p1_stun/patches/patch-rebar.config new file mode 100644 index 00000000000..820ad6e06be --- /dev/null +++ b/net/erlang-p1_stun/patches/patch-rebar.config @@ -0,0 +1,15 @@ +$NetBSD: patch-rebar.config,v 1.1 2015/11/04 13:45:45 fhajny Exp $ + +Deps are handled by pkgsrc. + +--- rebar.config.orig 2015-09-16 15:23:03.000000000 +0000 ++++ rebar.config +@@ -1,8 +1,5 @@ + {erl_opts, [debug_info, {i, "include"}]}. + +-{deps, [{p1_tls, ".*", {git, "https://github.com/processone/tls"}}, +- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils"}}]}. +- + %% Local Variables: + %% mode: erlang + %% End: |