# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories www security crypto
maintainers {mps @Schamschula} openmaintainer
mod_gnutls is an extension for Apache's httpd uses the GnuTLS library to \
mod_gnutls uses the GnuTLS library to provide SSL 3.0, TLS 1.0 and TLS 1.1 \
encryption for Apache HTTPD. It is similar to mod_ssl in purpose, but does \
homepage https://mod.gnutls.org
master_sites ${homepage}/downloads/
checksums rmd160 c477bb78fd3eb86e5f9559f30724b0091bbd093a \
sha256 d48b2d7f46e430a0cf50522e611562562c1bc0bbfe0d6dd92308532160a3bf05 \
depends_build port:pkgconfig
depends_lib port:apache2 \
patchfiles patch-src-gnutls_sni.c.diff
set apxs ${prefix}/bin/apxs
set httpd_conf ${prefix}/etc/apache2/httpd.conf
set mdir ${destroot}${prefix}/lib/apache2/modules/
variant apache22 description "use apache22 instead of apache2" {
# remove after 2020-05-04
ui_error "Please do not install this variant since Apache 2.2 is obsolete."
configure.args --disable-silent-rules \
xinstall -m 755 -d ${mdir}
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} LICENSE NOTICE README \
${destroot}${prefix}/share/doc/${name}
variant memcache description {Distributed SSL Session Cache support} {