pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-acme-tiny Find the user agreement URL agai...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25875525ba62
branches:  trunk
changeset: 376866:25875525ba62
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Mar 10 17:18:42 2018 +0000

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

diffstat:

 security/py-acme-tiny/Makefile                    |   5 +++--
 security/py-acme-tiny/distinfo                    |   3 ++-
 security/py-acme-tiny/patches/patch-acme__tiny.py |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 522237825e08 -r 25875525ba62 security/py-acme-tiny/Makefile
--- a/security/py-acme-tiny/Makefile    Sat Mar 10 16:32:50 2018 +0000
+++ b/security/py-acme-tiny/Makefile    Sat Mar 10 17:18:42 2018 +0000
@@ -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
diff -r 522237825e08 -r 25875525ba62 security/py-acme-tiny/distinfo
--- a/security/py-acme-tiny/distinfo    Sat Mar 10 16:32:50 2018 +0000
+++ b/security/py-acme-tiny/distinfo    Sat Mar 10 17:18:42 2018 +0000
@@ -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
diff -r 522237825e08 -r 25875525ba62 security/py-acme-tiny/patches/patch-acme__tiny.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-acme-tiny/patches/patch-acme__tiny.py Sat Mar 10 17:18:42 2018 +0000
@@ -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