[Pkg-privacy-commits] [pyptlib] 20/136: Added missing files to git

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:25:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository pyptlib.

commit 0ed227f37db5c056cc7d02a6ee7db84f30ccff6c
Author: Brandon Wiley <brandon at blanu.net>
Date:   Sun Jun 24 18:38:52 2012 -0500

    Added missing files to git
---
 .gitignore                                         |   1 +
 pyptlib.xcodeproj/project.pbxproj                  | 196 +++++++++++++++++++++
 .../project.xcworkspace/contents.xcworkspacedata   |   7 +
 .../UserInterfaceState.xcuserstate                 | Bin 0 -> 17719 bytes
 src/{pyptlib => }/__init__.py                      |   0
 src/pyptlib/cli/obfsproxy.py                       |  36 ++++
 src/pyptlib/{ => config}/__init__.py               |   0
 src/pyptlib/{ => framework/external}/__init__.py   |   0
 .../framework/{managed => external}/client.py      |   0
 .../framework/{managed => external}/server.py      |   0
 10 files changed, 240 insertions(+)

diff --git a/.gitignore b/.gitignore
index 0c1e1a6..2fa9fd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+.DS_Store
 build/*
 dist/*
 pyptlib.egg-info/*
diff --git a/pyptlib.xcodeproj/project.pbxproj b/pyptlib.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..57e1d83
--- /dev/null
+++ b/pyptlib.xcodeproj/project.pbxproj
@@ -0,0 +1,196 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXFileReference section */
+		89BF94B21582618D008EA2A6 /* __init__.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = __init__.py; sourceTree = "<group>"; };
+		89BF94B41582618D008EA2A6 /* client.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = client.py; sourceTree = "<group>"; };
+		89BF94B51582618D008EA2A6 /* config.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = config.py; sourceTree = "<group>"; };
+		89BF94B61582618D008EA2A6 /* server.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = server.py; sourceTree = "<group>"; };
+		89BF94B81582618D008EA2A6 /* __init__.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = __init__.py; sourceTree = "<group>"; };
+		89BF94BA1582618D008EA2A6 /* daemon.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = daemon.py; sourceTree = "<group>"; };
+		89BF94BB1582618D008EA2A6 /* loopback.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = loopback.py; sourceTree = "<group>"; };
+		89BF94BD1582618D008EA2A6 /* shared.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = shared.py; sourceTree = "<group>"; };
+		89BF94BE1582618D008EA2A6 /* socks.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = socks.py; sourceTree = "<group>"; };
+		89BF94C01582618D008EA2A6 /* __init__.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = __init__.py; sourceTree = "<group>"; };
+		89BF94C11582618D008EA2A6 /* clientManager.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = clientManager.py; sourceTree = "<group>"; };
+		89BF94C21582618D008EA2A6 /* manager.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = manager.py; sourceTree = "<group>"; };
+		89BF94C31582618D008EA2A6 /* serverManager.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = serverManager.py; sourceTree = "<group>"; };
+		89BF94C51582618D008EA2A6 /* __init__.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = __init__.py; sourceTree = "<group>"; };
+		89BF94C61582618D008EA2A6 /* dummy.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = dummy.py; sourceTree = "<group>"; };
+		89BF94C815826198008EA2A6 /* README */ = {isa = PBXFileReference; lastKnownFileType = text; path = README; sourceTree = "<group>"; };
+		89BF94C915826198008EA2A6 /* setup.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = setup.py; sourceTree = "<group>"; };
+		89BF94CB1582730E008EA2A6 /* rot13.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = rot13.py; sourceTree = "<group>"; };
+		89BF94CC15828106008EA2A6 /* proxy.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = proxy.py; sourceTree = "<group>"; };
+		89C39C501595017200271216 /* obfsproxy.py */ = {isa = PBXFileReference; path = obfsproxy.py; sourceTree = "<group>"; };
+		89C39C5E1597DBC800271216 /* __init__.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = __init__.py; sourceTree = "<group>"; };
+		89C39C5F1597DBC800271216 /* client.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = client.py; sourceTree = "<group>"; };
+		89C39C601597DBC800271216 /* server.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = server.py; sourceTree = "<group>"; };
+		89C39C611597DBE000271216 /* __init__.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = __init__.py; sourceTree = "<group>"; };
+		89C39C621597DBE000271216 /* client.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = client.py; sourceTree = "<group>"; };
+		89C39C631597DBE000271216 /* server.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = server.py; sourceTree = "<group>"; };
+		89DE1FB71586770900917330 /* util.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = util.py; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXGroup section */
+		894A8B13158259E0004F88D0 = {
+			isa = PBXGroup;
+			children = (
+				89BF94C815826198008EA2A6 /* README */,
+				89BF94C915826198008EA2A6 /* setup.py */,
+				89BF94B01582618D008EA2A6 /* src */,
+			);
+			sourceTree = "<group>";
+		};
+		89BF94B01582618D008EA2A6 /* src */ = {
+			isa = PBXGroup;
+			children = (
+				89BF94B11582618D008EA2A6 /* pyptlib */,
+			);
+			path = src;
+			sourceTree = "<group>";
+		};
+		89BF94B11582618D008EA2A6 /* pyptlib */ = {
+			isa = PBXGroup;
+			children = (
+				89DE1FB71586770900917330 /* util.py */,
+				89BF94B21582618D008EA2A6 /* __init__.py */,
+				89C39C4F1595017200271216 /* cli */,
+				89BF94B31582618D008EA2A6 /* config */,
+				89BF94B71582618D008EA2A6 /* framework */,
+				89BF94BF1582618D008EA2A6 /* manager */,
+				89BF94C41582618D008EA2A6 /* transports */,
+			);
+			path = pyptlib;
+			sourceTree = "<group>";
+		};
+		89BF94B31582618D008EA2A6 /* config */ = {
+			isa = PBXGroup;
+			children = (
+				89BF94B41582618D008EA2A6 /* client.py */,
+				89BF94B51582618D008EA2A6 /* config.py */,
+				89BF94B61582618D008EA2A6 /* server.py */,
+			);
+			path = config;
+			sourceTree = "<group>";
+		};
+		89BF94B71582618D008EA2A6 /* framework */ = {
+			isa = PBXGroup;
+			children = (
+				89C39C5D1597DB4B00271216 /* external */,
+				89C39C5C1597DB2700271216 /* managed */,
+				89BF94B81582618D008EA2A6 /* __init__.py */,
+				89BF94BA1582618D008EA2A6 /* daemon.py */,
+				89BF94BB1582618D008EA2A6 /* loopback.py */,
+				89BF94BD1582618D008EA2A6 /* shared.py */,
+				89BF94BE1582618D008EA2A6 /* socks.py */,
+				89BF94CC15828106008EA2A6 /* proxy.py */,
+			);
+			path = framework;
+			sourceTree = "<group>";
+		};
+		89BF94BF1582618D008EA2A6 /* manager */ = {
+			isa = PBXGroup;
+			children = (
+				89BF94C01582618D008EA2A6 /* __init__.py */,
+				89BF94C11582618D008EA2A6 /* clientManager.py */,
+				89BF94C21582618D008EA2A6 /* manager.py */,
+				89BF94C31582618D008EA2A6 /* serverManager.py */,
+			);
+			path = manager;
+			sourceTree = "<group>";
+		};
+		89BF94C41582618D008EA2A6 /* transports */ = {
+			isa = PBXGroup;
+			children = (
+				89BF94C51582618D008EA2A6 /* __init__.py */,
+				89BF94C61582618D008EA2A6 /* dummy.py */,
+				89BF94CB1582730E008EA2A6 /* rot13.py */,
+			);
+			path = transports;
+			sourceTree = "<group>";
+		};
+		89C39C4F1595017200271216 /* cli */ = {
+			isa = PBXGroup;
+			children = (
+				89C39C501595017200271216 /* obfsproxy.py */,
+			);
+			path = cli;
+			sourceTree = "<group>";
+		};
+		89C39C5C1597DB2700271216 /* managed */ = {
+			isa = PBXGroup;
+			children = (
+				89C39C5E1597DBC800271216 /* __init__.py */,
+				89C39C5F1597DBC800271216 /* client.py */,
+				89C39C601597DBC800271216 /* server.py */,
+			);
+			path = managed;
+			sourceTree = "<group>";
+		};
+		89C39C5D1597DB4B00271216 /* external */ = {
+			isa = PBXGroup;
+			children = (
+				89C39C611597DBE000271216 /* __init__.py */,
+				89C39C621597DBE000271216 /* client.py */,
+				89C39C631597DBE000271216 /* server.py */,
+			);
+			path = external;
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXProject section */
+		894A8B15158259E0004F88D0 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastUpgradeCheck = 0430;
+			};
+			buildConfigurationList = 894A8B18158259E0004F88D0 /* Build configuration list for PBXProject "pyptlib" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+			);
+			mainGroup = 894A8B13158259E0004F88D0;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+			);
+		};
+/* End PBXProject section */
+
+/* Begin XCBuildConfiguration section */
+		894A8B1A158259E0004F88D0 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+			};
+			name = Debug;
+		};
+		894A8B1B158259E0004F88D0 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		894A8B18158259E0004F88D0 /* Build configuration list for PBXProject "pyptlib" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				894A8B1A158259E0004F88D0 /* Debug */,
+				894A8B1B158259E0004F88D0 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = 894A8B15158259E0004F88D0 /* Project object */;
+}
diff --git a/pyptlib.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/pyptlib.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..0db3cb2
--- /dev/null
+++ b/pyptlib.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:pyptlib.xcodeproj">
+   </FileRef>
+</Workspace>
diff --git a/pyptlib.xcodeproj/project.xcworkspace/xcuserdata/ischooluser.xcuserdatad/UserInterfaceState.xcuserstate b/pyptlib.xcodeproj/project.xcworkspace/xcuserdata/ischooluser.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..385b93f
Binary files /dev/null and b/pyptlib.xcodeproj/project.xcworkspace/xcuserdata/ischooluser.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/src/pyptlib/__init__.py b/src/__init__.py
similarity index 100%
copy from src/pyptlib/__init__.py
copy to src/__init__.py
diff --git a/src/pyptlib/cli/obfsproxy.py b/src/pyptlib/cli/obfsproxy.py
new file mode 100644
index 0000000..e2d81bf
--- /dev/null
+++ b/src/pyptlib/cli/obfsproxy.py
@@ -0,0 +1,36 @@
+import argparse
+
+from pyptlib.framework.server import ManagedServer
+from pyptlib.framework.client import ManagedClient
+
+protocols=['dummy', 'rot13']
+
+if __name__=='__main__':
+  parser=argparse.ArgumentParser(description="* Available protocols: "+(' '.join(protocols)))
+  parser.add_argument('--log-file', nargs=1, help='set logfile')
+  parser.add_argument('--log-min-severity', nargs=1, default='notice', choices=['warn', 'notice', 'info', 'debug'], help='set minimum logging severity (default: %(default)s)')
+  parser.add_argument('--no-log', action='store_false', default=True, help='disable logging')
+  parser.add_argument('--no-safe-logging', action='store_false', default=True, help='disable safe (scrubbed address) logging')
+  parser.add_argument('--managed', action='store_true', default=False, help='enabled managed mode, for use when called by tor')
+  parser.add_argument('--dest', nargs=1, help='set destination, enable client mode instead of server mode')
+
+  parser.add_argument('obfsproxy_args')
+  parser.add_argument('protocol_name')
+  parser.add_argument('protocol_args')
+  parser.add_argument('protocol_options')
+  parser.add_argument('protocol_name')
+
+  args = parser.parse_args()
+
+  print(args)
+
+  if managed:
+    if dest:
+      client=ManagedClient()
+    else:
+      server=ManagedServer()
+  else:
+    if dest:
+      client=ExternalClient()
+    else:
+      server=ExternalServer()
diff --git a/src/pyptlib/__init__.py b/src/pyptlib/config/__init__.py
similarity index 100%
copy from src/pyptlib/__init__.py
copy to src/pyptlib/config/__init__.py
diff --git a/src/pyptlib/__init__.py b/src/pyptlib/framework/external/__init__.py
similarity index 100%
copy from src/pyptlib/__init__.py
copy to src/pyptlib/framework/external/__init__.py
diff --git a/src/pyptlib/framework/managed/client.py b/src/pyptlib/framework/external/client.py
similarity index 100%
copy from src/pyptlib/framework/managed/client.py
copy to src/pyptlib/framework/external/client.py
diff --git a/src/pyptlib/framework/managed/server.py b/src/pyptlib/framework/external/server.py
similarity index 100%
copy from src/pyptlib/framework/managed/server.py
copy to src/pyptlib/framework/external/server.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git



More information about the Pkg-privacy-commits mailing list