Commit 0a7794b 1 parent cc977c8 commit 0a7794b Copy full SHA for 0a7794b
File tree 3 files changed +27
-13
lines changed
3 files changed +27
-13
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
@@ -102,11 +101,14 @@ parts:
102
101
cp "$SNAPCRAFT_STAGE"/build.sh .
103
102
./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/
109
108
109
+ mkdir -p ../install/share/icons
110
+ cp icon.png ../install/share/icons/icon.png
111
+
110
112
build-packages :
111
113
- build-essential
112
114
- libssl-dev
@@ -119,10 +121,9 @@ parts:
119
121
- curl
120
122
- patch
121
123
# OpenCL stuff
122
- - on amd64 :
123
- - libpocl-dev
124
- - ocl-icd-opencl-dev
125
- - pocl-opencl-icd
124
+ - libpocl-dev
125
+ - ocl-icd-opencl-dev
126
+ - pocl-opencl-icd
126
127
- on arm64 :
127
128
- libpocl-dev
128
129
- ocl-icd-opencl-dev
@@ -138,9 +139,8 @@ parts:
138
139
139
140
stage-packages :
140
141
- libgomp1
141
- - libpcap0.8t64
142
- - on amd64 :
143
- - ocl-icd-libopencl1
142
+ - libpcap0.8
143
+ - ocl-icd-libopencl1
144
144
- on arm64 :
145
145
- ocl-icd-libopencl1
146
146
@@ -156,3 +156,4 @@ parts:
156
156
organize :
157
157
../build/com.openwall.John.desktop : com.openwall.John.desktop
158
158
../build/run-john.sh : bin/run-john.sh
159
+ ../build/com.openwall.John.png : icon.png
You can’t perform that action at this time.
0 commit comments