use dual-licensed GPLv2/MIT TAP for Windows header (nw)

This commit is contained in:
Vas Crabb 2019-08-07 11:37:30 +10:00
parent 96cda1689f
commit 37e80d9762
4 changed files with 385 additions and 361 deletions

24
3rdparty/tap-windows6/COPYING vendored Normal file
View File

@ -0,0 +1,24 @@
tap-windows6 license
--------------------
The source and object code of the tap-windows6 project
is Copyright (C) 2002-2014 OpenVPN Technologies, Inc. The
NSIS installer is Copyright (C) 2014 OpenVPN Technologies,
Inc. and (C) 2012 Alon Bar-Lev. Both are released under the
GPL version 2. See COPYRIGHT.GPL for the full GPL license.
The licensors also make the following statement borrowed
from the SPICE project:
With respect to binaries built using the Microsoft(R)
Windows Driver Kit (WDK), GPLv2 does not extend to any code
contained in or derived from the WDK ("WDK Code"). As to
WDK Code, by using or distributing such binaries you agree
to be bound by the Microsoft Software License Terms for the
WDK. All WDK Code is considered by the GPLv2 licensors to
qualify for the special exception stated in section 3 of
GPLv2 (commonly known as the system library exception).
The tap-windows.h file has been released under the MIT
license (see COPYRIGHT.MIT) as well as under GPLv2 (see
COPYRIGHT.GPL). This has been done to allow the use of the
header file in non-GPLv2 compatible projects.

View File

@ -1,23 +1,3 @@
tap-windows6 license
--------------------
The source and object code of the tap-windows6 project
is Copyright (C) 2002-2014 OpenVPN Technologies, Inc. The
NSIS installer is Copyright (C) 2014 OpenVPN Technologies,
Inc. and (C) 2012 Alon Bar-Lev. Both are released under the
GPL version 2. See COPYRIGHT.GPL for the full GPL license.
The licensors also make the following statement borrowed
from the SPICE project:
With respect to binaries built using the Microsoft(R)
Windows Driver Kit (WDK), GPLv2 does not extend to any code
contained in or derived from the WDK ("WDK Code"). As to
WDK Code, by using or distributing such binaries you agree
to be bound by the Microsoft Software License Terms for the
WDK. All WDK Code is considered by the GPLv2 licensors to
qualify for the special exception stated in section 3 of
GPLv2 (commonly known as the system library exception).
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
@ -357,4 +337,3 @@ proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

20
3rdparty/tap-windows6/COPYRIGHT.MIT vendored Normal file
View File

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright © 2014 OpenVPN Technologies, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -5,7 +5,8 @@
* This code was inspired by the CIPE-Win32 driver by Damion K. Wilson.
*
* This source code is Copyright (C) 2002-2014 OpenVPN Technologies, Inc.,
* and is released under the GPL version 2 (see below).
* and is released under the GPL version 2 (see below). This particular file
* (tap-windows.h) is also licensed using the MIT license (see COPYRIGHT.MIT).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2