mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-16 22:06:43 -06:00
tuntap: new cask
Since there's an upstream binary .pkg in place that works for Yosemite users where the source package no longer does, perhaps the Cask is interested in carrying it. I'm afraid most of your syntax is rather Greek to me, so please feel free to inform me what I screwed up here.
This commit is contained in:
parent
ae0b51f661
commit
f2fc3eaed0
1 changed files with 24 additions and 0 deletions
24
Casks/tuntap.rb
Normal file
24
Casks/tuntap.rb
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
cask :v1 => 'tuntap' do
|
||||
version '20141104'
|
||||
sha256 '149dbfdfea3264249536cd39240e613f685c4c524635cf116dbcc09ec252b920'
|
||||
|
||||
url "https://downloads.sourceforge.net/project/tuntaposx/tuntap/#{version}/tuntap_#{version}.tar.gz"
|
||||
homepage 'http://tuntaposx.sourceforge.net/'
|
||||
license :oss
|
||||
|
||||
pkg "tuntap_#{version}.pkg"
|
||||
|
||||
uninstall :pkgutil => 'tuntap.startup_item.tap|tuntap.startup_item.tun|tuntap.tap|tuntap.tun',
|
||||
:launchctl => [
|
||||
'net.sf.tuntaposx.tun.plist',
|
||||
'net.sf.tuntaposx.tap.plist',
|
||||
],
|
||||
:kext => [
|
||||
'net.sf.tuntaposx.tap',
|
||||
'net.sf.tuntaposx.tun'
|
||||
],
|
||||
:delete => [
|
||||
'/Library/LaunchDaemons/net.sf.tuntaposx.tap.plist',
|
||||
'/Library/LaunchDaemons/net.sf.tuntaposx.tun.plist'
|
||||
]
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue