Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
tor-browser-build
Commits
939bf98d
Commit
939bf98d
authored
4 months ago
by
boklm
Committed by
morgan
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug 41231: Use release date as timestamp while generating signed dmg
parent
2ccb1d0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/signing/ddmg.sh
+3
-2
3 additions, 2 deletions
tools/signing/ddmg.sh
tools/signing/gatekeeper-bundling.sh
+4
-1
4 additions, 1 deletion
tools/signing/gatekeeper-bundling.sh
with
7 additions
and
3 deletions
tools/signing/ddmg.sh
+
3
−
2
View file @
939bf98d
...
...
@@ -4,7 +4,7 @@
# file from a directory
#
# Usage:
# ddmg.sh <dmg-file> <src-directory> <Volume Label>
# ddmg.sh <dmg-file> <src-directory> <Volume Label>
<release date>
set
-e
...
...
@@ -14,6 +14,7 @@ source "$script_dir/functions"
dest_file
=
"
$1
"
src_dir
=
"
$2
"
volume_label
=
"
$3
"
browser_release_date
=
"
$4
"
set
+e
find
$src_dir
-executable
-exec
chmod
0755
{}
\;
2> /dev/null
...
...
@@ -26,7 +27,7 @@ dmg_tmpdir=$(mktemp -d)
hfsfile
=
"
$dmg_tmpdir
/tbb-uncompressed.dmg"
export
LD_PRELOAD
=
$faketime_path
export
FAKETIME
=
"
2000-01-01 01:01:01
"
export
FAKETIME
=
"
$browser_release_date
"
echo
"Starting: "
$(
basename
$dest_file
)
...
...
This diff is collapsed.
Click to expand it.
tools/signing/gatekeeper-bundling.sh
+
4
−
1
View file @
939bf98d
...
...
@@ -56,6 +56,9 @@ ProjName=$(ProjectName)
Proj_Name
=
$(
Project_Name
)
proj_name
=
$(
project-name
)
disp_name
=
$(
display_name
)
pushd
"
$script_dir
/../.."
browser_release_date
=
$(
$rbm
showconf
--target
"
$tbb_version_type
"
--target
"
$SIGNING_PROJECTNAME
-linux-x86_64"
browser var/faketime_date
)
popd
test
-d
"
$macos_signed_dir
"
||
mkdir
"
$macos_signed_dir
"
tmpdir
=
"
$macos_stapled_dir
/tmp"
...
...
@@ -75,7 +78,7 @@ rm *.DS_Store
tar
-xf
$macos_stapled_dir
/
"
${
proj_name
}
-
${
tbb_version
}
-notarized+stapled.tar.zst"
cd
..
$script_dir
/ddmg.sh
$macos_signed_dir
/
${
proj_name
}
-macos-
${
tbb_version
}
.dmg
$tmpdir
/dmg/
"
$disp_name
"
$script_dir
/ddmg.sh
$macos_signed_dir
/
${
proj_name
}
-macos-
${
tbb_version
}
.dmg
$tmpdir
/dmg/
"
$disp_name
"
"
$browser_release_date
"
rm
-rf
"dmg/
$disp_name
.app"
rm
-Rf
"
$tmpdir
"
...
...
This diff is collapsed.
Click to expand it.
morgan
@morgan
mentioned in merge request
!1034 (merged)
·
4 months ago
mentioned in merge request
!1034 (merged)
mentioned in merge request !1034
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment