wiki:develop

Developing mod_gnutls

Please file tickets here, and correspond with the developers via the mailing list or IRC (#mod_gnutls on irc.indymedia.org).

Prerequisites

GnuTLS
version >= 3.1.4
Apache httpd
version >= 2.4

Some optional features have additional requirements, please see the README file in the source tree.

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

Committing to the central repository

Since we're using git, anyone can host a mod_gnutls repository anywhere they like. We encourage this sort of development, and ask that you let us know on the mailing list if you have changes you want to contribute back.

If you have commit access to the central mod_gnutls git repository, you can configure your local copy to push there with:

git config remote.origin.pushurl mod.gnutls.org:/srv/git/mod.gnutls.org/mod_gnutls

The fingerprint of the SSH host key for mod.gnutls.org is:

81:eb:c2:9c:e5:c9:19:9f:d4:34:eb:b5:59:8d:09:c5
Last modified 13 months ago Last modified on Jan 27, 2016, 6:22:24 PM