diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 3 | ||||
-rw-r--r-- | security/go-xxhash/DESCR | 4 | ||||
-rw-r--r-- | security/go-xxhash/Makefile | 18 | ||||
-rw-r--r-- | security/go-xxhash/PLIST | 20 | ||||
-rw-r--r-- | security/go-xxhash/buildlink3.mk | 15 | ||||
-rw-r--r-- | security/go-xxhash/distinfo | 6 |
6 files changed, 65 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile index 7b1537c5fcb..facae47b8e8 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.717 2019/11/06 10:15:32 he Exp $ +# $NetBSD: Makefile,v 1.718 2019/11/06 11:26:49 ng0 Exp $ # COMMENT= Security tools @@ -105,6 +105,7 @@ SUBDIR+= go-crypto SUBDIR+= go-mkcert SUBDIR+= go-oauth2 SUBDIR+= go-sftp +SUBDIR+= go-xxhash SUBDIR+= google-authenticator SUBDIR+= gpa SUBDIR+= gpass diff --git a/security/go-xxhash/DESCR b/security/go-xxhash/DESCR new file mode 100644 index 00000000000..f659be2f3bf --- /dev/null +++ b/security/go-xxhash/DESCR @@ -0,0 +1,4 @@ +Go implementation of the 64-bit xxHash algorithm (XXH64). + +This implementation provides a fast pure-Go implementation +and an even faster assembly implementation for amd64. diff --git a/security/go-xxhash/Makefile b/security/go-xxhash/Makefile new file mode 100644 index 00000000000..243e5b1e12a --- /dev/null +++ b/security/go-xxhash/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2019/11/06 11:26:49 ng0 Exp $ + +GITHUB_TAG= v${PKGVERSION_NOREV} +DISTNAME= go-xxhash-2.1.0 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_GITHUB:=cespare/} +GITHUB_PROJECT= xxhash + +MAINTAINER= ng0@NetBSD.org +HOMEPAGE= https://github.com/cespare/xxhash/ +COMMENT= Go implementation of the 64bit xxhash algorithm XXh64 +LICENSE= mit + +GO_SRCPATH= github.com/cespare/xxhash +GO_DIST_BASE= xxhash-${PKGVERSION_NOREV} + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/go-xxhash/PLIST b/security/go-xxhash/PLIST new file mode 100644 index 00000000000..c40f8d2a04a --- /dev/null +++ b/security/go-xxhash/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1 2019/11/06 11:26:49 ng0 Exp $ +bin/xxhsum +gopkg/pkg/${GO_PLATFORM}/github.com/cespare/xxhash.a +gopkg/src/github.com/cespare/xxhash/LICENSE.txt +gopkg/src/github.com/cespare/xxhash/README.md +gopkg/src/github.com/cespare/xxhash/go.mod +gopkg/src/github.com/cespare/xxhash/go.sum +gopkg/src/github.com/cespare/xxhash/xxhash.go +gopkg/src/github.com/cespare/xxhash/xxhash_amd64.go +gopkg/src/github.com/cespare/xxhash/xxhash_amd64.s +gopkg/src/github.com/cespare/xxhash/xxhash_other.go +gopkg/src/github.com/cespare/xxhash/xxhash_safe.go +gopkg/src/github.com/cespare/xxhash/xxhash_test.go +gopkg/src/github.com/cespare/xxhash/xxhash_unsafe.go +gopkg/src/github.com/cespare/xxhash/xxhash_unsafe_test.go +gopkg/src/github.com/cespare/xxhash/xxhashbench/go.mod +gopkg/src/github.com/cespare/xxhash/xxhashbench/go.sum +gopkg/src/github.com/cespare/xxhash/xxhashbench/xxhashbench_test.go +gopkg/src/github.com/cespare/xxhash/xxhsum/.gitignore +gopkg/src/github.com/cespare/xxhash/xxhsum/xxhsum.go diff --git a/security/go-xxhash/buildlink3.mk b/security/go-xxhash/buildlink3.mk new file mode 100644 index 00000000000..3b6578c1dba --- /dev/null +++ b/security/go-xxhash/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 11:26:49 ng0 Exp $ + +BUILDLINK_TREE+= go-xxhash + +.if !defined(GO_XXHASH_BUILDLINK3_MK) +GO_XXHASH_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-xxhash= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-xxhash?= build + +BUILDLINK_API_DEPENDS.go-xxhash+= go-xxhash>=2.0.0 +BUILDLINK_PKGSRCDIR.go-xxhash?= ../../security/go-xxhash +.endif # GO_XXHASH_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-xxhash diff --git a/security/go-xxhash/distinfo b/security/go-xxhash/distinfo new file mode 100644 index 00000000000..afc5d0f0881 --- /dev/null +++ b/security/go-xxhash/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/11/06 11:26:49 ng0 Exp $ + +SHA1 (go-xxhash-2.1.0.tar.gz) = 6d3fd375f297d4509337dbf58c006feae9537084 +RMD160 (go-xxhash-2.1.0.tar.gz) = f3720a3d42e28c2c5a40b89dafe47924e983624e +SHA512 (go-xxhash-2.1.0.tar.gz) = 6a44b29efe90fda8cdb267d1419673a577e231398480add90e7afb7eab92ecb375c947ce68c2221ed94b1fc7032a497703ec8026bff62386f52d22cac89ae2ab +Size (go-xxhash-2.1.0.tar.gz) = 9198 bytes |