diff options
Diffstat (limited to 'net/alfis/patches')
| -rw-r--r-- | net/alfis/patches/patch-Cargo_toml | 26 | ||||
| -rw-r--r-- | net/alfis/patches/patch-alfis_toml | 42 |
2 files changed, 68 insertions, 0 deletions
diff --git a/net/alfis/patches/patch-Cargo_toml b/net/alfis/patches/patch-Cargo_toml new file mode 100644 index 0000000..3deafe4 --- /dev/null +++ b/net/alfis/patches/patch-Cargo_toml @@ -0,0 +1,26 @@ +I know that this is a dirty awful thing to do, but i'm lazy to figure out how to +disable that f-ing dependency that fails to fetch. Not going to compile gui anyway, no +point in trying. +Index: Cargo.toml +--- Cargo.toml.orig ++++ Cargo.toml +@@ -46,7 +46,7 @@ lazy_static = "1.4.0" + spmc = "0.3.0" + + # Optional dependencies regulated by features +-web-view = { git = "https://github.com/Boscop/web-view", features = [], optional = true } ++# web-view = { git = "https://github.com/Boscop/web-view", features = [], optional = true } + tinyfiledialogs = { version = "3.9.1", optional = true } + open = { version = "3.0.3", optional = true } + +@@ -80,7 +80,7 @@ ProductName="ALFIS" + FileDescription="Alternative Free Identity System" + + [features] +-webgui = ["web-view", "tinyfiledialogs", "open"] +-edge = ["webgui", "web-view/edge"] ++# webgui = ["web-view", "tinyfiledialogs", "open"] ++# edge = ["webgui", "web-view/edge"] + doh = ["ureq"] +-default = ["webgui", "doh"] ++default = ["doh"] diff --git a/net/alfis/patches/patch-alfis_toml b/net/alfis/patches/patch-alfis_toml new file mode 100644 index 0000000..48c6a94 --- /dev/null +++ b/net/alfis/patches/patch-alfis_toml @@ -0,0 +1,42 @@ +More sane defaults. +Index: alfis.toml +--- alfis.toml.orig ++++ alfis.toml +@@ -1,7 +1,11 @@ + # The hash of first block in a chain to know with which nodes to work + origin = "0000001D2A77D63477172678502E51DE7F346061FF7EB188A2445ECA3FC0780E" + # Paths to your key files to load automatically +-key_files = ["key1.toml", "key2.toml", "key3.toml", "key4.toml", "key5.toml"] ++key_files = ["${SYSCONFDIR}/alfis/key1.toml", ++ "${SYSCONFDIR}/alfis/key2.toml", ++ "${SYSCONFDIR}/alfis/key3.toml", ++ "${SYSCONFDIR}/alfis/key4.toml", ++ "${SYSCONFDIR}/alfis/key5.toml"] + # How many last blocks to check on start + check_blocks = 8 + +@@ -12,14 +16,14 @@ peers = ["peer-v4.alfis.name:4244", "peer-v6.alfis.nam + # Your node will listen on that address for other nodes to connect + listen = "[::]:4244" + # Set true if you want your IP to participate in peer-exchange, or false otherwise +-public = true ++public = false + # Allow connections to/from Yggdrasil only (https://yggdrasil-network.github.io) + yggdrasil_only = false + + # DNS resolver options + [dns] + # Your DNS resolver will be listening on this address and port (Usual port is 53) +-listen = "127.0.0.1:53" ++listen = "127.0.0.1:5353" + # How many threads to spawn by DNS server + threads = 10 + # AdGuard DNS servers to filter ads and trackers +@@ -40,4 +44,4 @@ bootstraps = ["9.9.9.9:53", "94.140.14.14:53"] + # How many CPU threads to spawn for mining, zero = number of CPU cores + threads = 0 + # Set lower priority for mining threads +-lower = true +\ No newline at end of file ++lower = true + |
