head 1.13; access; symbols pkgsrc-2023Q4:1.12.0.4 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.2 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.11.0.2 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.9.0.10 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.8 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.6 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.4 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.2 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.7.0.8 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.6 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.4 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.2 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.12 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.10 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.6 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.8 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.4 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.2 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.4.0.6 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.4 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.2 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.3.0.6 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.4 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.2 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.2.0.6 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.2 pkgsrc-2017Q2-base:1.2; locks; strict; comment @# @; 1.13 date 2024.03.05.17.03.45; author adam; state Exp; branches; next 1.12; commitid KXxp41khI9rDDZ0F; 1.12 date 2023.07.30.15.32.49; author adam; state Exp; branches; next 1.11; commitid SIXcZSzMn5vWaQyE; 1.11 date 2023.05.07.21.08.39; author markd; state Exp; branches; next 1.10; commitid FEuoH5iL1RO2J4oE; 1.10 date 2023.03.29.09.34.11; author wiz; state Exp; branches; next 1.9; commitid dE79P0WicMkX80jE; 1.9 date 2022.01.05.15.41.13; author wiz; state Exp; branches; next 1.8; commitid FQ77UruBIUsgzsnD; 1.8 date 2022.01.04.20.54.10; author wiz; state Exp; branches; next 1.7; commitid CYyhdK9qtoffkmnD; 1.7 date 2021.03.08.06.57.26; author adam; state Exp; branches; next 1.6; commitid kyiSqKUmTYYwptKC; 1.6 date 2020.11.26.10.40.41; author adam; state Exp; branches; next 1.5; commitid z6tDn44ZBmuDVnxC; 1.5 date 2019.04.26.13.14.03; author maya; state Exp; branches; next 1.4; commitid U4pISddzN4WXpRkB; 1.4 date 2018.09.21.10.43.45; author adam; state Exp; branches; next 1.3; commitid DXTOjwoaToJ2zXSA; 1.3 date 2017.09.29.12.40.55; author adam; state Exp; branches; next 1.2; commitid gKDDSVnqrTRDG59A; 1.2 date 2017.04.26.08.44.46; author fhajny; state Exp; branches; next 1.1; commitid auvhyVHiQIBJo1Pz; 1.1 date 2017.04.25.17.16.57; author fhajny; state Exp; branches; next ; commitid wqsy0xy0K3Z4gWOz; desc @@ 1.13 log @py-aiosmtpd: updated to 1.4.5 1.4.5 Fixed incorrect handling of newlines. @ text @# $NetBSD: Makefile,v 1.12 2023/07/30 15:32:49 adam Exp $ DISTNAME= aiosmtpd-1.4.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= mail python MASTER_SITES= ${MASTER_SITE_PYPI:=a/aiosmtpd/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/aio-libs/aiosmtpd COMMENT= Asyncio based SMTP server LICENSE= apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-atpublic-[0-9]*:../../devel/py-atpublic DEPENDS+= ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 pre-configure: ${CHMOD} -R go-w ${WRKSRC} post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} aiosmtpd aiosmtpd-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.12 log @Remove dependencies for Python 3.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2023/05/07 21:08:39 markd Exp $ d3 1 a3 1 DISTNAME= aiosmtpd-1.4.4.post2 d13 2 a21 2 USE_PKG_RESOURCES= yes d29 1 a29 1 .include "../../lang/python/egg.mk" @ 1.11 log @py-aiosmtpd: update to 1.4.4.post2 1.4.4.post2 (2023-01-19) Fixed/Improved Prevent unclean repo from being built Reduce chance of not-ready-for-release packages from being uploaded 1.4.4 (2023-01-17) Fixed/Improved No longer expect an implicit creation of the event loop through get_event_loop() 1.4.3 (2022-12-21) Fixed/Improved Is now compatible with uvloop Add compatibility for Python 3.10 and 3.11 Test matrix update Drop Python 3.6, PyPy 3.6 (some) and MacOS 10 Add Python 3.10 & 3.11, PyPy 3.7 & 3.8, Ubuntu 22.04, MacOS 11 & 12 Expanded tox environments Longer AUTOSTOP_DELAY especially for Windows Update signing keys Some documentation fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/03/29 09:34:11 wiz Exp $ a21 6 .include "../../lang/python/pyversion.mk" .if ${PYTHON_VERSION} < 308 DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions .endif @ 1.10 log @*: use PYTHON_VERSION instead of _PYTHON_VERSION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2022/01/05 15:41:13 wiz Exp $ d3 1 a3 1 DISTNAME= aiosmtpd-1.4.2 a4 1 PKGREVISION= 2 d28 3 @ 1.9 log @python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2022/01/04 20:54:10 wiz Exp $ d24 2 a25 1 .if ${_PYTHON_VERSION} < 38 @ 1.8 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2021/03/08 06:57:26 adam Exp $ d5 1 a5 1 PKGREVISION= 1 d21 2 @ 1.7 log @py-aiosmtpd: updated to 1.4.2 1.4.2: Controller ready_timeout defaults to 5.0 More detailed message in TimeoutError during Controller.start() IMPORTANT: No more leak of sensitive info during smtp_AUTH 1.4.1: local_part_limit (max length of email address local part) is now customizable, defaults to 0 (no limit) 1.4.0: PROXY Protocol support SMTPS/STARTTLS support from CLI UnixSocketController Improvement on tox+pytest to enable stable run for pypy3-on-Windows, MacOS, and Cygwin Example on how to implement SMTP AUTH 1.3.2: Fixed: Documentation issues that causes some automated build systems to fail Improper IPv6 detection on systems whose kernel does not support IPv6 Also: Add info about GPG Signing key to README and PyPI A 'hidden' testenv named static to run pytype 1.3.1: Smarter localhost determination No longer failing on hostname="" 1.3.0: "AUTH LOGIN " support Command Call Limit to stop misbehaving clients "authenticator" system to replace "auth_callback" "handle_EHLO" can modify return values (Almost) transparant passing of keyword args given to Controller to SMTP Now uses TLS Context as-is Complete conversion of test cases from unittest/nose2 to pytest Improve compatibility with setuptools<=46.4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/11/26 10:40:41 adam Exp $ d5 1 @ 1.6 log @py-aiosmtpd: updated to 1.2.2 1.2.2 Added Apache License version 2.0 Support for SMTP AUTH, with AUTH hooks feature Built-in implementation for AUTH PLAIN and AUTH LOGIN logic Feature to inject keyword args during server class instantiation in Controller.factory Support for Python 3.8 and 3.9.0 Fixed/Improved Don’t strip last \r\n prior to terminating dot. Slight improvement to make Test Suite more maintainable No more failures/DeprecationWarnings for Python 3.8 Faster _handle_client() processing Faster method access for smtp_*, handle_*, and auth_* hooks Removed Unit Tests that mocked too deep, possibly masking observable internal behaviors Drop support for Python 3.5 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2019/04/26 13:14:03 maya Exp $ d3 1 a3 1 DISTNAME= aiosmtpd-1.2.2 d14 1 d20 5 @ 1.5 log @Omit mentions of python 34 and 35, after those were removed. - Includes some whitespace changes, to be handled in a separate commit. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2018/09/21 10:43:45 adam Exp $ d3 1 a3 1 DISTNAME= aiosmtpd-1.2 d21 1 a21 1 ${MV} aiosmtpd aiosmtpd-${PYVERSSUFFIX} || ${TRUE} @ 1.4 log @py-aiosmtpd: updated to 1.2 1.2: mprove the documentation on enabling STARTTLS. Add customizable ident field to SMTP class constructor. Remove asyncio.coroutine decorator as it was introduced in Python 3.5. Add Controller docstring, explain dual-stack binding. Gracefully handle ASCII decoding exceptions. Fix typo. Improve Controller ssl_context documentation. Add timeout feature. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2017/09/29 12:40:55 adam Exp $ d17 1 a17 1 PYTHON_VERSIONS_INCOMPATIBLE= 34 27 @ 1.3 log @py-aiosmtpd: update to 1.1 1.1: Drop support for Python 3.4. As per RFC 5321, §4.1.4, multiple HELO / EHLO commands in the same session are semantically equivalent to RSET. As per RFC 5321, $4.1.1.9, NOOP takes an optional argument, which is ignored. API BREAK If you have a handler that implements handle_NOOP(), it previously took zero arguments but now requires a single argument. The command line options --version / -v has been added to print the package’s current version number. General improvements in the Controller class. When aiosmtpd handles a STARTTLS it must arrange for the original transport to be closed when the wrapped transport is closed. This fixes a hidden exception which occurs when an EOF is received on the original tranport after the connection is lost. Widen the catch of ConnectionResetError and CancelledError to also catch such errors from handler methods. Added a manpage for the aiosmtpd command line script. Added much better support for the HELP. There’s a new decorator called @@syntax() which you can use in derived classes to decorate smtp_*() methods. These then show up in HELP responses. This also fixes HELP responses for the LMTP subclass. The Controller class now takes an optional keyword argument ssl_context which is passed directly to the asyncio create_server() call. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2017/04/26 08:44:46 fhajny Exp $ d3 1 a3 1 DISTNAME= aiosmtpd-1.1 d9 2 a10 2 HOMEPAGE= https://github.com/aio-libs/aiosmtpd/ COMMENT= Reimplementation of the Python stdlib smtpd.py based on asyncio d20 2 a21 1 cd ${DESTDIR}${PREFIX}/bin && ${MV} aiosmtpd aiosmtpd${PYVERSSUFFIX} || ${TRUE} @ 1.2 log @Not for Python 2.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2017/04/25 17:16:57 fhajny Exp $ d3 1 a3 1 DISTNAME= aiosmtpd-1.0a5 d5 1 a5 1 CATEGORIES= mail d17 1 a17 1 PYTHON_VERSIONS_ACCEPTED= 36 35 34 d20 1 a20 1 cd ${DESTDIR}${PREFIX}/bin && ${MV} smtpd smtpd${PYVERSSUFFIX} @ 1.1 log @Import aiosmtpd 1.0a5 as mail/py-aiosmtpd. This is a server for SMTP and related protocols, similar in utility to the standard library's smtpd.py module, but rewritten to be based on asyncio for Python 3. @ text @d1 1 a1 1 # $NetBSD$ d17 2 @