pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-acme-tiny



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sat Mar 10 17:18:42 UTC 2018

Modified Files:
        pkgsrc/security/py-acme-tiny: Makefile distinfo
Added Files:
        pkgsrc/security/py-acme-tiny/patches: patch-acme__tiny.py

Log Message:
Find the user agreement URL again, via upstream patch. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/py-acme-tiny/Makefile \
    pkgsrc/security/py-acme-tiny/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/py-acme-tiny/patches/patch-acme__tiny.py

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

Modified files:

Index: pkgsrc/security/py-acme-tiny/Makefile
diff -u pkgsrc/security/py-acme-tiny/Makefile:1.1 pkgsrc/security/py-acme-tiny/Makefile:1.2
--- pkgsrc/security/py-acme-tiny/Makefile:1.1   Tue Feb 14 00:38:56 2017
+++ pkgsrc/security/py-acme-tiny/Makefile       Sat Mar 10 17:18:42 2018
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.1 2017/02/14 00:38:56 khorben Exp $
+# $NetBSD: Makefile,v 1.2 2018/03/10 17:18:42 schmonz Exp $
 
 DISTNAME=      acme-tiny-0.0.20170214
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=diafygi/}
 
 MAINTAINER=    khorben%defora.org@localhost
 HOMEPAGE=      https://github.com/diafygi/acme-tiny/
-COMMENT=       A tiny script to issue and renew TLS certs from Let's Encrypt
+COMMENT=       Tiny script to issue and renew TLS certs from Let's Encrypt
 LICENSE=       mit
 
 GITHUB_PROJECT=        acme-tiny
Index: pkgsrc/security/py-acme-tiny/distinfo
diff -u pkgsrc/security/py-acme-tiny/distinfo:1.1 pkgsrc/security/py-acme-tiny/distinfo:1.2
--- pkgsrc/security/py-acme-tiny/distinfo:1.1   Tue Feb 14 00:38:56 2017
+++ pkgsrc/security/py-acme-tiny/distinfo       Sat Mar 10 17:18:42 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/02/14 00:38:56 khorben Exp $
+$NetBSD: distinfo,v 1.2 2018/03/10 17:18:42 schmonz Exp $
 
 SHA1 (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 1e312aa9e1dd24eb34bd42bb418f83b2df7e5235
 RMD160 (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 82897ea46269517e4328e2d1f67ca7b27d05481e
 SHA512 (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 
260de3fe3052e3eba3e8438b15e34d95c99f95d75137ddabe9c031a83bd7b967bebabe6916fa23de6194ab19cc687942af0cc700b7095b7c810820800c26061e
 Size (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 10510 bytes
+SHA1 (patch-acme__tiny.py) = 8f845e7db15c448f87af79af95f32c394286d2fe

Added files:

Index: pkgsrc/security/py-acme-tiny/patches/patch-acme__tiny.py
diff -u /dev/null pkgsrc/security/py-acme-tiny/patches/patch-acme__tiny.py:1.1
--- /dev/null   Sat Mar 10 17:18:42 2018
+++ pkgsrc/security/py-acme-tiny/patches/patch-acme__tiny.py    Sat Mar 10 17:18:42 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-acme__tiny.py,v 1.1 2018/03/10 17:18:42 schmonz Exp $
+
+The user agreement URL moved. Find it again. (Upstream patch c4940d2.)
+
+--- acme_tiny.py.orig  2016-08-18 03:29:25.000000000 +0000
++++ acme_tiny.py
+@@ -82,7 +82,7 @@ def get_crt(account_key, csr, acme_dir, 
+     log.info("Registering account...")
+     code, result = _send_signed_request(CA + "/acme/new-reg", {
+         "resource": "new-reg",
+-        "agreement": "https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf";,
++        "agreement": json.load(urlopen(CA + "/directory"))['meta']['terms-of-service'],
+     })
+     if code == 201:
+         log.info("Registered!")



Home | Main Index | Thread Index | Old Index