Last Update: "2005/11/15 13:44:05 makoto"

pkg_info -D

前の項目と重複しますが、pkg_info -D fml について説明します。

「pkgsrc から入れたけれど、それからどうするの ?」 が分らないことが良くあります。 pkgsrc の約束事として、設置関係の説明を -D で得られます (ただし、pkgsrc に用意されているどれでも常にその -D が用意されている、 という訳には行かないようです)。 それで、fml の場合には、次のような説明になります。

ttyp0:makoto@fml 20:58:23/051027(...log/httpd)> pkg_info -D fml
Information for fml-4.0.20040215:

Install notice:

$NetBSD$ (1) who manages the Mailing List fml Mailing List Software is installed assuming it will be managed under user:groups = fml:fml combination. If you prefer managing with your own privilege, use following lines to change the situation chown -R your_id.your_groups /var/spool/ml chown -R your_id.your_groups /usr/pkg/fml When doing so, please update /etc/shells so that your login shell is listed in it. (2) managing the list and getting help: /usr/pkg/fml/makefml -h or, /usr/pkg/fml/makefml help (3) creating new Mailing List Assuming the name of Mailing List is 'hello', use % /usr/pkg/fml/makefml newml hello % su OR sudo -s Password: # cat /var/spool/ml/hello/aliases >> /etc/mail/aliases # newaliases # exit to create a list. (4) You may change the default setting stored in 'system' file (written in Perl) under the following directory: /usr/pkg/fml/Configurations -> /usr/pkg/fml/.fml/ $LANGUAGE = 'Japanese'; will give you various files in Japanese. (help, info etc) To see these information later, use pkg_info -D fml Thanks for using NetBSD and pkgsrc/mail/fml.
このうちの(2) のmake fml は -h を付けて起動すると、 その使い方を表示します。
makefml Usage:

             makefml command
             makefml command <ML>  options
             makefml <ML>::command options
 
   makefml command arguments         what
   ---------------------------------------------------------
...
 makefml newml ML                  make a new Mailing List <ML>

...

(3) については 次々頁 で説明します。

(4) については上だけの記述だと何のことか良く分りませんが、 symlink になっています。

ttyp0:makoto@venetia 8:26:41/051028(~)> ls -l /usr/pkg/fml/Configurations lrwxr-xr-x 1 root fml 11 Oct 22 22:18 /usr/pkg/fml/Configurations@ -> ../fml/.fml
/usr/pkg/fml/.fml:
total 16
-rw-r--r--  1 makoto  users  289 Oct 22 22:18 cgi.conf
-rw-------  1 makoto  users  942 Oct 27 22:47 log
-rw-rw-r--  1 makoto  users  312 Oct 22 22:15 system
-rw-rw-r--  1 makoto  users   18 Oct 22 22:15 system.sh
この中の system で全体の設定が可能です。