diff options
author | gavan <gavan@pkgsrc.org> | 2017-08-17 01:59:34 +0000 |
---|---|---|
committer | gavan <gavan@pkgsrc.org> | 2017-08-17 01:59:34 +0000 |
commit | 221cef275b7c92f4bc4a8b71609fd3c8ab949870 (patch) | |
tree | 7d9bfbebbc36bc83583a53c2bb5acd235b47196f /security | |
parent | c932e76f67caa3524ca75b7ac9e591c593fb0a41 (diff) | |
download | pkgsrc-221cef275b7c92f4bc4a8b71609fd3c8ab949870.tar.gz |
Add go-crypt package
Diffstat (limited to 'security')
-rw-r--r-- | security/go-crypt/DESCR | 4 | ||||
-rw-r--r-- | security/go-crypt/Makefile | 24 | ||||
-rw-r--r-- | security/go-crypt/PLIST | 23 | ||||
-rw-r--r-- | security/go-crypt/buildlink3.mk | 17 | ||||
-rw-r--r-- | security/go-crypt/distinfo | 6 |
5 files changed, 74 insertions, 0 deletions
diff --git a/security/go-crypt/DESCR b/security/go-crypt/DESCR new file mode 100644 index 00000000000..b737d995aad --- /dev/null +++ b/security/go-crypt/DESCR @@ -0,0 +1,4 @@ +You can use crypt as a command line tool or as a configuration library: + +* crypt cli +* crypt/config diff --git a/security/go-crypt/Makefile b/security/go-crypt/Makefile new file mode 100644 index 00000000000..632e0cc652b --- /dev/null +++ b/security/go-crypt/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2017/08/17 01:59:34 gavan Exp $ + +# Making up a version number, as this is a snapshot after the latest release +DISTNAME= crypt-0.0.2b +PKGNAME= go-${DISTNAME} +MASTER_SITES= ${MASTER_SITE_GITHUB:=xordataexchange/} +CATEGORIES= security +GITHUB_TAG= 749e360c8f236773f28fc6d3ddfce4a470795227 +GITHUB_PROJECT= ${PKGBASE:S/^go-//} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://xordataexchange.github.io/crypt/ +COMMENT= Store and retrieve encrypted configs from etcd or consul +LICENSE= mit + +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG} +GO_SRCPATH= github.com/xordataexchange/crypt + +.include "../../devel/go-consul-api/buildlink3.mk" +.include "../../databases/go-etcd/buildlink3.mk" +.include "../../security/go-crypto/buildlink3.mk" +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" + diff --git a/security/go-crypt/PLIST b/security/go-crypt/PLIST new file mode 100644 index 00000000000..38328ddad5b --- /dev/null +++ b/security/go-crypt/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:59:34 gavan Exp $ +bin/crypt +gopkg/pkg/${GO_PLATFORM}/github.com/xordataexchange/crypt/backend.a +gopkg/pkg/${GO_PLATFORM}/github.com/xordataexchange/crypt/backend/consul.a +gopkg/pkg/${GO_PLATFORM}/github.com/xordataexchange/crypt/backend/etcd.a +gopkg/pkg/${GO_PLATFORM}/github.com/xordataexchange/crypt/backend/mock.a +gopkg/pkg/${GO_PLATFORM}/github.com/xordataexchange/crypt/config.a +gopkg/pkg/${GO_PLATFORM}/github.com/xordataexchange/crypt/encoding/secconf.a +gopkg/src/github.com/xordataexchange/crypt/LICENSE +gopkg/src/github.com/xordataexchange/crypt/README.md +gopkg/src/github.com/xordataexchange/crypt/backend/backend.go +gopkg/src/github.com/xordataexchange/crypt/backend/consul/consul.go +gopkg/src/github.com/xordataexchange/crypt/backend/etcd/etcd.go +gopkg/src/github.com/xordataexchange/crypt/backend/mock/mock.go +gopkg/src/github.com/xordataexchange/crypt/bin/crypt/README.md +gopkg/src/github.com/xordataexchange/crypt/bin/crypt/cmd.go +gopkg/src/github.com/xordataexchange/crypt/bin/crypt/main.go +gopkg/src/github.com/xordataexchange/crypt/config/README.md +gopkg/src/github.com/xordataexchange/crypt/config/config.go +gopkg/src/github.com/xordataexchange/crypt/config/config_test.go +gopkg/src/github.com/xordataexchange/crypt/encoding/secconf/keyring_test.go +gopkg/src/github.com/xordataexchange/crypt/encoding/secconf/secconf.go +gopkg/src/github.com/xordataexchange/crypt/encoding/secconf/secconf_test.go diff --git a/security/go-crypt/buildlink3.mk b/security/go-crypt/buildlink3.mk new file mode 100644 index 00000000000..8be6561b8c8 --- /dev/null +++ b/security/go-crypt/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:59:34 gavan Exp $ + +BUILDLINK_TREE+= go-crypt + +.if !defined(GO_CRYPT_BUILDLINK3_MK) +GO_CRYPT_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-crypt= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-crypt?= build + +BUILDLINK_API_DEPENDS.go-crypt+= go-crypt>=0.0.2 +BUILDLINK_PKGSRCDIR.go-crypt?= ../../security/go-crypt + +.endif # GO_CRYPT_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-crypt + diff --git a/security/go-crypt/distinfo b/security/go-crypt/distinfo new file mode 100644 index 00000000000..90ab208cc80 --- /dev/null +++ b/security/go-crypt/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/08/17 01:59:34 gavan Exp $ + +SHA1 (crypt-0.0.2b-749e360c8f236773f28fc6d3ddfce4a470795227.tar.gz) = f5f1ecf11a30ccfc3a59f623cea45602c829f927 +RMD160 (crypt-0.0.2b-749e360c8f236773f28fc6d3ddfce4a470795227.tar.gz) = 874fea31d2030c1e6e00437ca19639998d747e14 +SHA512 (crypt-0.0.2b-749e360c8f236773f28fc6d3ddfce4a470795227.tar.gz) = 5d1f3544b77d2357247654ba0979b407f6beb8dbc09ce58a4296e450ed3ac7830ada22bf61e09167f55fc28ab8439bd138c9966e9db52c8bb6ca9198a20cacee +Size (crypt-0.0.2b-749e360c8f236773f28fc6d3ddfce4a470795227.tar.gz) = 10485 bytes |