yossy_takeuchiです。

「OOoWiki - OOo2.0_install」の
「Debian GNU/Linuxalien (using RPM)編」を修正しました。

alienでdebパッケージに変換するときは、"-c"オプションをつけないと
rpmパッケージに埋め込まれているシェルスクリプトが欠落します。

alien 8.56で表示されたwarning
>> # fakeroot alien *.rpm
>> :
>> Warning: Skipping conversion of scripts in package openoffice.org-core10:
>> postinst postrm
>> Warning: Use the --scripts parameter to include the scripts.
>> openoffice.org-core10_2.0.0-3_i386.deb generated
>> :
>> Warning: Skipping conversion of scripts in package openoffice.org-pyuno:
>> postinst postrm preinst prerm
>> Warning: Use the --scripts parameter to include the scripts.
>> openoffice.org-pyuno_2.0.0-3_i386.deb generated
>> :
は、「スクリプトは変換されませんよ〜」そのものです。

ただし、斉藤さんのおっしゃるとおり、
alienのバージョンが8.56以前では、これらの警告が出ません。

"dpkg --info <debパッケージ名>"で中身を比較すると分かります。


【検証】
KNOPPIX 3.8.2上で試してみました。alienは8.51、fakerootは1.2.10です。
検証したのは、OOo_2.0.0rc2_051005_LinuxIntel_install_ja.tar.gz に含まれる
以下のパッケージです。
 openoffice.org-core10-2.0.0-2.i586.rpm
 openoffice.org-pyuno-2.0.0-2.i586.rpm

【結果】
☆openoffice.org-core10-2.0.0-2.i586.rpm
・"-c"オプション有でalien
[EMAIL PROTECTED] dpkg --info openoffice.org-core10_2.0.0-3_i386.deb
 新形式 debian パッケージ、バージョン 2.0。
 サイズ 171274 バイト: コントロールアーカイブ = 1004 バイト。
     363 バイト,    12 行      control
     258 バイト,     3 行      md5sums
     675 バイト,    29 行   *  postinst             #!/bin/sh
     627 バイト,    28 行   *  postrm               #!/bin/sh
      36 バイト,     1 行      shlibs

・"-c" オプションなしでalien
[EMAIL PROTECTED] dpkg --info openoffice.org-core10_2.0.0-3_i386.deb
 新形式 debian パッケージ、バージョン 2.0。
 サイズ 170996 バイト: コントロールアーカイブ = 713 バイト。
     363 バイト,    12 行      control
     258 バイト,     3 行      md5sums
     135 バイト,     7 行   *  postinst             #!/bin/sh
     132 バイト,     7 行   *  postrm               #!/bin/sh
      36 バイト,     1 行      shlibs

"-c"オプションなしでは、postinst,postrmが欠落している。

------------
☆openoffice.org-pyuno_2.0.0-3_i386.deb
・"-c"オプション有でalien
 [EMAIL PROTECTED] dpkg --info openoffice.org-pyuno_2.0.0-3_i386.deb
 新形式 debian パッケージ、バージョン 2.0。
 サイズ 3310184 バイト: コントロールアーカイブ = 26066 バイト。
     460 バイト,    12 行      control
   95794 バイト,   913 行      md5sums
     756 バイト,    31 行   *  postinst             #!/bin/sh
     567 バイト,    28 行   *  postrm               #!/bin/sh
      49 バイト,     2 行   *  preinst              #!/bin/sh
      47 バイト,     2 行   *  prerm                #!/bin/sh
      38 バイト,     1 行      shlibs

・"-c" オプションなしでalien
 [EMAIL PROTECTED] dpkg --info openoffice.org-pyuno_2.0.0-3_i386.deb
 新形式 debian パッケージ、バージョン 2.0。
 サイズ 3309850 バイト: コントロールアーカイブ = 25722 バイト。
     460 バイト,    12 行      control
   95794 バイト,   913 行      md5sums
     135 バイト,     7 行   *  postinst             #!/bin/sh
     132 バイト,     7 行   *  postrm               #!/bin/sh
      38 バイト,     1 行      shlibs

"-c"オプションなしでは、postinst,postrmが欠落し、preinst,prermが存在しない。

==========

ところで、
curvirgoさんのビルドって、debパッケージは
"-c"オプションを使ってalienしていらっしゃるのでしょうか?
(時間の都合でこちらでは検証できません)
================================================================
yossy_takeuchi (Toyohashi_city, Aichi)
mailto:[EMAIL PROTECTED]
http://www.geocities.jp/yo_take_uchi/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

メールによる返信