openbsd-ports/security/john/patches/patch-src_params_h
cathcart 7c872f8aff Update to 1.6.40
Take Maintainership

ok sturm
2006-01-06 04:26:09 +00:00

23 lines
687 B
Plaintext

$OpenBSD: patch-src_params_h,v 1.3 2006/01/06 04:26:09 cathcart Exp $
--- src/params.h.orig Fri Dec 16 16:47:25 2005
+++ src/params.h Thu Jan 5 19:40:05 2006
@@ -22,15 +22,15 @@
* will probably want to set this to 1 for their builds of John.
*/
#ifndef JOHN_SYSTEMWIDE
-#define JOHN_SYSTEMWIDE 0
+#define JOHN_SYSTEMWIDE 1
#endif
#if JOHN_SYSTEMWIDE
#ifndef JOHN_SYSTEMWIDE_EXEC
-#define JOHN_SYSTEMWIDE_EXEC "/usr/libexec/john"
+#define JOHN_SYSTEMWIDE_EXEC "%%PREFIX%%/bin/john"
#endif
#ifndef JOHN_SYSTEMWIDE_HOME
-#define JOHN_SYSTEMWIDE_HOME "/usr/share/john"
+#define JOHN_SYSTEMWIDE_HOME "%%SYSCONFDIR%%"
#endif
#define JOHN_PRIVATE_HOME "~/.john"
#endif