Update license headers in Demo

This commit is contained in:
Davide De Rosa 2020-06-13 01:00:47 +02:00
parent eb9eb63658
commit e625360914
9 changed files with 17 additions and 97 deletions

View File

@ -1,9 +1,9 @@
// //
// AppDelegate.swift // AppDelegate.swift
// BasicTunnel-iOS // Demo
// //
// Created by Davide De Rosa on 2/11/17. // Created by Davide De Rosa on 2/11/17.
// Copyright (c) 2018 Davide De Rosa. All rights reserved. // Copyright (c) 2020 Davide De Rosa. All rights reserved.
// //
// https://github.com/keeshux // https://github.com/keeshux
// //
@ -22,18 +22,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>. // along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
// //
// This file incorporates work covered by the following copyright and
// permission notice:
//
// Copyright (c) 2018-Present Private Internet Access
//
// 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.
//
//
import UIKit import UIKit
import NetworkExtension import NetworkExtension

View File

@ -1,9 +1,9 @@
// //
// ViewController.swift // ViewController.swift
// BasicTunnel-iOS // Demo
// //
// Created by Davide De Rosa on 2/11/17. // Created by Davide De Rosa on 2/11/17.
// Copyright (c) 2018 Davide De Rosa. All rights reserved. // Copyright (c) 2020 Davide De Rosa. All rights reserved.
// //
// https://github.com/keeshux // https://github.com/keeshux
// //
@ -22,18 +22,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>. // along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
// //
// This file incorporates work covered by the following copyright and
// permission notice:
//
// Copyright (c) 2018-Present Private Internet Access
//
// 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.
//
//
import UIKit import UIKit
import TunnelKit import TunnelKit
@ -59,9 +47,7 @@ class ViewController: UIViewController, URLSessionDataDelegate {
@IBOutlet var textLog: UITextView! @IBOutlet var textLog: UITextView!
// private let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
@ -82,8 +68,6 @@ class ViewController: UIViewController, URLSessionDataDelegate {
vpn.prepare(completionHandler: nil) vpn.prepare(completionHandler: nil)
//
testFetchRef() testFetchRef()
} }

View File

@ -1,9 +1,9 @@
// //
// AppDelegate.swift // AppDelegate.swift
// BasicTunnel-macOS // Demo
// //
// Created by Davide De Rosa on 10/15/17. // Created by Davide De Rosa on 10/15/17.
// Copyright (c) 2018 Davide De Rosa. All rights reserved. // Copyright (c) 2020 Davide De Rosa. All rights reserved.
// //
// https://github.com/keeshux // https://github.com/keeshux
// //
@ -22,18 +22,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>. // along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
// //
// This file incorporates work covered by the following copyright and
// permission notice:
//
// Copyright (c) 2018-Present Private Internet Access
//
// 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.
//
//
import Cocoa import Cocoa
import SwiftyBeaver import SwiftyBeaver

View File

@ -25,7 +25,7 @@
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string> <string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>Copyright (c) 2018 Davide De Rosa. All rights reserved.</string> <string>Copyright (c) 2020 Davide De Rosa. All rights reserved.</string>
<key>NSMainStoryboardFile</key> <key>NSMainStoryboardFile</key>
<string>Main</string> <string>Main</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>

View File

@ -1,9 +1,9 @@
// //
// ViewController.swift // ViewController.swift
// BasicTunnel-macOS // Demo
// //
// Created by Davide De Rosa on 10/15/17. // Created by Davide De Rosa on 10/15/17.
// Copyright (c) 2018 Davide De Rosa. All rights reserved. // Copyright (c) 2020 Davide De Rosa. All rights reserved.
// //
// https://github.com/keeshux // https://github.com/keeshux
// //
@ -22,18 +22,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>. // along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
// //
// This file incorporates work covered by the following copyright and
// permission notice:
//
// Copyright (c) 2018-Present Private Internet Access
//
// 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.
//
//
import Cocoa import Cocoa
import NetworkExtension import NetworkExtension
@ -56,9 +44,7 @@ class ViewController: NSViewController {
@IBOutlet var buttonConnection: NSButton! @IBOutlet var buttonConnection: NSButton!
// private let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
let vpn = StandardVPNProvider(bundleIdentifier: tunnelIdentifier)
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
@ -78,8 +64,6 @@ class ViewController: NSViewController {
vpn.prepare(completionHandler: nil) vpn.prepare(completionHandler: nil)
//
testFetchRef() testFetchRef()
} }

View File

@ -1,9 +1,9 @@
// //
// PacketTunnelProvider.swift // PacketTunnelProvider.swift
// BasicTunnel-iOS // Demo
// //
// Created by Davide De Rosa on 9/15/17. // Created by Davide De Rosa on 9/15/17.
// Copyright (c) 2018 Davide De Rosa. All rights reserved. // Copyright (c) 2020 Davide De Rosa. All rights reserved.
// //
// https://github.com/keeshux // https://github.com/keeshux
// //
@ -22,18 +22,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>. // along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
// //
// This file incorporates work covered by the following copyright and
// permission notice:
//
// Copyright (c) 2018-Present Private Internet Access
//
// 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.
//
//
import TunnelKit import TunnelKit

View File

@ -30,6 +30,6 @@
<string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string> <string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string>
</dict> </dict>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>Copyright (c) 2018 Davide De Rosa. All rights reserved.</string> <string>Copyright (c) 2020 Davide De Rosa. All rights reserved.</string>
</dict> </dict>
</plist> </plist>

View File

@ -1,9 +1,9 @@
// //
// PacketTunnelProvider.swift // PacketTunnelProvider.swift
// BasicTunnelExtension-macOS // Demo
// //
// Created by Davide De Rosa on 10/15/17. // Created by Davide De Rosa on 10/15/17.
// Copyright (c) 2018 Davide De Rosa. All rights reserved. // Copyright (c) 2020 Davide De Rosa. All rights reserved.
// //
// https://github.com/keeshux // https://github.com/keeshux
// //
@ -22,18 +22,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>. // along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
// //
// This file incorporates work covered by the following copyright and
// permission notice:
//
// Copyright (c) 2018-Present Private Internet Access
//
// 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.
//
//
import TunnelKit import TunnelKit

View File

@ -3,7 +3,7 @@
// Demo // Demo
// //
// Created by Davide De Rosa on 6/13/20. // Created by Davide De Rosa on 6/13/20.
// Copyright (c) 2018 Davide De Rosa. All rights reserved. // Copyright (c) 2020 Davide De Rosa. All rights reserved.
// //
// https://github.com/keeshux // https://github.com/keeshux
// //