# -*- 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 PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 name mod_gnutls version 0.12.1 revision 0 categories www security crypto license Apache-2 maintainers {mps @Schamschula} openmaintainer description \ mod_gnutls is an extension for Apache's httpd uses the GnuTLS library to \ provide HTTPS. long_description \ 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 \ not use OpenSSL. homepage https://mod.gnutls.org master_sites ${homepage}/downloads/ checksums rmd160 c6e016ae970866f0feadb4eb990d0c7ebff5a8c9 \ sha256 5bb97f11edb31a399354027004d3b0e862bd8d85fb6ba86b3b54b340a5e2ed97 \ size 454861 use_bzip2 yes variant python38 conflicts python39 python310 python311 description {Build using Python 3.8} {} variant python39 conflicts python38 python310 python311 description {Build using Python 3.9} {} variant python310 conflicts python38 python39 python311 description {Build using Python 3.10} {} variant python311 conflicts python38 python39 python310 description {Build using Python 3.11} {} if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} { default_variants +python311 } foreach python.branch {3.11 3.10 3.9 3.8} { set python.version [string map {. {}} ${python.branch}] if {[variant_isset python${python.version}]} { configure.python ${prefix}/bin/python${python.branch} break } unset python.version } depends_build port:pkgconfig \ port:python${python.version} \ port:py${python.version}-yaml depends_lib port:apache2 \ path:lib/pkgconfig/gnutls.pc:gnutls use_autoreconf yes 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/ configure.args --disable-silent-rules \ --with-apxs=${apxs} \ --disable-strict compiler.blacklist-append {clang < 800} configure.checks.implicit_function_declaration.whitelist-append strchr pre-destroot { xinstall -m 755 -d ${mdir} } post-destroot { 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} { depends_lib-append port:apr_memcache configure.args-append --with-apr-memcache-prefix=${prefix} } livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} notes " To enable ${name}, add LoadModule gnutls_module modules/mod_gnutls.so to your ${httpd_conf} file. "