File tree Expand file tree Collapse file tree 3 files changed +31
-7
lines changed Expand file tree Collapse file tree 3 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 49
49
with :
50
50
ocaml-compiler : ${{ matrix.ocaml-version }}
51
51
52
+ - run : sudo apt install libcrypto++-dev libminiupnpc-dev libnatpmp-dev libgd-dev
53
+ if : matrix.os == 'ubuntu-latest'
54
+
55
+ - run : brew install cryptopp miniupnpc libnatpmp gd
56
+ if : matrix.os == 'macos-latest'
57
+
58
+ - run : |
59
+ echo "C_INCLUDE_PATH=$HOMEBREW_PREFIX/include:$C_INCLUDE_PATH" >> $GITHUB_ENV
60
+ echo "LIBRARY_PATH=$HOMEBREW_PREFIX/lib:$LIBRARY_PATH" >> $GITHUB_ENV
61
+ if: matrix.os == 'macos-latest'
62
+
63
+ # https://cygwin.com/packages/ doesn't have cryptopp and many other packages
64
+ # I guess should build with mingw?
65
+ - run : D:\\cygwin\\setup-x86_64.exe "--root" "D:\\cygwin" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-x86_64-gd"
66
+ if : matrix.os == 'windows-latest'
67
+
68
+ - run : |
69
+ echo $CPATH
70
+ echo $C_INCLUDE_PATH
71
+ echo $LIBRARY_PATH
72
+
52
73
- run : opam pin add mldonkey.dev . --no-action
53
74
54
75
# not needed, opam install will do it automatically
59
80
# https://github.com/ocaml/setup-ocaml/issues/815#issuecomment-2204838759
60
81
# SHELLOPTS workaround for windows
61
82
# setting SHELLOPTS via GITHUB_ENV didn't work for some reason
62
- - run : opam exec -- env SHELLOPTS=igncr sh ./configure --enable-debug
83
+ - run : opam exec -- env SHELLOPTS=igncr sh ./configure --enable-debug --enable-upnp-natpmp
63
84
64
85
- run : opam exec -- make
65
86
Original file line number Diff line number Diff line change @@ -9,18 +9,21 @@ Supported networks include:
9
9
* HTTP/FTP
10
10
MLdonkey core runs as a background daemon and provides several control
11
11
interfaces : telnet, web, and binary protocol for third party GUIs."""
12
- maintainer: "ygrek@autistici .org"
12
+ maintainer: "root@ygrek .org"
13
13
authors: "mldonkey team"
14
14
license: "GPL-2.0-only"
15
15
homepage: "http://github.com/ygrek/mldonkey"
16
16
dev-repo: "git+https://github.com/ygrek/mldonkey.git"
17
17
bug-reports: "https://github.com/ygrek/mldonkey/issues"
18
+ # mldonkey has many optional components (most of which depend on system libraries),
19
+ # this set of dependencies here represents one arbitrary selection
18
20
depends: [
19
21
"ocaml" {>= "4.03.0"}
20
22
"camlp4"
23
+ "conf-gd" {optional} # graphical stats
21
24
"conf-m4"
22
25
"conf-zlib"
23
- "num"
26
+ "num" # technically optional, enables bittorrent
24
27
]
25
28
build: [
26
29
["./configure" "--enable-debug" "--prefix" prefix]
Original file line number Diff line number Diff line change 1
- #include < crypto++ /rsa.h>
2
- #include < crypto++ /osrng.h>
3
- #include < crypto++ /base64.h>
4
- #include < crypto++ /cryptlib.h>
1
+ #include < cryptopp /rsa.h>
2
+ #include < cryptopp /osrng.h>
3
+ #include < cryptopp /base64.h>
4
+ #include < cryptopp /cryptlib.h>
5
5
6
6
// Standard stuff from other gpl clients, external for mldonkey.
7
7
You can’t perform that action at this time.
0 commit comments