~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to buildmailman.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2008-01-03 20:18:56 UTC
  • mfrom: (5427.2.2 mailman-config-fix)
  • Revision ID: launchpad@pqm.canonical.com-20080103201856-p11fhtsc1fzkzdnq
[r=flacoste] Two fixes found while testing mailing lists on staging.  First, the build process needs the proper gid that Exim will invoke the wrapper with.  Second, a simple minded script to sync the Mailman data structures with staging's copy of production.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
    mailman_source = os.path.join('sourcecode', 'mailman')
73
73
 
74
 
    # Build and install the Mailman software.  Note that we don't care
75
 
    # about --with-mail-gid or --with-cgi-gid because we're not going to
76
 
    # use those Mailman subsystems.
 
74
    # Build and install the Mailman software.  Note that we don't care about
 
75
    # --with-cgi-gid because we're not going to use that Mailman subsystem.
77
76
    configure_args = (
78
77
        './configure',
79
78
        '--prefix', mailman_path,
81
80
        '--with-python=' + sys.executable,
82
81
        '--with-username=' + user,
83
82
        '--with-groupname=' + group,
 
83
        '--with-mail-gid=' + group,
84
84
        '--with-mailhost=' + config.mailman.build.host_name,
85
85
        )
86
86
    retcode = subprocess.call(configure_args, cwd=mailman_source)