aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
author <>2003-01-02 05:25:50 +0000
committer <>2003-01-02 05:25:50 +0000
commitb132a73f15e432eaf43310fce9196ca0c0651465 (patch)
treec15f816ba7c4de99fef510e3bd75af0890d47441 /misc
downloadmailman2-b132a73f15e432eaf43310fce9196ca0c0651465.tar.gz
mailman2-b132a73f15e432eaf43310fce9196ca0c0651465.tar.xz
mailman2-b132a73f15e432eaf43310fce9196ca0c0651465.zip
This commit was manufactured by cvs2svn to create branch
'Release_2_1-maint'.
Diffstat (limited to 'misc')
-rw-r--r--misc/.cvsignore3
-rw-r--r--misc/JapaneseCodecs-1.4.9.tar.gzbin0 -> 288276 bytes
-rw-r--r--misc/KoreanCodecs-2.0.5.tar.gzbin0 -> 260762 bytes
-rw-r--r--misc/Makefile.in99
-rw-r--r--misc/PythonPowered.pngbin0 -> 945 bytes
-rw-r--r--misc/email-2.4.3.tar.gzbin0 -> 1108079 bytes
-rw-r--r--misc/gnu-head-tiny.jpgbin0 -> 3049 bytes
-rw-r--r--misc/mailman-large.jpgbin0 -> 6150 bytes
-rw-r--r--misc/mailman.in54
-rw-r--r--misc/mailman.jpgbin0 -> 2022 bytes
-rw-r--r--misc/mm-icon.pngbin0 -> 281 bytes
-rw-r--r--misc/paths.py.in60
12 files changed, 216 insertions, 0 deletions
diff --git a/misc/.cvsignore b/misc/.cvsignore
new file mode 100644
index 00000000..e7a13ed2
--- /dev/null
+++ b/misc/.cvsignore
@@ -0,0 +1,3 @@
+Makefile
+paths.py
+mailman
diff --git a/misc/JapaneseCodecs-1.4.9.tar.gz b/misc/JapaneseCodecs-1.4.9.tar.gz
new file mode 100644
index 00000000..c119a3d5
--- /dev/null
+++ b/misc/JapaneseCodecs-1.4.9.tar.gz
Binary files differ
diff --git a/misc/KoreanCodecs-2.0.5.tar.gz b/misc/KoreanCodecs-2.0.5.tar.gz
new file mode 100644
index 00000000..77edebdc
--- /dev/null
+++ b/misc/KoreanCodecs-2.0.5.tar.gz
Binary files differ
diff --git a/misc/Makefile.in b/misc/Makefile.in
new file mode 100644
index 00000000..bf2a0859
--- /dev/null
+++ b/misc/Makefile.in
@@ -0,0 +1,99 @@
+# Copyright (C) 1998,1999,2000,2001,2002 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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@
+var_prefix= @VAR_PREFIX@
+
+CC= @CC@
+CHMOD= @CHMOD@
+INSTALL= @INSTALL@
+PYTHON= @PYTHON@
+
+DEFS= @DEFS@
+
+# Customizable but not set by configure
+
+OPT= @OPT@
+CFLAGS= $(OPT) $(DEFS)
+PACKAGEDIR= $(prefix)/Mailman
+DATADIR= $(var_prefix)/data
+ICONDIR= $(prefix)/icons
+SCRIPTSDIR= $(prefix)/scripts
+
+SHELL= /bin/sh
+PYTHONLIBDIR= $(prefix)/pythonlib
+SETUPINSTOPTS= --install-lib $(PYTHONLIBDIR) \
+ --install-purelib $(PYTHONLIBDIR) \
+ --install-data $(PYTHONLIBDIR)
+SETUPCMD= setup.py --quiet install $(SETUPINSTOPTS)
+
+EMAILPKG= email-2.4.3
+JACODECSPKG= JapaneseCodecs-1.4.9
+KOCODECSPKG= KoreanCodecs-2.0.5
+
+PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG)
+
+# 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
+DATAMODE= 664
+INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+
+PATHSDIRS= bin cron scripts tests
+ICONS= $(srcdir)/*.jpg $(srcdir)/*.png
+
+# Rules
+
+all:
+
+install: install-other install-packages
+
+install-other:
+ $(INSTALL) -m $(FILEMODE) $(ICONS) $(ICONDIR)
+ for d in $(PATHSDIRS); \
+ do \
+ dir=$(prefix)/$$d; \
+ $(INSTALL) -m $(FILEMODE) paths.py $$dir; \
+ done
+ $(INSTALL) -m $(EXEMODE) mailman $(SCRIPTSDIR)
+
+install-packages:
+ for p in $(PACKAGES); \
+ do \
+ gunzip -c $(srcdir)/$$p.tar.gz | tar xf -; \
+ (cd $$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
+ done
+
+finish:
+
+clean:
+
+distclean:
+ -rm Makefile paths.py mailman
+ -rm -rf $(PACKAGES)
diff --git a/misc/PythonPowered.png b/misc/PythonPowered.png
new file mode 100644
index 00000000..2e9d99c2
--- /dev/null
+++ b/misc/PythonPowered.png
Binary files differ
diff --git a/misc/email-2.4.3.tar.gz b/misc/email-2.4.3.tar.gz
new file mode 100644
index 00000000..0a971b07
--- /dev/null
+++ b/misc/email-2.4.3.tar.gz
Binary files differ
diff --git a/misc/gnu-head-tiny.jpg b/misc/gnu-head-tiny.jpg
new file mode 100644
index 00000000..441be50d
--- /dev/null
+++ b/misc/gnu-head-tiny.jpg
Binary files differ
diff --git a/misc/mailman-large.jpg b/misc/mailman-large.jpg
new file mode 100644
index 00000000..e184f3c6
--- /dev/null
+++ b/misc/mailman-large.jpg
Binary files differ
diff --git a/misc/mailman.in b/misc/mailman.in
new file mode 100644
index 00000000..458e4f24
--- /dev/null
+++ b/misc/mailman.in
@@ -0,0 +1,54 @@
+#!/bin/sh
+#
+# mailman This shell script that starts and stops GNU Mailman.
+#
+# Copyright (C) 2001,2002 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copy this file to /etc/init.d/ (or /etc/rc.d/init.d/ depending on
+# your system) and activate it as such:
+#
+# On Debian, type "update-rc.d mailman defaults"
+# On RedHat, and derivatives, install with "chkconfig --add mailman"
+#
+# chkconfig: 2345 98 12
+# description: Mailman is the GNU Mailing List Manager, a program that \
+# manages electronic mail discussion groups. For more \
+# on GNU Mailman see http://www.list.org
+# processname: mailmanctl
+# config: @prefix@/Mailman/mm_cfg.py
+# pidfile: @prefix@/data/qrunner.pid
+
+PYTHON=@PYTHON@
+MAILMANHOME=@prefix@
+MAILMANCTL=$MAILMANHOME/bin/mailmanctl
+
+case "$1" in
+'start')
+ #rm -f $MAILMANHOME/locks/*
+ $PYTHON $MAILMANCTL -s -q start
+ ;;
+
+'stop')
+ $PYTHON $MAILMANCTL -q stop
+ ;;
+
+'restart')
+ $PYTHON $MAILMANCTL -q restart
+ ;;
+
+esac
+exit 0
diff --git a/misc/mailman.jpg b/misc/mailman.jpg
new file mode 100644
index 00000000..94a4c011
--- /dev/null
+++ b/misc/mailman.jpg
Binary files differ
diff --git a/misc/mm-icon.png b/misc/mm-icon.png
new file mode 100644
index 00000000..42c3cf75
--- /dev/null
+++ b/misc/mm-icon.png
Binary files differ
diff --git a/misc/paths.py.in b/misc/paths.py.in
new file mode 100644
index 00000000..18451ac8
--- /dev/null
+++ b/misc/paths.py.in
@@ -0,0 +1,60 @@
+# -*- python -*-
+
+# Copyright (C) 1998,1999,2000,2001,2002 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# This file becomes paths.py which is installed in may directories. By
+# importing this module, sys.path gets `hacked' so that the $prefix/Mailman
+# directory is inserted at the start of that list. That directory really
+# contains the Mailman modules in package form. This file exports two
+# attributes that other modules may use to get the absolute path to the
+# installed Mailman distribution.
+
+import sys
+import os
+
+# some scripts expect this attribute to be in this module
+prefix = '@prefix@'
+exec_prefix = '@exec_prefix@'
+
+# work around a bogus autoconf 2.12 bug
+if exec_prefix == '${prefix}':
+ exec_prefix = prefix
+
+# Hack the path to include the parent directory of the $prefix/Mailman package
+# directory.
+sys.path.insert(0, prefix)
+
+# We also need the pythonlib directory on the path to pick up any overrides of
+# standard modules and packages. Note that these must go at the front of the
+# path for this reason.
+sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
+
+# Include Python's site-packages directory.
+sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
+ 'site-packages')
+sys.path.append(sitedir)
+
+
+# In a normal interactive Python environment, the japanese.pth and korean.pth
+# files would be imported automatically. But because we inhibit the importing
+# of the site module, we need to be explicit about importing these codecs.
+import japanese
+# As of KoreanCodecs 2.0.5, you had to do the second import to get the Korean
+# codecs installed, however leave the first import in there in case an upgrade
+# changes this.
+import korean
+import korean.aliases