pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/go-crypt Add go-crypt package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5036f9f833f4
branches:  trunk
changeset: 366673:5036f9f833f4
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Aug 17 01:59:34 2017 +0000

description:
Add go-crypt package

diffstat:

 security/go-crypt/DESCR         |   4 ++++
 security/go-crypt/Makefile      |  24 ++++++++++++++++++++++++
 security/go-crypt/PLIST         |  23 +++++++++++++++++++++++
 security/go-crypt/buildlink3.mk |  17 +++++++++++++++++
 security/go-crypt/distinfo      |   6 ++++++
 5 files changed, 74 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r eb3dcf6f3faa -r 5036f9f833f4 security/go-crypt/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypt/DESCR   Thu Aug 17 01:59:34 2017 +0000
@@ -0,0 +1,4 @@
+You can use crypt as a command line tool or as a configuration library:
+
+* crypt cli
+* crypt/config
diff -r eb3dcf6f3faa -r 5036f9f833f4 security/go-crypt/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypt/Makefile        Thu Aug 17 01:59:34 2017 +0000
@@ -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@localhost
+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 -r eb3dcf6f3faa -r 5036f9f833f4 security/go-crypt/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypt/PLIST   Thu Aug 17 01:59:34 2017 +0000
@@ -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 -r eb3dcf6f3faa -r 5036f9f833f4 security/go-crypt/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypt/buildlink3.mk   Thu Aug 17 01:59:34 2017 +0000
@@ -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 -r eb3dcf6f3faa -r 5036f9f833f4 security/go-crypt/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypt/distinfo        Thu Aug 17 01:59:34 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index