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 py-acme-tiny: updated to 4.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db00052f2a98
branches:  trunk
changeset: 457345:db00052f2a98
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 24 08:33:53 2021 +0000

description:
py-acme-tiny: updated to 4.1.1

Release 4.1.1
CHANGELOG
* Support already valid authorizations
* Moved to Github Actions workflows for automated tests, started using Let's Encrypt pebble test server, increased test coverage to 100%
* Added test to ensure path traversal can't be exploited
* Started logging Account IDs for later reference
* Various README updates

diffstat:

 security/py-acme-tiny/ALTERNATIVES |   1 +
 security/py-acme-tiny/Makefile     |  30 ++++++++++++------------------
 security/py-acme-tiny/PLIST        |  13 ++++++++++---
 security/py-acme-tiny/distinfo     |  10 +++++-----
 4 files changed, 28 insertions(+), 26 deletions(-)

diffs (82 lines):

diff -r e79b10f8075d -r db00052f2a98 security/py-acme-tiny/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-acme-tiny/ALTERNATIVES        Tue Aug 24 08:33:53 2021 +0000
@@ -0,0 +1,1 @@
+bin/acme-tiny @PREFIX@/bin/acme-tiny-@PYVERSSUFFIX@
diff -r e79b10f8075d -r db00052f2a98 security/py-acme-tiny/Makefile
--- a/security/py-acme-tiny/Makefile    Tue Aug 24 08:32:17 2021 +0000
+++ b/security/py-acme-tiny/Makefile    Tue Aug 24 08:33:53 2021 +0000
@@ -1,29 +1,23 @@
-# $NetBSD: Makefile,v 1.6 2020/01/18 21:50:45 jperkin Exp $
+# $NetBSD: Makefile,v 1.7 2021/08/24 08:33:53 adam Exp $
 
-DISTNAME=      acme-tiny-4.1.0
+DISTNAME=      acme-tiny-4.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
-CATEGORIES=    security
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=diafygi/}
+CATEGORIES=    security python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/acme-tiny/}
 
 MAINTAINER=    khorben%defora.org@localhost
-HOMEPAGE=      https://github.com/diafygi/acme-tiny/
+HOMEPAGE=      https://github.com/diafygi/acme-tiny
 COMMENT=       Tiny script to issue and renew TLS certs from Let's Encrypt
 LICENSE=       mit
 
-GITHUB_PROJECT=        acme-tiny
-GITHUB_TAG=    ${PKGVERSION_NOREV}
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+DEPENDS+=      openssl-[0-9]*:../../security/openssl
 
-NO_BUILD=              yes
-INSTALLATION_DIRS=     bin share/doc/${PYPKGPREFIX}-acme-tiny
-PLIST_SUBST+=          PYPKGPREFIX=${PYPKGPREFIX}
+USE_LANGUAGES= # none
 
-REPLACE_PYTHON=        acme_tiny.py
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} acme-tiny acme-tiny-${PYVERSSUFFIX} || ${TRUE}
 
-do-install:
-       ${INSTALL} -m 0755 ${WRKSRC}/acme_tiny.py ${DESTDIR}${PREFIX}/bin/acme_tiny
-       ${INSTALL} -m 0644 ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-acme-tiny/README.md
-
-.include "../../lang/python/application.mk"
-.include "../../security/openssl/buildlink3.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e79b10f8075d -r db00052f2a98 security/py-acme-tiny/PLIST
--- a/security/py-acme-tiny/PLIST       Tue Aug 24 08:32:17 2021 +0000
+++ b/security/py-acme-tiny/PLIST       Tue Aug 24 08:33:53 2021 +0000
@@ -1,3 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2017/02/14 00:38:56 khorben Exp $
-bin/acme_tiny
-share/doc/${PYPKGPREFIX}-acme-tiny/README.md
+@comment $NetBSD: PLIST,v 1.2 2021/08/24 08:33:53 adam Exp $
+bin/acme-tiny-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/acme_tiny.py
+${PYSITELIB}/acme_tiny.pyc
+${PYSITELIB}/acme_tiny.pyo
diff -r e79b10f8075d -r db00052f2a98 security/py-acme-tiny/distinfo
--- a/security/py-acme-tiny/distinfo    Tue Aug 24 08:32:17 2021 +0000
+++ b/security/py-acme-tiny/distinfo    Tue Aug 24 08:33:53 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2019/07/22 01:36:14 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2021/08/24 08:33:53 adam Exp $
 
-SHA1 (acme-tiny-4.1.0.tar.gz) = e814cfc62aa7a3f32d3796127405a560ed64084c
-RMD160 (acme-tiny-4.1.0.tar.gz) = f4b2fe55d4c989a4b284a0fe388a772f1517e4ee
-SHA512 (acme-tiny-4.1.0.tar.gz) = 31d69a5031c019acbc23b3f06041eae8e261766396d4a7420fd70a71cfa16de953bea4c0c2ad0c6a6e793ed61ab5331f40145352ffce69f4f062f35dd0db7519
-Size (acme-tiny-4.1.0.tar.gz) = 12776 bytes
+SHA1 (acme-tiny-4.1.1.tar.gz) = 94a7804b5a5fd7f3b98e4e214f7da719a7908e44
+RMD160 (acme-tiny-4.1.1.tar.gz) = aff510196a993ce30edba214ba9e9de5a8759fa7
+SHA512 (acme-tiny-4.1.1.tar.gz) = c71e1761b856ce020c2bbfcd7b5f1bf28a1659bbff1e9fdc62c2a40955ce3b6147768895f1f5f958a8cf45fd3e016b2b45823a6de45ae460e54956e007fd3329
+Size (acme-tiny-4.1.1.tar.gz) = 22424 bytes



Home | Main Index | Thread Index | Old Index