[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:17053] SAS and debconf (Re: Don't you know the ``Storm Linux''? (was Re: Re: PRE RELEASE 'Debimaru'))
At Tue, 27 Jul 1999 23:15:53 +0900,
Ken N. <kenn@xxxxxxxxxxx> wrote:
> ãã†ã„ãˆã°ã€Storm Linux[1]ã®è©±é¡ŒãŒã‚ã¾ã‚Šå‡ºã¦ã„ãªã„よã†ã§ã™ãŒã€
> 興味æŒã£ã¦ã‚‹ã®ã¯ç§ã ã‘ãªã®ã‹ãªã€‚
ã‚‚ã¡ã‚ã‚“æŒã£ã¦ã„ã¾ã™:)
7/10㮠JP日誌
http://www.debian.or.jp/diary/?1999071&to=199907102S11#199907102S11
ã« Storm Linux ã«å¯¾ã™ã‚‹ Joey Hess (debconf ã®å®Ÿè£…者)ã®reportãŒã‚ã‚Šã¾ã™ã。
åŒã˜ã§ã™ãŒã€Debian Weekly News ã«ã‚‚載ã£ã¦ã„ã¾ã—ãŸã€‚
http://www.jp.debian.org/News/weekly/1999/27/
ã‚㨠Dice WhitePaperã«ã¯æ›¸ã„ã¦ã„ã¾ã›ã‚“㌠Corel ã«ã‚ˆã‚‹ setup-api ã‚‚
ã¡ã‚ƒã‚“ã¨è¦‹ã¦ãŠã‹ãªã‘ã‚Œã°ã¨æ€ã£ã¦ã„ã¾ã™ã€‚
> SIL[2]ã§æ›¸ã‹ã‚Œã¦ã„ã‚‹ã“ã„ã¤ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ¦ãƒ†ã‚£ãƒªãƒ†ã‚£[3]ã«ã¤
> ã„ã¦ä»Šèª¿ã¹ã¦ã„ã¾ã™ã€‚ã§ã€Diceã§ã‚‚ã§ã³ã¾ã‚‹ã§ã‚‚ã©ã¡ã‚‰ã®é–¢ä¿‚者ã§
> ã‚‚ã„ã„ã‚“ã§ã™ãŒã€ã“ã‚Œã«ã¤ã„ã¦èˆˆå‘³ã¯ã‚ã‚Šã¾ã™ã‹ï¼Ÿ
ã¯ã„ã€ã‚ã‚Šã¾ã™ã€‚
> ã‚‚ã—ã‚‚ã€èˆˆå‘³ãŒã‚ã‚‹ãŒãã“ã¾ã§æ‰‹ãŒ(æ°—ãŒ)ã¾ã‚らãªã„ã€ã¨ã„ã†ã“ã¨
> ãªã‚‰ã€ç§ã®ã»ã†ã¯æƒ…å ±ã‚’ã‚·ã‚§ã‚¢ã™ã‚‹ã®ã«ã‚„ã¶ã•ã‹ã§ã¯ãªã„ã®ã§ã€ã
> ã®ã¤ã‚‚ã‚Šã§èª¿æŸ»(å ´åˆã«ã‚ˆã£ã¦ã¯hack)ã—ã¾ã™ãŒã„ã‹ãŒã§ã—ょã†ã€‚
よã‚ã—ã ãŠé¡˜ã„ã—ã¾ã™(_o_)
最近 ã¡ã‚‡ã£ã¨ Wichert Akkerman design & Joey Hess implementation ã®
debconf を見ã¦ã‚‹ã‚“ã§ã™ãŒã€ç¾çŠ¶ã§ã–ã£ã¨èª¬æ˜Žã™ã‚‹ã¨
spec 㯠http://www.debian.org/~wakkerma/config6/
dpkg ã® info ã¨ã—㦠templates, mappings ã‚’ã„ã‚Œã¦ãŠã„ã¦
ãã®æƒ…å ±ã‚’å…ƒã« configuration database を処ç†ã™ã‚‹
dpkg-preconfig(1) ã§ãã®æƒ…å ±ã®ã¨ã‚Šã ã—
dpkg-frontend(1) 㧠ユーザã¸ã®ãƒ—ãƒãƒ³ãƒ—トを実行
ã‚‚ã—ã㯠ConfModule.pm を使ã£ã¦ postinst ãªã©ã§å‡¦ç†ã™ã‚‹
class構æˆ
FrontEnd ã¨ã—ã¦
Base 基本class
Dialog /usr/bin/whiptail
-> /usr/bin/dialog
-> /usr/bin/gdialog ã®é †ã§try
Line Term::ReadLine
Web Web Serverã«ãªã‚Šä»»æ„ã®Web clientã‚’UIã«ã¤ã‹ã†
Element
Base
Input 入力フィールド用 boolean, select, text ãŒã‚ã‚‹
Note Dialogçš„æƒ…å ±è¡¨ç¤º
Text テã‚スト表示
ãã‚Œãžã‚Œ FrontEnd毎㮠class ãŒã‚ã‚‹
ConfigDb
Database backend specçš„ã«ã¯ã„ã‚ã„ã‚backendã«ã¤ã‹ãˆã‚‹ä»•æ§˜ã ãŒ
ç¾çŠ¶ã¯ Data::Dumper ã«ã‚ˆã‚‹ perlçš„ i/o ã®ã¿
Template template fileã®å‡¦ç†
Mapping mappings fileã®å‡¦ç†
Priority low, medium, high, critical ã® 4 ã¤ã® priority ãŒã‚ã‚‹
Question FrontEndã‚’ã¤ã‹ã£ã¦ãƒ¦ãƒ¼ã‚¶ã«èžããŸã‚ã®ã‚‚ã®
sampleã¨ã—ã¦
demo, cvs, exim, slrn 用㮠config,mappings,templates ãŒã‚ã‚‹
apt ã¨ã®é€£æºã‚‚ã™ã™ã‚られã¦ã„るらã—ã„
apt 0.3.11-0.1 ã«ãã®ä¿®æ£ãŒã¯ã„ã£ã¦ã„ã‚‹
apt.conf 㧠DPkg::Pre-Install-Pkgs ã‚’ã¤ã‹ã£ã¦ dpkg-preconfig ã—ã¦ã„ã‚‹
主㫠debconf ã«é–¢ã™ã‚‹ discussion 㯠irc.debian.org 系㮠#debian-devel
ã§è¡Œãªã‚ã‚Œã¦ã„る。
ãªãŠã€templates ã® specçš„ã«ã‚‚ã€ã¾ãŸfrontend ã®å®Ÿè£…ã‚‚ i18n ãŒ
ã‚ã¾ã‚Šè€ƒãˆã‚‰ã‚Œã¦ã„ãªã„よã†ãªã®ã§ã©ã†ã™ã‚‹ã®ãŒã„ã„ã‹è€ƒæ…®ä¸ã€‚
ãã‚‚ãã‚‚ Dialogç³»(whiptail, dialog, gdialog)ã§ã®è¡¨ç¤ºã¨ã‹
perlã®Term::ReadLine ã®å…¥åŠ›ã¨ã‹æ—¥æœ¬èªžå¤§ä¸ˆå¤«ãªã‚“ã§ã—ょã†ã‹?
# ã¾ã 日本語を入力ã™ã‚‹ã“ã¨ã¯ã¾ã ã‚ã¾ã‚Šãªã„ã®ã§å…¥åŠ›ã¯å¾Œå›žã—ã§ã„ã„ã‹ã‚‚(?)
… ã£ã¦ã“ã†ã„ã†è©±ã¯ -users ã§ã‚„る話ã‹ãªã ã¨ã„ã†æ°—ãŒã—ã¦ããŸ(笑)
-devel ã®æ–¹ãŒã„ã„ã®ã‹ã‚‚。
--
鵜飼文æ•