diff options
Diffstat (limited to 'mac-tap/tuntap/pkg')
-rw-r--r-- | mac-tap/tuntap/pkg/res/License.rtfd/TXT.rtf | 18 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/res/Welcome.rtfd/TXT.rtf | 14 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/res/Welcome.rtfd/paypal_button.gif | bin | 0 -> 2128 bytes | |||
-rwxr-xr-x | mac-tap/tuntap/pkg/scripts/startup_item_tap/postflight | 12 | ||||
-rwxr-xr-x | mac-tap/tuntap/pkg/scripts/startup_item_tun/postflight | 12 | ||||
-rwxr-xr-x | mac-tap/tuntap/pkg/scripts/tap/postflight | 15 | ||||
-rwxr-xr-x | mac-tap/tuntap/pkg/scripts/tun/postflight | 15 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/01tun-contents.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/01tun.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/02tap-contents.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/02tap.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/03tap-contents.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/03tap.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/04tun-contents.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/04tun.xml | 1 | ||||
-rw-r--r-- | mac-tap/tuntap/pkg/tuntap.pmdoc/index.xml | 1 |
16 files changed, 95 insertions, 0 deletions
diff --git a/mac-tap/tuntap/pkg/res/License.rtfd/TXT.rtf b/mac-tap/tuntap/pkg/res/License.rtfd/TXT.rtf new file mode 100644 index 00000000..79b50dc5 --- /dev/null +++ b/mac-tap/tuntap/pkg/res/License.rtfd/TXT.rtf @@ -0,0 +1,18 @@ +{\rtf1\ansi\ansicpg1252\cocoartf949 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid1}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} +\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0 +\deftab720 +\pard\pardeftab720\sa320\ql\qnatural + +\f0\fs28 \cf0 tun/tap driver for Mac OS X\uc0\u8232 Copyright (c) 2011 Mattias Nissler <mattias.nissler@gmx.de>\ +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\ +\pard\tx220\tx720\pardeftab720\li720\fi-720\ql\qnatural +\ls1\ilvl0\cf0 {\listtext 1. }Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\ +{\listtext 2. }Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\ +{\listtext 3. }The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.\ +\ +\pard\pardeftab720\sa320\ql\qnatural +\cf0 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.} diff --git a/mac-tap/tuntap/pkg/res/Welcome.rtfd/TXT.rtf b/mac-tap/tuntap/pkg/res/Welcome.rtfd/TXT.rtf new file mode 100644 index 00000000..feba31fc --- /dev/null +++ b/mac-tap/tuntap/pkg/res/Welcome.rtfd/TXT.rtf @@ -0,0 +1,14 @@ +{\rtf1\ansi\ansicpg1252\cocoartf949 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\tx9000\ri500\ql\qnatural\pardirnatural + +\f0\fs28 \cf0 This will install the TunTap software on your computer. It provides IP Tunnel and ethertap kernel extensions.\ +\ +TunTap software is free (as in "free beer" as well as "freedom"). If you like it, you can support further development by donating money. In order to do so just click the image below.\ +\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural +{\field{\*\fldinst{HYPERLINK "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mattias%2enissler%40gmx%2ede&item_name=TunTap%20driver%20development%20donations&no_shipping=1&no_note=1&tax=0¤cy_code=EUR&bn=PP%2dDonationsBF&charset=UTF%2d8"}}{\fldrslt +\fs24 \cf0 {{\NeXTGraphic paypal_button.gif \width1240 \height620 +}¬}}}} diff --git a/mac-tap/tuntap/pkg/res/Welcome.rtfd/paypal_button.gif b/mac-tap/tuntap/pkg/res/Welcome.rtfd/paypal_button.gif Binary files differnew file mode 100644 index 00000000..14c37d37 --- /dev/null +++ b/mac-tap/tuntap/pkg/res/Welcome.rtfd/paypal_button.gif diff --git a/mac-tap/tuntap/pkg/scripts/startup_item_tap/postflight b/mac-tap/tuntap/pkg/scripts/startup_item_tap/postflight new file mode 100755 index 00000000..f7d20893 --- /dev/null +++ b/mac-tap/tuntap/pkg/scripts/startup_item_tap/postflight @@ -0,0 +1,12 @@ +#!/bin/sh + +# old versions resided in /System/Library, remove. +rm -r /System/Library/StartupItems/tap + +# Fix ownership and permissions. PackageMaker gets this wrong *sigh* +chown -R root:wheel /Library/StartupItems/tap +chmod -R u=rwX,g=rX,o=rX /Library/StartupItems/tap + +# exit successfully +exit 0 + diff --git a/mac-tap/tuntap/pkg/scripts/startup_item_tun/postflight b/mac-tap/tuntap/pkg/scripts/startup_item_tun/postflight new file mode 100755 index 00000000..63373f38 --- /dev/null +++ b/mac-tap/tuntap/pkg/scripts/startup_item_tun/postflight @@ -0,0 +1,12 @@ +#!/bin/sh + +# old versions resided in /System/Library, remove. +rm -r /System/Library/StartupItems/tun + +# Fix ownership and permissions. PackageMaker gets this wrong *sigh* +chown -R root:wheel /Library/StartupItems/tun +chmod -R u=rwX,g=rX,o=rX /Library/StartupItems/tun + +# exit successfully +exit 0 + diff --git a/mac-tap/tuntap/pkg/scripts/tap/postflight b/mac-tap/tuntap/pkg/scripts/tap/postflight new file mode 100755 index 00000000..6c8b5c9f --- /dev/null +++ b/mac-tap/tuntap/pkg/scripts/tap/postflight @@ -0,0 +1,15 @@ +#!/bin/sh + +# old versions resided in /System/Library, remove. +rm -r /System/Library/Extensions/tap.kext + +# unload an old extension (might fail) +kextunload /Library/Extensions/tap.kext + +# Fix ownership and permissions. PackageMaker gets this wrong *sigh* +chown -R root:wheel /Library/Extensions/tap.kext +chmod -R u=rwX,g=rX,o=rX /Library/Extensions/tap.kext + +# load the new version +kextload /Library/Extensions/tap.kext + diff --git a/mac-tap/tuntap/pkg/scripts/tun/postflight b/mac-tap/tuntap/pkg/scripts/tun/postflight new file mode 100755 index 00000000..a3228eb0 --- /dev/null +++ b/mac-tap/tuntap/pkg/scripts/tun/postflight @@ -0,0 +1,15 @@ +#!/bin/sh + +# old versions resided in /System/Library, remove. +rm -r /System/Library/Extensions/tun.kext + +# unload an old extension (might fail) +kextunload /Library/Extensions/tun.kext + +# Fix ownership. The installer gets this wrong *sigh* +chown -R root:wheel /Library/Extensions/tun.kext +chmod -R u=rwX,g=rX,o=rX /Library/Extensions/tun.kext + +# load the new version +kextload /Library/Extensions/tun.kext + diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/01tun-contents.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/01tun-contents.xml new file mode 100644 index 00000000..bc1e5a79 --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/01tun-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"/>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/01tun.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/01tun.xml new file mode 100644 index 00000000..11e74b88 --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/01tun.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="1EE6E557-1933-4D9E-BB87-D42DE08AB8D0"><config><identifier>tuntap.tun</identifier><version>1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../tun.kext</installFrom><installTo mod="true">/Library/Extensions</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>installTo</mod><mod>scripts.postinstall.path</mod><mod>includeRoot</mod><mod>installFrom.isRelativeType</mod><mod>version</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>identifier</mod><mod>requireAuthorization</mod><mod>installFrom.path</mod><mod>extraFiles</mod><mod>installTo.path</mod><mod>postInstall</mod></config><scripts><postinstall relative="true" mod="true">scripts/tun/postflight</postinstall><scripts-dir relative="true" mod="true">scripts/tun</scripts-dir></scripts><contents><component id="foo.tun" path="/Users/mattias/src/tuntap/tuntap_combined/tuntap/tun.kext" version="1.0"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/02tap-contents.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/02tap-contents.xml new file mode 100644 index 00000000..bc1e5a79 --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/02tap-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"/>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/02tap.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/02tap.xml new file mode 100644 index 00000000..b77fe7ce --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/02tap.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="4CB20DA2-D296-427E-A225-F421EE511933"><config><identifier>tuntap.tap</identifier><version>1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../tap.kext</installFrom><installTo mod="true">/Library/Extensions</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>scripts.postinstall.path</mod><mod>installFrom.path</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod><mod>includeRoot</mod><mod>identifier</mod><mod>installTo.path</mod></config><scripts><postinstall relative="true" mod="true">scripts/tap/postflight</postinstall><scripts-dir relative="true" mod="true">scripts/tap</scripts-dir></scripts><contents><component id="foo.tap" path="/Users/mattias/src/tuntap/tuntap_combined/tuntap/tap.kext" version="1.0"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/03tap-contents.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/03tap-contents.xml new file mode 100644 index 00000000..bc1e5a79 --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/03tap-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"/>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/03tap.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/03tap.xml new file mode 100644 index 00000000..016180ef --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/03tap.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="F67DBB20-6DFB-43F2-8DF3-994CBC673785"><config><identifier>tuntap.startup_item.tap</identifier><version>1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../startup_item/tap</installFrom><installTo mod="true">/Library/StartupItems</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>installFrom.path</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>scripts.postinstall.path</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod><mod>includeRoot</mod><mod>identifier</mod><mod>installTo.path</mod></config><scripts><postinstall relative="true" mod="true">scripts/startup_item_tap/postflight</postinstall><scripts-dir relative="true" mod="true">scripts/startup_item_tap</scripts-dir></scripts></pkgref>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/04tun-contents.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/04tun-contents.xml new file mode 100644 index 00000000..bc1e5a79 --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/04tun-contents.xml @@ -0,0 +1 @@ +<pkg-contents spec="1.12"/>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/04tun.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/04tun.xml new file mode 100644 index 00000000..0ea8c24e --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/04tun.xml @@ -0,0 +1 @@ +<pkgref spec="1.12" uuid="D5616A79-9CE9-4280-B9C7-49B852DB4649"><config><identifier>tuntap.startup_item.tun</identifier><version>1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true" includeRoot="true">../startup_item/tun</installFrom><installTo mod="true">/Library/StartupItems</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>scripts.postinstall.path</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>identifier</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod><mod>installTo.path</mod><mod>includeRoot</mod><mod>installFrom.path</mod></config><scripts><postinstall relative="true" mod="true">scripts/startup_item_tun/postflight</postinstall><scripts-dir relative="true" mod="true">scripts/startup_item_tun</scripts-dir></scripts></pkgref>
\ No newline at end of file diff --git a/mac-tap/tuntap/pkg/tuntap.pmdoc/index.xml b/mac-tap/tuntap/pkg/tuntap.pmdoc/index.xml new file mode 100644 index 00000000..be0eed18 --- /dev/null +++ b/mac-tap/tuntap/pkg/tuntap.pmdoc/index.xml @@ -0,0 +1 @@ +<pkmkdoc spec="1.12"><properties><title>TunTap Installer package</title><build>/Users/mattias/Documents/tuntap.pkg</build><organization>tuntap.pkg</organization><userSees ui="both"/><min-target os="2"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="IP Tunnel kernel extension" id="tun" description="Provides virtual network interfaces allowing applications to exchange IP packets with the kernel." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="tuntap.tun"/><choice-reqs><requirement id="tosv" operator="ge" value="'10.4'" selected="no" enabled="no" hidden="unchanged" startSelected="unchanged" startEnabled="unchanged" startHidden="unchanged"/><requirement id="sysc" operator="eq" value="'7'" selected="no" enabled="no" hidden="unchanged" startSelected="unchanged" startEnabled="unchanged" startHidden="unchanged"><argument>hw.cputype</argument></requirement></choice-reqs></choice><choice title="Ethertap kernel extension" id="tap" description="The ethertap kernel extensions allows applications to connect simulated ethernet segments to the kernel via virtual ethernet interfaces." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="tuntap.tap"/><choice-reqs><requirement id="tosv" operator="ge" value="'10.4'" selected="no" enabled="no" hidden="unchanged" startSelected="unchanged" startEnabled="unchanged" startHidden="unchanged"/><requirement id="sysc" operator="eq" value="'7'" selected="no" enabled="no" hidden="unchanged" startSelected="unchanged" startEnabled="unchanged" startHidden="unchanged"><argument>hw.cputype</argument></requirement></choice-reqs></choice><choice title="TunTap Startup Item" id="startupitem" description="The TunTap startup item will load the kernel extensions at system boot. It is recommended you install this, otherwise you will have to load the kernel extensions manually after a reboot." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="tuntap.startup_item.tap"/><pkgref id="tuntap.startup_item.tun"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">res/License.rtfd</resource><resource relative="true" mod="true" type="welcome">res/Welcome.rtfd</resource></locale></resources><requirements><requirement id="sysc" operator="eq" value="'7'"><argument>hw.cputype</argument><message-title>Machine architecture not supported</message-title><message>This package only works on Intel Macs.</message></requirement></requirements><flags/><extra-files/><item type="file">01tun.xml</item><item type="file">02tap.xml</item><item type="file">03tap.xml</item><item type="file">04tun.xml</item><mod>extraFiles</mod><mod>properties.title</mod><mod>properties.customizeOption</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>
\ No newline at end of file |