summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-03-06 11:29:11 +0000
committerfukachan <fukachan>2003-03-06 11:29:11 +0000
commit580655b38f3ec5d9ab88d0edcda7d2e9dbb71d65 (patch)
tree7a3469cde84a0fb6d8b022e7c5486d92a09f0a48 /fml
parent3e9360547ba66feb6af6187fdd4bc0928751d1ed (diff)
downloadfml8-580655b38f3ec5d9ab88d0edcda7d2e9dbb71d65.tar.gz
fml8-580655b38f3ec5d9ab88d0edcda7d2e9dbb71d65.tar.bz2
fml8-580655b38f3ec5d9ab88d0edcda7d2e9dbb71d65.zip
use $default_config_dir/modules to resolv map between prorame name and
class (+ options).
Diffstat (limited to 'fml')
-rw-r--r--fml/etc/install.cf.in4
-rw-r--r--fml/etc/main.cf.in8
-rw-r--r--fml/etc/modules50
3 files changed, 58 insertions, 4 deletions
diff --git a/fml/etc/install.cf.in b/fml/etc/install.cf.in
index 5267b1d3..6920632b 100644
--- a/fml/etc/install.cf.in
+++ b/fml/etc/install.cf.in
@@ -3,7 +3,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: install.cf.in,v 1.2 2003/01/28 04:28:00 fukachan Exp $
+# $FML: install.cf.in,v 1.3 2003/01/28 04:30:44 fukachan Exp $
#
@@ -79,7 +79,7 @@ template_files = include
dot-qmail-request
procmailrc
install.cf
-
+ modules
bin_programs = fml
fmladdr
diff --git a/fml/etc/main.cf.in b/fml/etc/main.cf.in
index 6e808cd8..46e1f2db 100644
--- a/fml/etc/main.cf.in
+++ b/fml/etc/main.cf.in
@@ -1,5 +1,5 @@
#
-# $FML: main.cf.in,v 1.12 2002/04/01 23:41:09 fukachan Exp $
+# $FML: main.cf.in,v 1.13 2002/09/24 13:32:19 fukachan Exp $
#
# fml version
@@ -67,7 +67,6 @@ default_domain = @default_domain@
# version dependent default_config.cf location
-# whic holds
# Example: /etc/fml/defaults/8.0/default_config.cf
default_config_cf = $default_config_dir/default_config.cf
@@ -77,6 +76,11 @@ default_config_cf = $default_config_dir/default_config.cf
domain_default_config = $config_dir/domains/$default_domain/config.cf
+# map between programs name and modules
+# Example: /etc/fml/defaults/8.0/modules
+default_module_maps = $default_config_dir/modules
+
+
# virtual format: domain directory
# for example,
# fml.org /var/spool/ml/fml.org
diff --git a/fml/etc/modules b/fml/etc/modules
new file mode 100644
index 00000000..2fbb2438
--- /dev/null
+++ b/fml/etc/modules
@@ -0,0 +1,50 @@
+#
+# $FML$
+#
+# map between programs and modules (like /etc/name_to_sysnum on solaris ?)
+#
+
+# program name class argv syntax
+# --------------------------------------------------------------------
+#
+
+# libexec/
+command FML::Process::Command $ml
+digest FML::Process::Digest $ml
+distribute FML::Process::Distribute $ml
+error FML::Process::Error $ml
+fmlserv FML::Process::ListServer ?
+mead FML::Process::Error $ml
+
+# bin/
+fml FML::Process::Configure $ml $command $opts
+fmladdr FML::Process::Addr
+fmlalias FML::Process::Alias
+fmlconf FML::Process::ConfViewer
+fmldoc FML::Process::DocViewer
+fmlerror FML::Process::ErrorViewer $ml
+fmlhtmlify FML::Process::HTMLify $ml
+fmlspool FML::Process::Spool $ml
+fmlsummary FML::Process::Summary $ml
+fmlsuper FML::Process::Super $ml
+fmlthread FML::Process::ThreadTrack $ml
+makefml FML::Process::Configure $command $ml $opts
+
+# cgi-bin/
+fmlthread.cgi FML::CGI::ThreadTrack $cgiargs
+thread.cgi FML::CGI::ThreadTrack $cgiargs
+threadview.cgi FML::CGI::ThreadTrack $cgiargs
+menu.cgi FML::CGI::Admin::Menu $cgiargs
+config.cgi FML::CGI::Admin::Menu $cgiargs
+
+# libexec/ compatibility
+fml.pl FML::Process::Distribute $ml
+fml.pl__--ctladdr FML::Process::Command $ml
+
+# test
+loader FML::Process::Distribute $ml
+loader__--ctladdr FML::Process::Command
+
+# demo
+fmlsch FML::Process::Calendar
+fmlsch.cgi FML::CGI::Calendar