diff options
| author | fukachan <fukachan> | 2006-01-19 14:23:21 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2006-01-19 14:23:21 +0000 |
| commit | 1afe19bedde6073c5dd191b4cbbdeb523694ffe0 (patch) | |
| tree | 48614207780d4a41144d07ac00d705fdf9dcb075 | |
| parent | e53ced50c3d1175861822bc17fe3db558c0aa7e6 (diff) | |
| download | fml8-1afe19bedde6073c5dd191b4cbbdeb523694ffe0.tar.gz fml8-1afe19bedde6073c5dd191b4cbbdeb523694ffe0.tar.bz2 fml8-1afe19bedde6073c5dd191b4cbbdeb523694ffe0.zip | |
add basic fml4 emulator tool
| -rw-r--r-- | regress/fml4/.cvsignore | 1 | ||||
| -rw-r--r-- | regress/fml4/INSTALL | 8 | ||||
| -rw-r--r-- | regress/fml4/config.sh | 9 | ||||
| -rwxr-xr-x | regress/fml4/emul_post.sh | 17 | ||||
| -rw-r--r-- | regress/fml4/fmlmk.conf | 38 |
5 files changed, 73 insertions, 0 deletions
diff --git a/regress/fml4/.cvsignore b/regress/fml4/.cvsignore new file mode 100644 index 00000000..b8f99f5b --- /dev/null +++ b/regress/fml4/.cvsignore @@ -0,0 +1 @@ +work diff --git a/regress/fml4/INSTALL b/regress/fml4/INSTALL new file mode 100644 index 00000000..ba22062c --- /dev/null +++ b/regress/fml4/INSTALL @@ -0,0 +1,8 @@ + + SET UP + +% cd work +% cvs -d cvs.fml.org:/cvsroot co fml +% cd fml +% make __dist FMLMK_CONF=$PWD/../../fmlmk.conf +% ( cd /var/tmp/daily_fml_snapshots/distrib/ ; make install ) diff --git a/regress/fml4/config.sh b/regress/fml4/config.sh new file mode 100644 index 00000000..11db1891 --- /dev/null +++ b/regress/fml4/config.sh @@ -0,0 +1,9 @@ +# +# $FML$ +# + +exec_prefix=/usr/local/fml4 + +ml_home_prefix=/var/spool/ml4 +ml_home_dir=$ml_home_prefix/elena + diff --git a/regress/fml4/emul_post.sh b/regress/fml4/emul_post.sh new file mode 100755 index 00000000..3f24df44 --- /dev/null +++ b/regress/fml4/emul_post.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $FML$ +# + +dir=`pwd` +msg=`pwd`/../testmails/text=plain + +. $dir/config.sh + +cd $ml_home_dir || exit 1 + +pwd + +$dir/../message/scramble.pl $msg | $exec_prefix/fml.pl $ml_home_dir + +exit 0; diff --git a/regress/fml4/fmlmk.conf b/regress/fml4/fmlmk.conf new file mode 100644 index 00000000..cbfd2858 --- /dev/null +++ b/regress/fml4/fmlmk.conf @@ -0,0 +1,38 @@ +# fmlmk.conf example +# This file should be at ${.CURDIR}/fmlmk.conf or ~/.fmlmk.conf (default). +# +# $Id$ +# + + +### [LOCATIONS] ### + +# +TOP_DIR = + +# exports for ftp +FTP_DIR = $(TOP_DIR)/var/spool/ftp/pub/fml +ARCHIVE_DIR = ${FTP_DIR}/archives/these_days +SNAPSHOT_DIR = ${FTP_DIR}/snapshot + +# exports for www +WWW_BASE_DIR = $(TOP_DIR)/var/www/htdocs/fml +WWW_DIR = $(TOP_DIR)/var/www/htdocs/fml + +# (temporary) working directory for make "snapshot", "build" and "release" +DESTDIR = $(TOP_DIR)/var/tmp/daily_fml_snapshots + + + +### [PROGRAMS] ### +# programs other than /*bin/, /usr/*bin/ should be defined + +PERL = /usr/pkg/bin/perl +RSYNC = /usr/pkg/bin/rsync +ZIP = /usr/pkg/bin/zip +BZIP2 = /usr/bin/bzip2 + +# Japanese conversion +NKF = /usr/pkg/bin/nkf +JCONV = ${NKF} -j +ECONV = ${NKF} -e |
