[Rt-commit] rt branch, 4.0/mailgate-ssl-deps, created. rt-4.0.4-111-g30754d7
Thomas Sibley
trs at bestpractical.com
Fri Dec 2 10:26:01 EST 2011
The branch, 4.0/mailgate-ssl-deps has been created
at 30754d74e44dde3d5e6e982336d5afae5775066d (commit)
- Log -----------------------------------------------------------------
commit 30754d74e44dde3d5e6e982336d5afae5775066d
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Dec 2 10:20:30 2011 -0500
Provide a dependency list for HTTPS support in rt-mailgate
This lets us say "run configure with --enable-ssl-mailgate" instead of
"install these SSL modules of the year".
diff --git a/configure.ac b/configure.ac
index 1f4f962..e405243 100755
--- a/configure.ac
+++ b/configure.ac
@@ -306,6 +306,20 @@ else
fi
AC_SUBST(RT_GPG)
+dnl SSL support for RT's mailgate
+AC_ARG_WITH(ssl-mailgate,[],RT_SSL_MAILGATE=$withval,RT_SSL_MAILGATE="0")
+AC_ARG_ENABLE(ssl-mailgate,
+ AC_HELP_STRING([--enable-ssl-mailgate],
+ [Turns on support for HTTPS in rt-mailgate]),
+ RT_SSL_MAILGATE=$enableval,
+ RT_SSL_MAILGATE=$RT_SSL_MAILGATE)
+if test "$RT_SSL_MAILGATE" = yes; then
+ RT_SSL_MAILGATE="1"
+else
+ RT_SSL_MAILGATE="0"
+fi
+AC_SUBST(RT_SSL_MAILGATE)
+
dnl This section maps the variable names this script 'natively' generates
dnl to their existing names. They should be removed from here as the .in
diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index 758c4e7..97859a6 100755
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -73,6 +73,7 @@ GetOptions(
'with-GD',
'with-DASHBOARDS',
'with-USERLOGO',
+ 'with-SSL-MAILGATE',
'download=s',
'repository=s',
@@ -101,6 +102,7 @@ my %default = (
'with-GD' => @RT_GD@,
'with-DASHBOARDS' => 1,
'with-USERLOGO' => 1,
+ 'with-SSL-MAILGATE' => @RT_SSL_MAILGATE@,
);
$args{$_} = $default{$_} foreach grep !exists $args{$_}, keys %default;
@@ -250,6 +252,13 @@ LWP::UserAgent
Pod::Usage
.
+$deps{'SSL-MAILGATE'} = [ text_to_hash( << '.') ];
+Crypt::SSLeay
+Net::SSL
+LWP::Protocol::https
+Mozilla::CA
+.
+
$deps{'CLI'} = [ text_to_hash( << '.') ];
Getopt::Long 2.24
LWP
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list