pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security Re-add a package for go-crypto-acme.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a5c33bf09b7a
branches: trunk
changeset: 411030:a5c33bf09b7a
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Mon Feb 03 14:51:55 2020 +0000
description:
Re-add a package for go-crypto-acme.
The acme package has a dependency on go-net but go-net depends on
go-crypto. Separate it out to prevent a circular dependency.
diffstat:
security/Makefile | 3 ++-
security/go-crypto-acme/DESCR | 4 ++++
security/go-crypto-acme/Makefile | 12 ++++++++++++
security/go-crypto-acme/PLIST | 26 ++++++++++++++++++++++++++
security/go-crypto-acme/buildlink3.mk | 17 +++++++++++++++++
security/go-crypto/Makefile | 15 ++-------------
security/go-crypto/Makefile.common | 20 ++++++++++++++++++++
7 files changed, 83 insertions(+), 14 deletions(-)
diffs (144 lines):
diff -r 4665634aa463 -r a5c33bf09b7a security/Makefile
--- a/security/Makefile Mon Feb 03 14:48:18 2020 +0000
+++ b/security/Makefile Mon Feb 03 14:51:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.736 2020/01/19 14:23:55 taca Exp $
+# $NetBSD: Makefile,v 1.737 2020/02/03 14:51:55 bsiegert Exp $
#
COMMENT= Security tools
@@ -102,6 +102,7 @@
SUBDIR+= go-asn1-ber
SUBDIR+= go-crypt
SUBDIR+= go-crypto
+SUBDIR+= go-crypto-acme
SUBDIR+= go-mkcert
SUBDIR+= go-oauth2
SUBDIR+= go-sftp
diff -r 4665634aa463 -r a5c33bf09b7a security/go-crypto-acme/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypto-acme/DESCR Mon Feb 03 14:51:55 2020 +0000
@@ -0,0 +1,4 @@
+Supplementary Go cryptography libraries.
+
+This package contains the ACME library to interface with automated certificate
+issuers, such as Let's Encrypt.
diff -r 4665634aa463 -r a5c33bf09b7a security/go-crypto-acme/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypto-acme/Makefile Mon Feb 03 14:51:55 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.7 2020/02/03 14:51:55 bsiegert Exp $
+
+PKGNAME= ${DISTNAME:S/crypto/crypto-acme/}
+COMMENT= ACME library from go-crypto
+
+GO_SRCPATH= golang.org/x/crypto/acme
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*/acme
+
+CHECK_RELRO_SKIP+= bin/acmeprobe
+
+.include "../../net/go-net/buildlink3.mk"
+.include "../../security/go-crypto/Makefile.common"
diff -r 4665634aa463 -r a5c33bf09b7a security/go-crypto-acme/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypto-acme/PLIST Mon Feb 03 14:51:55 2020 +0000
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.4 2020/02/03 14:51:55 bsiegert Exp $
+bin/acmeprobe
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/crypto/acme.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/crypto/acme/autocert.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/crypto/acme/autocert/internal/acmetest.a
+gopkg/src/golang.org/x/crypto/acme/acme.go
+gopkg/src/golang.org/x/crypto/acme/acme_test.go
+gopkg/src/golang.org/x/crypto/acme/autocert/autocert.go
+gopkg/src/golang.org/x/crypto/acme/autocert/autocert_test.go
+gopkg/src/golang.org/x/crypto/acme/autocert/cache.go
+gopkg/src/golang.org/x/crypto/acme/autocert/cache_test.go
+gopkg/src/golang.org/x/crypto/acme/autocert/example_test.go
+gopkg/src/golang.org/x/crypto/acme/autocert/internal/acmetest/ca.go
+gopkg/src/golang.org/x/crypto/acme/autocert/listener.go
+gopkg/src/golang.org/x/crypto/acme/autocert/renewal.go
+gopkg/src/golang.org/x/crypto/acme/autocert/renewal_test.go
+gopkg/src/golang.org/x/crypto/acme/http.go
+gopkg/src/golang.org/x/crypto/acme/http_test.go
+gopkg/src/golang.org/x/crypto/acme/internal/acmeprobe/prober.go
+gopkg/src/golang.org/x/crypto/acme/jws.go
+gopkg/src/golang.org/x/crypto/acme/jws_test.go
+gopkg/src/golang.org/x/crypto/acme/rfc8555.go
+gopkg/src/golang.org/x/crypto/acme/rfc8555_test.go
+gopkg/src/golang.org/x/crypto/acme/types.go
+gopkg/src/golang.org/x/crypto/acme/types_test.go
+gopkg/src/golang.org/x/crypto/acme/version_go112.go
diff -r 4665634aa463 -r a5c33bf09b7a security/go-crypto-acme/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypto-acme/buildlink3.mk Mon Feb 03 14:51:55 2020 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.3 2020/02/03 14:51:55 bsiegert Exp $
+
+BUILDLINK_TREE+= go-crypto-acme
+
+.if !defined(GO_CRYPTO_ACME_BUILDLINK3_MK)
+GO_CRYPTO_ACME_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-crypto-acme= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-crypto-acme?= build
+
+BUILDLINK_API_DEPENDS.go-crypto-acme+= go-crypto-acme>=0.0.20170317
+BUILDLINK_PKGSRCDIR.go-crypto-acme?= ../../security/go-crypto-acme
+
+.include "../../net/go-net/buildlink3.mk"
+.endif # GO_CRYPTO_ACME_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-crypto-acme
diff -r 4665634aa463 -r a5c33bf09b7a security/go-crypto/Makefile
--- a/security/go-crypto/Makefile Mon Feb 03 14:48:18 2020 +0000
+++ b/security/go-crypto/Makefile Mon Feb 03 14:51:55 2020 +0000
@@ -1,15 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2020/02/03 13:14:20 bsiegert Exp $
+# $NetBSD: Makefile,v 1.30 2020/02/03 14:51:55 bsiegert Exp $
COMMENT= Go supplementary cryptography libraries
-DISTNAME= go-crypto-0.0.20200122
-CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
-GITHUB_PROJECT= crypto
-GITHUB_TAG= 69ecbb4d6d
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/golang/crypto/
-LICENSE= modified-bsd
GO_SRCPATH= golang.org/x/crypto
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
@@ -17,6 +8,4 @@
pre-patch:
${RM} -rf ${WRKSRC}/acme
-.include "../../lang/go/go-package.mk"
-.include "../../devel/go-sys/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
+.include "Makefile.common"
diff -r 4665634aa463 -r a5c33bf09b7a security/go-crypto/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/go-crypto/Makefile.common Mon Feb 03 14:51:55 2020 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.5 2020/02/03 14:51:55 bsiegert Exp $
+#
+# used by security/go-crypto
+# used by security/go-crypto-acme
+
+DISTNAME= go-crypto-0.0.20200122
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
+GITHUB_PROJECT= crypto
+GITHUB_TAG= 69ecbb4d6d
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/golang/crypto/
+LICENSE= modified-bsd
+
+DISTINFO_FILE= ${.CURDIR}/../../security/go-crypto/distinfo
+
+.include "../../lang/go/go-package.mk"
+.include "../../devel/go-sys/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index