Commit Graph

36 Commits

Author SHA1 Message Date
Brian Cox c0a67bc3c2 buildsys tweaks for HP-UX & AIX+OS400 2019-09-27 18:59:09 -07:00
Brian Cox 458d8652b3 use clib locale code whenever compiler is gcc; try to use stdint.h types in cryptlib when possible 2019-09-21 16:03:51 -07:00
Brian Cox 0467ede8d9 fix C vs C++ locale handling on AIX+gcc; tweak mini-setup script 2019-09-20 16:07:20 -07:00
Brian Cox e4a1a1666d Fix another annoying buildsys issue; add mini-setup script as a n aid to dev & testing 2019-09-20 05:58:34 +00:00
Brian Cox a9443df76d build fixes for Solaris 11.4 (gcc & Oracle Studio compilers) 2019-08-19 23:16:35 -07:00
Brian Cox edec2a4bdd Build & link successfully with a cross compiler targeting VxWorks, though I can't actually test it yet; clean up & extend platform & file type detection a bit 2019-08-06 15:15:16 -07:00
Brian Cox f3e3308968 more buildsys tweaks, mostly trying to make RH7 + gcc 2.96 happy 2019-08-04 21:25:59 -07:00
Brian Cox b308f6871b Bump © year to 2019, because 2019 2019-01-03 20:30:41 -08:00
Brian Cox ccf8a62fa4 Clean up code formatting with clang-format; add a custom clang-format style that tries to approximate the existing OST code style 2018-03-24 21:28:30 -07:00
Brian Cox 0f236fabf4 Use system/popen on Syllable since msystem/mpopen fail there; root cause is still TBD. 2018-02-24 22:50:25 -08:00
Brian Cox f1525a267a Bump version & copyright year 2018-01-01 17:44:15 -08:00
Brian Cox d06b001efe Platform macros for QNX, & recognize the QNX-only 'Named special file' filetype 2017-09-27 20:25:24 -07:00
Brian Cox 249c2cd33f Additional unit test tweaks to make DOS+DJGPP happier 2017-09-24 23:48:57 -07:00
Brian Cox 1333f3c15e LibertyBSD platform detection 2017-09-23 18:21:13 -07:00
Brian Cox 99641c468f Add a platform macro indicating whether OS lets temp files be unlinked while open 2017-09-23 13:19:40 -07:00
Brian Cox 6a104efd03 Update config.guess & config.sub to GNU latest (but re-adding MidnightBSD fix); add config macros for struct stat fields that aren't always present (instead of static defines in platform.h); platform detection & path handling for Redox 2017-09-22 20:20:17 -07:00
Brian Cox 4f0b019ef3 Tinker with BSD platform detection (now including Bitrig); add policy files for various BSDs (adapted from policy for the closest BSD, Free or Open), plus one for HP-UX adapted from the generic policy 2017-09-21 19:46:56 -07:00
Brian Cox b60dcfa7d6 Merge branch 'dev/next' of https://github.com/Tripwire/tripwire-open-source into dev/next 2017-09-21 13:07:46 -07:00
Brian Cox 096a96ad55 Platform.h tweak & policy file for MirOS BSD 2017-09-21 13:06:52 -07:00
brc0x1 a4ae3af444 Fix/implement RISC OS path handling 2017-09-18 17:55:17 -07:00
Brian Cox 2a3d69e8c9 Fixes for Cygwin: Use local swab() impl, and tweak policy update test-harness test path handling -- it was prepending a path variable that's always empty, but we were also using absolute paths so we didn't notice elsewhere, though we were using paths of the form //foo/bar/baz. Leading double slashes are significant on Cygwin since they're used to denote UNC paths, so tests failed there & uncovered this problem 2017-09-08 11:58:19 -07:00
Brian Cox a56bae5397 Only use /dev/urandom if --enable-urandom configure arg is used, since current impl falls over on HP-UX & Solaris 10 SPARC & possibly elsewhere 2017-09-05 19:14:27 -07:00
brc0x1 8cec86246f Fix build issues cross compiling for RISC OS (haven't verified we actually work yet, though); fix a couple of build issues left over from recent test-dir changes to twtest 2017-08-24 19:20:40 -07:00
Brian Cox dae64c48ed Update copyright years 2017-04-25 18:31:11 -07:00
Brian Cox 9e1b078aac Fix setting of IS_xxx OS macros for various platforms 2017-03-29 00:13:22 -07:00
Brian Cox aaa132d211 Support paths w/ leading double slash (per an obscure corner of the POSIX spec) on platforms that implement it, currently just Cygwin. (Cygwin uses this for UNC paths.) 2016-08-07 23:24:15 -07:00
Brian Cox 33e8f4d76b Remove static direct i/o buffer & blocksize cfg option. 2016-07-21 20:22:52 -07:00
Brian Cox ad85c15f07 Initial tweaks for RTEMS support, though linking is still a work in progress. 2016-07-10 22:33:23 -07:00
Brian Cox 2d49bf6630 Report an error if requested feature isn't available on current platform -- SMTP mail, syslog, direct i/o hashing. And limit direct i/o to Linux for now, since elsewhere it either doesn't work the way we need it to (e.g. OSX, FreeBSD) or hasn't been tested adequately. 2016-07-09 10:49:14 -07:00
Brian Cox 0d8bdcc4d8 Support native-style paths on DOS/DJGPP 2016-06-29 21:02:12 -07:00
Brian Cox fb1f751488 Build fixes for Android including platform macro & missing mblen() 2016-06-28 22:16:31 -07:00
Brian Cox 207189dafd Update platform macros in platform.h, and use them instead of compiler-defined OS macros. 2016-06-23 23:12:22 -07:00
Brian Cox 9be78c1d1c More dead code removal, this time Win32-isms in logging & sockets. Also start cleaning up OS macros in platform.h. 2016-06-23 14:51:17 -07:00
Brian Cox a2f9fa4e06 Remove old+unused MAPI stuff 2016-06-19 15:37:44 -07:00
Brian Cox 728795af3d Replace tabs with 4 spaces in all remaining OST code, since this inconsistency can now result in 'misleading indentation' warnings in GCC 6.0+. 2016-04-23 00:33:17 -07:00
Ken Westin c8dc58df50 Open Source Tripwire 2.4.2.2
Initial commit of code from Sourceforge repository.
2015-05-03 22:26:18 -07:00