aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-09-29 21:30:49 +0800
committervanilla <vanilla@FreeBSD.org>2015-09-29 21:30:49 +0800
commit2657a050dd4da88ada0c7060d75b6989ae3d51b9 (patch)
treed052cfd3a31de5029f2659d29bc7a36613848ab5 /security
parent44c08e8cb8f6b69ec0cd35fb96122879ecc072f7 (diff)
downloadfreebsd-ports-gnome-2657a050dd4da88ada0c7060d75b6989ae3d51b9.tar.gz
freebsd-ports-gnome-2657a050dd4da88ada0c7060d75b6989ae3d51b9.tar.zst
freebsd-ports-gnome-2657a050dd4da88ada0c7060d75b6989ae3d51b9.zip
Add elixir-jose.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/elixir-jose/Makefile23
-rw-r--r--security/elixir-jose/distinfo2
-rw-r--r--security/elixir-jose/files/patch-mix.exs10
-rw-r--r--security/elixir-jose/pkg-descr3
-rw-r--r--security/elixir-jose/pkg-plist77
6 files changed, 116 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 8f1caf25e496..a5ea8125b777 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -112,6 +112,7 @@
SUBDIR += easy-rsa
SUBDIR += easypg
SUBDIR += elixir-comeonin
+ SUBDIR += elixir-jose
SUBDIR += engine_pkcs11
SUBDIR += erlang-jose
SUBDIR += erlang-p1tls
diff --git a/security/elixir-jose/Makefile b/security/elixir-jose/Makefile
new file mode 100644
index 000000000000..18e03dd5b8da
--- /dev/null
+++ b/security/elixir-jose/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= elixir-jose
+PORTVERSION= 1.3.0
+CATEGORIES= security
+DISTNAME= ${GH_ACCOUNT}-erlang-jose-${PORTVERSION}
+
+MAINTAINER= vanilla@FreeBSD.org
+COMMENT= JSON Object Signing and Encryption (JOSE) for Elixir
+
+LICENSE= MPL
+
+WRKSRC= ${WRKDIR}/erlang-jose-${PORTVERSION}
+ELIXIR_APP_NAME=jose
+USES= elixir
+USE_GITHUB= yes
+GH_ACCOUNT= potatosalad
+
+MIX_BUILD_DEPS= converters/erlang-base64url \
+ security/erlang-jose
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include <bsd.port.mk>
diff --git a/security/elixir-jose/distinfo b/security/elixir-jose/distinfo
new file mode 100644
index 000000000000..6d372e7373fc
--- /dev/null
+++ b/security/elixir-jose/distinfo
@@ -0,0 +1,2 @@
+SHA256 (potatosalad-erlang-jose-1.3.0_GH0.tar.gz) = f58686cd2a1054a8236d34a2c1f36040264cc5524677337351f2cd585d3b029b
+SIZE (potatosalad-erlang-jose-1.3.0_GH0.tar.gz) = 130302
diff --git a/security/elixir-jose/files/patch-mix.exs b/security/elixir-jose/files/patch-mix.exs
new file mode 100644
index 000000000000..09bb984208b6
--- /dev/null
+++ b/security/elixir-jose/files/patch-mix.exs
@@ -0,0 +1,10 @@
+--- mix.exs.orig 2015-09-29 13:27:51 UTC
++++ mix.exs
+@@ -8,7 +8,6 @@ defmodule JOSE.Mixfile do
+ erlc_options: erlc_options,
+ build_embedded: Mix.env == :prod,
+ start_permanent: Mix.env == :prod,
+- deps: deps,
+ name: "JOSE",
+ source_url: "https://github.com/potatosalad/erlang-jose",
+ docs: fn ->
diff --git a/security/elixir-jose/pkg-descr b/security/elixir-jose/pkg-descr
new file mode 100644
index 000000000000..39705e2ad5f1
--- /dev/null
+++ b/security/elixir-jose/pkg-descr
@@ -0,0 +1,3 @@
+JSON Object Signing and Encryption (JOSE) for Elixir.
+
+WWW: https://github.com/potatosalad/erlang-jose
diff --git a/security/elixir-jose/pkg-plist b/security/elixir-jose/pkg-plist
new file mode 100644
index 000000000000..53bb6a90943e
--- /dev/null
+++ b/security/elixir-jose/pkg-plist
@@ -0,0 +1,77 @@
+lib/elixir/lib/jose/ebin/Elixir.JOSE.JWA.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.JWE.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.JWK.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.JWS.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.JWT.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.Encode.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.Any.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.Atom.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.BitString.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.Float.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.HashDict.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.HashSet.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.Integer.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.List.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.Map.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.Range.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.Stream.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.OrdEncoder.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.Poison.beam
+lib/elixir/lib/jose/ebin/Elixir.JOSE.beam
+lib/elixir/lib/jose/ebin/jose.app
+lib/elixir/lib/jose/ebin/jose.beam
+lib/elixir/lib/jose/ebin/jose_app.beam
+lib/elixir/lib/jose/ebin/jose_block_encryptor.beam
+lib/elixir/lib/jose/ebin/jose_json.beam
+lib/elixir/lib/jose/ebin/jose_json_jiffy.beam
+lib/elixir/lib/jose/ebin/jose_json_jsone.beam
+lib/elixir/lib/jose/ebin/jose_json_jsx.beam
+lib/elixir/lib/jose/ebin/jose_json_poison.beam
+lib/elixir/lib/jose/ebin/jose_json_poison_compat_encoder.beam
+lib/elixir/lib/jose/ebin/jose_json_poison_ord_encoder.beam
+lib/elixir/lib/jose/ebin/jose_json_unsupported.beam
+lib/elixir/lib/jose/ebin/jose_jwa.beam
+lib/elixir/lib/jose/ebin/jose_jwa_aes.beam
+lib/elixir/lib/jose/ebin/jose_jwa_aes_kw.beam
+lib/elixir/lib/jose/ebin/jose_jwa_concat_kdf.beam
+lib/elixir/lib/jose/ebin/jose_jwa_pkcs1.beam
+lib/elixir/lib/jose/ebin/jose_jwa_pkcs5.beam
+lib/elixir/lib/jose/ebin/jose_jwa_pkcs7.beam
+lib/elixir/lib/jose/ebin/jose_jwa_unsupported.beam
+lib/elixir/lib/jose/ebin/jose_jwe.beam
+lib/elixir/lib/jose/ebin/jose_jwe_alg.beam
+lib/elixir/lib/jose/ebin/jose_jwe_alg_aes_kw.beam
+lib/elixir/lib/jose/ebin/jose_jwe_alg_dir.beam
+lib/elixir/lib/jose/ebin/jose_jwe_alg_ecdh_es.beam
+lib/elixir/lib/jose/ebin/jose_jwe_alg_pbes2.beam
+lib/elixir/lib/jose/ebin/jose_jwe_alg_rsa.beam
+lib/elixir/lib/jose/ebin/jose_jwe_enc.beam
+lib/elixir/lib/jose/ebin/jose_jwe_enc_aes.beam
+lib/elixir/lib/jose/ebin/jose_jwe_zip.beam
+lib/elixir/lib/jose/ebin/jose_jwk.beam
+lib/elixir/lib/jose/ebin/jose_jwk_kty.beam
+lib/elixir/lib/jose/ebin/jose_jwk_kty_ec.beam
+lib/elixir/lib/jose/ebin/jose_jwk_kty_oct.beam
+lib/elixir/lib/jose/ebin/jose_jwk_kty_rsa.beam
+lib/elixir/lib/jose/ebin/jose_jwk_oct.beam
+lib/elixir/lib/jose/ebin/jose_jwk_pem.beam
+lib/elixir/lib/jose/ebin/jose_jwk_set.beam
+lib/elixir/lib/jose/ebin/jose_jws.beam
+lib/elixir/lib/jose/ebin/jose_jws_alg.beam
+lib/elixir/lib/jose/ebin/jose_jws_alg_ecdsa.beam
+lib/elixir/lib/jose/ebin/jose_jws_alg_hmac.beam
+lib/elixir/lib/jose/ebin/jose_jws_alg_none.beam
+lib/elixir/lib/jose/ebin/jose_jws_alg_rsa_pkcs1_v1_5.beam
+lib/elixir/lib/jose/ebin/jose_jws_alg_rsa_pss.beam
+lib/elixir/lib/jose/ebin/jose_jwt.beam
+lib/elixir/lib/jose/ebin/jose_server.beam
+lib/elixir/lib/jose/ebin/jose_sup.beam
+lib/elixir/lib/jose/lib/jose.ex
+lib/elixir/lib/jose/lib/jose/jwa.ex
+lib/elixir/lib/jose/lib/jose/jwe.ex
+lib/elixir/lib/jose/lib/jose/jwk.ex
+lib/elixir/lib/jose/lib/jose/jws.ex
+lib/elixir/lib/jose/lib/jose/jwt.ex
+lib/elixir/lib/jose/lib/jose/poison.ex
+lib/elixir/lib/jose/lib/jose/poison/ord_encoder.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md