pkgsrc/security/john/patches/patch-ab
martti 34d56ce88a Updated security/john to 1.7.0.1
The following changes have been made between John 1.7 and 1.7.0.1:

* Minor bug and portability fixes.
* Better handling of certain uncommon scenarios and improper uses of John.
* Bonus: "Keyboard" cracker included in the default john.conf (john.ini)
  that will try sequences of adjacent keys on a keyboard as passwords.

The following major changes have been made since John 1.6:

* Bitslice DES code for x86 with MMX: more than twice faster than older
  non-bitslice MMX code.
* Bitsliced the LM hash code as well: now several times faster.
* Significant improvements to the generic bitslice DES code: +20% on RISC.
* PowerPC G4+ AltiVec support (Mac OS X and Linux): effective 128-bitness
  for bitslice DES, resulting in huge speedups.
* First attempt at generic vectorization support for bitslice DES.
* Two MD5 hashes at a time for extra ILP on RISC: up to +80% on Alpha EV5+.
* Generic Blowfish x86 assembly code in addition to the original Pentium
  version: +15% on the Pentium Pro family (up to and including Pentium III),
  +20% on AMD K6 (Pentium 4 and newer AMD CPUs are more happy running the
  original Pentium code for Blowfish).
* Verbose logging of events to the global or a session-specific log file.
* Better idle priority emulation with POSIX.1b (POSIX.4) scheduling calls.
* System-wide installation support for *BSD ports and Linux distributions.
* AIX, DU/Tru64 C2, HP-UX tcb files support in unshadow.
* New make targets for Linux/x86-64, Linux/PowerPC, FreeBSD/Alpha,
  OpenBSD/x86-64, OpenBSD/Alpha, OpenBSD/SPARC, OpenBSD/SPARC64,
  OpenBSD/PowerPC, OpenBSD/PA-RISC, OpenBSD/VAX, NetBSD/VAX, Solaris/SPARC64,
  Mac OS X (PowerPC and x86), SCO, BeOS.
* Bug and portability fixes, and new bugs.
* Bonus: "Strip" cracker included in the default john.conf (john.ini).
2006-03-14 10:17:25 +00:00

43 lines
1.3 KiB
Text

$NetBSD: patch-ab,v 1.1 2006/03/14 10:17:25 martti Exp $
--- src/params.h.orig 2006-03-14 09:16:37.000000000 +0200
+++ src/params.h 2006-03-14 09:21:51.000000000 +0200
@@ -49,15 +49,15 @@
* notes above.
*/
#ifndef JOHN_SYSTEMWIDE
-#define JOHN_SYSTEMWIDE 0
+#define JOHN_SYSTEMWIDE 1
#endif
#if JOHN_SYSTEMWIDE
#ifndef JOHN_SYSTEMWIDE_EXEC /* please refer to the notes above */
-#define JOHN_SYSTEMWIDE_EXEC "/usr/libexec/john"
+#define JOHN_SYSTEMWIDE_EXEC "@PREFIX@/bin"
#endif
#ifndef JOHN_SYSTEMWIDE_HOME
-#define JOHN_SYSTEMWIDE_HOME "/usr/share/john"
+#define JOHN_SYSTEMWIDE_HOME "@PREFIX@/share/john"
#endif
#define JOHN_PRIVATE_HOME "~/.john"
#endif
@@ -101,8 +101,8 @@
/*
* File names.
*/
-#define CFG_FULL_NAME "$JOHN/john.conf"
-#define CFG_ALT_NAME "$JOHN/john.ini"
+#define CFG_FULL_NAME "@PREFIX@/share/john/john.conf"
+#define CFG_ALT_NAME "@PREFIX@/share/john/john.ini"
#if JOHN_SYSTEMWIDE
#define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.conf"
#define CFG_PRIVATE_ALT_NAME JOHN_PRIVATE_HOME "/john.ini"
@@ -116,7 +116,7 @@
#endif
#define LOG_SUFFIX ".log"
#define RECOVERY_SUFFIX ".rec"
-#define WORDLIST_NAME "$JOHN/password.lst"
+#define WORDLIST_NAME "@PREFIX@/share/john/password.lst"
/*
* Configuration file section names.