2007/02/24

FreeBSD 6.2でOpenSSLを0.9.8eに更新

ソースからOpenSSL 0.9.8eをビルド、インストール
./config --prefix=/usr/local --openssldir=/usr/local/openssl -L/usr/local/lib enable-shared
make depend
make
make install


portsからmod_ssl 2.8.28を再ビルド

cd /usr/ports/www/apache13-modssl
make
===> Patching for apache+mod_ssl-1.3.37+2.8.28
===> apache+mod_ssl-1.3.37+2.8.28 depends on file: /usr/local/lib/libcrypto.so.5 - found
===> apache+mod_ssl-1.3.37+2.8.28 depends on file: /usr/local/bin/perl5.8.8 - found
===> apache+mod_ssl-1.3.37+2.8.28 depends on file: /usr/local/bin/perl5.8.8 - found
===> Applying mod_ssl-2.8.28 extension
Configuring mod_ssl/2.8.28 for Apache/1.3.37
+ Apache location: ../apache_1.3.37 (Version 1.3.37)
+ Auxiliary patch tool: ./etc/patch/patch (local)
+ Applying packages to Apache source tree:
o Extended API (EAPI)
o Distribution Documents
o SSL Module Source
o SSL Support
o SSL Configuration Additions
o SSL Module Documentation
o Addons
Done: source extension and patches successfully applied.
===> Applying FreeBSD patches for apache+mod_ssl-1.3.37+2.8.28
===> apache+mod_ssl-1.3.37+2.8.28 depends on file: /usr/local/lib/libcrypto.so.5 - found
===> apache+mod_ssl-1.3.37+2.8.28 depends on file: /usr/local/bin/perl5.8.8 - found
===> apache+mod_ssl-1.3.37+2.8.28 depends on shared library: mm.14 - found
===> apache+mod_ssl-1.3.37+2.8.28 depends on shared library: expat.6 - found
===> Configuring for apache+mod_ssl-1.3.37+2.8.28
Configuring for Apache, Version 1.3.37
+ using installation path layout: FreeBSD (config.layout)
Creating Makefile
Creating Configuration.apaci in src
+ enabling mod_so for DSO support
Creating Makefile in src
+ configured for FreeBSD 6.2 platform
+ setting C pre-processor to cc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
enabling DBM support for mod_rewrite
o db_auth_module uses ConfigStart/End
using Berkeley-DB/1.x for mod_auth_db (-lc)
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.28
+ SSL interface build type: DSO
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Vendor DBM (libc)
+ SSL library path: /usr/local
+ SSL library version: OpenSSL 0.9.8e 23 Feb 2007
+ SSL library type: installed package (stand-alone)
+ enabling Extended API (EAPI)
using MM library for EAPI: (system-wide)
+ using system Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/experimental
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/extra
Creating Makefile in src/modules/proxy
Creating Makefile in src/modules/ssl
===> Building for apache+mod_ssl-1.3.37+2.8.28
....

make deinstall
make reinstall


再起動時のログ
[Sat Feb 24 09:43:47 2007] [notice] Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.8e configured -- resuming normal operations
[Sat Feb 24 09:43:47 2007] [notice] Accept mutex: flock (Default: flock)

0 件のコメント: