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
@@ -50,42 +49,42 @@ apps:
50
49
john-the-ripper :
51
50
command : bin/john
52
51
plugs : [home, removable-media]
53
- opencl :
54
- command : bin/john
55
- plugs : [home, removable-media]
56
- dmg2john :
57
- command : bin/dmg2john
58
- plugs : [home, removable-media]
59
- hccap2john :
60
- command : bin/hccap2john
61
- plugs : [home, removable-media]
62
- racf2john :
63
- command : bin/racf2john
64
- plugs : [home, removable-media]
65
- vncpcap2john :
66
- command : bin/vncpcap2john
67
- plugs : [home, removable-media]
68
- zip2john :
69
- command : bin/zip2john
70
- plugs : [home, removable-media]
71
- gpg2john :
72
- command : bin/gpg2john
73
- plugs : [home, removable-media]
74
- keepass2john :
75
- command : bin/keepass2john
76
- plugs : [home, removable-media]
77
- putty2john :
78
- command : bin/putty2john
79
- plugs : [home, removable-media]
80
- rar2john :
81
- command : bin/rar2john
82
- plugs : [home, removable-media]
83
- uaf2john :
84
- command : bin/uaf2john
85
- plugs : [home, removable-media]
86
- wpapcap2john :
87
- command : bin/wpapcap2john
88
- plugs : [home, removable-media]
52
+ # opencl:
53
+ # command: bin/john
54
+ # plugs: [home, removable-media]
55
+ # dmg2john:
56
+ # command: bin/dmg2john
57
+ # plugs: [home, removable-media]
58
+ # hccap2john:
59
+ # command: bin/hccap2john
60
+ # plugs: [home, removable-media]
61
+ # racf2john:
62
+ # command: bin/racf2john
63
+ # plugs: [home, removable-media]
64
+ # vncpcap2john:
65
+ # command: bin/vncpcap2john
66
+ # plugs: [home, removable-media]
67
+ # zip2john:
68
+ # command: bin/zip2john
69
+ # plugs: [home, removable-media]
70
+ # gpg2john:
71
+ # command: bin/gpg2john
72
+ # plugs: [home, removable-media]
73
+ # keepass2john:
74
+ # command: bin/keepass2john
75
+ # plugs: [home, removable-media]
76
+ # putty2john:
77
+ # command: bin/putty2john
78
+ # plugs: [home, removable-media]
79
+ # rar2john:
80
+ # command: bin/rar2john
81
+ # plugs: [home, removable-media]
82
+ # uaf2john:
83
+ # command: bin/uaf2john
84
+ # plugs: [home, removable-media]
85
+ # wpapcap2john:
86
+ # command: bin/wpapcap2john
87
+ # plugs: [home, removable-media]
89
88
info :
90
89
command : bin/run-john.sh
91
90
desktop : com.openwall.John.desktop
@@ -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
0 commit comments