[Rt-commit] rt branch, 4.2/default-ssl-mailgate, created. rt-4.1.6-265-g934a5da

Thomas Sibley trs at bestpractical.com
Tue Feb 19 14:55:59 EST 2013


The branch, 4.2/default-ssl-mailgate has been created
        at  934a5da481d594a0823da2a75c3a48fc05f1c132 (commit)

- Log -----------------------------------------------------------------
commit 934a5da481d594a0823da2a75c3a48fc05f1c132
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Feb 14 18:44:38 2013 -0800

    Always require the mailgate SSL dependencies for simplicity
    
    This removes many of the road blocks and false starts when setting up RT
    exclusively behind SSL.  For example, forgetting to enable the option
    meant you had to re-run configure, but be sure to remember to include
    your past invocation as well.

diff --git a/README b/README
index 6fa8042..6c18ea0 100644
--- a/README
+++ b/README
@@ -226,13 +226,6 @@ GENERAL INSTALLATION
 
            perldoc /opt/rt4/bin/rt-mailgate
 
-    If your webserver uses SSL, rt-mailgate will require several new
-    Perl libraries. RT can detect and install these for you automatically
-    if you include --enable-ssl-mailgate when running configure and then
-    run make fixdeps as described in step 4.  It is safe to rerun configure
-    and make fixdeps after you have installed RT, you should be sure to include
-    all the arguments you used in step 2 plus --enable-ssl-mailgate.
-
 
 GETTING HELP
 ------------
diff --git a/bin/rt-mailgate.in b/bin/rt-mailgate.in
index 0e57373..02341a7 100644
--- a/bin/rt-mailgate.in
+++ b/bin/rt-mailgate.in
@@ -345,10 +345,6 @@ is found.
 This flag tells the mail gateway where it can find your RT server. You should 
 probably use the same URL that users use to log into RT.  
 
-If your RT server uses SSL, you will need to install additional Perl
-libraries. RT will detect and install these dependencies if you pass the
-C<--enable-ssl-mailgate> flag to configure as documented in RT's README.
-
 If you have a self-signed SSL certificate, you may also need to pass
 C<--ca-file> or C<--no-verify-ssl>, below.
 
diff --git a/configure.ac b/configure.ac
index d005b26..e3ac3e6 100755
--- a/configure.ac
+++ b/configure.ac
@@ -306,20 +306,6 @@ 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/docs/security.pod b/docs/security.pod
index 620f868..5bf4291 100644
--- a/docs/security.pod
+++ b/docs/security.pod
@@ -32,11 +32,7 @@ months before being added to the public RT repository.
 
 Protect your RT installation by making it only accessible via SSL.  This
 will protect against users' passwords being sniffed as they go over the
-wire, as well as helping prevent phishing attacks.  If you use SSL, you
-will need to install some additional Perl libraries so that C<rt-mailgate>
-can connect.  You can use the C<--enable-ssl-mailgate> command to
-configure to automate the installation of these dependencies.  This is
-documented further in step 10 of the README.
+wire, as well as helping prevent phishing attacks.
 
 You should use a certificate signed by a reputable authority, or at very
 least a certificate signed by a consistent local CA, which you configure
diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index e4275a9..1680c08 100644
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -72,7 +72,6 @@ GetOptions(
     'with-GD',
     'with-DASHBOARDS',
     'with-USERLOGO',
-    'with-SSL-MAILGATE',
     'with-HTML-DOC',
 
     'download=s',
@@ -99,7 +98,6 @@ my %default = (
     'with-GD' => @RT_GD@,
     'with-DASHBOARDS' => 1,
     'with-USERLOGO' => 1,
-    'with-SSL-MAILGATE' => @RT_SSL_MAILGATE@,
     'with-HTML-DOC' => @RT_DEVELOPER@,
 );
 $args{$_} = $default{$_} foreach grep !exists $args{$_}, keys %default;
@@ -244,17 +242,13 @@ XML::RSS 1.05
 .
 
 $deps{'MAILGATE'} = [ text_to_hash( << '.') ];
-Getopt::Long
-LWP::UserAgent 6.0
-Pod::Usage
-.
-
-$deps{'SSL-MAILGATE'} = [ text_to_hash( << '.') ];
 Crypt::SSLeay
+Getopt::Long
 LWP::Protocol::https
 LWP::UserAgent 6.0
 Mozilla::CA
 Net::SSL
+Pod::Usage
 .
 
 $deps{'CLI'} = [ text_to_hash( << '.') ];

-----------------------------------------------------------------------


More information about the Rt-commit mailing list