summaryrefslogtreecommitdiffhomepage
path: root/john-1.8.0.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-09-11 21:22:44 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-09-11 21:31:42 +0000
commitf41d1e587349e105b1ec32b2a461a0f000eb2676 (patch)
treec6a81b09efd3af9329dadfd10a34dbb08a65554a /john-1.8.0.local.patch
parentdfad49b0b8b34bee2a36948ba6d0cb15d81554c1 (diff)
downloadmidipix_build-f41d1e587349e105b1ec32b2a461a0f000eb2676.tar.bz2
midipix_build-f41d1e587349e105b1ec32b2a461a0f000eb2676.tar.xz
Fix {debug,release}-dependent stripping behaviour when building John the Ripper, netcat, pkg-cron and OpenSSH (via midipix.)
Diffstat (limited to 'john-1.8.0.local.patch')
-rw-r--r--john-1.8.0.local.patch15
1 files changed, 11 insertions, 4 deletions
diff --git a/john-1.8.0.local.patch b/john-1.8.0.local.patch
index 8ffcc91c..c3d9dff9 100644
--- a/john-1.8.0.local.patch
+++ b/john-1.8.0.local.patch
@@ -63,9 +63,17 @@ diff -ru a/src/DES_bs.h b/src/DES_bs.h
/*
* Another special-case version: a non-zero IV, no salts, no iterations.
-diff -ru a/src/Makefile b/src/Makefile
---- a/src/Makefile 2013-05-29 19:21:25.000000000 -0400
-+++ b/src/Makefile 2016-08-07 16:23:07.246422700 -0400
+--- john-1.8.0/src/Makefile.orig 2013-05-29 23:21:25.000000000 +0000
++++ john-1.8.0/src/Makefile 2016-09-11 21:19:18.930129331 +0000
+@@ -32,7 +32,7 @@
+ # CFLAGS for use on the main john.c file only
+ CFLAGS_MAIN = $(CFLAGS)
+ ASFLAGS = -c $(OMPFLAGS)
+-LDFLAGS = -s $(OMPFLAGS)
++LDFLAGS = $(LDFLAGS_DEBUG) $(OMPFLAGS)
+ OPT_NORMAL = -funroll-loops
+ # Remove the "-Os" if you're using an ancient version of gcc
+ OPT_INLINE = -Os -funroll-loops -finline-functions
@@ -104,6 +104,8 @@
# @echo "linux-ppc64-altivec Linux, PowerPC 64-bit w/AltiVec"
@echo "linux-ppc64 Linux, PowerPC 64-bit"
@@ -98,4 +106,3 @@ diff -ru a/src/Makefile b/src/Makefile
freebsd-x86-64:
$(LN) x86-64.h arch.h
$(MAKE) $(PROJ) \
-