From nobody Sat Mar 9 14:09:45 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TsQ092K0Rz5DFJG; Sat, 9 Mar 2024 14:09:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TsQ090rN1z4nxb; Sat, 9 Mar 2024 14:09:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709993385; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ujDXrbKBaH2N6rfHLN/XYixgW1NM31+fyS1bcbqTcVQ=; b=rL4Yv8Id8jNBS8ZIcuOAD0OBdC8iIj8Awehp0fbWCpjgdkQL/tgP8uidPuDtHkJwZC+rA/ kn2x6mP9/Pd+caL8yGcjoUKMh2TFSmRyH/XreHpBEkD9udU3/hWabW/szeZ9NfmQxFXZUV yxdFDHHtxjicZHO8QXzGXIePMk3538syW0/xYvALSnbodf6IveXvsG2IiCro5gNvHwRvCK Bb6FgPm+cEshpwF3pbgr17qjd1pIyfANQXdeG0DhSMqoGO/tvtJMgv8bg6nXOIEFDd8J17 mqGnUTQqy5sjm2yZIxMOQwllhlKvELBPU/FJEJ4mHgVon1FFuLicpdaMZCb1uw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709993385; a=rsa-sha256; cv=none; b=T0wveS/TY/EOCTy3kZNLrkEJLKouKHgK5j1NF1TSi/6p9UrIc2rZg+06IpohtgpNh7NV6E mLzFzdAYHrmZkO6pM6j4qXUcfZFaffWbDW3OKXrit2To0k2EFG7Jqyty21Ep6ul9/PWHuQ cc7deG0Ial73wPPyXViXMDgEEfmUa6z/uzhdFcyHaw4AUHE7VXq4mJbFZOZebnBXmsNM4h DUgmMhCo/FX+BCTpIXeAvHRKxKOESuHo3/4IwUxZcrarnCI/vk5gInkKQkpmK+BzXGkam+ mgU95OdPyf6sLwQ1iKOzuV9GGex6f7rUwjUVCvW1xQ0rZGf+K8WZ2Ci09D8f+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709993385; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ujDXrbKBaH2N6rfHLN/XYixgW1NM31+fyS1bcbqTcVQ=; b=T3M+0gk9vpjFLmbyS63jBk0gY7Jzc/9qatEvFMRtutPlFVPfheBRT8E8YCOxc0vs+hxYrp AI6/tQ0kKyE4fVKeQ04UTavkvO6SYin6qfGWvxhFw1u4sRCuzBEK+3Rm/lR0ndFI4/EezL VGK53c/mktRUNwtDyI1FnT0VWdOHenxmFIIDtyREHmttszZM4K7ujK/bo0XuN0Nc8vycC9 dsPr4lHfq+KyH7da6a3TiXYcclfZVb8iHEe4WFDyZ1AySXaGPGj5qbyMbWNTD89Z+j7VLa jzvLxxxRGsGbMyAwo19pWEUtv+sdr5CTxG3xymlKpbAtLbyfF6H46C2qf0SDvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TsQ090SgCz150W; Sat, 9 Mar 2024 14:09:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 429E9jlH093168; Sat, 9 Mar 2024 14:09:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 429E9jF4093165; Sat, 9 Mar 2024 14:09:45 GMT (envelope-from git) Date: Sat, 9 Mar 2024 14:09:45 GMT Message-Id: <202403091409.429E9jF4093165@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 109459581b88 - main - www/py-dj42-django-otp: Add py-dj42-django-otp 1.3.0 (copied from py-django-otp) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 109459581b889e4cb031285f49f189f387aa76fa Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=109459581b889e4cb031285f49f189f387aa76fa commit 109459581b889e4cb031285f49f189f387aa76fa Author: Po-Chuan Hsieh AuthorDate: 2024-03-09 13:44:24 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-09 14:05:15 +0000 www/py-dj42-django-otp: Add py-dj42-django-otp 1.3.0 (copied from py-django-otp) This project makes it easy to add support for one-time passwords (OTPs) to Django. It can be integrated at various levels, depending on how much customization is required. It integrates with django.contrib.auth, although it is not a Django authentication backend. The primary target is developers wishing to incorporate OTPs into their Django projects as a form of two-factor authentication. Several simple OTP plugins are included and more are available separately. This package also includes an implementation of OATH HOTP and TOTP for convenience, as these are standard OTP algorithms used by multiple plugins. --- www/Makefile | 1 + www/py-dj42-django-otp/Makefile | 23 +++++++++++++++++++++++ www/py-dj42-django-otp/distinfo | 3 +++ www/py-dj42-django-otp/pkg-descr | 10 ++++++++++ 4 files changed, 37 insertions(+) diff --git a/www/Makefile b/www/Makefile index c21724837f7d..27705c713fc3 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1510,6 +1510,7 @@ SUBDIR += py-dj42-django-modelcluster SUBDIR += py-dj42-django-mptt SUBDIR += py-dj42-django-multiselectfield + SUBDIR += py-dj42-django-otp SUBDIR += py-dj42-django-prometheus SUBDIR += py-dj42-django-redis SUBDIR += py-dj42-django-rich diff --git a/www/py-dj42-django-otp/Makefile b/www/py-dj42-django-otp/Makefile new file mode 100644 index 000000000000..db39b72684a5 --- /dev/null +++ b/www/py-dj42-django-otp/Makefile @@ -0,0 +1,23 @@ +PORTNAME= django-otp +PORTVERSION= 1.3.0 +CATEGORIES= www python +MASTER_SITES= PYPI +DISTNAME= django_otp-${PORTVERSION} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pluggable framework for adding two-factor authentication to Django +WWW= https://github.com/django-otp/django-otp + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/www/py-dj42-django-otp/distinfo b/www/py-dj42-django-otp/distinfo new file mode 100644 index 000000000000..24ad9dd7ee61 --- /dev/null +++ b/www/py-dj42-django-otp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1709390338 +SHA256 (django_otp-1.3.0.tar.gz) = 8f4156a3c14ce2aaa31379385eadf388925cd50fc4b5d20a3b944f454c98ff7c +SIZE (django_otp-1.3.0.tar.gz) = 69013 diff --git a/www/py-dj42-django-otp/pkg-descr b/www/py-dj42-django-otp/pkg-descr new file mode 100644 index 000000000000..9e6d14ea948c --- /dev/null +++ b/www/py-dj42-django-otp/pkg-descr @@ -0,0 +1,10 @@ +This project makes it easy to add support for one-time passwords (OTPs) to +Django. It can be integrated at various levels, depending on how much +customization is required. It integrates with django.contrib.auth, although it +is not a Django authentication backend. The primary target is developers wishing +to incorporate OTPs into their Django projects as a form of two-factor +authentication. + +Several simple OTP plugins are included and more are available separately. This +package also includes an implementation of OATH HOTP and TOTP for convenience, +as these are standard OTP algorithms used by multiple plugins.