中野です 以下のメールを見て、 [gentoojp-users 337] Re: apache+php(mod_php) NG > > pkg_postinstとかで表示されるものは、見落しがちなので注意です。最後にま > > とめて表示してくれたりするとナイスなのですけど…。 > > 複数のパッケージを入れると流れていっちゃうんですよね…… すぐにできそうだったので、やってみました。 たとえば、apacheとpostgresqlを入れた場合。 こんな感じになります。 # emerge apache postgresql (省略) * GNU info directory index is up-to-date. * IMPORTANT: 3 config files in /etc need updating. * Type emerge --help config to learn how to update config files. .................................................... dev-db/postgresql-7.3.2 * >>> Execute the following command * >>> ebuild /var/db/pkg/dev-db/postgresql-7.3.2/postgresql-7.3.2.ebuild config * >>> to setup the initial database environment. * >>> * >>> Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell, or /bin/true .................................................... net-www/apache-1.3.27-r3 * Using /home/httpd as apache's default data directory. * Using /etc/apache/apache-builtin-mods for builtins. どうでしょう? 現在わかっている欠点(というか仕様)とバグとして、 1.einfo,ewarn,eerrorにしか対応してないです。 普通にechoとかしているとだめです。 2.unmergeのときもmessageは出ますが、そのときパッケージ名が出ません。 (patchを作った後で気付いてpatchを作り直すのがめんどくさかっただけなので、 第二版を作ることになればそのとき直します。) あと、 これが動作するのは、-vオプションのときのみがいいのかな。 この辺もご意見ください。 パッチのあてかた。 添付してあるファイルをどこかに保存してから、 # cd /usr/lib/portage/bin # cp portage portage.backup <-- 忘れずに # patch < /dokoka/emerge.patch # cd /etc/init.d # cp functions.sh functions.sh.backup <-- 忘れずに # patch < /dokoka/function.sh.patch お約束 このパッチで生じたいかなる不具合も知りません。自己責任でお願いします。 特にfunction.shの方は起動スクリプトなどでも使われているので、 もしかしたらシステムが立ち上がらなくなるような不具合が出るかもしれません。 また、このパッチによる不具合はbugs.gentoo.orgには投げないでください Masatomo Nakano http://gentoo.dip.jp/
Attachment:
emerge.patch
Description: Binary data
Attachment:
functions.sh.patch
Description: Binary data