Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openvpn-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
S1OVS
openvpn-server
Commits
3ed15a73
Commit
3ed15a73
authored
7 years ago
by
Matthew Smith
Browse files
Options
Downloads
Patches
Plain Diff
Make file out path more consistent
parent
a6eaa6d7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/build-debian-client
+4
-4
4 additions, 4 deletions
scripts/build-debian-client
scripts/build-generic-client
+5
-4
5 additions, 4 deletions
scripts/build-generic-client
scripts/build-windows-client
+4
-4
4 additions, 4 deletions
scripts/build-windows-client
with
13 additions
and
12 deletions
scripts/build-debian-client
+
4
−
4
View file @
3ed15a73
...
...
@@ -62,14 +62,14 @@ popd >/dev/null
dpkg-deb
--build
$WORKDIR
./
$DEBFILE
||
exit
if
[
"
$CACHE_BUILDS
"
==
"yes"
]
then
mv
./
$DEBFILE
/var/lib/openvpn-server/openssl/builds/
if
[
"
$CACHE_BUILDS
"
==
"yes"
]
;
then
mv
./
$DEBFILE
/var/lib/openvpn-server/openssl/builds/
echo
"Your OpenVPN Debian client has been built in /var/lib/openvpn-server/openssl/client_setup/
$DEBFILE
"
else
echo
"Your OpenVPN Debian client has been built
$DEBFILE
"
else
echo
"Your OpenVPN Debian client has been built
$DEBFILE
"
fi
rm
-rf
$WORKDIR
allocate_ip
()
echo
"Your OpenVPN config file is
${
OVPNFILE
}
"
This diff is collapsed.
Click to expand it.
scripts/build-generic-client
+
5
−
4
View file @
3ed15a73
...
...
@@ -60,10 +60,12 @@ popd >/dev/null
OVPNFILE
=
"openvpn-
${
FILEBASE
}
.ovpn"
cp
${
WORKDIR
}
/
${
FILEBASE
}
.ovpn ./
$OVPNFILE
if
[
"
$CACHE_BUILDS
"
==
"yes"
]
then
mv
${
FILEBASE
}
.ovpn /var/lib/openvpn-server/openssl/builds/
if
[
"
$CACHE_BUILDS
"
==
"yes"
]
;
then
mv
${
FILEBASE
}
.ovpn /var/lib/openvpn-server/openssl/builds/
echo
"Your OpenVPN generic client has been built in /var/lib/openvpn-server/openssl/builds/
${
OVPNFILE
}
"
else
echo
"Your OpenVPN generic client has been built in
${
OVPNFILE
}
"
fi
rm
-rf
$WORKDIR
if
[
-z
$1
]
;
then
...
...
@@ -90,4 +92,3 @@ fi
allocate_ip
()
echo
"Your OpenVPN config file is
${
OVPNFILE
}
"
This diff is collapsed.
Click to expand it.
scripts/build-windows-client
+
4
−
4
View file @
3ed15a73
...
...
@@ -48,10 +48,11 @@ makensis -NOCD ./openvpn-deploy.nsi >/dev/null 2>&1
popd
>
/dev/null
if
[
"
$CACHE_BUILDS
"
==
"yes"
]
then
mv
$WORKDIR
/sol1-openvpn-deploy.exe /var/lib/openvpn-server/openssl/builds/openvpn-
${
FILEBASE
}
.exe
if
[
"
$CACHE_BUILDS
"
==
"yes"
]
;
then
mv
$WORKDIR
/sol1-openvpn-deploy.exe /var/lib/openvpn-server/openssl/builds/openvpn-
${
FILEBASE
}
.exe
echo
"Your OpenVPN Windows client has been built in /var/lib/openvpn-server/openssl/builds/openvpn-
${
FILEBASE
}
.exe"
else
mv
$WORKDIR
/sol1-openvpn-deploy.exe ./openvpn-
${
FILEBASE
}
.exe
else
mv
$WORKDIR
/sol1-openvpn-deploy.exe ./openvpn-
${
FILEBASE
}
.exe
echo
"Your OpenVPN Windows client has been built in openvpn-
${
FILEBASE
}
.exe"
fi
...
...
@@ -60,6 +61,5 @@ rm -rf $WORKDIR
allocate_ip
()
echo
"Your OpenVPN config file is
${
OVPNFILE
}
"
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