2008-05-02 (金)
■ PHP 5.2.5 with Suhosin Patch の CentOS 5 用 rpm パッケージを作成
参考にしたのはこのページ。
ただし、内容が古かったり、そんなことしなくていいのに、 というのが何ヶ所かあったので、手順を若干変更している。
- PHP のソースパッケージは Fedora 用のものを利用する
- パッチは Suhosin Downloads のページから最新のものをダウンロードする
- パッチは .gz ファイルのまま展開しなくてもよい
- パッチをリネームする必要もない
Fedora 用のソースパッケージは、 ここから php-5.2.5-7.fc9.src.rpm というのをダウンロードしてきた。
spec ファイルは、このように書き換えれば十分。
--- php.spec.orig 2008-04-24 23:26:15.000000000 +0900 +++ php.spec 2008-05-02 05:44:50.000000000 +0900 @@ -16,6 +16,7 @@ Source2: php.ini Source3: macros.php +Patch0: suhosin-patch-5.2.5-0.9.6.2.patch.gz Patch1: php-5.2.4-gnusrc.patch Patch2: php-4.3.3-install.patch Patch3: php-5.2.4-norpath.patch @@ -357,6 +358,7 @@ %prep %setup -q +%patch0 -p1 -b .suhosin %patch1 -p1 -b .gnusrc %patch2 -p1 -b .install %patch3 -p1 -b .norpath
詳しい手順については、また後で、Wiki の方にまとめておきます。
このエントリの続き: 2008-05-03 (土)
[コメントを書く]
本日のリンク元
- 5 google検索(CentOS 5.2)
- 5 google検索(php 5.2.6 suhosin)
- 4 google検索(rpm PHP 5.2.5)
- 4 google検索(centos 5.2 download)
- 3 google検索(contos php 5.2.6)
- 3 google検索(centos php 5.2)
- 3 google検索(centos php 5.2)
- 3 google検索(centos 5.2)
- 3 google検索(Suhosin-Patch)
- 3 google検索(CentOS PHP 5.2)
- 3 google検索(php centos)
- 3 google検索(CentOS PHP)
- 2 google検索(PHP 5.2.5 with Suhosin-Patch 0.9.6.2)
- 2 google検索(centos 5.2 ダウンロード)
- 2 google検索(php インストール CentOS)
- 2 google検索(sie.js)
- 2 google検索(php 5.2.6 rpm)
- 2 google検索(centos php install)
- 2 google検索(php 5.2.6 rpm)
- 2 google検索(centos php)
- 2 google検索(CentOS PHP)
- 2 google検索(suhosin centos)
- 2 google検索(php 5.2.5 download Redhat)
- 2 google検索(php 5.2.5)
- 2 google検索(php 5.2 rpm)
- 2 google検索(php 5.2 rpm)
- 2 google検索(centos php)
- 2 google検索(centos 5.2 download)
- 2 google検索(Suhosin-Patch)
- 2 google検索(CentOS PHP 5.2.6)
- 2 google検索(centos 5.2)
- 2 google検索(PHP SRPM CentOS)
- 2 http://www.google.co.jp/hws/search?hl=ja&q=Zend Fr...
- 2 http://72.14.235.104/search?q=cache:fqWKyVmZKUkJ:w...
- 1 http://www.revulo.com/notify-NotifyUser_NONE_07121...
- 1 http://www.google.es/search?q="centos 5.2" php suh...
- 1 google検索(t)
- 1 google検索(php centos)
- 1 google検索(centos php-5.2.6)
- 1 google検索(centos php 5.2.5)
- 1 google検索(cent os php)
- 1 google検索(cent os php)
- 1 google検索(CentOS php)
- 1 google検索(php suhosin centos)
- 1 google検索(CentOS)
- 1 google検索(PHP 5.2.5 CENTOS)
- 1 google検索(CentOS php-5.2 spec)
- 1 google検索(php centos)
- 1 google検索(PHP 5.2.5 centos)
- 1 google検索(php linux centos)
- 1 google検索(centOS 5.2 download)
- 1 google検索(pukiwiki centos php)
- 1 google検索(CentOS PHP)
- 1 google検索(with suhosin-patch)
- 1 google検索(php 5.2.6 spec)
- 1 google検索(php 5.2.5 src.rpm)
- 1 google検索(php 5.2 src.rpm)
- 1 google検索(php 5.2 rpm)
- 1 google検索(CentOS 5.2)
- 1 google検索(centos4 php)
- 1 google検索(CentOS 5.2)
- 1 google検索(php src.rpm centos)
- 1 google検索(centos php.spec --enable-zip)
- 1 google検索(centos php 5.2)
- 1 google検索(centos php)
- 1 google検索(centOS php update)
- 1 google検索(CentOS 5.2 download)
- 1 google検索(php 5.2.6 rpm)
- 1 google検索(centos 5 php)
- 1 http://www.google.co.kr/search?complete=1&hl=ja&ne...
- 1 google検索(centos php 5.2.6)
- 1 google検索(CENTOS php rpm 5.2.6)
- 1 google検索(rpm php CentOS)
- 1 google検索(centos php.ini)
- 1 google検索(centos 5 php.ini)
- 1 google検索(centos 5 php)
- 1 google検索(CENT OS 5 PHP)
- 1 google検索(centos php 5.2)
- 1 google検索(php spec '--with-oci8')
- 1 google検索(CentOS apache ソース パッチ)
- 1 google検索(centos php source)
- 1 google検索(CentOS PHP Apache)
- 1 google検索(CentOS 5.2 download)
- 1 google検索(php centos)
- 1 google検索(Suhosin-Patch )
- 1 google検索(php-5.2.6 rpm 作成)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(t)
- 1 google検索(centos 5.2)
- 1 google検索(centos php 5.2.6)
- 1 google検索(centos 5 fc9)
- 1 google検索(with Suhosin-Patch)
