File tree 3 files changed +17
-4
lines changed
3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -220,3 +220,11 @@ destination.
220
220
221
221
This is not a good way to produce binaries for embedded environments (like OpenWRT)
222
222
as they will often use a different libc environment.
223
+
224
+ # N2N Packages
225
+
226
+ There are also some example package build recipes included with the source.
227
+
228
+ - [ Debian] ( ../packages/debian/README )
229
+ - [ RPM] ( ../packages/rpm )
230
+ - [ OpenWRT] ( ../packages/openwrt/README.md )
Original file line number Diff line number Diff line change 2
2
3
3
This instructions explain how to build an OpenWRT .ipk package for n2n.
4
4
5
- Before going on, it is required to have a working cross-compiling build
6
- environment for the OpenWRT version installed into your device. This usually
7
- comes down to the following steps:
5
+ You will either need to build a full OpenWRT buildchain (See the github
6
+ action for building openwrt.yml for some example steps) or have a working
7
+ cross-compiling build environment for the OpenWRT version installed into
8
+ your device.
9
+
10
+ ### Downloading a cross-compiling build environment
11
+
12
+ This usually comes down to the following steps:
8
13
9
14
1 . Download and extract the SDK toolchain for your device. The toolchain
10
15
must match the * exact* OpenWRT version installed in your device. Toolchain
Original file line number Diff line number Diff line change @@ -1080,7 +1080,7 @@ int main (int argc, char* argv[]) {
1080
1080
conf .federation_public_key = calloc (1 , sizeof (n2n_private_public_key_t ));
1081
1081
if (conf .federation_public_key ) {
1082
1082
traceEvent (TRACE_WARNING , "using default federation public key; FOR TESTING ONLY, usage of a custom federation name and key (-P) is highly recommended!" );
1083
- generate_private_key (* (conf .federation_public_key ), FEDERATION_NAME + 1 );
1083
+ generate_private_key (* (conf .federation_public_key ), & FEDERATION_NAME [ 1 ] );
1084
1084
generate_public_key (* (conf .federation_public_key ), * (conf .federation_public_key ));
1085
1085
}
1086
1086
}
You can’t perform that action at this time.
0 commit comments