[41351] trunk/dports/www

blb at macports.org blb at macports.org
Fri Oct 31 01:27:30 PDT 2008


Revision: 41351
          http://trac.macports.org/changeset/41351
Author:   blb at macports.org
Date:     2008-10-31 01:27:30 -0700 (Fri, 31 Oct 2008)
Log Message:
-----------
New port - www/mod_gnutls, SSL/TLS support for Apache using GnuTLS
<http://www.outoforder.cc/projects/apache/mod_gnutls/>
Closes ticket #12535

Added Paths:
-----------
    trunk/dports/www/mod_gnutls/
    trunk/dports/www/mod_gnutls/Portfile
    trunk/dports/www/mod_gnutls/files/
    trunk/dports/www/mod_gnutls/files/patch-include_mod_gnutls.h.in.diff
    trunk/dports/www/mod_gnutls/files/patch-src_Makefile.in.diff

Added: trunk/dports/www/mod_gnutls/Portfile
===================================================================
--- trunk/dports/www/mod_gnutls/Portfile	                        (rev 0)
+++ trunk/dports/www/mod_gnutls/Portfile	2008-10-31 08:27:30 UTC (rev 41351)
@@ -0,0 +1,57 @@
+# $Id$
+
+PortSystem          1.0
+name                mod_gnutls
+version             0.4.3
+categories          www security crypto
+maintainers         blb openmaintainer
+description         SSL/TLS support for Apache using GnuTLS
+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.
+
+platforms           darwin
+
+homepage            http://www.outoforder.cc/projects/apache/mod_gnutls/
+master_sites        http://www.outoforder.cc/downloads/mod_gnutls/
+use_bzip2           yes
+
+checksums           md5     16ddeeabbdb74cef9eb2f2a1334c2550 \
+                    sha1    b9c09f70489f965b3cc89bbc980f48d8fcd02d54 \
+                    rmd160  c60966baa015d7341d2e71287c1c3bc767f3459a
+
+depends_lib         port:apache2 port:gnutls
+
+patchfiles          patch-include_mod_gnutls.h.in.diff \
+                    patch-src_Makefile.in.diff
+
+configure.args      --with-apxs=${prefix}/apache2/bin/apxs \
+                    --with-libgnutls-prefix=${prefix}
+
+destroot.violate_mtree yes
+pre-destroot {
+   xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
+}
+
+post-destroot {
+   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+   xinstall -m 644 -W ${worksrcpath} LICENSE NEWS NOTICE README README.ENV \
+      ${destroot}${prefix}/share/doc/${name}
+}
+
+post-activate {
+   ui_msg "To enable ${name}, add"
+   ui_msg "   LoadModule gnutls_module modules/mod_gnutls.so"
+   ui_msg "to your ${prefix}/apache2/conf/httpd.conf file."
+   ui_msg "Please read the documentation at"
+   ui_msg "   http://www.outoforder.cc/projects/apache/mod_gnutls/docs/"
+   ui_msg " for further details on configuration of this module"
+
+}
+
+variant memcache description {Distributed SSL Session Cache support} {
+   depends_lib-append      port:apr_memcache
+   configure.args-append   --with-apr-memcache-prefix=${prefix}
+}
+


Property changes on: trunk/dports/www/mod_gnutls/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/www/mod_gnutls/files/patch-include_mod_gnutls.h.in.diff
===================================================================
--- trunk/dports/www/mod_gnutls/files/patch-include_mod_gnutls.h.in.diff	                        (rev 0)
+++ trunk/dports/www/mod_gnutls/files/patch-include_mod_gnutls.h.in.diff	2008-10-31 08:27:30 UTC (rev 41351)
@@ -0,0 +1,11 @@
+--- include/mod_gnutls.h.in.orig	2008-02-20 13:10:08.000000000 -0700
++++ include/mod_gnutls.h.in	2008-10-31 01:51:27.000000000 -0600
+@@ -36,7 +36,7 @@
+ 
+ #define HAVE_APR_MEMCACHE    @have_apr_memcache@
+ 
+-module AP_MODULE_DECLARE_DATA gnutls_module;
++extern module AP_MODULE_DECLARE_DATA gnutls_module;
+ 
+ #define GNUTLS_OUTPUT_FILTER_NAME "gnutls_output_filter"
+ #define GNUTLS_INPUT_FILTER_NAME "gnutls_input_filter"

Added: trunk/dports/www/mod_gnutls/files/patch-src_Makefile.in.diff
===================================================================
--- trunk/dports/www/mod_gnutls/files/patch-src_Makefile.in.diff	                        (rev 0)
+++ trunk/dports/www/mod_gnutls/files/patch-src_Makefile.in.diff	2008-10-31 08:27:30 UTC (rev 41351)
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	2008-03-03 07:15:51.000000000 -0700
++++ src/Makefile.in	2008-10-31 02:08:37.000000000 -0600
+@@ -559,7 +559,7 @@
+ 	rm -fr .libs
+ 
+ install: make_so
+-	@${APXS_BIN} -i -n gnutls mod_gnutls.so
++	@${APXS_BIN} -S LIBEXECDIR=${DESTDIR}`${APXS_BIN} -q LIBEXECDIR`${MODULEPATH} -i -n gnutls mod_gnutls.so
+ 	@echo ""
+ 	@echo ""
+ 	@echo "***********************************************"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081031/7d646f5b/attachment.html>


More information about the macports-changes mailing list