Index: head/MOVED =================================================================== --- head/MOVED +++ head/MOVED @@ -8803,3 +8803,4 @@ textproc/erlang-p1xml|textproc/erlang-fast_xml|2016-11-08|Project was renamed devel/py-pydasm|devel/py-capstone|2016-11-11|Has expired: No more upstream and known bugs, use devel/py-capstone instead devel/libdasm|devel/capstone3|2016-11-11|Has expired: No more upstream and known bugs, use devel/capstone3 instead +security/erlang-p1tls|security/erlang-fast_tls|2016-11-11|Project was renamed Index: head/security/erlang-fast_tls/Makefile =================================================================== --- head/security/erlang-fast_tls/Makefile +++ head/security/erlang-fast_tls/Makefile @@ -0,0 +1,30 @@ +# Created by: Babak Farrokhi +# $FreeBSD$ + +PORTNAME= fast_tls +PORTVERSION= 1.0.7 +CATEGORIES= security +PKGNAMEPREFIX= erlang- + +MAINTAINER= farrokhi@FreeBSD.org +COMMENT= TLS / SSL OpenSSL-based native driver for Erlang / Elixir + +LICENSE= APACHE20 + +USES= erlang:rebar ssl +USE_GITHUB= yes +GH_ACCOUNT= processone + +ERL_BUILD_DEPS= textproc/erlang-p1_utils +ERL_RUN_DEPS:= ${ERL_BUILD_DEPS} +USE_LDCONFIG= yes +GNU_CONFIGURE= yes + +CPPFLAGS+= -I${OPENSSLINC} +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/*.so + +.include Index: head/security/erlang-fast_tls/distinfo =================================================================== --- head/security/erlang-fast_tls/distinfo +++ head/security/erlang-fast_tls/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1478609437 +SHA256 (processone-fast_tls-1.0.7_GH0.tar.gz) = 35da558d86aec4abe571740f5f229cd03dbb3abffaf16991fe88304a3a5f72e2 +SIZE (processone-fast_tls-1.0.7_GH0.tar.gz) = 58069 Index: head/security/erlang-fast_tls/files/patch-rebar.config =================================================================== --- head/security/erlang-fast_tls/files/patch-rebar.config +++ head/security/erlang-fast_tls/files/patch-rebar.config @@ -0,0 +1,11 @@ +--- rebar.config.orig 2016-11-08 13:08:47 UTC ++++ rebar.config +@@ -27,7 +27,7 @@ + {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.5"}}}]}. ++{deps, []}. + + {clean_files, ["c_src/fast_tls_drv.gcda", "c_src/fast_tls_drv.gcno", + "c_src/fast_sha.gcda", "c_src/fast_sha.gcno"]}. Index: head/security/erlang-fast_tls/pkg-descr =================================================================== --- head/security/erlang-fast_tls/pkg-descr +++ head/security/erlang-fast_tls/pkg-descr @@ -0,0 +1,5 @@ +Fast TSL 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. + +WWW: https://github.com/processone/fast_tls/ Index: head/security/erlang-fast_tls/pkg-plist =================================================================== --- head/security/erlang-fast_tls/pkg-plist +++ head/security/erlang-fast_tls/pkg-plist @@ -0,0 +1,13 @@ +lib/erlang/lib/fast_tls-%%VERSION%%/ebin/fast_tls.app +lib/erlang/lib/fast_tls-%%VERSION%%/ebin/fast_tls.beam +lib/erlang/lib/fast_tls-%%VERSION%%/ebin/fast_tls_app.beam +lib/erlang/lib/fast_tls-%%VERSION%%/ebin/fast_tls_sup.beam +lib/erlang/lib/fast_tls-%%VERSION%%/ebin/p1_sha.beam +lib/erlang/lib/fast_tls-%%VERSION%%/priv/lib/fast_tls_drv.so +lib/erlang/lib/fast_tls-%%VERSION%%/priv/lib/p1_sha.so +lib/erlang/lib/fast_tls-%%VERSION%%/src/fast_tls.app.src +lib/erlang/lib/fast_tls-%%VERSION%%/src/fast_tls.erl +lib/erlang/lib/fast_tls-%%VERSION%%/src/fast_tls_app.erl +lib/erlang/lib/fast_tls-%%VERSION%%/src/fast_tls_sup.erl +lib/erlang/lib/fast_tls-%%VERSION%%/src/p1_sha.erl +%%PORTDOCS%%%%DOCSDIR%%/README.md Index: head/security/erlang-p1tls/Makefile =================================================================== --- head/security/erlang-p1tls/Makefile +++ head/security/erlang-p1tls/Makefile @@ -1,30 +0,0 @@ -# Created by: Babak Farrokhi -# $FreeBSD$ - -PORTNAME= p1tls -PORTVERSION= 0.20150803 -CATEGORIES= security -PKGNAMEPREFIX= erlang- - -MAINTAINER= farrokhi@FreeBSD.org -COMMENT= TLS / SSL native driver for Erlang - -LICENSE= GPLv2 - -USES= erlang:rebar ssl -USE_GITHUB= yes -GH_ACCOUNT= processone -GH_PROJECT= tls -GH_TAGNAME= e56321a - -USE_LDCONFIG= yes -GNU_CONFIGURE= yes - -CPPFLAGS+= -I${OPENSSLINC} -CFLAGS+= -I${OPENSSLINC} -LDFLAGS+= -L${OPENSSLLIB} - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/*.so - -.include Index: head/security/erlang-p1tls/distinfo =================================================================== --- head/security/erlang-p1tls/distinfo +++ head/security/erlang-p1tls/distinfo @@ -1,2 +0,0 @@ -SHA256 (processone-tls-0.20150803-e56321a_GH0.tar.gz) = 24a06ad73f271fac10ca57645c00539aa7a3f69fa9e9eab85463104d2318007a -SIZE (processone-tls-0.20150803-e56321a_GH0.tar.gz) = 60667 Index: head/security/erlang-p1tls/files/patch-rebar.config.script =================================================================== --- head/security/erlang-p1tls/files/patch-rebar.config.script +++ head/security/erlang-p1tls/files/patch-rebar.config.script @@ -1,11 +0,0 @@ ---- rebar.config.script.orig 2015-09-08 13:20:15 UTC -+++ rebar.config.script -@@ -10,7 +10,7 @@ Cfg = case file:consult("vars.config") o - {ldflags, CfgLDFlags} = lists:keyfind(ldflags, 1, Cfg), - - [{erl_opts, [debug_info]}, -- {port_env, [{"CFLAGS", "$CFLAGS " ++ CfgCFlags ++ " -O2 -Wall"}, -+ {port_env, [{"CFLAGS", "$CFLAGS " ++ CfgCFlags}, - {"LDFLAGS", "$LDFLAGS " ++ CfgLDFlags ++ " -lssl -lcrypto"}]}, - {port_specs, [{"priv/lib/p1_tls_drv.so", ["c_src/p1_tls_drv.c"]}, - {"priv/lib/p1_sha.so", ["c_src/p1_sha.c"]}]}]. Index: head/security/erlang-p1tls/pkg-descr =================================================================== --- head/security/erlang-p1tls/pkg-descr +++ head/security/erlang-p1tls/pkg-descr @@ -1,3 +0,0 @@ -TLS / SSL native driver for Erlang from ProcessOne - -WWW: https://github.com/processone/tls Index: head/security/erlang-p1tls/pkg-plist =================================================================== --- head/security/erlang-p1tls/pkg-plist +++ head/security/erlang-p1tls/pkg-plist @@ -1,13 +0,0 @@ -lib/erlang/lib/p1tls-%%VERSION%%/ebin/p1_sha.beam -lib/erlang/lib/p1tls-%%VERSION%%/ebin/p1_tls.app -lib/erlang/lib/p1tls-%%VERSION%%/ebin/p1_tls.beam -lib/erlang/lib/p1tls-%%VERSION%%/ebin/p1_tls_app.beam -lib/erlang/lib/p1tls-%%VERSION%%/ebin/p1_tls_sup.beam -lib/erlang/lib/p1tls-%%VERSION%%/priv/lib/p1_sha.so -lib/erlang/lib/p1tls-%%VERSION%%/priv/lib/p1_tls_drv.so -lib/erlang/lib/p1tls-%%VERSION%%/src/p1_sha.erl -lib/erlang/lib/p1tls-%%VERSION%%/src/p1_tls.app.src -lib/erlang/lib/p1tls-%%VERSION%%/src/p1_tls.erl -lib/erlang/lib/p1tls-%%VERSION%%/src/p1_tls_app.erl -lib/erlang/lib/p1tls-%%VERSION%%/src/p1_tls_sup.erl -%%PORTDOCS%%%%DOCSDIR%%/README.md