FreeBSD Bugzilla – Attachment 197717 Details for
Bug 231879
mail/mailman: add OPTION to elide plaintext passwords from monthly reminder messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
mailman.diff (text/plain), 3.10 KB, created by
Kurt Jaeger
on 2018-10-02 16:05:33 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2018-10-02 16:05:33 UTC
Size:
3.10 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 481094) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= mailman > DISTVERSION= 2.1.29 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= mail > MASTER_SITES= GNU \ > SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \ >@@ -71,8 +71,8 @@ > > OPTIONS_SINGLE= MTA > OPTIONS_SINGLE_MTA= COURIER EXIM4 OPENSMTPD POSTFIX SENDMAIL >-OPTIONS_DEFINE= HTDIG NAMAZU2 NLS DOCS >-OPTIONS_DEFAULT= SENDMAIL >+OPTIONS_DEFINE= HTDIG NAMAZU2 NOMAILPWD NLS DOCS >+OPTIONS_DEFAULT= SENDMAIL NOMAILPWD > COURIER_DESC= for use with courier > EXIM4_DESC= for use with exim4 > OPENSMTPD_DESC= for use with opensmtpd - EXPERIMENTAL - >@@ -80,6 +80,7 @@ > SENDMAIL_DESC= for use with sendmail > HTDIG_DESC= - EXPERIMENTAL - htdig integration patches > NAMAZU2_DESC= Make private archives searchable with namazu2 >+NOMAILPWD_DESC= No passwords in plaintext in the monthly reminders > MTA_DESC= Integrate with which MTA? > > .include <bsd.port.options.mk> >@@ -142,6 +143,10 @@ > EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Mailman-Cgi-private.py > .endif > >+.if ${PORT_OPTIONS:MNOMAILPWD} >+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mailpasswds >+.endif >+ > BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython@${PY_FLAVOR} > RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython@${PY_FLAVOR} > >Index: files/extra-patch-mailpasswds >=================================================================== >--- files/extra-patch-mailpasswds (nonexistent) >+++ files/extra-patch-mailpasswds (working copy) >@@ -0,0 +1,22 @@ >+--- cron/mailpasswds.orig 2018-10-02 17:54:29.735740000 +0200 >++++ cron/mailpasswds 2018-10-02 17:55:28.054809000 +0200 >+@@ -148,17 +148,8 @@ >+ if mlist.getMemberOption(member, >+ mm_cfg.SuppressPasswordReminder): >+ continue >+- # Group by the lower-cased address, since Mailman always >+- # treates person@dom.ain the same as PERSON@dom.ain. >+- try: >+- password = mlist.getMemberPassword(member) >+- except Errors.NotAMemberError: >+- # Here's a member with no passwords, which I think was >+- # possible in older versions of Mailman. Log this and >+- # move on. >+- syslog('error', 'password-less member %s for list %s', >+- member, mlist.internal_name()) >+- continue >++ # https://mail.python.org/pipermail/mailman-users/2016-April/080746.html >++ password = '****' >+ optionsurl = mlist.GetOptionsURL(member) >+ lang = mlist.getMemberLanguage(member) >+ info = (listaddr, password, optionsurl, lang) > >Property changes on: files/extra-patch-mailpasswds >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mandree
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 231879
:
197717
|
197739