Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rdpgw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirror
Rdpgw
Commits
188ce358
Commit
188ce358
authored
May 17, 2021
by
Bolke de Bruin
Browse files
Options
Downloads
Patches
Plain Diff
Update build instructions
parent
bf362b4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-4
1 addition, 4 deletions
Makefile
README.md
+3
-2
3 additions, 2 deletions
README.md
with
4 additions
and
6 deletions
Makefile
+
1
−
4
View file @
188ce358
BINDIR
:=
$(
CURDIR
)
/bin
INSTALL_PATH
?=
/usr/local/bin
DIST_DIRS
:=
find
*
-type
d
-exec
TARGETS
:=
darwin/amd64 darwin/arm64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64
TARGET_OBJS
?=
darwin-amd64.tar.gz darwin-amd64.tar.gz.sha256 darwin-amd64.tar.gz.sha256sum darwin-arm64.tar.gz darwin-arm64.tar.gz.sha256 darwin-arm64.tar.gz.sha256sum linux-amd64.tar.gz linux-amd64.tar.gz.sha256 linux-amd64.tar.gz.sha256sum linux-386.tar.gz linux-386.tar.gz.sha256 linux-386.tar.gz.sha256sum linux-arm.tar.gz linux-arm.tar.gz.sha256 linux-arm.tar.gz.sha256sum linux-arm64.tar.gz linux-arm64.tar.gz.sha256 linux-arm64.tar.gz.sha256sum linux-ppc64le.tar.gz linux-ppc64le.tar.gz.sha256 linux-ppc64le.tar.gz.sha256sum linux-s390x.tar.gz linux-s390x.tar.gz.sha256 linux-s390x.tar.gz.sha256sum windows-amd64.zip windows-amd64.zip.sha256 windows-amd64.zip.sha256sum
BINNAME
?=
rdpgw
# Rebuild the binary if any of these files change
...
...
@@ -37,7 +34,7 @@ all: mod build
build
:
$(BINDIR)/$(BINNAME)
$(BINDIR)/$(BINNAME)
:
$(SRC)
GOMODULE
=
on
go build
$(
GOFLAGS
)
-trimpath
-tags
'
$(
TAGS
)
'
-ldflags
'
$(
LDFLAGS
)
'
-o
'
$(
BINDIR
)
'
/
$(
BINNAME
)
./cmd/rdpgw
go build
$(
GOFLAGS
)
-trimpath
-tags
'
$(
TAGS
)
'
-ldflags
'
$(
LDFLAGS
)
'
-o
'
$(
BINDIR
)
'
/
$(
BINNAME
)
./cmd/rdpgw
# ------------------------------------------------------------------------------
# install
...
...
This diff is collapsed.
Click to expand it.
README.md
+
3
−
2
View file @
188ce358
...
...
@@ -27,10 +27,11 @@ are generated and signed according to the JWT spec by using [jwt-go](https://git
signed with a 256 bit HMAC. Hosts provided by the user are verified against what was provided by
the server. Finally, the client's ip address needs to match the one it obtained the token with.
## How to build
## How to build
& install
```
bash
cd
rdpgw
go build
-o
rdpgw .
make
make
install
```
## Configuration
...
...
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