pkgsrc-Changes archive

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

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon Feb  3 14:51:56 UTC 2020

Modified Files:
        pkgsrc/security: Makefile
        pkgsrc/security/go-crypto: Makefile
Added Files:
        pkgsrc/security/go-crypto: Makefile.common
        pkgsrc/security/go-crypto-acme: DESCR Makefile PLIST buildlink3.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.736 -r1.737 pkgsrc/security/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/security/go-crypto/Makefile
cvs rdiff -u -r0 -r1.5 pkgsrc/security/go-crypto/Makefile.common
cvs rdiff -u -r0 -r1.3 pkgsrc/security/go-crypto-acme/DESCR \
    pkgsrc/security/go-crypto-acme/buildlink3.mk
cvs rdiff -u -r0 -r1.7 pkgsrc/security/go-crypto-acme/Makefile
cvs rdiff -u -r0 -r1.4 pkgsrc/security/go-crypto-acme/PLIST

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

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.736 pkgsrc/security/Makefile:1.737
--- pkgsrc/security/Makefile:1.736      Sun Jan 19 14:23:55 2020
+++ pkgsrc/security/Makefile    Mon Feb  3 14:51:55 2020
@@ -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+=    gnutls
 SUBDIR+=       go-asn1-ber
 SUBDIR+=       go-crypt
 SUBDIR+=       go-crypto
+SUBDIR+=       go-crypto-acme
 SUBDIR+=       go-mkcert
 SUBDIR+=       go-oauth2
 SUBDIR+=       go-sftp

Index: pkgsrc/security/go-crypto/Makefile
diff -u pkgsrc/security/go-crypto/Makefile:1.29 pkgsrc/security/go-crypto/Makefile:1.30
--- pkgsrc/security/go-crypto/Makefile:1.29     Mon Feb  3 13:14:20 2020
+++ pkgsrc/security/go-crypto/Makefile  Mon Feb  3 14:51:55 2020
@@ -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 @@ GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB
 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"

Added files:

Index: pkgsrc/security/go-crypto/Makefile.common
diff -u /dev/null pkgsrc/security/go-crypto/Makefile.common:1.5
--- /dev/null   Mon Feb  3 14:51:56 2020
+++ pkgsrc/security/go-crypto/Makefile.common   Mon Feb  3 14:51:55 2020
@@ -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"

Index: pkgsrc/security/go-crypto-acme/DESCR
diff -u /dev/null pkgsrc/security/go-crypto-acme/DESCR:1.3
--- /dev/null   Mon Feb  3 14:51:56 2020
+++ pkgsrc/security/go-crypto-acme/DESCR        Mon Feb  3 14:51:55 2020
@@ -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.
Index: pkgsrc/security/go-crypto-acme/buildlink3.mk
diff -u /dev/null pkgsrc/security/go-crypto-acme/buildlink3.mk:1.3
--- /dev/null   Mon Feb  3 14:51:56 2020
+++ pkgsrc/security/go-crypto-acme/buildlink3.mk        Mon Feb  3 14:51:55 2020
@@ -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

Index: pkgsrc/security/go-crypto-acme/Makefile
diff -u /dev/null pkgsrc/security/go-crypto-acme/Makefile:1.7
--- /dev/null   Mon Feb  3 14:51:56 2020
+++ pkgsrc/security/go-crypto-acme/Makefile     Mon Feb  3 14:51:55 2020
@@ -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"

Index: pkgsrc/security/go-crypto-acme/PLIST
diff -u /dev/null pkgsrc/security/go-crypto-acme/PLIST:1.4
--- /dev/null   Mon Feb  3 14:51:56 2020
+++ pkgsrc/security/go-crypto-acme/PLIST        Mon Feb  3 14:51:55 2020
@@ -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



Home | Main Index | Thread Index | Old Index