Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Ivan Tyagov
slapos.package
Commits
ec0862f4
Commit
ec0862f4
authored
May 02, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add openvpn readme for cygwin
parent
8e0927f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
windows/openvpn/README.cygwin
windows/openvpn/README.cygwin
+31
-0
No files found.
windows/openvpn/README.cygwin
0 → 100644
View file @
ec0862f4
This version of OpenVPN has been patched to support Cygwin. To Build
and Install OpenVPN in the Cygwin, follow the following instructions:
$ cd openvpn
$ ac_cv_type_socklen_t=yes \
IFCONFIG="C:/WINDOWS/system32" \
LDFLAGS="-liphlpapi -lws2_32" \
CFLAGS="-DWIN32 -DCYGWIN -D__USE_W32_SOCKETS -D__INSIDE_CYGWIN_NET__ -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0503 -g"
OPENSSL_CRYPTO_CFLAGS=-I/opt/slapnode/include \
OPENSSL_CRYPTO_LIBS="-L/opt/slapnode/lib -lcrypto" \
OPENSSL_SSL_CFLAGS=-I/opt/slapnode/include \
OPENSSL_SSL_LIBS="-L/opt/slapnode/lib -lssl" \
./configure \
--disable-lzo \
--disable-pkcs11 \
--disable-plugin-auth-pam \
--disable-plugin-down-root
$ make
$ make install
Or
$ cp src/openvpn/.libs/openvpn.exe /usr/local/bin
*************************************************************************
You need change OPENSSL_CRYPTO_CFLAGS, OPENSSL_CRYPTO_LIBS,
OPENSSL_SSL_LIBS, OPENSSL_SSL_CFLAGS as your ssl configure.
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