summaryrefslogtreecommitdiff
path: root/security/erlang-oauth2
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-11-04 13:45:44 +0000
committerfhajny <fhajny@pkgsrc.org>2015-11-04 13:45:44 +0000
commit43a34d1291779f49a7bc245ccf25f1cd7b98e009 (patch)
treefafd632e46e4178036f90e914826c029af9b9e06 /security/erlang-oauth2
parent8d9f4595740b0c7db24783c715e86f8ee4836991 (diff)
downloadpkgsrc-43a34d1291779f49a7bc245ccf25f1cd7b98e009.tar.gz
Import 20 Erlang module packages that will work as dependencies
in the ejabberd 15.10 update that follows.
Diffstat (limited to 'security/erlang-oauth2')
-rw-r--r--security/erlang-oauth2/DESCR2
-rw-r--r--security/erlang-oauth2/Makefile31
-rw-r--r--security/erlang-oauth2/PLIST9
-rw-r--r--security/erlang-oauth2/distinfo6
4 files changed, 48 insertions, 0 deletions
diff --git a/security/erlang-oauth2/DESCR b/security/erlang-oauth2/DESCR
new file mode 100644
index 00000000000..5bdda6095cf
--- /dev/null
+++ b/security/erlang-oauth2/DESCR
@@ -0,0 +1,2 @@
+This library is designed to simplify the implementation of the server
+side of OAuth2. It provides no support for developing clients.
diff --git a/security/erlang-oauth2/Makefile b/security/erlang-oauth2/Makefile
new file mode 100644
index 00000000000..0e666cff898
--- /dev/null
+++ b/security/erlang-oauth2/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2015/11/04 13:45:45 fhajny Exp $
+
+DISTNAME= oauth2-0.6.0.20150928
+PKGNAME= erlang-${DISTNAME}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=prefiks/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/prefiks/oauth2/
+COMMENT= Erlang Oauth2 implementation
+LICENSE= mit
+
+BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar
+
+GITHUB_PROJECT= oauth2
+GITHUB_TAG= e6da9912e5d8f658e7e868f41a102d085bdbef59
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+
+NO_CONFIGURE= yes
+USE_TOOLS+= pax
+
+BUILD_TARGET= compile
+
+INSTALLATION_DIRS+= lib/erlang/lib/oauth2
+
+do-install:
+ cd ${WRKSRC} && ${PAX} -rw -pp ebin \
+ ${DESTDIR}${PREFIX}/lib/erlang/lib/oauth2/
+
+.include "../../lang/erlang/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/erlang-oauth2/PLIST b/security/erlang-oauth2/PLIST
new file mode 100644
index 00000000000..14f13a0cbe1
--- /dev/null
+++ b/security/erlang-oauth2/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2015/11/04 13:45:45 fhajny Exp $
+lib/erlang/lib/oauth2/ebin/oauth2.app
+lib/erlang/lib/oauth2/ebin/oauth2.beam
+lib/erlang/lib/oauth2/ebin/oauth2_backend.beam
+lib/erlang/lib/oauth2/ebin/oauth2_config.beam
+lib/erlang/lib/oauth2/ebin/oauth2_priv_set.beam
+lib/erlang/lib/oauth2/ebin/oauth2_response.beam
+lib/erlang/lib/oauth2/ebin/oauth2_token.beam
+lib/erlang/lib/oauth2/ebin/oauth2_token_generation.beam
diff --git a/security/erlang-oauth2/distinfo b/security/erlang-oauth2/distinfo
new file mode 100644
index 00000000000..35720e7a557
--- /dev/null
+++ b/security/erlang-oauth2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/11/04 13:45:45 fhajny Exp $
+
+SHA1 (oauth2-0.6.0.20150928-e6da9912e5d8f658e7e868f41a102d085bdbef59.tar.gz) = a92614b78a718aba32f1126974c1cf3f20696679
+RMD160 (oauth2-0.6.0.20150928-e6da9912e5d8f658e7e868f41a102d085bdbef59.tar.gz) = 1c384f1cefaa7a9a3bbeef216c18da000dab1c6e
+SHA512 (oauth2-0.6.0.20150928-e6da9912e5d8f658e7e868f41a102d085bdbef59.tar.gz) = 12fc88bbf69cf6f7c8d20688640f97324a2e258743c583387e15ad7ba895804de993901811c0c07ce9f4e1688797ef88ed8d5d1db18d77a6aed8532de72add97
+Size (oauth2-0.6.0.20150928-e6da9912e5d8f658e7e868f41a102d085bdbef59.tar.gz) = 177745 bytes