Sat, 06 Oct 2012 16:24:01 +0200
Update to new vendor software version and adjust patch code accordingly.
Unfortunately the vendor has apparently failed to properly test this
release which depends on missing object symbols in libsasl2.a(common.o):
undefined reference to `sasl_randcreate'
undefined reference to `sasl_mkchal'
undefined reference to `sasl_utf8verify'
undefined reference to `sasl_rand'
undefined reference to `sasl_churn'
undefined reference to `sasl_encode64'
undefined reference to `sasl_decode64'
undefined reference to `sasl_erasebuffer'
undefined reference to `sasl_randfree'
undefined reference to `sasl_strlower'
undefined reference to `get_fqhostname'
...yet to be patched.
1 Index: src/params.h
2 --- src/params.h.orig 2011-11-23 12:08:11.000000000 +0100
3 +++ src/params.h 2011-11-24 09:04:33.000000000 +0100
4 @@ -70,15 +70,15 @@
5 * notes above.
6 */
7 #ifndef JOHN_SYSTEMWIDE
8 -#define JOHN_SYSTEMWIDE 0
9 +#define JOHN_SYSTEMWIDE 1
10 #endif
12 #if JOHN_SYSTEMWIDE
13 #ifndef JOHN_SYSTEMWIDE_EXEC /* please refer to the notes above */
14 -#define JOHN_SYSTEMWIDE_EXEC "/usr/libexec/john"
15 +#define JOHN_SYSTEMWIDE_EXEC "@l_prefix@/libexec/john"
16 #endif
17 #ifndef JOHN_SYSTEMWIDE_HOME
18 -#define JOHN_SYSTEMWIDE_HOME "/usr/share/john"
19 +#define JOHN_SYSTEMWIDE_HOME "@l_prefix@/etc/john"
20 #endif
21 #define JOHN_PRIVATE_HOME "~/.john"
22 #endif
23 Index: src/recovery.c
24 --- src/recovery.c.orig 2011-03-20 16:02:41.000000000 +0100
25 +++ src/recovery.c 2011-11-24 09:04:49.000000000 +0100
26 @@ -3,7 +3,9 @@
27 * Copyright (c) 1996-2003,2005,2006,2009,2010 by Solar Designer
28 */
30 +#ifndef __FreeBSD__
31 #define _XOPEN_SOURCE 500 /* for fdopen(3), fileno(3), fsync(2), ftruncate(2) */
32 +#endif
33 #include <stdio.h>
34 #include <unistd.h>
35 #include <sys/types.h>