summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-08-24 08:33:53 +0000
committeradam <adam@pkgsrc.org>2021-08-24 08:33:53 +0000
commite97c01756b8503cfcbb8242df66215c22e62b0f6 (patch)
tree5ce357d73d5ab151d4da749f5b0621186d777a61 /security
parent0431b0314e00d893f742ffbf9c6064980682dafb (diff)
downloadpkgsrc-e97c01756b8503cfcbb8242df66215c22e62b0f6.tar.gz
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 (limited to 'security')
-rw-r--r--security/py-acme-tiny/ALTERNATIVES1
-rw-r--r--security/py-acme-tiny/Makefile30
-rw-r--r--security/py-acme-tiny/PLIST13
-rw-r--r--security/py-acme-tiny/distinfo10
4 files changed, 28 insertions, 26 deletions
diff --git a/security/py-acme-tiny/ALTERNATIVES b/security/py-acme-tiny/ALTERNATIVES
new file mode 100644
index 00000000000..4cd41f82231
--- /dev/null
+++ b/security/py-acme-tiny/ALTERNATIVES
@@ -0,0 +1 @@
+bin/acme-tiny @PREFIX@/bin/acme-tiny-@PYVERSSUFFIX@
diff --git a/security/py-acme-tiny/Makefile b/security/py-acme-tiny/Makefile
index 51657ebf847..bef9030fb58 100644
--- a/security/py-acme-tiny/Makefile
+++ b/security/py-acme-tiny/Makefile
@@ -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
-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 --git a/security/py-acme-tiny/PLIST b/security/py-acme-tiny/PLIST
index bd259acd411..7847c92f1ba 100644
--- a/security/py-acme-tiny/PLIST
+++ b/security/py-acme-tiny/PLIST
@@ -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 --git a/security/py-acme-tiny/distinfo b/security/py-acme-tiny/distinfo
index c8b632dbb21..564b3639d3a 100644
--- a/security/py-acme-tiny/distinfo
+++ b/security/py-acme-tiny/distinfo
@@ -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