summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/erlang-fast_tls/DESCR3
-rw-r--r--security/erlang-fast_tls/Makefile20
-rw-r--r--security/erlang-fast_tls/PLIST8
-rw-r--r--security/erlang-fast_tls/distinfo7
-rw-r--r--security/erlang-fast_tls/patches/patch-rebar.config15
5 files changed, 53 insertions, 0 deletions
diff --git a/security/erlang-fast_tls/DESCR b/security/erlang-fast_tls/DESCR
new file mode 100644
index 00000000000..eb03da74d68
--- /dev/null
+++ b/security/erlang-fast_tls/DESCR
@@ -0,0 +1,3 @@
+Fast TLS is a native TLS / SSL driver for Erlang / Elixir. It is
+based on OpenSSL, a proven and efficient TLS implementation. It
+is designed for efficiency, speed and compliance.
diff --git a/security/erlang-fast_tls/Makefile b/security/erlang-fast_tls/Makefile
new file mode 100644
index 00000000000..2be4c818608
--- /dev/null
+++ b/security/erlang-fast_tls/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2016/04/25 14:28:42 fhajny Exp $
+
+DISTNAME= fast_tls-1.0.1
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/processone/tls/
+COMMENT= TLS / SSL OpenSSL-based native driver for Erlang / Elixir
+LICENSE= apache-2.0
+
+GITHUB_PROJECT= fast_tls
+
+DEPENDS+= erlang-p1_utils>=1.0.3:../../misc/erlang-p1_utils
+
+GNU_CONFIGURE= yes
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../lang/erlang/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/erlang-fast_tls/PLIST b/security/erlang-fast_tls/PLIST
new file mode 100644
index 00000000000..1de03ad143b
--- /dev/null
+++ b/security/erlang-fast_tls/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2016/04/25 14:28:42 fhajny Exp $
+lib/erlang/lib/fast_tls-${PKGVERSION}/ebin/fast_tls.app
+lib/erlang/lib/fast_tls-${PKGVERSION}/ebin/fast_tls.beam
+lib/erlang/lib/fast_tls-${PKGVERSION}/ebin/fast_tls_app.beam
+lib/erlang/lib/fast_tls-${PKGVERSION}/ebin/fast_tls_sup.beam
+lib/erlang/lib/fast_tls-${PKGVERSION}/ebin/p1_sha.beam
+lib/erlang/lib/fast_tls-${PKGVERSION}/priv/lib/fast_tls_drv.so
+lib/erlang/lib/fast_tls-${PKGVERSION}/priv/lib/p1_sha.so
diff --git a/security/erlang-fast_tls/distinfo b/security/erlang-fast_tls/distinfo
new file mode 100644
index 00000000000..081019bb126
--- /dev/null
+++ b/security/erlang-fast_tls/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/04/25 14:28:42 fhajny Exp $
+
+SHA1 (fast_tls-1.0.1.tar.gz) = c4aaf5a3143683917491077fa5a5954373ac2890
+RMD160 (fast_tls-1.0.1.tar.gz) = e96fe389b4ea2787382bbe39c43441886fdd211c
+SHA512 (fast_tls-1.0.1.tar.gz) = 0a3dfe50992ba378b768a518ce9334b9f216d5ac8a58217b3cda605c7f530c327fcb5a2b637c61b8c5e857c545970788fc876e8c15b861111e159c94df71640f
+Size (fast_tls-1.0.1.tar.gz) = 57009 bytes
+SHA1 (patch-rebar.config) = f42cb6dadadbc0d48131acc687340c3f43ee3b1a
diff --git a/security/erlang-fast_tls/patches/patch-rebar.config b/security/erlang-fast_tls/patches/patch-rebar.config
new file mode 100644
index 00000000000..c9222a47a95
--- /dev/null
+++ b/security/erlang-fast_tls/patches/patch-rebar.config
@@ -0,0 +1,15 @@
+$NetBSD: patch-rebar.config,v 1.1 2016/04/25 14:28:42 fhajny Exp $
+
+Deps are handled by pkgsrc.
+
+--- rebar.config.orig 2016-02-03 11:03:30.000000000 +0000
++++ rebar.config
+@@ -27,8 +27,6 @@
+ {port_specs, [{"priv/lib/fast_tls_drv.so", ["c_src/fast_tls_drv.c"]},
+ {"priv/lib/p1_sha.so", ["c_src/p1_sha.c"]}]}.
+
+-{deps, [{p1_utils, ".*", {git, "git://github.com/processone/p1_utils", {tag, "1.0.3"}}}]}.
+-
+ {clean_files, ["c_src/fast_tls_drv.gcda", "c_src/fast_tls_drv.gcno",
+ "c_src/fast_sha.gcda", "c_src/fast_sha.gcno"]}.
+