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
c69f3ff4
Commit
c69f3ff4
authored
7 years ago
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add vpnc dependency and remove vpnc-script
parent
088d3f17
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
packages/openconnect.rb
packages/openconnect.rb
+2
-3
No files found.
packages/openconnect.rb
View file @
c69f3ff4
...
...
@@ -10,9 +10,10 @@ class Openconnect < Package
depends_on
'buildessential'
depends_on
'libxml2'
depends_on
'gnutls'
depends_on
'vpnc'
def
self
.
build
system
"./configure CFLAGS=' -fPIC' --with-vpnc-script=
#{
CREW_PREFIX
}
/
bin
/vpnc-script"
system
"./configure CFLAGS=' -fPIC' --with-vpnc-script=
#{
CREW_PREFIX
}
/
etc/vpnc
/vpnc-script"
system
"make"
end
...
...
@@ -20,8 +21,6 @@ class Openconnect < Package
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
CREW_PREFIX
}
/bin"
FileUtils
.
cd
(
"
#{
CREW_DEST_DIR
}#{
CREW_PREFIX
}
/bin"
)
do
system
"wget http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script"
system
"chmod +x vpnc-script"
system
"echo '#!/bin/bash' > vpnc-start"
system
"echo 'if test
\$
1; then' >> vpnc-start"
system
"echo ' sudo ip tuntap add mode tun tun0' >> vpnc-start"
...
...
This diff is collapsed.
Click to expand it.
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