summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2016-09-01 14:03:28 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2016-09-01 14:03:28 +0000
commitadc8a39991086c13b5fe44c01590a03cfc58e4b6 (patch)
treef0322378b06ed92fb16fd5afd3c164631aa1e6f9
parent- Add NO_BUILD (diff)
Add devel/erlang-gen_rpc, a scalable RPC library for Erlang.
Notes
Notes: svn path=/head/; revision=421220
-rw-r--r--devel/Makefile1
-rw-r--r--devel/erlang-gen_rpc/Makefile20
-rw-r--r--devel/erlang-gen_rpc/distinfo3
-rw-r--r--devel/erlang-gen_rpc/files/patch-rebar.config10
-rw-r--r--devel/erlang-gen_rpc/pkg-descr5
-rw-r--r--devel/erlang-gen_rpc/pkg-plist33
6 files changed, 72 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8ef0ad67479d..a99213b5c04d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -491,6 +491,7 @@
SUBDIR += erlang-exmpp
SUBDIR += erlang-folsom
SUBDIR += erlang-gen_leader
+ SUBDIR += erlang-gen_rpc
SUBDIR += erlang-gen_smtp
SUBDIR += erlang-getopt
SUBDIR += erlang-goldrush
diff --git a/devel/erlang-gen_rpc/Makefile b/devel/erlang-gen_rpc/Makefile
new file mode 100644
index 000000000000..bd47eed66239
--- /dev/null
+++ b/devel/erlang-gen_rpc/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= gen_rpc
+PORTVERSION= 1.0.2
+CATEGORIES= devel
+PKGNAMEPREFIX= erlang-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Scalable RPC library for Erlang
+
+LICENSE= APACHE20
+
+USES= erlang:rebar
+USE_GITHUB= yes
+GH_ACCOUNT= priestjim
+
+ERL_BUILD_DEPS= devel/erlang-lager
+ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+
+.include <bsd.port.mk>
diff --git a/devel/erlang-gen_rpc/distinfo b/devel/erlang-gen_rpc/distinfo
new file mode 100644
index 000000000000..b92d3f4b62b8
--- /dev/null
+++ b/devel/erlang-gen_rpc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1472129298
+SHA256 (priestjim-gen_rpc-1.0.2_GH0.tar.gz) = 1f54a204833379ca373ce088134fccb709597147e64337ec508362a76f68b150
+SIZE (priestjim-gen_rpc-1.0.2_GH0.tar.gz) = 36785
diff --git a/devel/erlang-gen_rpc/files/patch-rebar.config b/devel/erlang-gen_rpc/files/patch-rebar.config
new file mode 100644
index 000000000000..85dd4e2ed2f1
--- /dev/null
+++ b/devel/erlang-gen_rpc/files/patch-rebar.config
@@ -0,0 +1,10 @@
+--- rebar.config.orig 2016-08-25 12:49:21 UTC
++++ rebar.config
+@@ -37,7 +37,6 @@
+ ]}.
+
+ {deps, [
+- {lager, "~> 3.0"}
+ ]}.
+
+ {profiles, [
diff --git a/devel/erlang-gen_rpc/pkg-descr b/devel/erlang-gen_rpc/pkg-descr
new file mode 100644
index 000000000000..3f8c1dc60b72
--- /dev/null
+++ b/devel/erlang-gen_rpc/pkg-descr
@@ -0,0 +1,5 @@
+gen_rpc uses a mailbox-per-node architecture and gen_tcp processes
+to parallelize data reception from multiple nodes without blocking
+the VM's distributed port.
+
+WWW: https://github.com/priestjim/gen_rpc
diff --git a/devel/erlang-gen_rpc/pkg-plist b/devel/erlang-gen_rpc/pkg-plist
new file mode 100644
index 000000000000..78ece9b90989
--- /dev/null
+++ b/devel/erlang-gen_rpc/pkg-plist
@@ -0,0 +1,33 @@
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc.app
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_acceptor.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_acceptor_sup.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_app.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_client.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_client_sup.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_dispatcher.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_helper.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_server.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_server_sup.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_sup.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_tcp_acceptor.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_tcp_acceptor_sup.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/ebin/gen_rpc_tcp_server.beam
+lib/erlang/lib/gen_rpc-%%VERSION%%/include/app.hrl
+lib/erlang/lib/gen_rpc-%%VERSION%%/include/guards.hrl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc.app.src
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_acceptor.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_app.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_client.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_dispatcher.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_helper.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_server.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_tcp_acceptor.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/gen_rpc_tcp_server.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/supervisor/gen_rpc_acceptor_sup.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/supervisor/gen_rpc_client_sup.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/supervisor/gen_rpc_server_sup.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/supervisor/gen_rpc_sup.erl
+lib/erlang/lib/gen_rpc-%%VERSION%%/src/supervisor/gen_rpc_tcp_acceptor_sup.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md