Import go-uuid-1.1.3 to wip

This commit is contained in:
K.I.A.Derouiche 2021-01-06 12:09:47 +01:00
parent 92588c6d6e
commit 6528fe5c89
6 changed files with 73 additions and 0 deletions

View File

@ -1214,6 +1214,7 @@ SUBDIR+= go-transcoder
SUBDIR+= go-trie
SUBDIR+= go-upspin
SUBDIR+= go-uilive
SUBDIR+= go-uuid
SUBDIR+= goattracker
SUBDIR+= godura
SUBDIR+= goldendict

3
go-uuid/DESCR Normal file
View File

@ -0,0 +1,3 @@
The uuid package generates and inspects UUIDs
based on RFC 4122 and DCE 1.1: Authentication
and Security Services

20
go-uuid/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $NetBSD$
DISTNAME= go-uuid-1.1.3
GITHUB_PROJECT= uuid
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/google/uuid/
COMMENT= Go package for UUIDs based on RFC 4122 and DCE 1.1
LICENSE= 2-clause-bsd
GO_SRCPATH= github.com/google/uuid
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
.include "../../devel/go-sync/buildlink3.mk"
.include "../../net/go-net/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

24
go-uuid/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $NetBSD$
gopkg/pkg/${GO_PLATFORM}/github.com/google/uuid.a
gopkg/src/github.com/google/uuid/CONTRIBUTING.md
gopkg/src/github.com/google/uuid/CONTRIBUTORS
gopkg/src/github.com/google/uuid/LICENSE
gopkg/src/github.com/google/uuid/README.md
gopkg/src/github.com/google/uuid/dce.go
gopkg/src/github.com/google/uuid/doc.go
gopkg/src/github.com/google/uuid/go.mod
gopkg/src/github.com/google/uuid/hash.go
gopkg/src/github.com/google/uuid/json_test.go
gopkg/src/github.com/google/uuid/marshal.go
gopkg/src/github.com/google/uuid/node.go
gopkg/src/github.com/google/uuid/node_js.go
gopkg/src/github.com/google/uuid/node_net.go
gopkg/src/github.com/google/uuid/seq_test.go
gopkg/src/github.com/google/uuid/sql.go
gopkg/src/github.com/google/uuid/sql_test.go
gopkg/src/github.com/google/uuid/time.go
gopkg/src/github.com/google/uuid/util.go
gopkg/src/github.com/google/uuid/uuid.go
gopkg/src/github.com/google/uuid/uuid_test.go
gopkg/src/github.com/google/uuid/version1.go
gopkg/src/github.com/google/uuid/version4.go

19
go-uuid/buildlink3.mk Normal file
View File

@ -0,0 +1,19 @@
# $NetBSD$
BUILDLINK_TREE+= go-uuid
.if !defined(GO_UUID_BUILDLINK3_MK)
GO_UUID_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-uuid= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-uuid?= build
BUILDLINK_API_DEPENDS.go-uuid+= go-uuid>=1.1.3
BUILDLINK_PKGSRCDIR.go-uuid?= ../../wip/go-uuid
.include "../../devel/go-sync/buildlink3.mk"
.include "../../net/go-net/buildlink3.mk"
.endif # GO_UUID_BUILDLINK3_MK
BUILDLINK_TREE+= -go-uuid

6
go-uuid/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (go-uuid-1.1.3.tar.gz) = b4187b44fdb17ff74b353da4bd72707d6adc45f3
RMD160 (go-uuid-1.1.3.tar.gz) = 37d8d4866637d10c11ff2b06836c8c871ef788a1
SHA512 (go-uuid-1.1.3.tar.gz) = 9c7d567b8dc85632336e67d530ce45c70d50d3007a905d91fca2e242d314a1ab225f26e6b7246ada0d9587a4a2f8921c675440b3853f23f09cbbdab3df9d3d82
Size (go-uuid-1.1.3.tar.gz) = 14097 bytes