diff --git a/packages/usbmux/usbmux.1.0/descr b/packages/usbmux/usbmux.1.0/descr new file mode 100644 index 00000000000..69bc86802e5 --- /dev/null +++ b/packages/usbmux/usbmux.1.0/descr @@ -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 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 diff --git a/packages/usbmux/usbmux.1.0/files/_oasis_remove_.ml b/packages/usbmux/usbmux.1.0/files/_oasis_remove_.ml new file mode 100644 index 00000000000..0d23853fc00 --- /dev/null +++ b/packages/usbmux/usbmux.1.0/files/_oasis_remove_.ml @@ -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") diff --git a/packages/usbmux/usbmux.1.0/files/usbmux.install b/packages/usbmux/usbmux.1.0/files/usbmux.install new file mode 100644 index 00000000000..c6cfc2de587 --- /dev/null +++ b/packages/usbmux/usbmux.1.0/files/usbmux.install @@ -0,0 +1,6 @@ +etc: [ + "setup.ml" + "setup.data" + "setup.log" + "_oasis_remove_.ml" +] diff --git a/packages/usbmux/usbmux.1.0/opam b/packages/usbmux/usbmux.1.0/opam new file mode 100644 index 00000000000..b107a66cc64 --- /dev/null +++ b/packages/usbmux/usbmux.1.0/opam @@ -0,0 +1,48 @@ +opam-version: "1.2" +maintainer: "Edgar Aroutiounian " +authors: "Edgar Aroutiounian " +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 ::" + "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" +] diff --git a/packages/usbmux/usbmux.1.0/url b/packages/usbmux/usbmux.1.0/url new file mode 100644 index 00000000000..46899724cf3 --- /dev/null +++ b/packages/usbmux/usbmux.1.0/url @@ -0,0 +1,2 @@ +http: "https://github.com/onlinemediagroup/ocaml-usbmux/archive/v1.0.tar.gz" +checksum: "530bf30ff4b567b9406543900d08828e"