Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usbmux.1.0 - via opam-publish #5552

Merged
merged 1 commit into from
Feb 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions packages/usbmux/usbmux.1.0/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Control port remapping for iOS devices

Talk to jailbroken iDevices over USB with the CLI, gandalf.

Basically this lets you do:

ssh -p <some_port> root@localhost

for an iPhone/iPod/iDevice.

Example usage:

sudo `which gandalf` --mappings etc/mapping --daemonize --verbose

See uptime, tunnels and other metadata with:

gandalf --status

Check out the man page or see the README at:
https://github.com/onlinemediagroup/ocaml-usbmux/blob/master/README.org
7 changes: 7 additions & 0 deletions packages/usbmux/usbmux.1.0/files/_oasis_remove_.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
open Printf

let () =
let dir = Sys.argv.(1) in
(try Sys.chdir dir
with _ -> eprintf "Cannot change directory to %s\n%!" dir);
exit (Sys.command "ocaml setup.ml -uninstall")
6 changes: 6 additions & 0 deletions packages/usbmux/usbmux.1.0/files/usbmux.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
etc: [
"setup.ml"
"setup.data"
"setup.log"
"_oasis_remove_.ml"
]
48 changes: 48 additions & 0 deletions packages/usbmux/usbmux.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
opam-version: "1.2"
maintainer: "Edgar Aroutiounian <edgar.factorial@gmail.com>"
authors: "Edgar Aroutiounian <edgar.factorial@gmail.com>"
homepage: "https://github.com/onlinemediagroup/ocaml-usbmux"
bug-reports: "https://github.com/onlinemediagroup/ocaml-usbmux/issues"
license: "BSD-3"
dev-repo: "https://github.com/onlinemediagroup/ocaml-usbmux.git"
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
]
install: ["ocaml" "setup.ml" "-install"]
build-test: [
["ocaml" "setup.ml" "-configure" "--enable-tests"]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-test"]
]
remove: ["ocaml" "%{etc}%/usbmux/_oasis_remove_.ml" "%{etc}%/usbmux"]
depends: [
"ANSITerminal"
"cmdliner" {build}
"cohttp"
"lwt" {>= "2.5.1"}
"ocamlfind" {build}
"plist"
"stringext"
"yojson"
]
depexts: [
[["debian"] ["usbmuxd"]]
[["ubuntu"] ["usbmuxd"]]
]
available: [ocaml-version >= "4.02.0"]
post-messages: [
"Now you can ssh into your jailbroken iDevice using the CLI, gandalf."
"Simple invocation:"
"sudo `which gandalf` --mappings etc/mapping --daemonize --verbose"
"where etc/mapping is a file of the format <udid>:<localport>:<device_port>"
"See uptime, tunnels and other metadata with:"
"gandalf --status"
"Note that with over 13 devices usbmuxd will start to buck"
"because of threading issue with libplist."
"Use the custom one provided at https://github.com/onlinemediagroup/libplist"
""
"The Linux kernel will also have trouble with many USB3.0 devices, ie over 15ish"
"Fix that issue by turning off USB3.0 support in your BIOS"
"For this and other issues, be sure to check the README"
]
2 changes: 2 additions & 0 deletions packages/usbmux/usbmux.1.0/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
http: "https://github.com/onlinemediagroup/ocaml-usbmux/archive/v1.0.tar.gz"
checksum: "530bf30ff4b567b9406543900d08828e"