Skip to content

Commit 43a559e

Browse files
Frankjedisct1
authored andcommitted
Initial public release.
0 parents  commit 43a559e

423 files changed

Lines changed: 6745 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎DNSCrypt-Config-Updater/COPYING‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (c) 2011 OpenDNS, Inc.
3+
*
4+
* Permission to use, copy, modify, and distribute this software for any
5+
* purpose with or without fee is hereby granted, provided that the above
6+
* copyright notice and this permission notice appear in all copies.
7+
*
8+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9+
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10+
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11+
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12+
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13+
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14+
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15+
*/
Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
09080E931458B8DB00A85DAE /* SocketListener.m in Sources */ = {isa = PBXBuildFile; fileRef = 09080E921458B8DB00A85DAE /* SocketListener.m */; };
11+
09080E971458DDE300A85DAE /* DNSUpdater.m in Sources */ = {isa = PBXBuildFile; fileRef = 09080E961458DDE300A85DAE /* DNSUpdater.m */; };
12+
097388CE1456007900EAF57F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 097388CD1456007900EAF57F /* Foundation.framework */; };
13+
097388D11456007900EAF57F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 097388D01456007900EAF57F /* main.m */; };
14+
097388DC145600E600EAF57F /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 097388DB145600E600EAF57F /* SystemConfiguration.framework */; };
15+
09859652145669720037CE16 /* DNSGlobalSettings.m in Sources */ = {isa = PBXBuildFile; fileRef = 09859651145669720037CE16 /* DNSGlobalSettings.m */; };
16+
09C03F83145A29C1009804EF /* ProxySpawner.m in Sources */ = {isa = PBXBuildFile; fileRef = 09C03F82145A29C1009804EF /* ProxySpawner.m */; };
17+
09E8DB95145FB58E00B1DECF /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09E8DB94145FB58E00B1DECF /* CoreServices.framework */; };
18+
/* End PBXBuildFile section */
19+
20+
/* Begin PBXCopyFilesBuildPhase section */
21+
097388C71456007900EAF57F /* CopyFiles */ = {
22+
isa = PBXCopyFilesBuildPhase;
23+
buildActionMask = 2147483647;
24+
dstPath = /usr/share/man/man1/;
25+
dstSubfolderSpec = 0;
26+
files = (
27+
);
28+
runOnlyForDeploymentPostprocessing = 1;
29+
};
30+
/* End PBXCopyFilesBuildPhase section */
31+
32+
/* Begin PBXFileReference section */
33+
09080E911458B8DB00A85DAE /* SocketListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SocketListener.h; sourceTree = "<group>"; };
34+
09080E921458B8DB00A85DAE /* SocketListener.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SocketListener.m; sourceTree = "<group>"; };
35+
09080E951458DDE300A85DAE /* DNSUpdater.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DNSUpdater.h; sourceTree = "<group>"; };
36+
09080E961458DDE300A85DAE /* DNSUpdater.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DNSUpdater.m; sourceTree = "<group>"; };
37+
097388C91456007900EAF57F /* dns-updater */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "dns-updater"; sourceTree = BUILT_PRODUCTS_DIR; };
38+
097388CD1456007900EAF57F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
39+
097388D01456007900EAF57F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
40+
097388D31456007900EAF57F /* dns-updater-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "dns-updater-Prefix.pch"; sourceTree = "<group>"; };
41+
097388DB145600E600EAF57F /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
42+
09859650145669720037CE16 /* DNSGlobalSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DNSGlobalSettings.h; sourceTree = "<group>"; };
43+
09859651145669720037CE16 /* DNSGlobalSettings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DNSGlobalSettings.m; sourceTree = "<group>"; };
44+
09C03F81145A29C1009804EF /* ProxySpawner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProxySpawner.h; sourceTree = "<group>"; };
45+
09C03F82145A29C1009804EF /* ProxySpawner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ProxySpawner.m; sourceTree = "<group>"; };
46+
09E8DB94145FB58E00B1DECF /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
47+
/* End PBXFileReference section */
48+
49+
/* Begin PBXFrameworksBuildPhase section */
50+
097388C61456007900EAF57F /* Frameworks */ = {
51+
isa = PBXFrameworksBuildPhase;
52+
buildActionMask = 2147483647;
53+
files = (
54+
09E8DB95145FB58E00B1DECF /* CoreServices.framework in Frameworks */,
55+
097388CE1456007900EAF57F /* Foundation.framework in Frameworks */,
56+
097388DC145600E600EAF57F /* SystemConfiguration.framework in Frameworks */,
57+
);
58+
runOnlyForDeploymentPostprocessing = 0;
59+
};
60+
/* End PBXFrameworksBuildPhase section */
61+
62+
/* Begin PBXGroup section */
63+
097388BE1456007900EAF57F = {
64+
isa = PBXGroup;
65+
children = (
66+
097388CF1456007900EAF57F /* dns-updater */,
67+
097388CC1456007900EAF57F /* Frameworks */,
68+
097388CA1456007900EAF57F /* Products */,
69+
);
70+
sourceTree = "<group>";
71+
};
72+
097388CA1456007900EAF57F /* Products */ = {
73+
isa = PBXGroup;
74+
children = (
75+
097388C91456007900EAF57F /* dns-updater */,
76+
);
77+
name = Products;
78+
sourceTree = "<group>";
79+
};
80+
097388CC1456007900EAF57F /* Frameworks */ = {
81+
isa = PBXGroup;
82+
children = (
83+
09E8DB94145FB58E00B1DECF /* CoreServices.framework */,
84+
097388CD1456007900EAF57F /* Foundation.framework */,
85+
097388DB145600E600EAF57F /* SystemConfiguration.framework */,
86+
);
87+
name = Frameworks;
88+
sourceTree = "<group>";
89+
};
90+
097388CF1456007900EAF57F /* dns-updater */ = {
91+
isa = PBXGroup;
92+
children = (
93+
097388D01456007900EAF57F /* main.m */,
94+
09080E951458DDE300A85DAE /* DNSUpdater.h */,
95+
09080E961458DDE300A85DAE /* DNSUpdater.m */,
96+
09859650145669720037CE16 /* DNSGlobalSettings.h */,
97+
09859651145669720037CE16 /* DNSGlobalSettings.m */,
98+
09C03F81145A29C1009804EF /* ProxySpawner.h */,
99+
09C03F82145A29C1009804EF /* ProxySpawner.m */,
100+
09080E911458B8DB00A85DAE /* SocketListener.h */,
101+
09080E921458B8DB00A85DAE /* SocketListener.m */,
102+
097388D21456007900EAF57F /* Supporting Files */,
103+
);
104+
path = "dns-updater";
105+
sourceTree = "<group>";
106+
};
107+
097388D21456007900EAF57F /* Supporting Files */ = {
108+
isa = PBXGroup;
109+
children = (
110+
097388D31456007900EAF57F /* dns-updater-Prefix.pch */,
111+
);
112+
name = "Supporting Files";
113+
sourceTree = "<group>";
114+
};
115+
/* End PBXGroup section */
116+
117+
/* Begin PBXNativeTarget section */
118+
097388C81456007900EAF57F /* dns-updater */ = {
119+
isa = PBXNativeTarget;
120+
buildConfigurationList = 097388D81456007900EAF57F /* Build configuration list for PBXNativeTarget "dns-updater" */;
121+
buildPhases = (
122+
097388C51456007900EAF57F /* Sources */,
123+
097388C61456007900EAF57F /* Frameworks */,
124+
097388C71456007900EAF57F /* CopyFiles */,
125+
);
126+
buildRules = (
127+
);
128+
dependencies = (
129+
);
130+
name = "dns-updater";
131+
productName = "dns-updater";
132+
productReference = 097388C91456007900EAF57F /* dns-updater */;
133+
productType = "com.apple.product-type.tool";
134+
};
135+
/* End PBXNativeTarget section */
136+
137+
/* Begin PBXProject section */
138+
097388C01456007900EAF57F /* Project object */ = {
139+
isa = PBXProject;
140+
attributes = {
141+
LastUpgradeCheck = 0430;
142+
};
143+
buildConfigurationList = 097388C31456007900EAF57F /* Build configuration list for PBXProject "dns-updater" */;
144+
compatibilityVersion = "Xcode 3.2";
145+
developmentRegion = English;
146+
hasScannedForEncodings = 0;
147+
knownRegions = (
148+
en,
149+
);
150+
mainGroup = 097388BE1456007900EAF57F;
151+
productRefGroup = 097388CA1456007900EAF57F /* Products */;
152+
projectDirPath = "";
153+
projectRoot = "";
154+
targets = (
155+
097388C81456007900EAF57F /* dns-updater */,
156+
);
157+
};
158+
/* End PBXProject section */
159+
160+
/* Begin PBXSourcesBuildPhase section */
161+
097388C51456007900EAF57F /* Sources */ = {
162+
isa = PBXSourcesBuildPhase;
163+
buildActionMask = 2147483647;
164+
files = (
165+
097388D11456007900EAF57F /* main.m in Sources */,
166+
09859652145669720037CE16 /* DNSGlobalSettings.m in Sources */,
167+
09080E931458B8DB00A85DAE /* SocketListener.m in Sources */,
168+
09080E971458DDE300A85DAE /* DNSUpdater.m in Sources */,
169+
09C03F83145A29C1009804EF /* ProxySpawner.m in Sources */,
170+
);
171+
runOnlyForDeploymentPostprocessing = 0;
172+
};
173+
/* End PBXSourcesBuildPhase section */
174+
175+
/* Begin XCBuildConfiguration section */
176+
097388D61456007900EAF57F /* Debug */ = {
177+
isa = XCBuildConfiguration;
178+
buildSettings = {
179+
ALWAYS_SEARCH_USER_PATHS = NO;
180+
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
181+
CLANG_ENABLE_OBJC_ARC = YES;
182+
COPY_PHASE_STRIP = NO;
183+
GCC_C_LANGUAGE_STANDARD = gnu99;
184+
GCC_DYNAMIC_NO_PIC = NO;
185+
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
186+
GCC_ENABLE_OBJC_GC = unsupported;
187+
GCC_OPTIMIZATION_LEVEL = 0;
188+
GCC_PREPROCESSOR_DEFINITIONS = (
189+
"DEBUG=1",
190+
"$(inherited)",
191+
);
192+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
193+
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
194+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
195+
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
196+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
197+
GCC_WARN_UNUSED_VARIABLE = YES;
198+
MACOSX_DEPLOYMENT_TARGET = 10.6;
199+
ONLY_ACTIVE_ARCH = YES;
200+
SDKROOT = macosx;
201+
};
202+
name = Debug;
203+
};
204+
097388D71456007900EAF57F /* Release */ = {
205+
isa = XCBuildConfiguration;
206+
buildSettings = {
207+
ALWAYS_SEARCH_USER_PATHS = NO;
208+
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
209+
CLANG_ENABLE_OBJC_ARC = YES;
210+
COPY_PHASE_STRIP = YES;
211+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
212+
GCC_C_LANGUAGE_STANDARD = gnu99;
213+
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
214+
GCC_ENABLE_OBJC_GC = unsupported;
215+
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
216+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
217+
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
218+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
219+
GCC_WARN_UNUSED_VARIABLE = YES;
220+
MACOSX_DEPLOYMENT_TARGET = 10.6;
221+
SDKROOT = macosx;
222+
};
223+
name = Release;
224+
};
225+
097388D91456007900EAF57F /* Debug */ = {
226+
isa = XCBuildConfiguration;
227+
buildSettings = {
228+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
229+
GCC_PREFIX_HEADER = "dns-updater/dns-updater-Prefix.pch";
230+
PRODUCT_NAME = "$(TARGET_NAME)";
231+
};
232+
name = Debug;
233+
};
234+
097388DA1456007900EAF57F /* Release */ = {
235+
isa = XCBuildConfiguration;
236+
buildSettings = {
237+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
238+
GCC_PREFIX_HEADER = "dns-updater/dns-updater-Prefix.pch";
239+
PRODUCT_NAME = "$(TARGET_NAME)";
240+
};
241+
name = Release;
242+
};
243+
/* End XCBuildConfiguration section */
244+
245+
/* Begin XCConfigurationList section */
246+
097388C31456007900EAF57F /* Build configuration list for PBXProject "dns-updater" */ = {
247+
isa = XCConfigurationList;
248+
buildConfigurations = (
249+
097388D61456007900EAF57F /* Debug */,
250+
097388D71456007900EAF57F /* Release */,
251+
);
252+
defaultConfigurationIsVisible = 0;
253+
defaultConfigurationName = Release;
254+
};
255+
097388D81456007900EAF57F /* Build configuration list for PBXNativeTarget "dns-updater" */ = {
256+
isa = XCConfigurationList;
257+
buildConfigurations = (
258+
097388D91456007900EAF57F /* Debug */,
259+
097388DA1456007900EAF57F /* Release */,
260+
);
261+
defaultConfigurationIsVisible = 0;
262+
defaultConfigurationName = Release;
263+
};
264+
/* End XCConfigurationList section */
265+
};
266+
rootObject = 097388C01456007900EAF57F /* Project object */;
267+
}

‎DNSCrypt-Config-Updater/dns-updater.xcodeproj/project.xcworkspace/contents.xcworkspacedata‎

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//
2+
// DNSGlobalSettings.h
3+
// dns-updater
4+
//
5+
// Created by OpenDNS, Inc. on 10/24/11.
6+
// Copyright (c) 2011 OpenDNS, Inc. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
#import <SystemConfiguration/SystemConfiguration.h>
11+
12+
#define kONLY_CHANGE_SERVICES_WITH_A_BSD_INTERFACE 1
13+
14+
@interface DNSGlobalSettings : NSObject
15+
16+
- (NSArray *) getActiveResolvers __attribute((ns_returns_retained));
17+
- (BOOL) isRunningWithResolvers: (NSArray *) resolvers;
18+
- (BOOL) isRunningWithResolversInResolversList: (NSArray *) resolversList;
19+
- (BOOL) setResolvers: (NSArray *) resolvers;
20+
- (BOOL) revertResolvers;
21+
- (BOOL) backupExceptResolversList: (NSArray *) resolversList;
22+
23+
@end

0 commit comments

Comments
 (0)