Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
fc88fab7
Commit
fc88fab7
authored
Jul 26, 2015
by
Tit Petric
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added dependencies and proper location of vpnc script, some docs
parent
6b799c46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletion
+31
-1
packages/openconnect.rb
packages/openconnect.rb
+31
-1
No files found.
packages/openconnect.rb
View file @
fc88fab7
require
'package'
# @todo: provide vpnc-script (standalone), instructions for manual install:
#
# sudo su -
# mkdir /usr/local/etc/vpnc
# cd /usr/local/etc/vpnc
# wget http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
# chmod a+x vpnc-script
# exit
# @todo: provide start-vpn script, instructions for manual connect:
# Usage (as root - run 'sudo su -'):
#
# Create 'tun0' tunnel interface:
#
# > ip tuntap add mode tun tun0
#
# Run openconnect on tun0 interface
#
# > openconnect -i tun0 vpn.example.com
# (Press Ctrl+C to exit)
#
# Shut down tun0 interface
#
# > ip tuntap del mode tun tun0
class
Openconnect
<
Package
version
'7.06'
source_url
'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz'
source_sha1
'2351408693aab0c6bc97d37e68b4a869fbb217ed'
depends_on
'buildessential'
depends_on
'libxml2'
depends_on
'gnutls'
def
self
.
build
system
"./configure --libdir=/usr/local/lib64/ CC=
\"
gcc -m64
\"
CFLAGS=
\"
-fPIC
\"
--with
out-gnutls
"
system
"./configure --libdir=/usr/local/lib64/ CC=
\"
gcc -m64
\"
CFLAGS=
\"
-fPIC
\"
--with
-vpnc-script=/usr/local/etc/vpnc/vpnc-script
"
system
"make"
end
...
...
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