Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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".
  • Loading branch information...
commit 30754d74e44dde3d5e6e982336d5afae5775066d 1 parent d8024dc
@tsibley tsibley authored
Showing with 23 additions and 0 deletions.
  1. +14 −0 configure.ac
  2. +9 −0 sbin/rt-test-dependencies.in
View
14 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
View
9 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
Please sign in to comment.
Something went wrong with that request. Please try again.