* configure.in, INSTALL: if --enable-masquerade is not
authorDavid Levine <levinedl@acm.org>
Tue, 13 May 2008 02:39:04 +0000 (02:39 +0000)
committerDavid Levine <levinedl@acm.org>
Tue, 13 May 2008 02:39:04 +0000 (02:39 +0000)
specified to configure, enable all supported masquerade forms.
This allows users to masquerade with the default
configuration. That seems to be more worthwhile now than
trying to prevent users from using it, especially with
single-user installations or those where a user can edit
etc/mts.conf.

ChangeLog
INSTALL
configure.in

index 1a62efb..01ba704 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-05-13  David Levine <levinedl@acm.org>
+
+       * configure.in, INSTALL: if --enable-masquerade is not
+       specified to configure, enable all supported masquerade forms.
+       This allows users to masquerade with the default
+       configuration.  That seems to be more worthwhile now than
+       trying to prevent users from using it, especially with
+       single-user installations or those where a user can edit
+       etc/mts.conf.
+
 2008-05-04  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
 
        * bug #23167: sbr/ruserpass.c (ruserpass): make bad permissions
 2008-05-04  Peter Maydell  <pmaydell@chiark.greenend.org.uk>
 
        * bug #23167: sbr/ruserpass.c (ruserpass): make bad permissions
diff --git a/INSTALL b/INSTALL
index 37a38e5..a331387 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -171,14 +171,15 @@ Options for configure
      Enable debugging support.
 
 --enable-masquerade[='draft_from mmailid username_extension']    
      Enable debugging support.
 
 --enable-masquerade[='draft_from mmailid username_extension']    
-     If this option is not specified, the mts.conf file will contain the line
-     "masquerade: " (with no value), which may be manually edited later.  You
-     may find it convenient to specify a value at configure-time, however, so
-     that each time nmh is reinstalled, the right value will be there.
-
-     The above usage shows all three masquerade options being specified, but any
-     subset of the three may be specified.  If you do want to enable all three,
-     you can simply use `configure --enable-masquerade' as a shortcut.
+     If this option is disabled, the mts.conf file will contain the
+     line "masquerade: " (with no value), which may be manually edited
+     later.  You may find it convenient to specify a value at
+     configure-time, however, so that each time nmh is reinstalled,
+     the right value will be there.  By default, it is enabled.
+
+     The above usage shows the default, with all three masquerade
+     options being specified.  Any subset of the three may be
+     specified.
 
      See the mh-tailor(5) man page for full documentation of "masquerade:".
 
 
      See the mh-tailor(5) man page for full documentation of "masquerade:".
 
index c5a9050..0b2a73c 100644 (file)
@@ -70,7 +70,8 @@ AC_ARG_ENABLE(masquerade,
     masquerade="draft_from mmailid username_extension"
   else
     masquerade="$enable_masquerade"
     masquerade="draft_from mmailid username_extension"
   else
     masquerade="$enable_masquerade"
-  fi])
+  fi],
+  masquerade="draft_from mmailid username_extension")
 AC_SUBST(masquerade)dnl
 
 dnl Do you want mhe support?
 AC_SUBST(masquerade)dnl
 
 dnl Do you want mhe support?