Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
bitmask-vpn
Merge requests
!255
build: update openvpn build script to work on arm64 host
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
build: update openvpn build script to work on arm64 host
ovpn-build
into
main
Overview
0
Commits
3
Pipelines
8
Changes
2
Merged
jkito
requested to merge
ovpn-build
into
main
8 months ago
Overview
0
Commits
3
Pipelines
8
Changes
2
Expand
0
0
Merge request reports
Compare
main
version 7
aa4e92d2
7 months ago
version 6
12f672ab
8 months ago
version 5
319ca62a
8 months ago
version 4
9dd69309
8 months ago
version 3
46de71ba
8 months ago
version 2
9ab7837e
8 months ago
version 1
cec336d6
8 months ago
main (base)
and
latest version
latest version
37e0f7d0
3 commits,
7 months ago
version 7
aa4e92d2
3 commits,
7 months ago
version 6
12f672ab
2 commits,
8 months ago
version 5
319ca62a
2 commits,
8 months ago
version 4
9dd69309
2 commits,
8 months ago
version 3
46de71ba
2 commits,
8 months ago
version 2
9ab7837e
2 commits,
8 months ago
version 1
cec336d6
2 commits,
8 months ago
2 files
+
32
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
branding/thirdparty/openvpn/build_openvpn.sh
+
18
−
1
Options
@@ -129,11 +129,28 @@ function build_openssl()
@@ -129,11 +129,28 @@ function build_openssl()
echo
"[ ] got: "
${
sha256
}
echo
"[ ] got: "
${
sha256
}
exit
1
exit
1
fi
fi
local
openssl_target_platform
=
""
case
"
$(
uname
-m
)
"
in
"x86_64"
)
openssl_target_platform
=
"darwin64-x86_64-cc"
if
[
"
$(
uname
)
"
==
"Linux"
]
;
then
openssl_target_platform
=
"linux-x86_64"
fi
;;
"arm64"
)
openssl_target_platform
=
"darwin64-arm64-cc"
if
[
"
$(
uname
)
"
==
"Linux"
]
;
then
openssl_target_platform
=
"linux64-aarch64"
fi
;;
esac
tar
zxvf openssl-
$OPENSSL
.tar.gz
tar
zxvf openssl-
$OPENSSL
.tar.gz
cd
openssl-
$OPENSSL
cd
openssl-
$OPENSSL
# Kudos to Jonathan K. Bullard from Tunnelblick.
# Kudos to Jonathan K. Bullard from Tunnelblick.
# TODO pass cc/arch if osx
# TODO pass cc/arch if osx
./Configure
darwin64-x86_64-cc
no-shared zlib no-asm
--openssldir
=
"
$DEST
"
./Configure
${
openssl_target_platform
}
no-shared zlib no-asm
--openssldir
=
"
$DEST
"
make build_libs build_apps openssl.pc libssl.pc libcrypto.pc
make build_libs build_apps openssl.pc libssl.pc libcrypto.pc
make
DESTDIR
=
$DEST
install_sw
make
DESTDIR
=
$DEST
install_sw
}
}
Loading