head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.46 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.44 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.42 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.40 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.38 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.36 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.34 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.32 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.30 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.28 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.26 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.24 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.22 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.20 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.18 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.16 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.14 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.12 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.10 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.8 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.6 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.4 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.2 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.2.0.76 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.56 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.78 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.74 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.72 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.70 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.68 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.66 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.64 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.62 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.60 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.58 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.54 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.52 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.50 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.48 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.46 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.44 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.42 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.40 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.38 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.36 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.34 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.32 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.30 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.28 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.26 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.24 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.22 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.20 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.18 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.16 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.14 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.12 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.10 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.8 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.6 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.4 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.2 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.1.0.42 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.40 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.38 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.36 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.34 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.32 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.30 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.28 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.26 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.24 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.22 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.20 pkgsrc-2008Q1:1.1.0.18 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.16 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.14 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.12 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.10 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.8 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.6 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.4 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.2 pkgsrc-2006Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2020.08.08.02.09.01; author leot; state Exp; branches; next 1.2; commitid pVPnDGn4BnqkBcjC; 1.2 date 2010.12.13.10.32.35; author wiz; state Exp; branches; next 1.1; 1.1 date 2006.03.14.10.17.25; author martti; state Exp; branches; next ; desc @@ 1.3 log @john: Update to 1.9.0 pkgsrc changes: - Document all the patches - Honors user's CFLAGS and don't remove -Wall from CFLAGS in patch-aa: they are usually pretty useful - Unset OPT_{NORMAL,INLINE} optimizations via MAKE_FLAGS to minimize patch-aa - Remove not needed NO_CONFIGURE - Use pre-configure as stage for SUBST (now that NO_CONFIGURE is removed) Changes: The following changes have been made between John 1.8.0 and 1.9.0: * Increased the interleaving for bcrypt on x86-64 from 2x to 3x for a major speedup on CPUs without SMT. Unfortunately, this sometimes results in a minor performance regression when running multiple threads on CPUs with SMT. * Recognize the $2b$ bcrypt prefix. * In the generic crypt(3) format, detect descrypt with valid vs. invalid salts as separate id's for our heuristics on supported hash types. * Introduced a number of optimizations for faster handling of large password hash files, including loading, cracking, and "--show". Some of these use more memory than before, yet in a more efficient manner. * Benchmark using all-different candidate passwords of length 7 by default. * Dropped undocumented special handling of "Mc" in 'c' and 'C' rule commands. * Dropped undocumented limitation of the 'M' and 'Q' rule commands where they would sometimes memorize/check only up to the current hash type's length limit yet this optimization wouldn't necessarily be transparent (e.g., if a later command would extract a substring from above the hash type's length limit and bring it to within the limit). * Implemented special-case handling of repeated rule commands '$', '^', '[', ']', '{', and '}', as well as faster handling of the 'D' command. * When built with "--fork" support, disallow session names with all-digit suffixes since these clash with those produced by "--fork". * Forward SIGTERM to --fork'ed children. * Set stdout to line buffered (rather than potentially fully buffered), except for "--stdout", "--show", and auxiliary programs such as "unshadow". * On Windows, restore normal processing of Ctrl-C in case our parent (such as Johnny the GUI) had disabled it. * Added linux-x86*-avx512 and linux-x86*-avx2 make targets, which use respectively AVX-512 and AVX2 for bitslice DES. * Added linux-mic make target for Intel MIC (first generation Xeon Phi, aka Knights Corner), which uses its 512-bit SIMD intrinsics for bitslice DES. (For second generation Xeon Phi, aka Knights Landing, use linux-x86-64-avx512.) * Added linux-arm64le, linux-arm32le-neon, and linux-arm32le make targets. (The first two of these make use of ASIMD or NEON for bitslice DES.) * Added linux-sparc64 make target. * Made a minor optimization to MMX and SSE2 assembly code for LM hash. * Dropped Ultrix and SCO support. * Don't probe for alternate config file names (like john.ini when on Unix). * "DokuWiki" external mode sample has been added to the default john.conf. * Fixed operator precedence in the external mode compiler to be the same as C. * Fixed an out of bounds write bug in the external mode virtual machine. * Fixed a bug introduced in version 1.7.4 in the wordlist rules engine, where some sequences of rule commands could overflow a word buffer. * Fixed a bug where unaligned access SSE/AVX instructions would unnecessarily be generated by GCC 4.6+ in the bitslice DES code in non-OpenMP builds. * Fixed a bug where "Warning: no OpenMP support for this hash type" could be printed in "--stdout" mode. * Made assorted other bugfixes, portability and documentation enhancements. @ text @$NetBSD: patch-ab,v 1.2 2010/12/13 10:32:35 wiz Exp $ Use @@PREFIX@@ instead of hardcoding /usr. --- src/params.h.orig 2019-04-12 01:00:35.000000000 +0000 +++ src/params.h @@@@ -75,15 +75,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 @@@@ -136,9 +136,9 @@@@ * File names. */ #ifdef __DJGPP__ -#define CFG_FULL_NAME "$JOHN/john.ini" +#define CFG_FULL_NAME "@@PREFIX@@/share/john/john.ini" #else -#define CFG_FULL_NAME "$JOHN/john.conf" +#define CFG_FULL_NAME "@@PREFIX@@/share/john/john.ini" #endif #if JOHN_SYSTEMWIDE #ifdef __DJGPP__ @@@@ -156,7 +156,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. @ 1.2 log @Update to 1.7.6: The following changes have been made between John 1.7.5.1 and 1.7.6: * Generic crypt(3) support (enabled with "--format=crypt") has been added for auditing password hash types supported by the system but not yet supported by John's own optimized cryptographic routines (such as "SHA-crypt" and SunMD5). * Optional parallelization of the above has been implemented by means of OpenMP along with glibc's crypt_r(3) or Solaris' MT-safe crypt(3C). * Optional parallelization of John's own optimized code for the OpenBSD-style Blowfish-based crypt(3) (bcrypt) hashes with OpenMP has been added. * A more suitable version of 32-bit x86 assembly code for Blowfish is now chosen on Core i7 and similar CPUs (when they happen to run a 32-bit build). * More optimal DES S-box expressions for PowerPC with AltiVec (making use of the conditional select operation) contributed by Dumplinger Boy (Dango-Chu) have been integrated. * The bitslice DES C source code has been reworked to allow for the use of arbitrary SIMD intrinsics, which was previously only implemented for AltiVec as a special case. * Support for SSE2 and MMX intrinsics with bitslice DES (as an alternative to the supplied assembly code) has been added (currently only enabled for SSE2 on x86-64 when compiling with GCC 4.4+). * Support for mixed-type longer virtual vectors (such as SSE2+MMX, SSE2+ALU, AltiVec+ALU, and other combinations) with bitslice DES has been added (not enabled by default yet, primarily intended for easy benchmarks on future CPUs, with future compiler versions, with even more SIMD instruction sets, and with different DES S-box expressions that might be available in the future). * The obsolete 32-bit SPARC assembly implementation of DES has been dropped. * The loader will now detect password hashes specified on a line on their own, not only as part of an /etc/passwd or PWDUMP format file. * When run in "--stdin" mode and reading candidate passwords from a terminal (to be typed by the user), John will no longer mess with the terminal settings. * John will now restore terminal settings not only on normal termination or interrupt, but also when forcibly interrupted with two Ctrl-C keypresses. The following changes have been made between John 1.7.5 and 1.7.5.1: * A new numeric variable has been added to the word mangling rules engine: "p" for position of the character last found with the "/" or "%" commands. The following changes have been made between John 1.7.4.2 and 1.7.5: * Support for the use of "--format" along with "--show" or "--make-charset" has been added. * The choice of .rec and .log filenames for custom session names has been made more intuitive. * Support for "\r" (character lists with repeats) and "\p0" (reference to the immediately preceding character list/range) has been added to the word mangling rules preprocessor. * The undefined and undocumented behavior of some subtle word mangling rules preprocessor constructs has been changed to arguably be more sensible. * Some bugs were fixed, most notably JtR crashing on no password hashes loaded (bug introduced in 1.7.4.2). The following changes have been made between John 1.7.4 and 1.7.4.2: * Major performance improvements for processing of very large password files or sets of files, especially with salt-less or same-salt hashes, achieved primarily through introduction of two additional hash table sizes (64K and 1M entries), changes to the loader, and smarter processing of successful guesses (to accommodate getting thousands of hashes successfully cracked per second). * Many default buffer and hash table sizes have been increased and thresholds for the use of hash tables lowered, meaning that John will now tend to use more memory to achieve better speed (unless it is told not to with the "--save-memory" option). * Some previously missed common website passwords found on public lists of "top N passwords" have been added to the bundled common passwords list. * Some bugs introduced in 1.7.4 and affecting wordlist mode's elimination of consecutive duplicate candidate passwords have been fixed. The following changes have been made between John 1.7.3.4 and 1.7.4: * Support for back-references and "parallel" ranges has been added to the word mangling rules preprocessor. * The notion of numeric variables (to be used for character positions and substring lengths along with numeric constants supported previously) has been introduced into the rules engine. Two pre-defined variables ("l" for initial or updated word's length and "m" for initial or memorized word's last character position) and 11 user-defined variables ("a" through "k") have been added. Additionally, there's a new numeric constant: "z" for "infinite" position or length. * New rule commands have been added: "A" (append, insert, or prefix with a string), "X" (extract a substring from memory and insert), "v" (subtract and assign to a numeric variable). * New rule reject flags have been added: ":" (no-op, for use along with the "parallel" ranges feature of the preprocessor) and "p" (reject unless word pair commands are allowed, for sharing of the same ruleset between "single crack" and wordlist modes). * Processing of word mangling rules has been made significantly faster in multiple ways (caching of the current length, less copying of data, code and data placement changes for better branch prediction and L1 cache usage, compiler-friendly use of local variables, code micro-optimizations, removal of no-op rule commands in an initial pass). * The default rulesets for "single crack" and wordlist modes have been revised to make use of the new features, for speed, to produce fewer duplicates, and to attempt additional kinds of candidate passwords (such as for years 2010 through 2019 with "year-based" rules). * The idle priority emulation code has been optimized for lower overhead when there appears to be no other demand for CPU time. * The default for the Idle setting has been changed from N to Y. The following changes have been made between John 1.7.3.1 and 1.7.3.4: * "make check" has been implemented (for Unix-like systems only). * The "--test" option will now take an optional argument - the duration of each benchmark in seconds. * Section .note.GNU-stack has been added to all assembly files to avoid the stack area unnecessarily being made executable on Linux systems that use this mechanism. * Some very minor bugs that did not affect normal operation have been fixed. * Some unimportant compiler warnings have been fixed, a source code comment has been made more verbose and more complete. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2006/03/14 10:17:25 martti Exp $ d3 3 a5 1 --- src/params.h.orig 2010-06-14 02:38:55.000000000 +0000 d7 1 a7 1 @@@@ -51,15 +51,15 @@@@ d26 1 a26 2 @@@@ -103,8 +103,8 @@@@ /* d29 4 d34 2 a35 3 -#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" d37 2 a38 3 #define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.conf" #define CFG_PRIVATE_ALT_NAME JOHN_PRIVATE_HOME "/john.ini" @@@@ -118,7 +118,7 @@@@ @ 1.1 log @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). @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- 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 @@@@ d24 1 a24 1 @@@@ -101,8 +101,8 @@@@ d35 1 a35 1 @@@@ -116,7 +116,7 @@@@ @