[trunk] -> [community] 'mailman-2.1.39-2' add

master
Nathan Owens 8 months ago
parent 990957fbee
commit 64dcead321
  1. 19
      trunk/02-fix-500-error-for-non-member.patch
  2. 8
      trunk/PKGBUILD
  3. 19
      x86_64/community/02-fix-500-error-for-non-member.patch
  4. 8
      x86_64/community/PKGBUILD

@ -0,0 +1,19 @@
# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1887
# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1888
=== modified file 'Mailman/Cgi/options.py'
--- old/Mailman/Cgi/options.py 2021-11-24 03:38:19 +0000
+++ new/Mailman/Cgi/options.py 2022-02-22 18:10:03 +0000
@@ -169,8 +169,9 @@
if not mlist.isMember(user):
if mlist.private_roster == 0:
doc.addError(_('No such member: %(safeuser)s.'))
- loginpage(mlist, doc, None, language)
- print doc.Format()
+ user = None
+ loginpage(mlist, doc, user, language)
+ print doc.Format()
return
# Avoid cross-site scripting attacks

@ -3,14 +3,14 @@
pkgname=mailman
pkgver=2.1.39
pkgrel=1
pkgrel=2
pkgdesc='The GNU Mailing List Manager'
arch=(x86_64)
license=('GPL')
url='https://www.list.org/'
# we need to have the mailman user to build mailman
makedepends=('mailman')
depends=('glibc' 'python2' 'smtp-server' 'python2-dnspython')
depends=('glibc' 'python2' 'smtp-server' 'python2-dnspython' 'systemd')
# 'Defaults.py' should not be changed by users; 'mm_cfg.py' should instead.
backup=('usr/lib/mailman/Mailman/mm_cfg.py')
install=$pkgname.install
@ -19,6 +19,7 @@ source=("https://launchpad.net/mailman/2.1/$pkgver/+download/mailman-$pkgver.tgz
'mailman.profile.csh'
'mailman.sysusers'
'01-mailman-2.1-build.patch'
'02-fix-500-error-for-non-member.patch'
)
validpgpkeys=('C638CAEF0AC21563736B5A22555B975E953B8693') # Mark Sapiro <mark@msapiro.net>
sha256sums=('7b8e9222364abdfd25cb2053c422319aac7b620c287dd979703e0399d72f4390'
@ -26,7 +27,8 @@ sha256sums=('7b8e9222364abdfd25cb2053c422319aac7b620c287dd979703e0399d72f4390'
'1af0e72434c6dbaada49df3b2b7de03ec4574f7534ce5545b4de26372241d9f4'
'058d35874967ccd8b9a92fa40480c1350f4ef5ad2fa783e4baf1b0309f6782cb'
'3e10268d5dfa64699efa247ef0082a6ec5f1dea401fa4d05c030994c6a115348'
'50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561')
'50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561'
'aa01f95e6c79cc3c2b82922ee80a7434cfd2f79ad2e1c946df97539460e18b5d')
prepare() {
cd $pkgname-$pkgver

@ -0,0 +1,19 @@
# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1887
# https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1888
=== modified file 'Mailman/Cgi/options.py'
--- old/Mailman/Cgi/options.py 2021-11-24 03:38:19 +0000
+++ new/Mailman/Cgi/options.py 2022-02-22 18:10:03 +0000
@@ -169,8 +169,9 @@
if not mlist.isMember(user):
if mlist.private_roster == 0:
doc.addError(_('No such member: %(safeuser)s.'))
- loginpage(mlist, doc, None, language)
- print doc.Format()
+ user = None
+ loginpage(mlist, doc, user, language)
+ print doc.Format()
return
# Avoid cross-site scripting attacks

@ -3,14 +3,14 @@
pkgname=mailman
pkgver=2.1.39
pkgrel=1
pkgrel=2
pkgdesc='The GNU Mailing List Manager'
arch=(x86_64)
license=('GPL')
url='https://www.list.org/'
# we need to have the mailman user to build mailman
makedepends=('mailman')
depends=('glibc' 'python2' 'smtp-server' 'python2-dnspython')
depends=('glibc' 'python2' 'smtp-server' 'python2-dnspython' 'systemd')
# 'Defaults.py' should not be changed by users; 'mm_cfg.py' should instead.
backup=('usr/lib/mailman/Mailman/mm_cfg.py')
install=$pkgname.install
@ -19,6 +19,7 @@ source=("https://launchpad.net/mailman/2.1/$pkgver/+download/mailman-$pkgver.tgz
'mailman.profile.csh'
'mailman.sysusers'
'01-mailman-2.1-build.patch'
'02-fix-500-error-for-non-member.patch'
)
validpgpkeys=('C638CAEF0AC21563736B5A22555B975E953B8693') # Mark Sapiro <mark@msapiro.net>
sha256sums=('7b8e9222364abdfd25cb2053c422319aac7b620c287dd979703e0399d72f4390'
@ -26,7 +27,8 @@ sha256sums=('7b8e9222364abdfd25cb2053c422319aac7b620c287dd979703e0399d72f4390'
'1af0e72434c6dbaada49df3b2b7de03ec4574f7534ce5545b4de26372241d9f4'
'058d35874967ccd8b9a92fa40480c1350f4ef5ad2fa783e4baf1b0309f6782cb'
'3e10268d5dfa64699efa247ef0082a6ec5f1dea401fa4d05c030994c6a115348'
'50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561')
'50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561'
'aa01f95e6c79cc3c2b82922ee80a7434cfd2f79ad2e1c946df97539460e18b5d')
prepare() {
cd $pkgname-$pkgver

Loading…
Cancel
Save