-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
91 lines (83 loc) · 2.99 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
opam-version: "2.0"
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-Clause"
dev-repo: "git+https://github.com/onlinemediagroup/ocaml-usbmux.git"
build: [
["oasis" "setup"]
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["oasis" "setup"] {with-test}
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocaml" "%{etc}%/usbmux/_oasis_remove_.ml" "%{etc}%/usbmux"]
depends: [
"ocaml" {>= "4.02.0" & < "4.04.0"}
"cmdliner" {build}
"cohttp" {< "0.99"}
"lwt" {>= "2.5.1" & < "3.0.0"}
"ocamlfind" {build}
"oasis" {build & >= "0.4"}
"plist"
"stringext"
"yojson"
]
depexts: [
["usbmuxd"] {os-family = "debian"}
]
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"
]
synopsis: "Control port remapping for iOS devices"
description: """
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"""
url {
src:
"https://github.com/onlinemediagroup/ocaml-usbmux/archive/v1.1.0.tar.gz"
checksum: [
"sha256=2c3c6aadf46da82c68f914c75182e775eeae1b6d65a9a444f943a298790f5bbf"
"md5=983ca61e292b623bc8fe0721f464e902"
]
}
extra-source "usbmux.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/usbmux/usbmux.install"
checksum: [
"sha256=5b010bcd931b45da20d8004cb55ee72cc8193b8b0fe12070896fbdb73a00517b"
"md5=0d1b822c897681cf54b3e1aed52dda99"
]
}
extra-source "_oasis_remove_.ml" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/usbmux/_oasis_remove_.ml"
checksum: [
"sha256=30bd6759edf0096e5353751a0603eaf693cb60ea7485aa9418e257dfdb97d916"
"md5=6100ca146fa97d2196eb49a2631d0796"
]
}