openbsd-ports/security/john/patches/patch-src_params_h
sturm cb7a5defb6 update to john 1.7.0.2
remove the no_mmx FLAVOR

from maintainer cathcart@
2006-07-16 18:17:25 +00:00

23 lines
673 B
Plaintext

$OpenBSD: patch-src_params_h,v 1.4 2006/07/16 18:17:25 sturm Exp $
--- src/params.h.orig Mon Mar 20 00:34:15 2006
+++ src/params.h Sun Jul 16 20:07:29 2006
@@ -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/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