aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfarrokhi <farrokhi@FreeBSD.org>2016-11-12 13:48:55 +0800
committerfarrokhi <farrokhi@FreeBSD.org>2016-11-12 13:48:55 +0800
commitb0b652c9edd1a106bd556e5fdbad3b924bb43dc3 (patch)
tree9111bb9375966431ac2889217a7f221dd14e4116
parent43f8aee14e1ca215584556a3d5e90502abbb97a5 (diff)
downloadfreebsd-ports-graphics-b0b652c9edd1a106bd556e5fdbad3b924bb43dc3.tar.gz
freebsd-ports-graphics-b0b652c9edd1a106bd556e5fdbad3b924bb43dc3.tar.zst
freebsd-ports-graphics-b0b652c9edd1a106bd556e5fdbad3b924bb43dc3.zip
Move security/erlang-p1tls to security/erlang-fast_tls
Reviewed by: mat, bapt Approved by: bapt Differential Revision: https://reviews.freebsd.org/D8472
-rw-r--r--MOVED1
-rw-r--r--security/erlang-fast_tls/Makefile (renamed from security/erlang-p1tls/Makefile)12
-rw-r--r--security/erlang-fast_tls/distinfo3
-rw-r--r--security/erlang-fast_tls/files/patch-rebar.config11
-rw-r--r--security/erlang-fast_tls/pkg-descr5
-rw-r--r--security/erlang-fast_tls/pkg-plist13
-rw-r--r--security/erlang-p1tls/distinfo2
-rw-r--r--security/erlang-p1tls/files/patch-rebar.config.script11
-rw-r--r--security/erlang-p1tls/pkg-descr3
-rw-r--r--security/erlang-p1tls/pkg-plist13
10 files changed, 39 insertions, 35 deletions
diff --git a/MOVED b/MOVED
index 5459f4b3ce4..acc07449631 100644
--- a/MOVED
+++ b/MOVED
@@ -8803,3 +8803,4 @@ cad/py-gdsii|cad/python-gdsii|2016-11-10|Renamed
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
diff --git a/security/erlang-p1tls/Makefile b/security/erlang-fast_tls/Makefile
index f1e4806f930..adf5091909d 100644
--- a/security/erlang-p1tls/Makefile
+++ b/security/erlang-fast_tls/Makefile
@@ -1,22 +1,22 @@
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
# $FreeBSD$
-PORTNAME= p1tls
-PORTVERSION= 0.20150803
+PORTNAME= fast_tls
+PORTVERSION= 1.0.7
CATEGORIES= security
PKGNAMEPREFIX= erlang-
MAINTAINER= farrokhi@FreeBSD.org
-COMMENT= TLS / SSL native driver for Erlang
+COMMENT= TLS / SSL OpenSSL-based native driver for Erlang / Elixir
-LICENSE= GPLv2
+LICENSE= APACHE20
USES= erlang:rebar ssl
USE_GITHUB= yes
GH_ACCOUNT= processone
-GH_PROJECT= tls
-GH_TAGNAME= e56321a
+ERL_BUILD_DEPS= textproc/erlang-p1_utils
+ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/security/erlang-fast_tls/distinfo b/security/erlang-fast_tls/distinfo
new file mode 100644
index 00000000000..6d5fd91a346
--- /dev/null
+++ b/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
diff --git a/security/erlang-fast_tls/files/patch-rebar.config b/security/erlang-fast_tls/files/patch-rebar.config
new file mode 100644
index 00000000000..49623e1193e
--- /dev/null
+++ b/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"]}.
diff --git a/security/erlang-fast_tls/pkg-descr b/security/erlang-fast_tls/pkg-descr
new file mode 100644
index 00000000000..fec7a4b1c84
--- /dev/null
+++ b/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/
diff --git a/security/erlang-fast_tls/pkg-plist b/security/erlang-fast_tls/pkg-plist
new file mode 100644
index 00000000000..035943348c4
--- /dev/null
+++ b/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
diff --git a/security/erlang-p1tls/distinfo b/security/erlang-p1tls/distinfo
deleted file mode 100644
index 1c49a840a3d..00000000000
--- a/security/erlang-p1tls/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (processone-tls-0.20150803-e56321a_GH0.tar.gz) = 24a06ad73f271fac10ca57645c00539aa7a3f69fa9e9eab85463104d2318007a
-SIZE (processone-tls-0.20150803-e56321a_GH0.tar.gz) = 60667
diff --git a/security/erlang-p1tls/files/patch-rebar.config.script b/security/erlang-p1tls/files/patch-rebar.config.script
deleted file mode 100644
index 1e25c35c22b..00000000000
--- a/security/erlang-p1tls/files/patch-rebar.config.script
+++ /dev/null
@@ -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"]}]}].
diff --git a/security/erlang-p1tls/pkg-descr b/security/erlang-p1tls/pkg-descr
deleted file mode 100644
index 2f7f99d1d50..00000000000
--- a/security/erlang-p1tls/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-TLS / SSL native driver for Erlang from ProcessOne
-
-WWW: https://github.com/processone/tls
diff --git a/security/erlang-p1tls/pkg-plist b/security/erlang-p1tls/pkg-plist
deleted file mode 100644
index 08c8f71a155..00000000000
--- a/security/erlang-p1tls/pkg-plist
+++ /dev/null
@@ -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