pkgsrc-WIP-changes archive

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

Import go-pkcs7-20200128 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Sun Jan 10 00:11:16 2021 +0100
Changeset:	640c66b97c313442a192adf5401e142d54ece177

Modified Files:
	Makefile
Added Files:
	go-pkcs7/DESCR
	go-pkcs7/Makefile
	go-pkcs7/PLIST
	go-pkcs7/buildlink3.mk
	go-pkcs7/distinfo

Log Message:
Import go-pkcs7-20200128 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=640c66b97c313442a192adf5401e142d54ece177

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |  1 +
 go-pkcs7/DESCR         |  2 ++
 go-pkcs7/Makefile      | 20 ++++++++++++++++++++
 go-pkcs7/PLIST         | 18 ++++++++++++++++++
 go-pkcs7/buildlink3.mk | 15 +++++++++++++++
 go-pkcs7/distinfo      |  6 ++++++
 6 files changed, 62 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a0e70164a9..55b004c7fe 100644
--- a/Makefile
+++ b/Makefile
@@ -1215,6 +1215,7 @@ SUBDIR+=	go-madon
 SUBDIR+=	go-makezero
 SUBDIR+=	go-mp3
 SUBDIR+=	go-notify
+SUBDIR+=	go-pkcs7
 SUBDIR+=	go-param
 SUBDIR+=	go-pass
 SUBDIR+=	go-paths-helper
diff --git a/go-pkcs7/DESCR b/go-pkcs7/DESCR
new file mode 100644
index 0000000000..f810d0d658
--- /dev/null
+++ b/go-pkcs7/DESCR
@@ -0,0 +1,2 @@
+Implements a subset of PKCS#7/Cryptographic
+Message Syntax (rfc2315, rfc5652)
diff --git a/go-pkcs7/Makefile b/go-pkcs7/Makefile
new file mode 100644
index 0000000000..2f11184600
--- /dev/null
+++ b/go-pkcs7/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	pkcs7-20200128
+PKGNAME=	go-${DISTNAME}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_PROJECT=	pkcs7
+GITHUB_TAG=	432b2356ecb18209c1cec25680b8a23632794f21
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mozilla-services/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/mozilla-services/pkcs7/
+COMMENT=	Implements a subset of PKCS#7/Cryptographic
+LICENSE=	mit
+
+GO_DIST_BASE=   ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=     github.com/mozilla-services/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-pkcs7/PLIST b/go-pkcs7/PLIST
new file mode 100644
index 0000000000..079f80546d
--- /dev/null
+++ b/go-pkcs7/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/mozilla-services/pkcs7.a
+gopkg/src/github.com/mozilla-services/pkcs7/LICENSE
+gopkg/src/github.com/mozilla-services/pkcs7/Makefile
+gopkg/src/github.com/mozilla-services/pkcs7/README.md
+gopkg/src/github.com/mozilla-services/pkcs7/ber.go
+gopkg/src/github.com/mozilla-services/pkcs7/ber_test.go
+gopkg/src/github.com/mozilla-services/pkcs7/decrypt.go
+gopkg/src/github.com/mozilla-services/pkcs7/decrypt_test.go
+gopkg/src/github.com/mozilla-services/pkcs7/encrypt.go
+gopkg/src/github.com/mozilla-services/pkcs7/encrypt_test.go
+gopkg/src/github.com/mozilla-services/pkcs7/go.mod
+gopkg/src/github.com/mozilla-services/pkcs7/pkcs7.go
+gopkg/src/github.com/mozilla-services/pkcs7/pkcs7_test.go
+gopkg/src/github.com/mozilla-services/pkcs7/sign.go
+gopkg/src/github.com/mozilla-services/pkcs7/sign_test.go
+gopkg/src/github.com/mozilla-services/pkcs7/verify.go
+gopkg/src/github.com/mozilla-services/pkcs7/verify_test.go
diff --git a/go-pkcs7/buildlink3.mk b/go-pkcs7/buildlink3.mk
new file mode 100644
index 0000000000..0fc0e6f68e
--- /dev/null
+++ b/go-pkcs7/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-pkcs7
+
+.if !defined(GO_PKCS7_BUILDLINK3_MK)
+GO_PKCS7_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-pkcs7=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-pkcs7?=		build
+
+BUILDLINK_API_DEPENDS.go-pkcs7+=	go-pkcs7>=20200128
+BUILDLINK_PKGSRCDIR.go-pkcs7?=	../../wip/go-pkcs7
+.endif	# GO_PKCS7_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-pkcs7
diff --git a/go-pkcs7/distinfo b/go-pkcs7/distinfo
new file mode 100644
index 0000000000..6801d834d3
--- /dev/null
+++ b/go-pkcs7/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (pkcs7/pkcs7-20200128-432b2356ecb18209c1cec25680b8a23632794f21.tar.gz) = e937e5f2c98b48508a95f731e59315586215f951
+RMD160 (pkcs7/pkcs7-20200128-432b2356ecb18209c1cec25680b8a23632794f21.tar.gz) = 3d82f455a4d6841960e9cddf0a45e515f753509a
+SHA512 (pkcs7/pkcs7-20200128-432b2356ecb18209c1cec25680b8a23632794f21.tar.gz) = dcce5a83444ecaddf2e26414e21e71f989df9c374716a4e26a8597b085d5835668e6d096d7c3279c09d0bde9af025b662b1af8858b5bd1d0b9f171ebacc7acbb
+Size (pkcs7/pkcs7-20200128-432b2356ecb18209c1cec25680b8a23632794f21.tar.gz) = 44384 bytes


Home | Main Index | Thread Index | Old Index