diff options
| author | Barry Warsaw | 2007-07-13 00:19:10 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-07-13 00:19:10 -0400 |
| commit | 288ae405b09baa443eb1b39422c48c315fbb2e5a (patch) | |
| tree | e2cd153be141921db8ec9898b2d9fa5cc8ffe9fc /Mailman | |
| parent | da315b5b08029236dc1065089399a4fb16446477 (diff) | |
| download | mailman-288ae405b09baa443eb1b39422c48c315fbb2e5a.tar.gz mailman-288ae405b09baa443eb1b39422c48c315fbb2e5a.tar.zst mailman-288ae405b09baa443eb1b39422c48c315fbb2e5a.zip | |
The start of a setuptools conversion. All the Makefile.in and autoconf
artifacts are removed, as is the C files which we will no longer need.
Diffstat (limited to 'Mailman')
| -rw-r--r-- | Mailman/Archiver/Makefile.in | 73 | ||||
| -rw-r--r-- | Mailman/Bouncers/Makefile.in | 75 | ||||
| -rw-r--r-- | Mailman/Cgi/Makefile.in | 72 | ||||
| -rw-r--r-- | Mailman/Commands/Makefile.in | 70 | ||||
| -rw-r--r-- | Mailman/Defaults.py.in | 23 | ||||
| -rw-r--r-- | Mailman/Gui/Makefile.in | 71 | ||||
| -rw-r--r-- | Mailman/Handlers/Makefile.in | 70 | ||||
| -rw-r--r-- | Mailman/MTA/Makefile.in | 70 | ||||
| -rw-r--r-- | Mailman/Makefile.in | 101 | ||||
| -rw-r--r-- | Mailman/Queue/Makefile.in | 91 | ||||
| -rw-r--r-- | Mailman/Queue/tests/Makefile.in | 71 | ||||
| -rw-r--r-- | Mailman/Version.py | 6 | ||||
| -rw-r--r-- | Mailman/bin/Makefile.in | 71 | ||||
| -rw-r--r-- | Mailman/bin/make_instance.py | 120 | ||||
| -rw-r--r-- | Mailman/configuration.py | 72 | ||||
| -rw-r--r-- | Mailman/database/Makefile.in | 92 | ||||
| -rw-r--r-- | Mailman/database/model/Makefile.in | 71 | ||||
| -rw-r--r-- | Mailman/docs/Makefile.in | 82 | ||||
| -rw-r--r-- | Mailman/ext/Makefile.in | 71 | ||||
| -rw-r--r-- | Mailman/interfaces/Makefile.in | 71 | ||||
| -rw-r--r-- | Mailman/testing/Makefile.in | 82 | ||||
| -rw-r--r-- | Mailman/testing/bounces/Makefile.in | 66 |
22 files changed, 161 insertions, 1430 deletions
diff --git a/Mailman/Archiver/Makefile.in b/Mailman/Archiver/Makefile.in deleted file mode 100644 index 32ab5381d..000000000 --- a/Mailman/Archiver/Makefile.in +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/Archiver -SHELL= /bin/sh - -MODULES= __init__.py Archiver.py HyperArch.py HyperDatabase.py \ -pipermail.py - - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile - diff --git a/Mailman/Bouncers/Makefile.in b/Mailman/Bouncers/Makefile.in deleted file mode 100644 index 56a9402c0..000000000 --- a/Mailman/Bouncers/Makefile.in +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/Bouncers -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile - - -# Local Variables: -# indent-tabs-mode: t -# End: diff --git a/Mailman/Cgi/Makefile.in b/Mailman/Cgi/Makefile.in deleted file mode 100644 index 61ceec7db..000000000 --- a/Mailman/Cgi/Makefile.in +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman -CGIDIR= $(PACKAGEDIR)/Cgi -SHELL= /bin/sh - -CGI_MODULES= *.py - - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(CGI_MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(CGIDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/Commands/Makefile.in b/Mailman/Commands/Makefile.in deleted file mode 100644 index 4045cf9cd..000000000 --- a/Mailman/Commands/Makefile.in +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright (C) 2002-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/Commands -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 7c6242521..0bc552d26 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -1237,27 +1237,16 @@ PENDINGDB_LOCK_DEBUGGING = Off ##### # Nothing below here is user configurable. Most of these values are in this # file for internal system convenience. Don't change any of them or override -# any of them in your mm_cfg.py file! +# any of them in your mailman.cfg file! ##### -# These directories are used to find various important files in the Mailman -# installation. PREFIX and EXEC_PREFIX are set by configure and should point -# to the installation directory of the Mailman package. -PYTHON = '@PYTHON@' -PREFIX = '@prefix@' -EXEC_PREFIX = '@exec_prefix@' -VAR_PREFIX = '@VAR_PREFIX@' - -# Work around a bogus autoconf 2.12 bug -if EXEC_PREFIX == '${prefix}': - EXEC_PREFIX = PREFIX - -# CGI extension, change using configure script -CGIEXT = '@CGIEXT@' +# This is the top-level run-time data directory. All other runtime data by +# default lives under this directory. +RUNTIME_DIR = '$runtime_dir' # Group id that group-owns the Mailman installation -MAILMAN_USER = '@MAILMAN_USER@' -MAILMAN_GROUP = '@MAILMAN_GROUP@' +MAILMAN_USER = '$user_name' +MAILMAN_GROUP = '$group_name' # Enumeration for Mailman cgi widget types Toggle = 1 diff --git a/Mailman/Gui/Makefile.in b/Mailman/Gui/Makefile.in deleted file mode 100644 index aa8b63ef8..000000000 --- a/Mailman/Gui/Makefile.in +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright (C) 2000-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/Gui -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/Handlers/Makefile.in b/Mailman/Handlers/Makefile.in deleted file mode 100644 index 9e75be2d1..000000000 --- a/Mailman/Handlers/Makefile.in +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/Handlers -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/MTA/Makefile.in b/Mailman/MTA/Makefile.in deleted file mode 100644 index 15e8566d6..000000000 --- a/Mailman/MTA/Makefile.in +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/MTA -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/Makefile.in b/Mailman/Makefile.in deleted file mode 100644 index e71d86ce8..000000000 --- a/Mailman/Makefile.in +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VERSION= @VERSION@ - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman -SHELL= /bin/sh - -MODULES= $(srcdir)/*.py -SUBDIRS= Cgi Archiver Handlers Bouncers Queue MTA Gui Commands \ - bin database docs ext interfaces testing - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE)); \ - done - -install-here: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(PACKAGEDIR); \ - done - $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR) - if [ ! -f $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py ]; \ - then \ - $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py; \ - fi - -install: install-here - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \ - done - -finish: - @for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \ - done - -clean: - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) clean); \ - done - -distclean: - -rm Makefile Defaults.py mm_cfg.py.dist - -rm *.pyc - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) distclean); \ - done diff --git a/Mailman/Queue/Makefile.in b/Mailman/Queue/Makefile.in deleted file mode 100644 index 971d3c9f5..000000000 --- a/Mailman/Queue/Makefile.in +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/Queue -SHELL= /bin/sh - -MODULES= *.py -SUBDIRS= tests - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE)); \ - done - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \ - done - -finish: - @for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \ - done - -clean: - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) clean); \ - done - -distclean: - -rm *.pyc - -rm Makefile - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) distclean); \ - done diff --git a/Mailman/Queue/tests/Makefile.in b/Mailman/Queue/tests/Makefile.in deleted file mode 100644 index e0a246a40..000000000 --- a/Mailman/Queue/tests/Makefile.in +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright (C) 2006-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/Queue/tests -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/Version.py b/Mailman/Version.py index 6fe2918c5..a922d88ad 100644 --- a/Mailman/Version.py +++ b/Mailman/Version.py @@ -16,7 +16,7 @@ # USA. # Mailman version -VERSION = "2.2.0a1" +VERSION = "3.0.0a1" # And as a hex number in the manner of PY_VERSION_HEX ALPHA = 0xa @@ -26,8 +26,8 @@ GAMMA = 0xc RC = GAMMA FINAL = 0xf -MAJOR_REV = 2 -MINOR_REV = 2 +MAJOR_REV = 3 +MINOR_REV = 0 MICRO_REV = 0 REL_LEVEL = ALPHA # at most 15 beta releases! diff --git a/Mailman/bin/Makefile.in b/Mailman/bin/Makefile.in deleted file mode 100644 index a90fb7094..000000000 --- a/Mailman/bin/Makefile.in +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/bin -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/bin/make_instance.py b/Mailman/bin/make_instance.py new file mode 100644 index 000000000..756199cea --- /dev/null +++ b/Mailman/bin/make_instance.py @@ -0,0 +1,120 @@ +# Copyright (C) 2007 by the Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. + +from __future__ import with_statement + +import os +import grp +import pwd +import sys +import optparse +from string import Template + +import Mailman +from Mailman.Version import MAILMAN_VERSION +from Mailman.i18n import _ + +__i18n_templates__ = True +SPACE = ' ' + + + +def parseargs(): + parser = optparse.OptionParser(MAILMAN_VERSION, usage=_("""\ +%prog [options] + +Create a Mailman instance by generating all the necessary basic configuration +support and intervening directories. +""")) + parser.add_option('-r', '--runtime-dir', + type='string', default='/var/mailman', help=_("""\ +The top-level run-time data directory. All supporting run-time data will be +placed in subdirectories of this directory. It will be created if necessary, +although this might require superuser privileges.""")) + parser.add_option('-p', '--permchecks', + default=False, action='store_true', help=_("""\ +Perform permission checks on the runtime directory.""")) + parser.add_option('-u', '--user', + type='string', default=None, help=_("""\ +The user id or name to use for the run-time directory. If not specified, the +current user is used.""")) + parser.add_option('-g', '--group', + type='string', default=None, help=_("""\ +The group id or name to use for the run-time directory. If not specified, the +current group is used.""")) + parser.add_option('-l', '--language', + default=[], type='string', action='append', help=_("""\ +Enable the given language. Use 'all' to enable all supported languages.""")) + opts, args = parser.parse_args() + if args: + unexpected = SPACE.join(args) + parser.print_error(_('Unexpected arguments: $unexpected')) + return parser, opts, args + + + +def main(): + parser, opts, args = parseargs() + # Create the Defaults.py file using substitutions. + in_file_path = os.path.join(os.path.dirname(Mailman.__file__), + 'Defaults.py.in') + out_file_path = os.path.splitext(in_file_path)[0] + with open(in_file_path) as fp: + raw = Template(fp.read()) + # Figure out which user name and group name to use. + if opts.user is None: + uid = os.getuid() + else: + try: + uid = int(opts.user) + except ValueError: + try: + uid = pwd.getpwnam(opts.user).pw_uid + except KeyError: + parser.print_error(_('Unknown user: $opts.user')) + try: + user_name = pwd.getpwuid(uid) + except KeyError: + parser.print_error(_('Unknown user: $opts.user')) + if opts.group is None: + gid = os.getgid() + else: + try: + gid = int(opts.group) + except ValueError: + try: + gid = grp.getgrnam(opts.group).gr_gid + except KeyError: + parser.print_error(_('Unknown group: $opts.group')) + try: + group_name = grp.getgrgid(gid) + except KeyError: + parser.print_error(_('Unknown group: $opts.group')) + # Process the .in file and write it to Defaults.py. + processed = raw.safe_substitute(runtime_dir=opts.runtime_dir, + user_name=user_name, + group_name=group_name) + with open(out_file_path, 'w') as fp: + fp.write(processed) + # XXX Do --permchecks + # XXX Do --language + + + +if __name__ == '__main__': + main() + diff --git a/Mailman/configuration.py b/Mailman/configuration.py index aa3e1f9cf..1943b3495 100644 --- a/Mailman/configuration.py +++ b/Mailman/configuration.py @@ -45,16 +45,17 @@ class Configuration(object): self.qrunners = {} def load(self, filename=None): + join = os.path.join # Load the configuration from the named file, or if not given, search - # in VAR_PREFIX for an etc/mailman.cfg file. If that file is missing, - # use Mailman/mm_cfg.py for backward compatibility. + # in the runtime data directory for an etc/mailman.cfg file. If that + # file is missing, use Mailman/mm_cfg.py for backward compatibility. # # Whatever you find, create a namespace and execfile that file in it. # The values in that namespace are exposed as attributes on this # Configuration instance. original_filename = filename if filename is None: - filename = os.path.join(Defaults.VAR_PREFIX, 'etc', 'mailman.cfg') + filename = join(Defaults.RUNTIME_DIR, 'etc', 'mailman.cfg') # Set up the execfile namespace ns = Defaults.__dict__.copy() # Prune a few things, add a few things @@ -86,47 +87,38 @@ class Configuration(object): if ns['USE_LMTP']: self.add_qrunner('LMTP') # Pull out the defaults - PREFIX = ns['PREFIX'] - VAR_PREFIX = ns['VAR_PREFIX'] - EXEC_PREFIX = ns['EXEC_PREFIX'] + RUNTIME_DIR = ns['RUNTIME_DIR'] # Now that we've loaded all the configuration files we're going to # load, set up some useful directories. - self.LIST_DATA_DIR = os.path.join(VAR_PREFIX, 'lists') - self.LOG_DIR = os.path.join(VAR_PREFIX, 'logs') - self.LOCK_DIR = lockdir = os.path.join(VAR_PREFIX, 'locks') - self.DATA_DIR = datadir = os.path.join(VAR_PREFIX, 'data') - self.ETC_DIR = etcdir = os.path.join(VAR_PREFIX, 'etc') - self.SPAM_DIR = os.path.join(VAR_PREFIX, 'spam') - self.EXT_DIR = os.path.join(VAR_PREFIX, 'ext') - self.WRAPPER_DIR = os.path.join(EXEC_PREFIX, 'mail') - self.BIN_DIR = os.path.join(PREFIX, 'bin') - self.SCRIPTS_DIR = os.path.join(PREFIX, 'scripts') - self.TEMPLATE_DIR = os.path.join(PREFIX, 'templates') - self.MESSAGES_DIR = os.path.join(PREFIX, 'messages') - self.PUBLIC_ARCHIVE_FILE_DIR = os.path.join(VAR_PREFIX, - 'archives', 'public') - self.PRIVATE_ARCHIVE_FILE_DIR = os.path.join(VAR_PREFIX, - 'archives', 'private') + self.LIST_DATA_DIR = join(RUNTIME_DIR, 'lists') + self.LOG_DIR = join(RUNTIME_DIR, 'logs') + self.LOCK_DIR = lockdir = join(RUNTIME_DIR, 'locks') + self.DATA_DIR = datadir = join(RUNTIME_DIR, 'data') + self.ETC_DIR = etcdir = join(RUNTIME_DIR, 'etc') + self.SPAM_DIR = join(RUNTIME_DIR, 'spam') + self.EXT_DIR = join(RUNTIME_DIR, 'ext') + self.PUBLIC_ARCHIVE_FILE_DIR = join(RUNTIME_DIR, 'archives', 'public') + self.PRIVATE_ARCHIVE_FILE_DIR = join( + RUNTIME_DIR, 'archives', 'private') # Directories used by the qrunner subsystem - self.QUEUE_DIR = qdir = os.path.join(VAR_PREFIX, 'qfiles') - self.INQUEUE_DIR = os.path.join(qdir, 'in') - self.OUTQUEUE_DIR = os.path.join(qdir, 'out') - self.CMDQUEUE_DIR = os.path.join(qdir, 'commands') - self.BOUNCEQUEUE_DIR = os.path.join(qdir, 'bounces') - self.NEWSQUEUE_DIR = os.path.join(qdir, 'news') - self.ARCHQUEUE_DIR = os.path.join(qdir, 'archive') - self.SHUNTQUEUE_DIR = os.path.join(qdir, 'shunt') - self.VIRGINQUEUE_DIR = os.path.join(qdir, 'virgin') - self.BADQUEUE_DIR = os.path.join(qdir, 'bad') - self.RETRYQUEUE_DIR = os.path.join(qdir, 'retry') - self.MAILDIR_DIR = os.path.join(qdir, 'maildir') + self.QUEUE_DIR = qdir = join(RUNTIME_DIR, 'qfiles') + self.INQUEUE_DIR = join(qdir, 'in') + self.OUTQUEUE_DIR = join(qdir, 'out') + self.CMDQUEUE_DIR = join(qdir, 'commands') + self.BOUNCEQUEUE_DIR = join(qdir, 'bounces') + self.NEWSQUEUE_DIR = join(qdir, 'news') + self.ARCHQUEUE_DIR = join(qdir, 'archive') + self.SHUNTQUEUE_DIR = join(qdir, 'shunt') + self.VIRGINQUEUE_DIR = join(qdir, 'virgin') + self.BADQUEUE_DIR = join(qdir, 'bad') + self.RETRYQUEUE_DIR = join(qdir, 'retry') + self.MAILDIR_DIR = join(qdir, 'maildir') # Other useful files - self.PIDFILE = os.path.join(datadir, - 'master-qrunner.pid') - self.SITE_PW_FILE = os.path.join(datadir, 'adm.pw') - self.LISTCREATOR_PW_FILE = os.path.join(datadir, 'creator.pw') - self.CONFIG_FILE = os.path.join(etcdir, 'mailman.cfg') - self.LOCK_FILE = os.path.join(lockdir, 'master-qrunner') + self.PIDFILE = join(datadir, 'master-qrunner.pid') + self.SITE_PW_FILE = join(datadir, 'adm.pw') + self.LISTCREATOR_PW_FILE = join(datadir, 'creator.pw') + self.CONFIG_FILE = join(etcdir, 'mailman.cfg') + self.LOCK_FILE = join(lockdir, 'master-qrunner') # Now update our dict so attribute syntax just works if 'add_domain' in ns: del ns['add_domain'] diff --git a/Mailman/database/Makefile.in b/Mailman/database/Makefile.in deleted file mode 100644 index 10a689748..000000000 --- a/Mailman/database/Makefile.in +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright (C) 2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/database -SHELL= /bin/sh - -MODULES= *.py -SUBDIRS= model - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE)); \ - done - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \ - done - -finish: - @for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \ - done - -clean: - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) clean); \ - done - -distclean: - -rm *.pyc - -rm Makefile - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) distclean); \ - done diff --git a/Mailman/database/model/Makefile.in b/Mailman/database/model/Makefile.in deleted file mode 100644 index 2db8ce45e..000000000 --- a/Mailman/database/model/Makefile.in +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright (C) 2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/database/model -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/docs/Makefile.in b/Mailman/docs/Makefile.in deleted file mode 100644 index 0662d8a3e..000000000 --- a/Mailman/docs/Makefile.in +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/docs -SHELL= /bin/sh - -OTHERFILES= *.txt -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - -# Directories make should decend into -SUBDIRS= - -# Rules - -all: - -install: - for f in $(MODULES) $(OTHERFILES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile - @for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) distclean); \ - done diff --git a/Mailman/ext/Makefile.in b/Mailman/ext/Makefile.in deleted file mode 100644 index be14be4f4..000000000 --- a/Mailman/ext/Makefile.in +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright (C) 2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/ext -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/interfaces/Makefile.in b/Mailman/interfaces/Makefile.in deleted file mode 100644 index d16bf9b70..000000000 --- a/Mailman/interfaces/Makefile.in +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright (C) 2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/interfaces -SHELL= /bin/sh - -MODULES= *.py - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - - -# Rules - -all: - -install: - for f in $(MODULES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile diff --git a/Mailman/testing/Makefile.in b/Mailman/testing/Makefile.in deleted file mode 100644 index 1326f67e5..000000000 --- a/Mailman/testing/Makefile.in +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# NOTE: Makefile.in is converted into Makefile by the configure script -# in the parent directory. Once configure has run, you can recreate -# the Makefile by running just config.status. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -PACKAGEDIR= $(prefix)/Mailman/testing -SHELL= /bin/sh - -MODULES= *.py -OTHERFILES= testing.cfg.in - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - -# Directories make should decend into -SUBDIRS= bounces - -# Rules - -all: - -install: - for f in $(MODULES) $(OTHERFILES); \ - do \ - $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \ - done - for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile - @for d in $(SUBDIRS); \ - do \ - (cd $$d; $(MAKE) distclean); \ - done diff --git a/Mailman/testing/bounces/Makefile.in b/Mailman/testing/bounces/Makefile.in deleted file mode 100644 index 0c9b2759b..000000000 --- a/Mailman/testing/bounces/Makefile.in +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright (C) 2001-2007 by the Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public Licenseo -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. - -# Variables set by configure - -VPATH= @srcdir@ -srcdir= @srcdir@ -bindir= @bindir@ -prefix= @prefix@ -exec_prefix= @exec_prefix@ -DESTDIR= - -CC= @CC@ -CHMOD= @CHMOD@ -INSTALL= @INSTALL@ - -DEFS= @DEFS@ - -# Customizable but not set by configure - -OPT= @OPT@ -CFLAGS= $(OPT) $(DEFS) -BOUNCEDIR= $(prefix)/Mailman/testing/bounces -SHELL= /bin/sh - -BOUNCE_FILES= $(srcdir)/*.txt - - -# Modes for directories and executables created by the install -# process. Default to group-writable directories but -# user-only-writable for executables. -DIRMODE= 775 -EXEMODE= 755 -FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) - -# Rules -all: - -install: - for f in $(BOUNCE_FILES); \ - do \ - $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(BOUNCEDIR); \ - done - -finish: - -clean: - -distclean: - -rm *.pyc - -rm Makefile |
