Commit Graph

1391 Commits

Author SHA1 Message Date
Hamish Coleman
04a2146391 Now that the exports are correct, stop importing them twice 2023-05-10 18:41:18 +01:00
Hamish Coleman
cbafe20000 Minor refactoring to use exported vars in subdir 2023-05-10 17:08:15 +01:00
Hamish Coleman
48c377bafa Clarification is needed in one of the build steps 2023-05-08 19:06:30 +01:00
Hamish Coleman
267b297150 Switch build date to use the last commit time
This reduces binary changes if the same commit version is re-built
2023-05-08 16:46:01 +01:00
Hamish Coleman
7bab59ea0a Remove incorrect and unused variables 2023-05-08 16:46:01 +01:00
Hamish Coleman
d0b0f3a2e8 Increase dpkg manpage determinism 2023-05-08 16:46:01 +01:00
Tony
789ba52541 Break down print line 2023-05-08 16:43:28 +01:00
Tony
4a8a07db9d Ignore .exe 2023-05-08 16:43:28 +01:00
Tony
3a4c18258c Support mingw make for edge prompt UAC 2023-05-08 16:43:28 +01:00
Tony
7cfc30fb15 Git ignore pycache 2023-05-08 16:43:28 +01:00
Tony
bfe42e3cc8 Fix SIGNPIPE doesn't exist on windows 2023-05-08 16:43:28 +01:00
Tony
ece951c464 Add .vs to gitignore 2023-05-08 16:43:28 +01:00
Hamish Coleman
6f7da048fb Add one more missing package 2023-05-06 08:48:04 +08:00
Hamish Coleman
5fee024ad5 Fix copypasta mistake in the windows fake autoconf 2023-05-06 08:48:04 +08:00
Hamish Coleman
743f6325cf Fix building with lots of options turned on 2023-05-06 08:48:04 +08:00
Hamish Coleman
f3a2344353 Add a CI test build with lots of options turned on 2023-05-06 08:48:04 +08:00
Hamish Coleman
40c99fcdee
Merge pull request #1094 from hamishcoleman/autoconf
Autoconf Refactoring
2023-05-04 11:03:00 +08:00
Dylan Yee
e01daf4a85
support linux l2 bridge (#1044)
* support linux l2 bridge

* unified timeout name

* typo

* minor code style adaptions

* feature define

* feature define

* feature define

* feature define

* added hint to bridging to help output

* added hint to bridging

* drafted bridging documentation

* added bridging hint

---------

Co-authored-by: Logan oos Even <46396513+Logan007@users.noreply.github.com>
2023-05-04 11:00:38 +08:00
Hamish Coleman
6b4a9c4387 Remove duplicated build targets 2023-04-30 20:45:55 -05:00
Hamish Coleman
c9447689fb Update dependancies for new configure file 2023-04-30 20:45:44 -05:00
Hamish Coleman
2b62ffb3d6 Remove left over cmake file 2023-04-30 20:45:27 -05:00
Hamish Coleman
1accc76ad3 Fix the building the win32 subdir.
It looks like the github windows build environment is not correctly
inheriting environment variables.  Which is strange, as that has not
been changed with the recent updates.  Include the vars directly as a
workaround (and plan to refactor later)
2023-04-30 20:40:50 -05:00
Hamish Coleman
9de98c2bb0 Ensure the library is linked to the tools 2023-04-30 19:36:06 -05:00
Hamish Coleman
897ccd9780 Stop auto creating the OBJ list, allowing a libn2n that does not contain a main() function 2023-04-30 19:35:42 -05:00
Hamish Coleman
37722ab8b6 Consolidate the config.mak settings 2023-04-30 19:00:04 -05:00
Hamish Coleman
4e2b9e0a91 First, build the project - allowing build errors to easily show up 2023-04-30 18:53:30 -05:00
Hamish Coleman
bd4418fdec Convert the tools dir makefile similarly to the topdir 2023-04-30 18:10:39 -05:00
Hamish Coleman
bee517a753 Update windows build for new config.mak 2023-04-30 14:50:10 -05:00
Hamish Coleman
c81889d02f Refactoring the autoconf to towards always having a valid Makefile - this will allow simple build instructions 2023-04-30 14:40:55 -05:00
Hamish Coleman
39b9c6b1c0 Enable tests on newer github images 2023-04-19 17:06:45 +08:00
Hamish Coleman
3cef9949c2 Remove the non-maintained CMake build system.
It is difficult to maintain one build system, let alone two - especially
if one build system is known to be better maintained and the other build
system continues to be used - with bug and feature requests raised
against it.

The maintainers are aware that there are people using the CMake system,
but believe that the extra maintainability of only having one build
system, combined with the knowledge that the current CI system
demonstrates that all supported architectures are working with the
Makefiles make the use of these Makefiles a more sustainable direction.
2023-04-19 17:06:45 +08:00
Logan oos Even
709590d66e
separated counter variables (#1078) 2023-02-25 18:03:14 +01:00
Logan oos Even
2ee7dfdb98
added Windows support to n2n-route tool (#1023)
* added Windows support to n2n-route tool

* fixed includes

* more include fixes

* one more include addition

* more compile fixes

* wish I had a working Windows VM

* fixed some more Windows compile errors

* considered Windows-specific lib linkage

* promised to never code OS specific tools again

* removed invisible invalid characters

* where to get if_idx from

* retrieving interface index for route

* bracket...

* one more bracket...

* added optional gateway parameter to user-defined routes

* clarification

* clarification

* Windows needs special network init

* adapted waiting-for-key
2023-02-03 17:01:57 +01:00
Hamish Coleman
24c1569c88 It appears that supernode_disconnect() might only be called in the original code in the TCP case, so add that test - even though the function appear to work in either caes 2023-02-01 12:39:37 +00:00
Hamish Coleman
9e98023a3f None of the callers of sendto_sock check the result, so make this clear in the function prototype 2023-02-01 12:39:37 +00:00
lemonsh
46212656a5 fix 'superndode' typo in edge and supernode help text 2023-01-31 16:10:22 +00:00
Hamish Coleman
9618512c8f Give up and cache the entire openwrt buildchain 2023-01-30 20:31:13 +00:00
Hamish Coleman
8e172d94ea Nothing needs to dep on the smoketest 2023-01-30 20:31:13 +00:00
Hamish Coleman
0867fd1a7c One more try to avoid building all the kmod packages 2023-01-30 20:31:13 +00:00
Hamish Coleman
c3f5d69020 In fact, we can start more builds sooner 2023-01-30 20:31:13 +00:00
Hamish Coleman
4b9397a1b0 Fix the cache key. Also adjust the deps - the openwrt build is the longest, so start it sooner 2023-01-30 20:31:13 +00:00
Hamish Coleman
731be7e257 Use caching to try to speed up openwrt builds. Build openwrt statically 2023-01-30 20:31:13 +00:00
Hamish Coleman
c824c5d2cd Name the openwrt builds the same as the expected package name 2023-01-30 20:31:13 +00:00
Hamish Coleman
780d1edfb8 Add a amd64 OpenWrt build for more testing 2023-01-30 20:31:13 +00:00
Hamish Coleman
40f4b04bb2 Add quicker OpenWrt build to regular builds.
Use the upstream build environment to speed up the compiling of OpenWrt
ipk packages.  (And minor doc updates after running this.
2023-01-30 20:31:13 +00:00
Hamish Coleman
99ae88c85b Address github linter concerns in openwrt CI 2023-01-30 20:31:13 +00:00
fnRice
b5976231c9 fix 'cannot find library -lzstd' when build as a subproject with cmake and vcpkg 2023-01-27 00:44:36 +00:00
Hamish Coleman
4d89f048ad
Merge pull request #1074 from hamishcoleman/upstream
Tidy up CI and address constantly failing test
2023-01-27 00:41:56 +00:00
Hamish Coleman
914c450641 Address more github workflow lint concerns 2023-01-27 00:23:52 +00:00
Hamish Coleman
b104f4a72d Address lint concern 2023-01-27 00:21:14 +00:00