Author: dsahlberg
Date: Sat Apr 22 16:24:07 2023
New Revision: 1909351

URL: http://svn.apache.org/viewvc?rev=1909351&view=rev
Log:
Revert r1845377 as it has caused a lot of trouble for end users.

Plaintext password storage will again be enabled by default. It can still be 
disabled at configure time.

* configure.ac: Invert the default of the plaintext-password-storage
   option and update its help text.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: 
http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1909351&r1=1909350&r2=1909351&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Sat Apr 22 16:24:07 2023
@@ -872,21 +872,18 @@ fi
 
 dnl plaintext passwords -------------------
 AC_ARG_ENABLE(plaintext-password-storage,
-AS_HELP_STRING([--enable-plaintext-password-storage],
-               [Enable on-disk caching of plaintext passwords and passphrases.
-                (Enabling this functionality will not force Subversion
+AS_HELP_STRING([--disable-plaintext-password-storage],
+               [Disable on-disk caching of plaintext passwords and passphrases.
+                (Leaving this functionality enabled will not force Subversion
                 to store passwords in plaintext, but does permit users to
                 explicitly allow that behavior via runtime configuration.)]),
-[plaintext_passwordd_storage="$enableval"],
-[plaintext_passwordd_storage="no"])
-
-if test "$plaintext_passwordd_storage" = "yes"; then
-  AC_MSG_WARN([Enabling plaintext password/passphrase storage])
-else
-  AC_MSG_NOTICE([Disabling plaintext password/passphrase storage])
-  AC_DEFINE(SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE, 1,
-            [Defined if plaintext password/passphrase storage is disabled])
-fi
+[
+   if test "$enableval" = "no"; then
+      AC_MSG_NOTICE([Disabling plaintext password/passphrase storage])
+      AC_DEFINE(SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE, 1,
+                [Defined if plaintext password/passphrase storage is disabled])
+   fi
+])
 
 dnl Build and install rules -------------------
 


Reply via email to