Commit a54e38f 1 parent dee09ff commit a54e38f Copy full SHA for a54e38f
File tree 3 files changed +25
-14
lines changed
3 files changed +25
-14
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ google
115
115
GOST
116
116
gpg
117
117
GPUs
118
+ gui
118
119
hashicorp
119
120
hccap
120
121
hicolor
@@ -238,6 +239,7 @@ sonarsource
238
239
sonoma
239
240
squashfs
240
241
ssd
242
+ sse
241
243
SSSE
242
244
stdlib
243
245
strderr
Original file line number Diff line number Diff line change 70
70
echo " "
71
71
echo " ---------------------------- BUILDING -----------------------------"
72
72
73
- if [[ " $arch " == " x86_64" ]]; then
73
+ if [[ " $arch " == " i686" ]]; then
74
+ # CPU (OMP and extensions fallback)
75
+ ./configure " $X86_NO_OPENMP " --enable-simd=sse2 CPPFLAGS=" -D_SNAP -D_BOXED" && do_build ../run/john-sse2
76
+ ./configure " $X86_REGULAR " --enable-simd=sse2 CPPFLAGS=" -D_SNAP -D_BOXED -DOMP_FALLBACK -DOMP_FALLBACK_BINARY=\"\\\" john-sse2\\\"\" " && do_build ../run/john-sse2-omp
77
+ ./configure " $X86_NO_OPENMP " --enable-simd=avx CPPFLAGS=" -D_SNAP -D_BOXED" && do_build ../run/john-avx
78
+ ./configure " $X86_REGULAR " --enable-simd=avx CPPFLAGS=" -D_SNAP -D_BOXED -DOMP_FALLBACK -DOMP_FALLBACK_BINARY=\"\\\" john-avx\\\"\" -DCPU_FALLBACK -DCPU_FALLBACK_BINARY=\"\\\" john-sse2-omp\\\"\" " && do_build ../run/john-avx-omp
79
+ ./configure " $X86_NO_OPENMP " --enable-simd=avx2 CPPFLAGS=" -D_SNAP -D_BOXED" && do_build ../run/john-avx2
80
+ ./configure " $X86_REGULAR " --enable-simd=avx2 CPPFLAGS=" -D_SNAP -D_BOXED -DOMP_FALLBACK -DOMP_FALLBACK_BINARY=\"\\\" john-avx2\\\"\" -DCPU_FALLBACK -DCPU_FALLBACK_BINARY=\"\\\" john-avx-omp\\\"\" " && do_build ../run/john-avx2-omp
81
+ BINARY=" john-avx2-omp"
82
+ OPENCL_SUPPORT=" Yes"
83
+
84
+ elif [[ " $arch " == " x86_64" ]]; then
74
85
# x86_64 CPU (OMP and SIMD fallback)
75
86
do_configure " $X86_NO_OPENMP " --enable-simd=avx CPPFLAGS=" -D_SNAP -D_BOXED" && do_build ../run/john-avx
76
87
do_configure " $X86_REGULAR " --enable-simd=avx CPPFLAGS=" -D_SNAP -D_BOXED -DOMP_FALLBACK_BINARY=\"\\\" john-avx\\\"\" " && do_build ../run/john-avx-omp
Original file line number Diff line number Diff line change 21
21
# More info at https://github.com/openwall/john-packages
22
22
---
23
23
name : john-the-ripper
24
- version : bleeding
24
+ version : v2.0.0
25
25
26
- base : core24
26
+ base : core18
27
27
confinement : strict
28
28
grade : stable # TODO: [stable or devel] edit before release (BLEEDING_RELEASE)
29
29
30
- assumes : [snapd2.65]
31
- adopt-info : john-the-ripper
30
+ assumes : [snapd2.41]
32
31
33
32
license : GPL-2.0
34
33
title : John the Ripper CE Auditing Tool
@@ -100,9 +99,9 @@ parts:
100
99
101
100
override-build : |
102
101
cp "$SNAPCRAFT_STAGE"/build.sh .
103
- ./build.sh
102
+ echo "" > run/john; chmod +x run/john # ./build.sh
104
103
105
- craftctl set version="$(cat version.txt)"
104
+ # craftctl set version="$(cat version.txt)"
106
105
107
106
mkdir -p ../install/etc/bash_completion
108
107
cp run/john.*_completion ../install/etc/bash_completion/
@@ -119,10 +118,9 @@ parts:
119
118
- curl
120
119
- patch
121
120
# OpenCL stuff
122
- - on amd64 :
123
- - libpocl-dev
124
- - ocl-icd-opencl-dev
125
- - pocl-opencl-icd
121
+ - libpocl-dev
122
+ - ocl-icd-opencl-dev
123
+ - pocl-opencl-icd
126
124
- on arm64 :
127
125
- libpocl-dev
128
126
- ocl-icd-opencl-dev
@@ -138,9 +136,8 @@ parts:
138
136
139
137
stage-packages :
140
138
- libgomp1
141
- - libpcap0.8t64
142
- - on amd64 :
143
- - ocl-icd-libopencl1
139
+ - libpcap0.8
140
+ - ocl-icd-libopencl1
144
141
- on arm64 :
145
142
- ocl-icd-libopencl1
146
143
@@ -156,3 +153,4 @@ parts:
156
153
organize :
157
154
../build/com.openwall.John.desktop : com.openwall.John.desktop
158
155
../build/run-john.sh : bin/run-john.sh
156
+ ../build/com.openwall.John.png : meta/gui/icon.png
You can’t perform that action at this time.
0 commit comments