pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add go-siphash, version 1.0.0.
Module Name: pkgsrc-wip
Committed By: Alexander Nasonov <alnsn%yandex.ru@localhost>
Pushed By: alnsn
Date: Sat Aug 12 11:17:44 2017 +0100
Changeset: 670c1292360cb5ee64c66d2cecf0a5fa5677a4d8
Added Files:
go-siphash/DESCR
go-siphash/Makefile
go-siphash/PLIST
go-siphash/buildlink3.mk
go-siphash/distinfo
Log Message:
Add go-siphash, version 1.0.0.
Go implementation of SipHash-2-4, a fast short-input PRF created
by Jean-Philippe Aumasson and Daniel J. Bernstein.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=670c1292360cb5ee64c66d2cecf0a5fa5677a4d8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
go-siphash/DESCR | 2 ++
go-siphash/Makefile | 21 +++++++++++++++++++++
go-siphash/PLIST | 7 +++++++
go-siphash/buildlink3.mk | 15 +++++++++++++++
go-siphash/distinfo | 6 ++++++
5 files changed, 51 insertions(+)
diffs:
diff --git a/go-siphash/DESCR b/go-siphash/DESCR
new file mode 100644
index 0000000000..177e016d4e
--- /dev/null
+++ b/go-siphash/DESCR
@@ -0,0 +1,2 @@
+Go implementation of SipHash-2-4, a fast short-input PRF created
+by Jean-Philippe Aumasson and Daniel J. Bernstein.
diff --git a/go-siphash/Makefile b/go-siphash/Makefile
new file mode 100644
index 0000000000..17840666ff
--- /dev/null
+++ b/go-siphash/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+GITHUB_TAG= v1.0.0
+DISTNAME= ${GITHUB_TAG}
+DIST_SUBDIR= go-siphash
+PKGNAME= ${DIST_SUBDIR}-${GITHUB_TAG:S/v//}
+CATEGORIES= security devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=dchest/}
+GITHUB_PROJECT= siphash
+
+MAINTAINER= alnsn%NetBSD.org@localhost
+HOMEPAGE= https://github.com/dchest/siphash
+COMMENT= Go implementation of SipHash-2-4
+LICENSE= public-domain
+
+WRKSRC= ${WRKDIR}
+GO_DIST_BASE= siphash-${GITHUB_TAG:S/v//}
+GO_SRCPATH= github.com/dchest/siphash
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-siphash/PLIST b/go-siphash/PLIST
new file mode 100644
index 0000000000..abf7117668
--- /dev/null
+++ b/go-siphash/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/dchest/siphash.a
+gopkg/src/github.com/dchest/siphash/README
+gopkg/src/github.com/dchest/siphash/hash.go
+gopkg/src/github.com/dchest/siphash/siphash.go
+gopkg/src/github.com/dchest/siphash/siphash_test.go
+@pkgdir bin
diff --git a/go-siphash/buildlink3.mk b/go-siphash/buildlink3.mk
new file mode 100644
index 0000000000..7967a14d99
--- /dev/null
+++ b/go-siphash/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-siphash
+
+.if !defined(GO_SIPHASH_BUILDLINK3_MK)
+GO_SIPHASH_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-siphash= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-siphash?= build
+
+BUILDLINK_API_DEPENDS.go-siphash+= go-siphash>=1.0.0
+BUILDLINK_PKGSRCDIR.go-siphash?= ../../wip/go-siphash
+.endif # GO_SIPHASH_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-siphash
diff --git a/go-siphash/distinfo b/go-siphash/distinfo
new file mode 100644
index 0000000000..72fa601ffa
--- /dev/null
+++ b/go-siphash/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-siphash/v1.0.0.tar.gz) = 961bb9cc91903c7961e5b164c58e118aa1336513
+RMD160 (go-siphash/v1.0.0.tar.gz) = 16eb6fe61ecb2da042ce7376e528bc507c879675
+SHA512 (go-siphash/v1.0.0.tar.gz) = e52dc9857974ab362f2d7b2f7389644fbc07e7bb5507a93f138b3f692c1065303846611bb51b3d9c637d851a4d20cc20af146719a553801a8f7e17ec900a736a
+Size (go-siphash/v1.0.0.tar.gz) = 4462 bytes
Home |
Main Index |
Thread Index |
Old Index