pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/erlang-p1_acme erlang-p1_acme: Add version 1....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6bb9cac9722
branches:  trunk
changeset: 445145:b6bb9cac9722
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Sat Jan 16 19:47:57 2021 +0000

description:
erlang-p1_acme: Add version 1.0.10

erlang-p1_acme is an erlang acme client (RFC8555). It is a dependency for
the last release of chat/ejabberd.

diffstat:

 security/erlang-p1_acme/DESCR                             |   3 +
 security/erlang-p1_acme/Makefile                          |  23 +++++++++++++++
 security/erlang-p1_acme/PLIST                             |   4 ++
 security/erlang-p1_acme/distinfo                          |   8 +++++
 security/erlang-p1_acme/patches/patch-rebar.config        |  18 +++++++++++
 security/erlang-p1_acme/patches/patch-rebar.config.script |  15 +++++++++
 6 files changed, 71 insertions(+), 0 deletions(-)

diffs (95 lines):

diff -r 5578fb80be7f -r b6bb9cac9722 security/erlang-p1_acme/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/erlang-p1_acme/DESCR     Sat Jan 16 19:47:57 2021 +0000
@@ -0,0 +1,3 @@
+This Erlang library provides an ACME client implementing RFC 8555. It was
+written for ejabberd which still uses it. It was split off into its own project
+to follow Erlang/OTP guidelines.
diff -r 5578fb80be7f -r b6bb9cac9722 security/erlang-p1_acme/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/erlang-p1_acme/Makefile  Sat Jan 16 19:47:57 2021 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2021/01/16 19:47:57 triaxx Exp $
+
+DISTNAME=      p1_acme-1.0.10
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=processone/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/processone/p1_acme
+COMMENT=       Erlang ACME client (RFC8555)
+LICENSE=       apache-2.0
+
+DEPENDS+=      erlang-base64url>=1.0:../../devel/erlang-base64url
+DEPENDS+=      erlang-idna>=6.0.0:../../net/erlang-idna
+DEPENDS+=      erlang-jiffy>=1.0.5:../../textproc/erlang-jiffy
+DEPENDS+=      erlang-jose>=1.9.0:../../security/erlang-jose
+DEPENDS+=      erlang-yconf>=1.0.9:../../textproc/erlang-yconf
+
+USE_LANGUAGES= c c++
+
+GITHUB_PROJECT=        p1_acme
+
+.include "../../lang/erlang/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5578fb80be7f -r b6bb9cac9722 security/erlang-p1_acme/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/erlang-p1_acme/PLIST     Sat Jan 16 19:47:57 2021 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/16 19:47:57 triaxx Exp $
+lib/erlang/lib/p1_acme-${PKGVERSION}/ebin/p1_acme.app
+lib/erlang/lib/p1_acme-${PKGVERSION}/ebin/p1_acme.beam
+lib/erlang/lib/p1_acme-${PKGVERSION}/ebin/p1_acme_codec.beam
diff -r 5578fb80be7f -r b6bb9cac9722 security/erlang-p1_acme/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/erlang-p1_acme/distinfo  Sat Jan 16 19:47:57 2021 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2021/01/16 19:47:57 triaxx Exp $
+
+SHA1 (p1_acme-1.0.10.tar.gz) = 58c84c3d31e6f53530337626efcfb267c869e535
+RMD160 (p1_acme-1.0.10.tar.gz) = 60f609303a14c7db24a7b7a8ec667250e873ecfd
+SHA512 (p1_acme-1.0.10.tar.gz) = 90d164f96f86d36b4bc42e556a195affda21e5c63189d539cc98dd2d49525395875534a945765b1e19ab6a2ed249e3fa8eb506aff54f5ba7ed48b49fc074e15c
+Size (p1_acme-1.0.10.tar.gz) = 221088 bytes
+SHA1 (patch-rebar.config) = 937023962af8c8bfd91007ce854684bae1cb304e
+SHA1 (patch-rebar.config.script) = b3923816e84d117e82843b93be9672286b4d9361
diff -r 5578fb80be7f -r b6bb9cac9722 security/erlang-p1_acme/patches/patch-rebar.config
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/erlang-p1_acme/patches/patch-rebar.config        Sat Jan 16 19:47:57 2021 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-rebar.config,v 1.1 2021/01/16 19:47:57 triaxx Exp $
+
+Use pkgsrc dependencies.
+
+--- rebar.config.orig  2020-12-08 13:55:42.000000000 +0000
++++ rebar.config
+@@ -21,11 +21,6 @@
+           {i, "include"},
+           {platform_define, "^(R|1|20)", deprecated_stacktrace}]}.
+ 
+-{deps, [{jiffy, ".*", {git, "https://github.com/davisp/jiffy.git";, {tag, "1.0.5"}}},
+-      {yconf, ".*", {git, "https://github.com/processone/yconf.git";, {tag, "1.0.9"}}},
+-      {idna, ".*", {git, "https://github.com/benoitc/erlang-idna";, {tag, "6.0.0"}}},
+-      {jose, ".*", {git, "https://github.com/potatosalad/erlang-jose";, {tag, "1.9.0"}}}]}.
+-
+ {cover_enabled, true}.
+ {cover_export_enabled, true}.
+ 
diff -r 5578fb80be7f -r b6bb9cac9722 security/erlang-p1_acme/patches/patch-rebar.config.script
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/erlang-p1_acme/patches/patch-rebar.config.script Sat Jan 16 19:47:57 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-rebar.config.script,v 1.1 2021/01/16 19:47:57 triaxx Exp $
+
+Use pkgsrc dependencies.
+
+--- rebar.config.script.orig   2020-12-08 13:55:42.000000000 +0000
++++ rebar.config.script
+@@ -62,7 +62,7 @@ Cfg2 = case IsRebar3 of
+                [{plugin_dir, filename:join([filename:dirname(SCRIPT),"plugins"])},
+                 {plugins, [override_deps_versions]}] ++
+                 ModCfg(CONFIG, [deps], fun(V) ->
+-                   V ++ [{base64url, ".*", {git, "git://github.com/dvv/base64url.git", {tag, "v1.0"}}}]
++                   V
+                 end, [])
+        end,
+ 



Home | Main Index | Thread Index | Old Index