Commit graph

11 commits

Author SHA1 Message Date
wiz
67e1f1a6bf 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.
2022-01-05 15:40:56 +00:00
wiz
bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00
nia
f413f7fded mail: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched
conditionally?):

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
2021-10-26 10:53:53 +00:00
nia
be020196fe mail: Remove SHA1 hashes for distfiles 2021-10-07 14:25:11 +00:00
adam
83ccfb02a3 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
2021-03-08 06:57:26 +00:00
adam
4a62313d56 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
2020-11-26 10:40:41 +00:00
maya
5901ac0824 Omit mentions of python 34 and 35, after those were removed.
- Includes some whitespace changes, to be handled in a separate commit.
2019-04-26 13:13:41 +00:00
adam
3e61b97be7 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.
2018-09-21 10:43:45 +00:00
adam
bb72a4d205 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.
2017-09-29 12:40:55 +00:00
fhajny
2f18c182ab Not for Python 2.7 2017-04-26 08:44:46 +00:00
fhajny
74e2f476d0 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.
2017-04-25 17:16:57 +00:00