Hamish Coleman
f2597e8f42
Install some packages for cross compiling
1 year ago
Hamish Coleman
231f4d9ed0
Remove unneeded debian/files - it is autogenerated
1 year ago
Hamish Coleman
1b862513ff
Regenerate packages configure scripts
1 year ago
Hamish Coleman
c2f08642c0
Remove unneeded templating of systemd units
1 year ago
Hamish Coleman
50748f210a
Remove unneeded templating of debian/rules
1 year ago
Hamish Coleman
0385d4fcbe
Automatically generate debian changelog
1 year ago
Hamish Coleman
3cb57e2a6e
Use dh_shlibdeps to calculate depends
This may impact builds on Debian 8, but that version has been out of
support for over three years. I didnt test it, but since using this
helper is the preferred method it may actually help builds on older
versions.
1 year ago
Hamish Coleman
ecb869517e
Remove static definition from deb package builder
1 year ago
shaxxx
7c107887f4
Fix auto IP tracking
1 year ago
Hamish Coleman
f79153166b
Concentrate more windows wierdness in one place - allowing proper ordering of crazy defs and includes
1 year ago
Hamish Coleman
65359c7916
Add a missing library function
1 year ago
Hamish Coleman
5514d91976
For some reason, these headers dont work for 64bit - windows is strange
1 year ago
Hamish Coleman
5eaf7fca8b
Add windows XP to regular cross-compile tests
1 year ago
Hamish Coleman
567ae8db6b
Try to simplify and improve windows objs definitions
1 year ago
Hamish Coleman
3bf584c580
Add tweaks to support windows XP
1 year ago
Hamish Coleman
439939dc7b
Simplify tuntap_open by using one function prototype for all OS
1 year ago
Hamish Coleman
6b8ba8aa94
Move the examples to their own directory
1 year ago
Hamish Coleman
6ddaaaa917
Move win32 specific file to the right dir
1 year ago
Hamish Coleman
83078c8104
Simplify win32 build process
When building on win32 systems, simply add the win32 specific functions
to the libn2n.a, which simplifies the commands needed.
By moving the win32 source code into the src directory, the source code
is better consolidated.
1 year ago
Hamish Coleman
6957b16537
Address compiler warning on older gcc
1 year ago
Hamish Coleman
183e0c969a
Hack around the "helpful" exe file suffix
If there is a way to turn off the mingw insistence that it will rewrite
the filename it was given in the "-o" options, I have not been able to
find it. I could easily handle all the moves or renames at the end of
the build process if I could turn off this feature. Especially since it
means that make often thinks that the file has not been built (the
filename that make knows about is not the file that actually gets built
by the mingw gcc, so the if-newer tests that make applies will always
fail)
1 year ago
Hamish Coleman
84dac6220b
Add a cross-compiled 64bit windows build to CI
1 year ago
Hamish Coleman
e16911d6ec
The arm64 build has now been tested on real hardware
1 year ago
Hamish Coleman
0b662fc0f4
A bunch of hacks to allow builds to understand the stupid windows filenames
1 year ago
Hamish Coleman
4d2e92ac81
Ensure library is included in correct order
It looks to me that the correct way to address this build wrinkle is
simply to add the win32 functions to the libn2n when building a win32
output, then there is no additional magic library juggling required for
the win32 case
1 year ago
Hamish Coleman
1e8a085f1e
Refactor to use the host triplet instead of CONFIG_TARGET
1 year ago
Hamish Coleman
59ecadcab2
Move the special windows lib config into the configure script
1 year ago
Hamish Coleman
b22c57a16f
Dont require special build flags for just one header
1 year ago
Hamish Coleman
e79616dc8b
Dont include unneeded headers
1 year ago
Hamish Coleman
85c8ab536c
Convert final user of TARGET==darwin to use the cross-compile variables instead
1 year ago
Hamish Coleman
4b4311e2fa
Move the macos default install path config.
There is a minor change - after this, the macos man pages are also
installed into the /usr/local PREFIX. This seems like the correct
location to me.
Longer term, the usual autotools process of installing everything into
/usr/local should be used. Files installed in /usr should be done by
a package management tool, so this default makes sense to use.
1 year ago
Hamish Coleman
15fe4f786f
Move OpenSolaris special config to the configure script
1 year ago
Hamish Coleman
8dcc879ca0
Simplify config and build process for libpcap tool
1 year ago
Hamish Coleman
433b14c52f
Simplify openssl library detection and macros
1 year ago
Hamish Coleman
f05c24b259
Fix openssl support and add it to tests
1 year ago
Hamish Coleman
473b89c963
Simplify build system by using standard macro
Most environments have predefined macros that identify the environment
to the source code. If we use these macros instead of defining our own
then there is one less parameter difference to keep track of with
different builds
cf:
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
https://sourceforge.net/p/predef/wiki/OperatingSystems/
1 year ago
Hamish Coleman
041233dc8b
Address more windows compile warnings
1 year ago
Hamish Coleman
5942726685
Address some windows compile warnings
1 year ago
Hamish Coleman
a0c2af5f78
Remove define that no longer does anything
1 year ago
Hamish Coleman
afbc5344e0
Move some generic appending out of the config.mak
1 year ago
Hamish Coleman
6d464f24a6
Ensure that WINDRES always has a value
1 year ago
Hamish Coleman
3c9a170b12
Some header simplification
1 year ago
Hamish Coleman
d21a4fe0a2
Remove some unneeded includes
1 year ago
Hamish Coleman
548e1204f3
Address warning - another windows pedantic header order issue
1 year ago
Hamish Coleman
d39f5c7892
Disable running full tests on BSD builds - they are flappy
1 year ago
Hamish Coleman
ce3ed1fb90
Expand the freebsd hacky fix to encompas edge tests as well
1 year ago
Hamish Coleman
ccd33dc8cc
Hacky fix for tests running on freebsd
1 year ago
Hamish Coleman
0d005d189d
Fix silent failure of sizeof for STRBUF_INIT()
1 year ago
Hamish Coleman
42a716ae7b
Actually test freebsd
1 year ago
Hamish Coleman
a2c78e140a
Minor fixes for FreeBSD
1 year ago