[Pkg-mailman-hackers] Pkg-mailman commit - rev 476 - in trunk/debian: . patches

Lionel Elie Mamane lmamane at alioth.debian.org
Fri Jan 26 11:59:14 CET 2007


Author: lmamane
Date: 2007-01-26 11:59:13 +0100 (Fri, 26 Jan 2007)
New Revision: 476

Modified:
   trunk/debian/changelog
   trunk/debian/patches/21_newlist_help.patch
   trunk/debian/patches/series
Log:
Allow people that have list as a supplementary group to create new mailing lists.  (see bug#309339)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-01-20 04:24:09 UTC (rev 475)
+++ trunk/debian/changelog	2007-01-26 10:59:13 UTC (rev 476)
@@ -1,3 +1,10 @@
+mailman (1:2.1.9-6) UNRELEASED; urgency=low
+
+  * Allow people that have list as a supplementary group to create new
+    mailing lists.  (see bug#309339)
+
+ -- Lionel Elie Mamane <lmamane at debian.org>  Fri, 26 Jan 2007 11:58:36 +0100
+
 mailman (1:2.1.9-5) unstable; urgency=medium
 
   * Ship bin/export.py from upstream SVN to make automatic upgrades to

Modified: trunk/debian/patches/21_newlist_help.patch
===================================================================
--- trunk/debian/patches/21_newlist_help.patch	2007-01-20 04:24:09 UTC (rev 475)
+++ trunk/debian/patches/21_newlist_help.patch	2007-01-26 10:59:13 UTC (rev 476)
@@ -1,10 +1,11 @@
-Patch: 21_newlist_help.patch
-Author: Tollef Fog Heen <tfheen at debian.org>
-make newlist be a bit friendlier.
-Index: bin/newlist
-===================================================================
---- bin/newlist.orig	2006-08-15 15:12:18.000000000 +0800
-+++ bin/newlist	2006-08-15 15:14:32.000000000 +0800
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## Patch: 21_newlist_help.patch
+## Author: Tollef Fog Heen <tfheen at debian.org>
+## DP: make newlist be a bit friendlier.
+ at DPATCH@
+diff -urNad mailman-2.1.9~/bin/newlist mailman-2.1.9/bin/newlist
+--- mailman-2.1.9~/bin/newlist	2007-01-20 03:44:12.000000000 +0100
++++ mailman-2.1.9/bin/newlist	2007-01-26 11:53:19.853900943 +0100
 @@ -87,6 +87,9 @@
  defined in your Defaults.py file or overridden by settings in mm_cfg.py).
  
@@ -28,7 +29,7 @@
  
  def main():
 +    gid = grp.getgrnam(mm_cfg.MAILMAN_GROUP)[2]
-+    if os.getgid() != gid:
++    if os.getgid() != gid and gid not in os.getgroups():
 +        os.setgid(gid)
      try:
          opts, args = getopt.getopt(sys.argv[1:], 'hql:u:e:',

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2007-01-20 04:24:09 UTC (rev 475)
+++ trunk/debian/patches/series	2007-01-26 10:59:13 UTC (rev 476)
@@ -6,7 +6,7 @@
 15_mailmanctl_daemonize.patch -p0
 16_update_debian.patch -p0
 20_qmail_to_mailman.debian.patch -p0
-21_newlist_help.patch -p0
+21_newlist_help.patch -p1
 30_pipermail_threads.patch -p0
 32_MIME_fixup.patch -p0
 51_nocompile.pyc.patch -p0




More information about the Pkg-mailman-hackers mailing list