今の作り方


SL6には入っているけど作ってみる( ´ω`)

GnuMP

Nettleがlibhogweedを作るのに必要・・・と思う。

./configure

Nettle

GnuTLSが使うlibnettleとlibhogweedの作成。

./configure --enable-shared --disable-openssl

GnuTLS

./configure --prefix=/usr/local/gnutls \
            --enable-threads \
            --disable-openssl-compatibility \
            --with-libnettle-prefix=/usr/local

mod_gnutls

Apacheで使うのに必要。2.2対応。

CPPFLAGS="-I/usr/local/gnutls/include" \
LDFLAGS="-L/usr/local/gnutls/lib" \
PKG_CONFIG_PATH=/usr/local/gnutls/lib/pkgconfig \
./configure --with-apxs=/usr/local/apache2/bin/apxs

2.4以降に対応するには以下の変更が必要。

src/gnutls_hooks.c

if (c->remote_addr->hostname || apr_strnatcmp(c->remote_ip,c->local_ip) == 0) {
↓
if (c->client_addr->hostname || apr_strnatcmp(c->client_ip,c->local_ip) == 0) {

トップ   編集 凍結解除 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2012-11-24 (土) 11:41:07