Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tor-reproducer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
briar
tor-reproducer
Commits
48ac3e16
Verified
Commit
48ac3e16
authored
Aug 24, 2018
by
Torsten Grote
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy GeoIP file *before* resetting its time, fixes reproduciblity
parent
fced5640
Pipeline
#2154
passed with stages
in 54 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
build-tor.py
build-tor.py
+3
-3
No files found.
build-tor.py
View file @
48ac3e16
...
...
@@ -30,10 +30,10 @@ def main():
build_android
()
# zip geoip database
geoip_path
=
os
.
path
.
join
(
EXT_DIR
,
'tor'
,
'src'
,
'config'
,
'geoip'
)
geoip_path
=
os
.
path
.
join
(
REPO_DIR
,
'geoip'
)
copy
(
os
.
path
.
join
(
EXT_DIR
,
'tor'
,
'src'
,
'config'
,
'geoip'
),
geoip_path
)
reset_time
(
geoip_path
)
copy
(
geoip_path
,
os
.
path
.
join
(
REPO_DIR
,
'geoip'
))
# copy first to not zip directory
check_call
([
'zip'
,
'-X'
,
os
.
path
.
join
(
REPO_DIR
,
'geoip.zip'
),
os
.
path
.
join
(
REPO_DIR
,
'geoip'
)])
check_call
([
'zip'
,
'-X'
,
'geoip.zip'
,
'geoip'
],
cwd
=
REPO_DIR
)
# zip binaries together
file_list
=
[
'tor_linux-x86_64.zip'
,
'geoip.zip'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment