Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162428638
D3599.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D3599.id.diff
View Options
Index: head/security/Makefile
===================================================================
--- head/security/Makefile
+++ head/security/Makefile
@@ -113,6 +113,7 @@
SUBDIR += easypg
SUBDIR += elixir-comeonin
SUBDIR += engine_pkcs11
+ SUBDIR += erlang-p1tls
SUBDIR += expiretable
SUBDIR += f-prot
SUBDIR += fakebo
Index: head/security/erlang-p1tls/Makefile
===================================================================
--- head/security/erlang-p1tls/Makefile
+++ head/security/erlang-p1tls/Makefile
@@ -0,0 +1,27 @@
+# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= p1tls
+PORTVERSION= 0.20150803
+CATEGORIES= security
+PKGNAMEPREFIX= erlang-
+
+MAINTAINER= farrokhi@FreeBSD.org
+COMMENT= TLS / SSL native driver for Erlang
+
+LICENSE= GPLv2
+
+USE_OPENSSL= yes
+USES= erlang:rebar
+USE_GITHUB= yes
+GH_ACCOUNT= processone
+GH_PROJECT= tls
+GH_TAGNAME= e56321a
+
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/*.so
+
+.include <bsd.port.mk>
Index: head/security/erlang-p1tls/distinfo
===================================================================
--- head/security/erlang-p1tls/distinfo
+++ head/security/erlang-p1tls/distinfo
@@ -0,0 +1,2 @@
+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
@@ -0,0 +1,11 @@
+--- 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
@@ -0,0 +1,3 @@
+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
@@ -0,0 +1,13 @@
+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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 14, 4:16 AM (17 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35056672
Default Alt Text
D3599.id.diff (3 KB)
Attached To
Mode
D3599: new port: security/erlang-p1tls: TLS / SSL native driver for Erlang
Attached
Detach File
Event Timeline
Log In to Comment