packaging 0.109.3 → 0.109.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/packaging/sign/dmg.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 763f416372eab86acfcb1ce21c3f0cd519db708bdd34d6323c44fc5ff4ade8f9
|
4
|
+
data.tar.gz: 428db33628cbaddde9017048c067e224682b1c97c9235af05c8923e5983c3881
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 793b50af9892164876bd3b873d36c6bc797dea847501c2819993f0178df43835d611f55fbc61d557fa991e66d31c4d21fb2dcd2cfcc36a97e8a231015483ff1e
|
7
|
+
data.tar.gz: 877c87ed7fe102d2dfa1fc658a7d9952c1206678a92c7b915bbfcfdab982e8234f56ccba8e18a10e30e1b7945b3559d33ace6d713baf503ae2ff1bd0d5c53d18
|
data/lib/packaging/sign/dmg.rb
CHANGED
@@ -32,6 +32,14 @@ module Pkg::Sign::Dmg
|
|
32
32
|
|
33
33
|
dmg_basenames = dmgs.map { |d| File.basename(d, '.dmg') }.join(' ')
|
34
34
|
|
35
|
+
# (See: RE-15379) Refactor opportunity; we really shouldn't do this this way.
|
36
|
+
# When it works, it's fine, but diagnosing problems when we or Apple change
|
37
|
+
# the details is a pain. We should either have a script on the signing machine
|
38
|
+
# that does this work OR we should ship a script to the signing directory that
|
39
|
+
# can be modified/repeated when problems arise.
|
40
|
+
#
|
41
|
+
# Note especially, the '-size 200m' hack in the 'hdiutil create' command. This
|
42
|
+
# is useful but arbitrary at the moment and could cause problems in the future.
|
35
43
|
sign_package_command = %W[
|
36
44
|
for dmg in #{dmg_basenames}; do
|
37
45
|
/usr/bin/hdiutil attach #{remote_working_directory}/$dmg.dmg
|
@@ -55,7 +63,7 @@ module Pkg::Sign::Dmg
|
|
55
63
|
|
56
64
|
/usr/bin/hdiutil detach #{dmg_mount_point} -quiet ;
|
57
65
|
/bin/rm #{remote_working_directory}/$dmg.dmg ;
|
58
|
-
/usr/bin/hdiutil create -volname $dmg
|
66
|
+
/usr/bin/hdiutil create -volname $dmg -size 200m
|
59
67
|
-srcfolder #{signed_items_directory}/ #{remote_working_directory}/$dmg.dmg ;
|
60
68
|
/bin/rm #{signed_items_directory}/* ;
|
61
69
|
done
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.109.
|
4
|
+
version: 0.109.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet By Perforce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debug
|