diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-21 18:35:26 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-21 19:19:54 +0000 |
| commit | 395ccc94bf81f62aa768c175ea337c2aff3d82fd (patch) | |
| tree | 63034e32193e02ef65ef71d436f4e689ae9ca9fb | |
| parent | 5dfd9de053b882abcc33f6befc25b16ca49239bb (diff) | |
www/py-wagtail-2fa: Add py-wagtail-2fa 1.6.5
This Django app adds two factor authentication to Wagtail. Behind the scenes it
use django-otp which supports Time-based One-Time Passwords (TOTP). This allows
you to use various apps like Authy, Google Authenticator, or 1Password.
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/py-wagtail-2fa/Makefile | 25 | ||||
| -rw-r--r-- | www/py-wagtail-2fa/distinfo | 3 | ||||
| -rw-r--r-- | www/py-wagtail-2fa/pkg-descr | 3 |
4 files changed, 32 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 230d8862b46d..3639dbbc9077 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1811,6 +1811,7 @@ SUBDIR += py-uvicorn SUBDIR += py-w3lib SUBDIR += py-wagtail + SUBDIR += py-wagtail-2fa SUBDIR += py-waitress SUBDIR += py-webargs SUBDIR += py-webassets diff --git a/www/py-wagtail-2fa/Makefile b/www/py-wagtail-2fa/Makefile new file mode 100644 index 000000000000..ac19cc7308bd --- /dev/null +++ b/www/py-wagtail-2fa/Makefile @@ -0,0 +1,25 @@ +PORTNAME= wagtail-2fa +PORTVERSION= 1.6.5 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Two factor authentication for Wagtail +WWW= https://github.com/labd/wagtail-2fa + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-otp>=0.8.1:www/py-django-otp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qrcode>=6.1:textproc/py-qrcode@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wagtail>=2.15:www/py-wagtail@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-wagtail-2fa/distinfo b/www/py-wagtail-2fa/distinfo new file mode 100644 index 000000000000..f837f01dca3a --- /dev/null +++ b/www/py-wagtail-2fa/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677770949 +SHA256 (wagtail-2fa-1.6.5.tar.gz) = b06e47bd6d9367eed3ca0ac3258f5c0f6b1b61f9213ae9d1fd1739204464b177 +SIZE (wagtail-2fa-1.6.5.tar.gz) = 17809 diff --git a/www/py-wagtail-2fa/pkg-descr b/www/py-wagtail-2fa/pkg-descr new file mode 100644 index 000000000000..5b0b12a9dc43 --- /dev/null +++ b/www/py-wagtail-2fa/pkg-descr @@ -0,0 +1,3 @@ +This Django app adds two factor authentication to Wagtail. Behind the scenes it +use django-otp which supports Time-based One-Time Passwords (TOTP). This allows +you to use various apps like Authy, Google Authenticator, or 1Password. |
