source: trunk/dports/www/mod_gnutls/Portfile @ 95436

Last change on this file since 95436 was 95436, checked in by jmr@…, 7 years ago

mod_gnutls: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 95436 2012-07-12 20:03:30Z jmr@macports.org $
3
4PortSystem          1.0
5
6name                mod_gnutls
7version             0.5.10
8set branch          [join [lrange [split ${version} .] 0 1] .]
9categories          www security crypto
10license             Apache-2
11platforms           darwin
12maintainers         nomaintainer
13
14description         SSL/TLS support for Apache using GnuTLS
15
16long_description    mod_gnutls uses the GnuTLS library to provide SSL 3.0, \
17                    TLS 1.0 and TLS 1.1 encryption for Apache HTTPD. It is \
18                    similar to mod_ssl in purpose, but does not use OpenSSL.
19
20homepage            http://modgnutls.sourceforge.net/
21master_sites        sourceforge:project/modgnutls/${branch}
22use_bzip2           yes
23
24checksums           rmd160  1698ddfcd9d831d76a3088d17f8ae7398fad1714 \
25                    sha256  469fea5f2f422c459b4153c1b959d5d62568d3ddf87f90ca6fe880c81b3b8374
26
27depends_build       port:pkgconfig
28
29depends_lib         port:apache2 \
30                    port:gnutls
31
32patchfiles          patch-src_Makefile.in.diff
33
34configure.args      --with-apxs=${prefix}/apache2/bin/apxs \
35                    --with-libgnutls-prefix=${prefix}
36
37destroot.violate_mtree yes
38pre-destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
40}
41
42post-destroot {
43    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} LICENSE NEWS NOTICE README README.ENV \
45        ${destroot}${prefix}/share/doc/${name}
46}
47
48variant memcache description {Distributed SSL Session Cache support} {
49    depends_lib-append      port:apr_memcache
50    configure.args-append   --with-apr-memcache-prefix=${prefix}
51}
52
53livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
54
55notes "
56To enable ${name}, add
57
58    LoadModule gnutls_module modules/mod_gnutls.so
59
60to your ${prefix}/apache2/conf/httpd.conf file.
61
62Please read the documentation at
63
64    ${homepage}?p=docs
65
66for further details on configuration of this module
67"
Note: See TracBrowser for help on using the repository browser.