diff --git a/.jazzy.yaml b/.jazzy.yaml index 5b4475f..ca7503b 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -1,15 +1,15 @@ clean: -module: "PIATunnel" -author: "Davide De Rosa @ London Trust Media, Inc." -author_url: "https://www.privateinternetaccess.com" +module: "TunnelKit" +author: "Davide De Rosa" +author_url: "https://github.com/keeshux/TunnelKit" theme: fullwidth xcodebuild_arguments: - "-workspace" - - "PIATunnel.xcworkspace" + - "TunnelKit.xcworkspace" - "-scheme" - - "PIATunnel-iOS" + - "TunnelKit-iOS" custom_categories: - name: Core @@ -23,4 +23,4 @@ custom_categories: - SessionError - name: AppExtension children: - - PIATunnelProvider + - TunnelKitProvider diff --git a/PIATunnel.podspec b/PIATunnel.podspec deleted file mode 100644 index 24acf7e..0000000 --- a/PIATunnel.podspec +++ /dev/null @@ -1,33 +0,0 @@ -Pod::Spec.new do |s| - s.name = "PIATunnel" - s.version = "1.1.6" - s.summary = "PIA tunnel implementation in Swift." - - s.homepage = "https://www.privateinternetaccess.com/" - s.license = { :type => "MIT", :file => "LICENSE" } - s.author = { "Davide De Rosa" => "davide@londontrustmedia.com" } - s.source = { :git => "https://github.com/pia-foss/tunnel-apple.git", :tag => "v#{s.version}" } - - s.ios.deployment_target = "9.0" - s.osx.deployment_target = "10.11" - - s.subspec "Core" do |p| - p.source_files = "PIATunnel/Sources/Core/**/*.{h,m,swift}" - p.private_header_files = "PIATunnel/Sources/Core/**/*.h" - p.preserve_paths = "PIATunnel/Sources/Core/*.modulemap" - p.pod_target_xcconfig = { "SWIFT_INCLUDE_PATHS" => "${PODS_TARGET_SRCROOT}/PIATunnel/Sources/Core", - "APPLICATION_EXTENSION_API_ONLY" => "YES" } - p.dependency "SwiftyBeaver" - p.dependency "OpenSSL-Apple", "~> 1.1.0h" - end - - s.subspec "AppExtension" do |p| - p.source_files = "PIATunnel/Sources/AppExtension/**/*.swift" - p.resources = "PIATunnel/Resources/AppExtension/**/*" - p.frameworks = "NetworkExtension" - p.pod_target_xcconfig = { "APPLICATION_EXTENSION_API_ONLY" => "YES" } - - p.dependency "PIATunnel/Core" - p.dependency "SwiftyBeaver" - end -end diff --git a/TunnelKit.podspec b/TunnelKit.podspec new file mode 100644 index 0000000..abdc3fd --- /dev/null +++ b/TunnelKit.podspec @@ -0,0 +1,32 @@ +Pod::Spec.new do |s| + s.name = "TunnelKit" + s.version = "1.0.0" + s.summary = "VPN framework for Apple platforms." + + s.homepage = "https://github.com/keeshux/TunnelKit" + s.license = { :type => "GPLv3", :file => "LICENSE" } + s.author = { "Davide De Rosa" => "keeshux@gmail.com" } + s.source = { :git => "https://github.com/keeshux/TunnelKit.git", :tag => "v#{s.version}" } + + s.ios.deployment_target = "9.0" + s.osx.deployment_target = "10.11" + + s.subspec "Core" do |p| + p.source_files = "TunnelKit/Sources/Core/**/*.{h,m,swift}" + p.private_header_files = "TunnelKit/Sources/Core/**/*.h" + p.preserve_paths = "TunnelKit/Sources/Core/*.modulemap" + p.pod_target_xcconfig = { "SWIFT_INCLUDE_PATHS" => "${PODS_TARGET_SRCROOT}/TunnelKit/Sources/Core", + "APPLICATION_EXTENSION_API_ONLY" => "YES" } + p.dependency "SwiftyBeaver" + p.dependency "OpenSSL-Apple", "~> 1.1.0h" + end + + s.subspec "AppExtension" do |p| + p.source_files = "TunnelKit/Sources/AppExtension/**/*.swift" + p.frameworks = "NetworkExtension" + p.pod_target_xcconfig = { "APPLICATION_EXTENSION_API_ONLY" => "YES" } + + p.dependency "TunnelKit/Core" + p.dependency "SwiftyBeaver" + end +end