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,13 +99,19 @@ parts:
100
99
101
100
override-build : |
102
101
cp "$SNAPCRAFT_STAGE"/build.sh .
102
+ cp "$SNAPCRAFT_STAGE"/com.openwall.John.png ./icon.png
103
+ cp "$SNAPCRAFT_STAGE"/com.openwall.John.png ./com.openwall.John.png
103
104
./build.sh
104
105
105
- craftctl set version="$(cat version.txt)"
106
+ # craftctl set version="$(cat version.txt)"
106
107
107
108
mkdir -p ../install/etc/bash_completion
108
109
cp run/john.*_completion ../install/etc/bash_completion/
109
110
111
+ mkdir -p ../install/share/icons
112
+ cp icon.png ../install/share/icons/icon.png
113
+ cp icon.png ../install/share/icons/com.openwall.John.png
114
+
110
115
build-packages :
111
116
- build-essential
112
117
- libssl-dev
@@ -119,30 +124,24 @@ parts:
119
124
- curl
120
125
- patch
121
126
# OpenCL stuff
122
- - on amd64 :
123
- - libpocl-dev
124
- - ocl-icd-opencl-dev
125
- - pocl-opencl-icd
127
+ - libpocl-dev
128
+ - ocl-icd-opencl-dev
129
+ - pocl-opencl-icd
126
130
- on arm64 :
127
131
- libpocl-dev
128
132
- ocl-icd-opencl-dev
129
133
- pocl-opencl-icd
130
134
135
+ stage-packages :
136
+ - libgomp1
137
+ - libpcap0.8
138
+ - ocl-icd-libopencl1
139
+
131
140
organize :
132
141
../build/run/ : bin/
133
142
../build/doc/ : doc/
134
143
../build/README.md : README.md
135
-
136
- libs :
137
- plugin : nil
138
-
139
- stage-packages :
140
- - libgomp1
141
- - libpcap0.8t64
142
- - on amd64 :
143
- - ocl-icd-libopencl1
144
- - on arm64 :
145
- - ocl-icd-libopencl1
144
+ ../build/com.openwall.John.png : com.openwall.John.png
146
145
147
146
john-packages :
148
147
plugin : nil
@@ -152,6 +151,7 @@ parts:
152
151
cp deploy/metadata/com.openwall.John.desktop .
153
152
cp deploy/metadata/run-john.sh .
154
153
cp deploy/snap/build.sh $SNAPCRAFT_STAGE
154
+ cp deploy/metadata/com.openwall.John.png $SNAPCRAFT_STAGE
155
155
156
156
organize :
157
157
../build/com.openwall.John.desktop : com.openwall.John.desktop
0 commit comments