pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security Add security/go-xxhash version 2.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc92f5165792
branches:  trunk
changeset: 404087:cc92f5165792
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Wed Nov 06 11:26:49 2019 +0000

description:
Add security/go-xxhash version 2.1.0

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.

diffstat:

 security/Makefile                |   3 ++-
 security/go-xxhash/DESCR         |   4 ++++
 security/go-xxhash/Makefile      |  18 ++++++++++++++++++
 security/go-xxhash/PLIST         |  20 ++++++++++++++++++++
 security/go-xxhash/buildlink3.mk |  15 +++++++++++++++
 security/go-xxhash/distinfo      |   6 ++++++
 6 files changed, 65 insertions(+), 1 deletions(-)

diffs (100 lines):

diff -r 01ff8f9ec947 -r cc92f5165792 security/Makefile
--- a/security/Makefile Wed Nov 06 11:24:35 2019 +0000
+++ b/security/Makefile Wed Nov 06 11:26:49 2019 +0000
@@ -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-mkcert
 SUBDIR+=       go-oauth2
 SUBDIR+=       go-sftp
+SUBDIR+=       go-xxhash
 SUBDIR+=       google-authenticator
 SUBDIR+=       gpa
 SUBDIR+=       gpass
diff -r 01ff8f9ec947 -r cc92f5165792 security/go-xxhash/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-xxhash/DESCR  Wed Nov 06 11:26:49 2019 +0000
@@ -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 -r 01ff8f9ec947 -r cc92f5165792 security/go-xxhash/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-xxhash/Makefile       Wed Nov 06 11:26:49 2019 +0000
@@ -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@localhost
+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 -r 01ff8f9ec947 -r cc92f5165792 security/go-xxhash/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-xxhash/PLIST  Wed Nov 06 11:26:49 2019 +0000
@@ -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 -r 01ff8f9ec947 -r cc92f5165792 security/go-xxhash/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-xxhash/buildlink3.mk  Wed Nov 06 11:26:49 2019 +0000
@@ -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 -r 01ff8f9ec947 -r cc92f5165792 security/go-xxhash/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-xxhash/distinfo       Wed Nov 06 11:26:49 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index