pkgsrc-WIP-changes archive

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

Add go-ed25519 @ git commit 5312a61534124124185d41f09206b9fef1d88403.



Module Name:	pkgsrc-wip
Committed By:	Alexander Nasonov <alnsn%yandex.ru@localhost>
Pushed By:	alnsn
Date:		Sat Aug 12 11:01:00 2017 +0100
Changeset:	a22a3c3bd039da8b75f79f12e2ca06e1533324dd

Added Files:
	go-ed25519/DESCR
	go-ed25519/Makefile
	go-ed25519/PLIST
	go-ed25519/buildlink3.mk
	go-ed25519/distinfo

Log Message:
Add go-ed25519 @ git commit 5312a61534124124185d41f09206b9fef1d88403.

The upstream repository doesn't yet have a release but there is a demand
for the package. One example is obfs4proxy.

XXX Due to a lack of an official release I use a made-up release version.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a22a3c3bd039da8b75f79f12e2ca06e1533324dd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 go-ed25519/DESCR         |  1 +
 go-ed25519/Makefile      | 21 +++++++++++++++++++++
 go-ed25519/PLIST         | 13 +++++++++++++
 go-ed25519/buildlink3.mk | 15 +++++++++++++++
 go-ed25519/distinfo      |  6 ++++++
 5 files changed, 56 insertions(+)

diffs:
diff --git a/go-ed25519/DESCR b/go-ed25519/DESCR
new file mode 100644
index 0000000000..f014cee00f
--- /dev/null
+++ b/go-ed25519/DESCR
@@ -0,0 +1 @@
+Ed25519 crypto for Go.
diff --git a/go-ed25519/Makefile b/go-ed25519/Makefile
new file mode 100644
index 0000000000..fe70aab701
--- /dev/null
+++ b/go-ed25519/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+# XXX 0.0.1 is a made-up release number, ask upstream to make a release.
+PKGNAME=	go-ed25519-0.0.1
+GITHUB_TAG=	5312a61534124124185d41f09206b9fef1d88403
+DISTNAME=	ed25519-${GITHUB_TAG}
+CATEGORIES=	security devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=agl/}
+GITHUB_PROJECT=	ed25519
+
+MAINTAINER=	alnsn%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/agl/ed25519
+COMMENT=	Ed25519 for Go
+LICENSE=	modified-bsd
+
+WRKSRC=		${WRKDIR}
+GO_DIST_BASE=	ed25519-${GITHUB_TAG}
+GO_SRCPATH=	github.com/agl/ed25519
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-ed25519/PLIST b/go-ed25519/PLIST
new file mode 100644
index 0000000000..9ff0022164
--- /dev/null
+++ b/go-ed25519/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/agl/ed25519.a
+gopkg/pkg/${GO_PLATFORM}/github.com/agl/ed25519/edwards25519.a
+gopkg/pkg/${GO_PLATFORM}/github.com/agl/ed25519/extra25519.a
+gopkg/src/github.com/agl/ed25519/LICENSE
+gopkg/src/github.com/agl/ed25519/ed25519.go
+gopkg/src/github.com/agl/ed25519/ed25519_test.go
+gopkg/src/github.com/agl/ed25519/edwards25519/const.go
+gopkg/src/github.com/agl/ed25519/edwards25519/edwards25519.go
+gopkg/src/github.com/agl/ed25519/extra25519/extra25519.go
+gopkg/src/github.com/agl/ed25519/extra25519/extra25519_test.go
+gopkg/src/github.com/agl/ed25519/testdata/sign.input.gz
+@pkgdir bin
diff --git a/go-ed25519/buildlink3.mk b/go-ed25519/buildlink3.mk
new file mode 100644
index 0000000000..0803106ea4
--- /dev/null
+++ b/go-ed25519/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-ed25519
+
+.if !defined(GO_ED25519_BUILDLINK3_MK)
+GO_ED25519_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-ed25519=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-ed25519?=		build
+
+BUILDLINK_API_DEPENDS.go-ed25519+=	go-ed25519>=0.0.1
+BUILDLINK_PKGSRCDIR.go-ed25519?=	../../wip/go-ed25519
+.endif	# GO_ED25519_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-ed25519
diff --git a/go-ed25519/distinfo b/go-ed25519/distinfo
new file mode 100644
index 0000000000..05794068d8
--- /dev/null
+++ b/go-ed25519/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (ed25519-5312a61534124124185d41f09206b9fef1d88403-5312a61534124124185d41f09206b9fef1d88403.tar.gz) = de2378d38b091c6d8cf6d70f21aa5d3754a95a71
+RMD160 (ed25519-5312a61534124124185d41f09206b9fef1d88403-5312a61534124124185d41f09206b9fef1d88403.tar.gz) = 4fb70d955b39acc4c679b1344b7ee132134af1fd
+SHA512 (ed25519-5312a61534124124185d41f09206b9fef1d88403-5312a61534124124185d41f09206b9fef1d88403.tar.gz) = b801d205d6ed9aaf07a567b4919ca072e34e1872388cccd1f5ece30c6cbd5d4907eff167e24fe5b4f8fe46c5746dbb0d1ef2a4ce4f1082682a022fbc652c0e78
+Size (ed25519-5312a61534124124185d41f09206b9fef1d88403-5312a61534124124185d41f09206b9fef1d88403.tar.gz) = 107312 bytes


Home | Main Index | Thread Index | Old Index