Received: by mail.netbsd.org (Postfix, from userid 605) id 2B70F84D9D; Thu, 22 Nov 2018 03:16:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 115C184D87 for ; Thu, 22 Nov 2018 03:16:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Hs-Hy7QM217w for ; Thu, 22 Nov 2018 03:16:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B3F5884D86 for ; Thu, 22 Nov 2018 03:16:18 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A8AE9FB1F; Thu, 22 Nov 2018 03:16:18 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_154285657812350" MIME-Version: 1.0 Date: Thu, 22 Nov 2018 03:16:18 +0000 From: "Mark Davies" Subject: CVS commit: pkgsrc/www/py-flask-security To: pkgsrc-changes@NetBSD.org Reply-To: markd@netbsd.org X-Mailer: log_accum Message-Id: <20181122031618.A8AE9FB1F@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_154285657812350 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: markd Date: Thu Nov 22 03:16:18 UTC 2018 Modified Files: pkgsrc/www/py-flask-security: Makefile PLIST distinfo Log Message: py-flask-security: update to 3.0.0 - Fixed a bug when user clicking confirmation link after confirmation and expiration causes confirmation email to resend. - Added support for I18N. - Added options `SECURITY_EMAIL_PLAINTEXT` and `SECURITY_EMAIL_HTML` for sending respecively plaintext and HTML version of email. - Fixed validation when missing login information. - Fixed condition for token extraction from JSON body. - Better support for universal bdist wheel. - Added port of CLI using Click configurable using options `SECURITY_CLI_USERS_NAME` and `SECURITY_CLI_ROLES_NAME`. - Added new configuration option `SECURITY_DATETIME_FACTORY` which can be used to force default timezone for newly created datetimes. - Better IP tracking if using Flask 0.12. - Renamed deprecated Flask-WFT base form class. - Added tests for custom forms configured using app config. - Added validation and tests for next argument in logout endpoint. - Bumped minimal required versions of several packages. - Extended test matric on Travis CI for minimal and released package versions. - Added of .editorconfig and forced tests for code style. - Fixed a security bug when validating a confirmation token, also checks if the email that the token was created with matches the user's current email. - Replaced token loader with request loader. - Changed trackable behavior of `login_user` when IP can not be detected from a request from 'untrackable' to `None` value. - Use ProxyFix instead of inspecting X-Forwarded-For header. - Fix identical problem with app as with datastore. - Removed always-failing assertion. - Fixed failure of init_app to set self.datastore. - Changed to new style flask imports. - Added proper error code when returning JSON response. - Changed obsolete Required validator from WTForms to DataRequired. Bumped Flask-WTF to 0.13. - Fixed missing `SECURITY_SUBDOMAIN` in config docs. - Added cascade delete in PeeweeDatastore. - Added notes to docs about `SECURITY_USER_IDENTITY_ATTRIBUTES`. - Inspect value of `SECURITY_UNAUTHORIZED_VIEW`. - Send password reset instructions if an attempt has expired. - Added "Forgot password?" link to LoginForm description. - Upgraded passlib, and removed bcrypt version restriction. - Removed a duplicate line ('retype_password': 'Retype Password') in forms.py. - Various documentation improvement. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-flask-security/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-flask-security/PLIST cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-flask-security/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_154285657812350 Content-Disposition: inline Content-Length: 5151 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/py-flask-security/Makefile diff -u pkgsrc/www/py-flask-security/Makefile:1.10 pkgsrc/www/py-flask-security/Makefile:1.11 --- pkgsrc/www/py-flask-security/Makefile:1.10 Wed Jun 8 17:43:47 2016 +++ pkgsrc/www/py-flask-security/Makefile Thu Nov 22 03:16:18 2018 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2016/06/08 17:43:47 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2018/11/22 03:16:18 markd Exp $ -DISTNAME= Flask-Security-1.7.5 +DISTNAME= Flask-Security-3.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-Security/} @@ -10,13 +10,14 @@ HOMEPAGE= http://pythonhosted.org/Flask- COMMENT= Simple security for Flask apps LICENSE= mit -DEPENDS+= ${PYPKGPREFIX}-flask>=0.9:../../www/py-flask -DEPENDS+= ${PYPKGPREFIX}-flask-login>=0.2.3:../../www/py-flask-login +BUILD_DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel +DEPENDS+= ${PYPKGPREFIX}-flask>=0.11:../../www/py-flask +DEPENDS+= ${PYPKGPREFIX}-flask-login>=0.3.0:../../www/py-flask-login DEPENDS+= ${PYPKGPREFIX}-flask-mail>=0.7.3:../../www/py-flask-mail DEPENDS+= ${PYPKGPREFIX}-flask-principal>=0.3.3:../../www/py-flask-principal -DEPENDS+= ${PYPKGPREFIX}-flask-wtf>=0.8:../../www/py-flask-wtf -DEPENDS+= ${PYPKGPREFIX}-itsdangerous>=0.17:../../security/py-itsdangerous -DEPENDS+= ${PYPKGPREFIX}-passlib>=1.6.1:../../security/py-passlib +DEPENDS+= ${PYPKGPREFIX}-flask-wtf>=0.13.1:../../www/py-flask-wtf +DEPENDS+= ${PYPKGPREFIX}-itsdangerous>=0.21:../../security/py-itsdangerous +DEPENDS+= ${PYPKGPREFIX}-passlib>=1.7:../../security/py-passlib USE_LANGUAGES= # empty Index: pkgsrc/www/py-flask-security/PLIST diff -u pkgsrc/www/py-flask-security/PLIST:1.1 pkgsrc/www/py-flask-security/PLIST:1.2 --- pkgsrc/www/py-flask-security/PLIST:1.1 Mon Aug 5 17:54:13 2013 +++ pkgsrc/www/py-flask-security/PLIST Thu Nov 22 03:16:18 2018 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2013/08/05 17:54:13 kleink Exp $ +@comment $NetBSD: PLIST,v 1.2 2018/11/22 03:16:18 markd Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -8,9 +8,15 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx ${PYSITELIB}/flask_security/__init__.py ${PYSITELIB}/flask_security/__init__.pyc ${PYSITELIB}/flask_security/__init__.pyo +${PYSITELIB}/flask_security/babel.py +${PYSITELIB}/flask_security/babel.pyc +${PYSITELIB}/flask_security/babel.pyo ${PYSITELIB}/flask_security/changeable.py ${PYSITELIB}/flask_security/changeable.pyc ${PYSITELIB}/flask_security/changeable.pyo +${PYSITELIB}/flask_security/cli.py +${PYSITELIB}/flask_security/cli.pyc +${PYSITELIB}/flask_security/cli.pyo ${PYSITELIB}/flask_security/confirmable.py ${PYSITELIB}/flask_security/confirmable.pyc ${PYSITELIB}/flask_security/confirmable.pyo @@ -63,6 +69,16 @@ ${PYSITELIB}/flask_security/templates/se ${PYSITELIB}/flask_security/templates/security/reset_password.html ${PYSITELIB}/flask_security/templates/security/send_confirmation.html ${PYSITELIB}/flask_security/templates/security/send_login.html +${PYSITELIB}/flask_security/translations/da_DK/LC_MESSAGES/flask_security.mo +${PYSITELIB}/flask_security/translations/da_DK/LC_MESSAGES/flask_security.po +${PYSITELIB}/flask_security/translations/de_DE/LC_MESSAGES/flask_security.mo +${PYSITELIB}/flask_security/translations/de_DE/LC_MESSAGES/flask_security.po +${PYSITELIB}/flask_security/translations/flask_security.pot +${PYSITELIB}/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.mo +${PYSITELIB}/flask_security/translations/fr_FR/LC_MESSAGES/flask_security.po +${PYSITELIB}/flask_security/translations/nl_NL/LC_MESSAGES/messages.po +${PYSITELIB}/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.mo +${PYSITELIB}/flask_security/translations/ru_RU/LC_MESSAGES/flask_security.po ${PYSITELIB}/flask_security/utils.py ${PYSITELIB}/flask_security/utils.pyc ${PYSITELIB}/flask_security/utils.pyo Index: pkgsrc/www/py-flask-security/distinfo diff -u pkgsrc/www/py-flask-security/distinfo:1.9 pkgsrc/www/py-flask-security/distinfo:1.10 --- pkgsrc/www/py-flask-security/distinfo:1.9 Fri Jan 8 17:52:33 2016 +++ pkgsrc/www/py-flask-security/distinfo Thu Nov 22 03:16:18 2018 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2016/01/08 17:52:33 kleink Exp $ +$NetBSD: distinfo,v 1.10 2018/11/22 03:16:18 markd Exp $ -SHA1 (Flask-Security-1.7.5.tar.gz) = 7962f133fa471e9c6b9e7af9cdead4407eb1ba57 -RMD160 (Flask-Security-1.7.5.tar.gz) = 8fe419bfc63c0f86adaadc012677e6fdf3b5d633 -SHA512 (Flask-Security-1.7.5.tar.gz) = 41fd806d35746bdc212aa4ab01af678d39765a6d4df42cd19c87b8a2060374112d3e8a5f2fc243e88906505d6a942b9a824cf19a29b2c0eebacde9299534ffc9 -Size (Flask-Security-1.7.5.tar.gz) = 42261 bytes +SHA1 (Flask-Security-3.0.0.tar.gz) = 6a2b9bc23c24d728b8d2d5b8aabb0c9feb45615c +RMD160 (Flask-Security-3.0.0.tar.gz) = 2bc3bed86bf177df6c26a4233b86d60e33d0f265 +SHA512 (Flask-Security-3.0.0.tar.gz) = 09b94f0850372513add5c054c07aa465ecb95e8d1c414647e3ebee571ec08c94a29f0c138d092c02a55e242c422bc53f929ca066d671c082dcb29834ac753984 +Size (Flask-Security-3.0.0.tar.gz) = 160367 bytes --_----------=_154285657812350--