とりあえずmod_perl2をリビルドしてみた。2003年にinitial buildされたままのパケジなので、最新のソースを取ってきて、%filesセクション調整して、とりあえずパケジはできた。
specファイルの差分は以下のとおり。
--- mod_perl2.spec.old 2007-05-06 16:03:24.000000000 +0900 +++ mod_perl2.spec 2007-05-06 15:47:40.000000000 +0900 @@ -1,13 +1,13 @@ Summary: An embedded Perl interpreter for the Apache Web server Version 2 Name: mod_perl2 -Version: 1.99_09 +Version: 2.0.3 Release: 0vl1 URL: http://perl.apache.org/ Source0: http://perl.apache.org/dist/mod_perl-%{version}.tar.gz -License: The Apache Software License, Version 1.1 +License: The Apache Software License, Version 2.0 Group: System Environment/Daemons -BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: apache2 >= 2.0.36, perl >= 5.6.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: apache2-devel >= 2.0.36, perl >= 5.6.0, gdbm-devel %description @@ -34,7 +34,7 @@ %files %defattr(-,root,root) -%doc Changes LICENSE README ROADMAP STATUS docs +%doc Changes LICENSE README STATUS docs %{_bindir}/* %{_mandir}/man3/* %{_includedir}/apache2/mod_perl* @@ -43,11 +43,20 @@ %{perl_sitearch}/*.pm %{perl_sitearch}/APR %{perl_sitearch}/Apache +%{perl_sitearch}/Apache2 %{perl_sitearch}/Bundle %{perl_sitearch}/ModPerl %{perl_sitearch}/auto %changelog +* Sat May 5 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.0.3-0vl1 +- upstream release +- modify License +- add BuildRequires: apache2-devel, gdbm-devel +- remove BuildRequires: apache2 +- remove ROADMAP from %%doc +- add %%{perl_sitearch}/Apache2 to %%files + * Mon Sep 22 2003 IWAI, Masaharu <iwai@alib.jp> 1.99_09-0vl1 - Initial build.
さてパケジはできたが、メンテナじゃないし、どうしたもんだか。
追記
現状、↓こんな感じの依存でインストールできない。モジュールを用意せんといかんのか。面倒だなあ。
# apt-get install mod_perl2
パッケージリストを読みこんでいます... 完了
依存情報ツリーを作成しています... 完了
いくつかのパッケージをインストールすることができません。おそらく、
ありえない状況を要求したか、(必要なパッケージがまだそろっていなかっ
たり、まだIncomingから移動されていない)不安定なディストリビューション
を使用していないでしょうか。単純な操作だけを行った時に、パッケージがインストール
できない場合は、バグリポートしてください。
以下の情報がこの問題を解決するために役立つかもしれません:以下のパッケージは解決できない依存関係を持っています:
mod_perl2: 依存: perl(Apache2::FunctionTable) それをインストールすることができません
依存: perl(Apache2::StructureTable) それをインストールすることができません
依存: perl(Apache::TestConfigParse) それをインストールすることができません
依存: perl(Apache::TestConfigPerl) それをインストールすることができません
依存: perl(BSD::Resource) それをインストールすることができません
依存: perl(Data::Flow) それをインストールすることができません
E: 壊れたパッケージです