pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mailman3: Update to 3.1.1.



Module Name:	pkgsrc-wip
Committed By:	Filip Hajny <filip%joyent.com@localhost>
Pushed By:	fhajny
Date:		Fri May 18 13:21:14 2018 +0000
Changeset:	50189344bd2e574f6001c6a673f3fef1922bf78a

Modified Files:
	mailman3/Makefile
	mailman3/PLIST
	mailman3/distinfo
	mailman3/patches/patch-src_mailman_core_initialize.py

Log Message:
mailman3: Update to 3.1.1.

Bugs
----
- An AttributeError: 'str' object has no attribute 'decode'
  exception in subject prefixing is fixed.
- Syntactically invalid sender addresses are now ignored.
- Messages with no syntactically valid senders are now automatically
  discarded.
- Generated ``regexp`` tables for Postfix now account for possible
  ``+extra`` additions to the ``-bounces`` and ``-confirm`` addresses.
- A list whose name is one of the ``admin``, ``bounces``, ``confirm``,
  etc. subaddresses can now be posted to.
- Various message holds and rejects that gave 'N/A' as a reason now
  give an appropriate reason.
- A missing html_to_plain_text_command is now properly detected and
  logged.
- Bounce messages are now composed for proper translations.

Configuration
-------------
- Mailman now also searches at ``/etc/mailman3/mailman.cfg`` for the
  configuration file.

Interfaces
----------
- A new template ``list:user:notice:rejected`` has been added for
  customizing the bounce message rejection notice.

REST
----
- Allow a mailing list's acceptable aliases to be cleared by calling
  ``DELETE`` on the list's ``config/acceptable_aliases`` resource.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=50189344bd2e574f6001c6a673f3fef1922bf78a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mailman3/Makefile                                  |  8 ++--
 mailman3/PLIST                                     | 44 ++++++++++++++++++++++
 mailman3/distinfo                                  | 10 ++---
 .../patches/patch-src_mailman_core_initialize.py   |  4 +-
 4 files changed, 55 insertions(+), 11 deletions(-)

diffs:
diff --git a/mailman3/Makefile b/mailman3/Makefile
index 4f81b5cbdf..e5676b4fd8 100644
--- a/mailman3/Makefile
+++ b/mailman3/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	mailman-3.1.0b5
+DISTNAME=	mailman-3.1.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_PYPI:=m/mailman/}
@@ -12,14 +12,14 @@ LICENSE=	gnu-gpl-v3
 
 PYTHON_VERSIONS_ACCEPTED=	36 35 34
 
-DEPENDS+=	${PYPKGPREFIX}-aiosmtpd>=1.0a5:../../mail/py-aiosmtpd
+DEPENDS+=	${PYPKGPREFIX}-aiosmtpd>=1.0.0:../../mail/py-aiosmtpd
 DEPENDS+=	${PYPKGPREFIX}-alembic-[0-9]*:../../databases/py-alembic
 DEPENDS+=	${PYPKGPREFIX}-atpublic-[0-9]*:../../devel/py-atpublic
 DEPENDS+=	${PYPKGPREFIX}-dns>=1.14.0:../../net/py-dns
 DEPENDS+=	${PYPKGPREFIX}-falcon>=1.0.0rc1:../../devel/py-falcon
 DEPENDS+=	${PYPKGPREFIX}-flufl.bounce-[0-9]*:../../mail/py-flufl.bounce
-DEPENDS+=	${PYPKGPREFIX}-flufl.i18n-[0-9]*:../../devel/py-flufl.i18n
-DEPENDS+=	${PYPKGPREFIX}-flufl.lock-[0-9]*:../../devel/py-flufl.lock
+DEPENDS+=	${PYPKGPREFIX}-flufl.i18n>=2.0.1:../../devel/py-flufl.i18n
+DEPENDS+=	${PYPKGPREFIX}-flufl.lock>=3.1:../../devel/py-flufl.lock
 DEPENDS+=	${PYPKGPREFIX}-lazr.config-[0-9]*:../../devel/py-lazr.config
 DEPENDS+=	${PYPKGPREFIX}-passlib-[0-9]*:../../security/py-passlib
 DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
diff --git a/mailman3/PLIST b/mailman3/PLIST
index 4b54ceac76..e2940b4a83 100644
--- a/mailman3/PLIST
+++ b/mailman3/PLIST
@@ -164,6 +164,8 @@ ${PYSITELIB}/mailman/chains/builtin.pyo
 ${PYSITELIB}/mailman/chains/builtin.pyc
 ${PYSITELIB}/mailman/chains/discard.pyo
 ${PYSITELIB}/mailman/chains/discard.pyc
+${PYSITELIB}/mailman/chains/dmarc.pyo
+${PYSITELIB}/mailman/chains/dmarc.pyc
 ${PYSITELIB}/mailman/chains/headers.pyo
 ${PYSITELIB}/mailman/chains/headers.pyc
 ${PYSITELIB}/mailman/chains/hold.pyo
@@ -178,6 +180,7 @@ ${PYSITELIB}/mailman/chains/accept.py
 ${PYSITELIB}/mailman/chains/base.py
 ${PYSITELIB}/mailman/chains/builtin.py
 ${PYSITELIB}/mailman/chains/discard.py
+${PYSITELIB}/mailman/chains/dmarc.py
 ${PYSITELIB}/mailman/chains/docs/__init__.py
 ${PYSITELIB}/mailman/chains/docs/__init__.pyo
 ${PYSITELIB}/mailman/chains/docs/__init__.pyc
@@ -195,6 +198,8 @@ ${PYSITELIB}/mailman/chains/tests/test_accept.pyo
 ${PYSITELIB}/mailman/chains/tests/test_accept.pyc
 ${PYSITELIB}/mailman/chains/tests/test_base.pyo
 ${PYSITELIB}/mailman/chains/tests/test_base.pyc
+${PYSITELIB}/mailman/chains/tests/test_dmarc.pyo
+${PYSITELIB}/mailman/chains/tests/test_dmarc.pyc
 ${PYSITELIB}/mailman/chains/tests/test_headers.pyo
 ${PYSITELIB}/mailman/chains/tests/test_headers.pyc
 ${PYSITELIB}/mailman/chains/tests/test_hold.pyo
@@ -206,6 +211,7 @@ ${PYSITELIB}/mailman/chains/tests/test_reject.pyc
 ${PYSITELIB}/mailman/chains/tests/issue144.eml
 ${PYSITELIB}/mailman/chains/tests/test_accept.py
 ${PYSITELIB}/mailman/chains/tests/test_base.py
+${PYSITELIB}/mailman/chains/tests/test_dmarc.py
 ${PYSITELIB}/mailman/chains/tests/test_headers.py
 ${PYSITELIB}/mailman/chains/tests/test_hold.py
 ${PYSITELIB}/mailman/chains/tests/test_owner.py
@@ -453,6 +459,7 @@ ${PYSITELIB}/mailman/database/alembic/versions/42756496720_header_matches.py
 ${PYSITELIB}/mailman/database/alembic/versions/448a93984c35_unsubscription_workflow.py
 ${PYSITELIB}/mailman/database/alembic/versions/46e92facee7_add_serverowner_domainowner.py
 ${PYSITELIB}/mailman/database/alembic/versions/47294d3a604_pendable_indexes.py
+${PYSITELIB}/mailman/database/alembic/versions/4bd95c99b2e7_fix_template_password.py
 ${PYSITELIB}/mailman/database/alembic/versions/51b7f92bd06c_initial.py
 ${PYSITELIB}/mailman/database/alembic/versions/70af5a4e5790_digests.py
 ${PYSITELIB}/mailman/database/alembic/versions/781a38e146bf_mailinglist_indexes.py
@@ -477,6 +484,8 @@ ${PYSITELIB}/mailman/database/alembic/versions/46e92facee7_add_serverowner_domai
 ${PYSITELIB}/mailman/database/alembic/versions/46e92facee7_add_serverowner_domainowner.pyc
 ${PYSITELIB}/mailman/database/alembic/versions/47294d3a604_pendable_indexes.pyo
 ${PYSITELIB}/mailman/database/alembic/versions/47294d3a604_pendable_indexes.pyc
+${PYSITELIB}/mailman/database/alembic/versions/4bd95c99b2e7_fix_template_password.pyo
+${PYSITELIB}/mailman/database/alembic/versions/4bd95c99b2e7_fix_template_password.pyc
 ${PYSITELIB}/mailman/database/alembic/versions/51b7f92bd06c_initial.pyo
 ${PYSITELIB}/mailman/database/alembic/versions/51b7f92bd06c_initial.pyc
 ${PYSITELIB}/mailman/database/alembic/versions/70af5a4e5790_digests.pyo
@@ -527,6 +536,7 @@ ${PYSITELIB}/mailman/docs/contribute.rst
 ${PYSITELIB}/mailman/docs/database.rst
 ${PYSITELIB}/mailman/docs/hyperkitty.rst
 ${PYSITELIB}/mailman/docs/install.rst
+${PYSITELIB}/mailman/docs/internationalization.rst
 ${PYSITELIB}/mailman/docs/introduction.rst
 ${PYSITELIB}/mailman/docs/mta.rst
 ${PYSITELIB}/mailman/docs/postorius.rst
@@ -653,6 +663,12 @@ ${PYSITELIB}/mailman/handlers/tests/test_subject_prefix.pyo
 ${PYSITELIB}/mailman/handlers/tests/test_subject_prefix.pyc
 ${PYSITELIB}/mailman/handlers/tests/test_to_digest.pyo
 ${PYSITELIB}/mailman/handlers/tests/test_to_digest.pyc
+${PYSITELIB}/mailman/handlers/tests/data/__init__.py
+${PYSITELIB}/mailman/handlers/tests/data/__init__.pyo
+${PYSITELIB}/mailman/handlers/tests/data/__init__.pyc
+${PYSITELIB}/mailman/handlers/tests/data/collapse_alternatives.eml
+${PYSITELIB}/mailman/handlers/tests/data/msg_rfc822.eml
+${PYSITELIB}/mailman/handlers/tests/data/msg_rfc822_out.eml
 ${PYSITELIB}/mailman/handlers/tests/test_cook_headers.py
 ${PYSITELIB}/mailman/handlers/tests/test_decorate.py
 ${PYSITELIB}/mailman/handlers/tests/test_dmarc.py
@@ -1185,6 +1201,8 @@ ${PYSITELIB}/mailman/rules/moderation.pyo
 ${PYSITELIB}/mailman/rules/moderation.pyc
 ${PYSITELIB}/mailman/rules/news_moderation.pyo
 ${PYSITELIB}/mailman/rules/news_moderation.pyc
+${PYSITELIB}/mailman/rules/no_senders.pyo
+${PYSITELIB}/mailman/rules/no_senders.pyc
 ${PYSITELIB}/mailman/rules/no_subject.pyo
 ${PYSITELIB}/mailman/rules/no_subject.pyc
 ${PYSITELIB}/mailman/rules/suspicious.pyo
@@ -1225,19 +1243,36 @@ ${PYSITELIB}/mailman/rules/max_recipients.py
 ${PYSITELIB}/mailman/rules/max_size.py
 ${PYSITELIB}/mailman/rules/moderation.py
 ${PYSITELIB}/mailman/rules/news_moderation.py
+${PYSITELIB}/mailman/rules/no_senders.py
 ${PYSITELIB}/mailman/rules/no_subject.py
 ${PYSITELIB}/mailman/rules/suspicious.py
 ${PYSITELIB}/mailman/rules/tests/__init__.py
 ${PYSITELIB}/mailman/rules/tests/__init__.pyo
 ${PYSITELIB}/mailman/rules/tests/__init__.pyc
+${PYSITELIB}/mailman/rules/tests/test_administrivia.pyo
+${PYSITELIB}/mailman/rules/tests/test_administrivia.pyc
 ${PYSITELIB}/mailman/rules/tests/test_approved.pyo
 ${PYSITELIB}/mailman/rules/tests/test_approved.pyc
 ${PYSITELIB}/mailman/rules/tests/test_banned_address.pyo
 ${PYSITELIB}/mailman/rules/tests/test_banned_address.pyc
 ${PYSITELIB}/mailman/rules/tests/test_dmarc.pyo
 ${PYSITELIB}/mailman/rules/tests/test_dmarc.pyc
+${PYSITELIB}/mailman/rules/tests/test_emergency.pyo
+${PYSITELIB}/mailman/rules/tests/test_emergency.pyc
+${PYSITELIB}/mailman/rules/tests/test_implicit_dest.pyo
+${PYSITELIB}/mailman/rules/tests/test_implicit_dest.pyc
+${PYSITELIB}/mailman/rules/tests/test_loop.pyo
+${PYSITELIB}/mailman/rules/tests/test_loop.pyc
+${PYSITELIB}/mailman/rules/tests/test_max_recipients.pyo
+${PYSITELIB}/mailman/rules/tests/test_max_recipients.pyc
+${PYSITELIB}/mailman/rules/tests/test_max_size.pyo
+${PYSITELIB}/mailman/rules/tests/test_max_size.pyc
 ${PYSITELIB}/mailman/rules/tests/test_moderation.pyo
 ${PYSITELIB}/mailman/rules/tests/test_moderation.pyc
+${PYSITELIB}/mailman/rules/tests/test_news_moderation.pyo
+${PYSITELIB}/mailman/rules/tests/test_news_moderation.pyc
+${PYSITELIB}/mailman/rules/tests/test_no_senders.pyo
+${PYSITELIB}/mailman/rules/tests/test_no_senders.pyc
 ${PYSITELIB}/mailman/rules/tests/test_no_subject.pyo
 ${PYSITELIB}/mailman/rules/tests/test_no_subject.pyc
 ${PYSITELIB}/mailman/rules/tests/test_suspicious.pyo
@@ -1246,10 +1281,18 @@ ${PYSITELIB}/mailman/rules/tests/data/__init__.py
 ${PYSITELIB}/mailman/rules/tests/data/__init__.pyo
 ${PYSITELIB}/mailman/rules/tests/data/__init__.pyc
 ${PYSITELIB}/mailman/rules/tests/data/org_domain.txt
+${PYSITELIB}/mailman/rules/tests/test_administrivia.py
 ${PYSITELIB}/mailman/rules/tests/test_approved.py
 ${PYSITELIB}/mailman/rules/tests/test_banned_address.py
 ${PYSITELIB}/mailman/rules/tests/test_dmarc.py
+${PYSITELIB}/mailman/rules/tests/test_emergency.py
+${PYSITELIB}/mailman/rules/tests/test_implicit_dest.py
+${PYSITELIB}/mailman/rules/tests/test_loop.py
+${PYSITELIB}/mailman/rules/tests/test_max_recipients.py
+${PYSITELIB}/mailman/rules/tests/test_max_size.py
 ${PYSITELIB}/mailman/rules/tests/test_moderation.py
+${PYSITELIB}/mailman/rules/tests/test_news_moderation.py
+${PYSITELIB}/mailman/rules/tests/test_no_senders.py
 ${PYSITELIB}/mailman/rules/tests/test_no_subject.py
 ${PYSITELIB}/mailman/rules/tests/test_suspicious.py
 ${PYSITELIB}/mailman/rules/truth.py
@@ -1395,6 +1438,7 @@ ${PYSITELIB}/mailman/templates/en/list:user:notice:no-more-today.txt
 ${PYSITELIB}/mailman/templates/en/list:user:notice:post.txt
 ${PYSITELIB}/mailman/templates/en/list:user:notice:probe.txt
 ${PYSITELIB}/mailman/templates/en/list:user:notice:refuse.txt
+${PYSITELIB}/mailman/templates/en/list:user:notice:rejected.txt
 ${PYSITELIB}/mailman/templates/en/list:user:notice:welcome.txt
 ${PYSITELIB}/mailman/testing/__init__.py
 ${PYSITELIB}/mailman/testing/__init__.pyo
diff --git a/mailman3/distinfo b/mailman3/distinfo
index db8344fa73..eea241d4d5 100644
--- a/mailman3/distinfo
+++ b/mailman3/distinfo
@@ -1,9 +1,9 @@
 $NetBSD$
 
-SHA1 (mailman-3.1.0b5.tar.gz) = ca0d77ecc294794b1796b73ef7bf30488f931c37
-RMD160 (mailman-3.1.0b5.tar.gz) = 45b77ccc658de24dc3649a55354c157cc7d8a06e
-SHA512 (mailman-3.1.0b5.tar.gz) = 8717de83a988dd2cabd8489a17c35e9c1c6e091070df57b9e735a29382b779b53aa1ce2cb5445b8d966bcc6631501e8a7d58ad8039c78c0e8ea3678090221e53
-Size (mailman-3.1.0b5.tar.gz) = 733530 bytes
+SHA1 (mailman-3.1.1.tar.gz) = ab1da2fe345ccfe8c3b5d1047b07483b57072074
+RMD160 (mailman-3.1.1.tar.gz) = 28eb64d5f53f40d6dd26034730203750fc62142d
+SHA512 (mailman-3.1.1.tar.gz) = b09962ec99ca1ce1eafd40409a00f976dc47d82adb707313f4516400db6439af8597a1c4e30262fb228c102508ede688912480dbb1dcca9721bb0333693f1d85
+Size (mailman-3.1.1.tar.gz) = 749014 bytes
 SHA1 (patch-src_mailman_config_mailman.cfg) = f15ab4c57a731760a99d0920213f941fa16ca6b5
 SHA1 (patch-src_mailman_config_schema.cfg) = ccdddea7ac214a64f9bb2e2c147dc8ef1a7445b5
-SHA1 (patch-src_mailman_core_initialize.py) = ed836acc6008ac55f5d7209ce595f131dd4c7294
+SHA1 (patch-src_mailman_core_initialize.py) = 3e40ba21cbbd95c22abe6792774bf63a65573f02
diff --git a/mailman3/patches/patch-src_mailman_core_initialize.py b/mailman3/patches/patch-src_mailman_core_initialize.py
index 406c50d54a..f398de2e5b 100644
--- a/mailman3/patches/patch-src_mailman_core_initialize.py
+++ b/mailman3/patches/patch-src_mailman_core_initialize.py
@@ -2,7 +2,7 @@ $NetBSD$
 
 Use PKG_SYSCONFDIR for default config file.
 
---- src/mailman/core/initialize.py.orig	2017-02-10 16:58:52.000000000 +0000
+--- src/mailman/core/initialize.py.orig	2017-11-18 01:23:39.000000000 +0000
 +++ src/mailman/core/initialize.py
 @@ -68,7 +68,7 @@ def search_for_configuration_file():
      if os.path.exists(config_path):
@@ -12,4 +12,4 @@ Use PKG_SYSCONFDIR for default config file.
 +    config_path = '@PKG_SYSCONFDIR@/mailman.cfg'
      if os.path.exists(config_path):
          return os.path.abspath(config_path)
-     # $argv0/../../etc/mailman.cfg
+     # /etc/mailman3/mailman.cfg


Home | Main Index | Thread Index | Old Index