Skip to content

Commit

Permalink
tuntap: recommend upstream signed binary.
Browse files Browse the repository at this point in the history
We have an upstream signed binary available! Big big love to Mattias
for this.

This PR converts all the existing tuntap dependencies into
binary-friendly tuntap dependencies, and adds a tuntap dependency to
requirements to look for the kexts.

Closes Homebrew/legacy-homebrew#33894.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
DomT4 authored and MikeMcQuaid committed Nov 7, 2014
1 parent f3b163e commit 466f3b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Formula/iodine.rb
Expand Up @@ -12,7 +12,7 @@ class Iodine < Formula
sha1 "1afe02179eaa83f66382eaf296023c574e351f79" => :lion
end

depends_on "tuntap"
depends_on :tuntap

def install
system "make", "install", "prefix=#{prefix}"
Expand Down
2 changes: 1 addition & 1 deletion Formula/miredo.rb
Expand Up @@ -5,7 +5,7 @@ class Miredo < Formula
url "http://www.remlab.net/files/miredo/miredo-1.2.6.tar.xz"
sha1 "630c84e9919952f6f4792ceda54a12e0aef43bbf"

depends_on "tuntap"
depends_on :tuntap
depends_on "judy"

patch :DATA
Expand Down
7 changes: 4 additions & 3 deletions Formula/openvpn.rb
Expand Up @@ -14,7 +14,7 @@ class Openvpn < Formula
end

depends_on "lzo"
depends_on "tuntap"
depends_on :tuntap
depends_on "openssl"

def install
Expand All @@ -41,8 +41,9 @@ def install
end

def caveats; <<-EOS.undent
Make sure to follow the directions given by `brew info tuntap`
before trying to use OpenVPN.
If you have installed the Tuntap dependency as a source package you will
need to follow the instructions found in `brew info tuntap`. If you have
installed the binary Tuntap package, no further action is necessary.
For OpenVPN to work as a server, you will need to create configuration file
in #{etc}/openvpn, samples can be found in #{share}/doc/openvpn
Expand Down
2 changes: 1 addition & 1 deletion Formula/peervpn.rb
Expand Up @@ -7,7 +7,7 @@ class Peervpn < Formula
sha1 "45f815445a2d654e2da56de965633743d25f3468"

depends_on "openssl"
depends_on "tuntap"
depends_on :tuntap

patch :DATA if MacOS.version == :snow_leopard

Expand Down
2 changes: 1 addition & 1 deletion Formula/shrewsoft-vpn-client.rb
Expand Up @@ -20,7 +20,7 @@ class ShrewsoftVpnClient < Formula

depends_on "cmake" => :build
depends_on "openssl"
depends_on "tuntap"
depends_on :tuntap
depends_on "qt" if build.with? "gui"

def install
Expand Down
2 changes: 1 addition & 1 deletion Formula/vpnc.rb
Expand Up @@ -11,7 +11,7 @@ class Vpnc < Formula
depends_on "libgcrypt"
depends_on "libgpg-error"
depends_on "gnutls"
depends_on "tuntap"
depends_on :tuntap

fails_with :llvm do
build 2334
Expand Down

0 comments on commit 466f3b0

Please sign in to comment.