Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build-2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
shelikhoo
tor-browser-build-2
Commits
f96a4e48
Verified
Commit
f96a4e48
authored
2 years ago
by
shelikhoo
Browse files
Options
Downloads
Patches
Plain Diff
Add WebTunnel project
parent
73d8f5d8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/webtunnel/build
+34
-0
34 additions, 0 deletions
projects/webtunnel/build
projects/webtunnel/config
+17
-0
17 additions, 0 deletions
projects/webtunnel/config
with
51 additions
and
0 deletions
projects/webtunnel/build
0 → 100644
+
34
−
0
View file @
f96a4e48
#!/bin/bash
[
%
c
(
"
var/set_default_env
"
)
-%
]
[
%
pc
(
'
go
'
,
'
var/setup
'
,
{
go_tarfile
=>
c
(
'
input_files_by_name/go
'
)
})
%
]
distdir
=/
var
/
tmp
/
dist
/
[
%
project
%
]
mkdir
-
p
$
distdir
[
%
IF
c
(
"
var/android
"
)
-%
]
[
%
pc
(
c
(
'
var/compiler
'
),
'
var/setup
'
,
{
compiler_tarfile
=>
c
(
'
input_files_by_name/
'
_
c
(
'
var/compiler
'
))
})
%
]
# We need to explicitly set CGO_ENABLED with Go 1.13.x as the Android build
# breaks otherwise.
export
CGO_ENABLED
=
1
[
%
END
-%
]
tar
-
C
/
var
/
tmp
/
dist
-
xf
[
%
c
(
'
input_files_by_name/goptlib
'
)
%
]
mkdir
-
p
/
var
/
tmp
/
build
tar
-
C
/
var
/
tmp
/
build
-
xf
[
%
project
%
]
-
[
%
c
(
'
version
'
)
%
].
tar
.
gz
cd
/
var
/
tmp
/
build
/
[
%
project
%
]
-
[
%
c
(
'
version
'
)
%
]
mkdir
-
p
"
$GOPATH/src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel.git
"
ln
-
sf
"
$PWD
"
"
$GOPATH/src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel
"
cd
main
/
client
go
build
-
ldflags
'
-s
'
cp
-
a
client
[
%
IF
c
(
"
var/windows
"
)
%
].
exe
[
%
END
%
]
$
distdir
/
webtunnel
-
client
[
%
IF
c
(
"
var/windows
"
)
%
].
exe
[
%
END
%
]
cd
/
var
/
tmp
/
build
/
[
%
project
%
]
-
[
%
c
(
'
version
'
)
%
]
cp
-
a
README
.
md
$
distdir
/
README
.
WEBTUNNEL
.
md
cd
$
distdir
[
%
c
(
'
tar
'
,
{
tar_src
=>
[
'
.
'
],
tar_args
=>
'
-czf
'
_
dest_dir
_
'
/
'
_
c
(
'
filename
'
),
})
%
]
This diff is collapsed.
Click to expand it.
projects/webtunnel/config
0 → 100644
+
17
−
0
View file @
f96a4e48
# vim: filetype=yaml sw=2
version
:
'
[%
c("abbrev")
%]'
git_url
:
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel.git
git_hash
:
2ecf64381bad8a5db45c5871dcad7d12831dca69
filename
:
'
[%
project
%]-[%
c("version")
%]-[%
c("var/osname")
%]-[%
c("var/build_id")
%].tar.gz'
container
:
use_container
:
1
input_files
:
-
project
:
container-image
-
name
:
go
project
:
go
-
name
:
goptlib
project
:
goptlib
-
name
:
'
[%
c("var/compiler")
%]'
project
:
'
[%
c("var/compiler")
%]'
enable
:
'
[%
c("var/android")
%]'
This diff is collapsed.
Click to expand it.
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