aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/Makefile.in4
-rw-r--r--bin/mailman-config40
2 files changed, 42 insertions, 2 deletions
diff --git a/bin/Makefile.in b/bin/Makefile.in
index 22c24b04..20ae5483 100644
--- a/bin/Makefile.in
+++ b/bin/Makefile.in
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2006 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2018 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
@@ -49,7 +49,7 @@ SCRIPTS= mmsitepass newlist rmlist add_members \
list_admins genaliases change_pw mailmanctl qrunner inject \
unshunt fix_url.py convert.py transcheck b4b5-archfix \
list_owners msgfmt.py show_qfiles discard rb-archfix \
- reset_pw.py export.py
+ reset_pw.py export.py mailman-config
BUILDDIR= ../build/bin
diff --git a/bin/mailman-config b/bin/mailman-config
new file mode 100644
index 00000000..6f845270
--- /dev/null
+++ b/bin/mailman-config
@@ -0,0 +1,40 @@
+#! @PYTHON@
+#
+# Copyright (C) 2018 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.
+#
+# Send bug reports or suggestions to Lindsay Haisley <fmouse@fmp.com>
+
+"""Show basic statistics about, and build options for this
+installation of Mailman. Requires python 2."""
+
+print """Configuration and build information for Mailman\n"""
+
+print "Mailman version: %s" % "@MM_VERSION@"
+print "Build Date: %s" % "@BUILD_DATE@"
+print ""
+print "prefix: %s" % "@prefix@"
+print "var_prefix: %s" % "@VAR_PREFIX@"
+print "mailman_user: %s" % "@MAILMAN_USER@"
+print "mailman_group: %s" % "@MAILMAN_GROUP@"
+print "mail_group: %s" % "@MAIL_GROUP@"
+print "cgi_group: %s" % "@CGI_GROUP@"
+print ""
+
+
+print "configure_opts: \"%s\"" % "@CONFIGURE_OPTS@"
+