From 27844443b4759689ecbc2eb4519c0fe83ebda473 Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 13 May 2008 02:39:04 +0000 Subject: [PATCH 1/1] * 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. --- ChangeLog | 10 ++++++++++ INSTALL | 17 +++++++++-------- configure.in | 3 ++- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a62efb..01ba704 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-05-13 David Levine + + * 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 * bug #23167: sbr/ruserpass.c (ruserpass): make bad permissions diff --git a/INSTALL b/INSTALL index 37a38e5..a331387 100644 --- a/INSTALL +++ b/INSTALL @@ -171,14 +171,15 @@ Options for configure 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:". diff --git a/configure.in b/configure.in index c5a9050..0b2a73c 100644 --- a/configure.in +++ b/configure.in @@ -70,7 +70,8 @@ AC_ARG_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? -- 1.7.10.4