SHARE
TWEET

cracklib.patch

a guest Jan 31st, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- revelation-0.4.14.orig/configure.ac 2012-07-01 16:58:09.000000000 -0400
  2. +++ revelation-0.4.14/configure.ac  2017-01-31 01:43:29.732927646 -0500
  3. @@ -19,12 +19,11 @@
  4.  RVL_PYTHON_MODULE(Crypto, yes)
  5.  RVL_PYTHON_MODULE(gconf, yes)
  6.  RVL_PYTHON_MODULE(gtk, yes)
  7. -RVL_PYTHON_MODULE(gnome, yes)
  8.  RVL_PYTHON_MODULE(gio, yes)
  9.  RVL_PYTHON_MODULE(gobject, yes)
  10.  RVL_PYTHON_MODULE(pango, yes)
  11.  RVL_PYTHON_MODULE(dbus, yes)
  12. -RVL_PYTHON_MODULE(cracklib, yes)
  13. +RVL_PYTHON_MODULE(crack, yes)
  14.  
  15.  
  16.  dnl Enable applet installation
  17. --- revelation-0.4.14.orig/src/lib/util.py  2012-02-19 07:24:06.000000000 -0500
  18. +++ revelation-0.4.14/src/lib/util.py   2017-01-31 01:43:04.895798980 -0500
  19. @@ -23,7 +23,7 @@
  20.  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  21.  #
  22.  
  23. -import datetime, cracklib, gettext, math, os, random, shlex, string, StringIO, traceback
  24. +import datetime, crack, gettext, math, os, random, shlex, string, StringIO, traceback
  25.  
  26.  _ = gettext.gettext
  27.  
  28. @@ -94,7 +94,7 @@
  29.     # check password with cracklib
  30.     try:
  31.         if len(password) < 100:
  32. -           cracklib.FascistCheck(password)
  33. +           crack.FascistCheck(password)
  34.  
  35.     except ValueError, reason:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top