#freeze
**今の作り方 [#qd898fcd]

#contents

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

***GnuMP [#jce76b13]
Nettleがlibhogweedを作るのに必要・・・と思う。
 ./configure

***Nettle [#nead2595]
GnuTLSが使うlibnettleとlibhogweedの作成。
 ./configure --enable-shared --disable-openssl

***GnuTLS [#t9714117]
 ./configure --prefix=/usr/local/gnutls \
             --enable-threads \
             --disable-openssl-compatibility \
             --with-libnettle-prefix=/usr/local

***mod_gnutls [#s91f9b39]
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