wiki:develop

Version 2 (modified by https://id.mayfirst.org/dkg, 5 years ago) (diff)

--

Developing mod_gnutls

Please file tickets here, and correspond with the developers via the mailing list.

Prerequisites

GnuTLS
version 2.x >= 2.12.6 or version >= 3.0.3
Apache httpd
version >= 2.0.42 or version >= 2.1.5-dev
APR Memcache Client
version >= 0.7.0 (Optional)

Fetch the source

git clone https://mod.gnutls.org/git/mod_gnutls

This will create a local working copy, which you can enter with:

cd mod_gnutls

Building

From the working copy:

Prepare the source tree for building

autoreconf -fiv

Configure the source:

./configure --with-apxs=/usr/bin/apxs2 

(note that you can see other options for the source with ./configure --help)

Build and test:

make
make check

Using apache with your just-built mod_gnutls

If you supply the following directive to apache when launching httpd,

LoadModule gnutls_module src/.libs/libmod_gnutls.so