Commit Graph

25 Commits

Author SHA1 Message Date
Brian Cox f41e3e06b6 Use the right 'ar' when cross compiling, instead of always wanting to use default system 'ar'. This happened because autoconf doesn't have a builtin AC_PROG_AR macro, so we have to provide our own. 2016-06-17 20:33:10 -07:00
Brian Cox 0ee24bc84b New platform: MS-DOS/FreeDOS with DJGPP (i586-pc-msdosdjgpp). Detect & handle if sys/socket.h isn't present, which is default for DJGPP. Also handle slightly different struct stat, file type macros, absence of Posix signals. 2016-06-17 19:57:06 -07:00
Brian Cox 03622ed0f0 Specify headers in makefiles, so 'make dist' knows to include them 2016-06-14 01:15:37 -07:00
Brian Cox 7ad2b52d14 Remove UCS2-related dead code, in the name of clarity 2016-06-13 20:11:13 -07:00
Brian Cox bb863522f2 [AROS] hide interactive passphrases; delete temp files after use; validate temp dir even if config value isn't set. 2016-06-12 17:27:14 -07:00
Brian Cox c7b83c88d8 Add version strings for 'what' command (or 'version' on AROS) 2016-06-09 23:33:22 -07:00
Brian Cox 48a4392343 Update buildsys to automake 1.15 and fix resulting warnings. This involved an autoreconf -if, and then reverting config.guess and config.sub since they're actually newer than the ones automake wants to install, and they've been customized a bit to detect e.g. MidnightBSD 2016-06-06 19:51:38 -07:00
Brian Cox 9214316bbd Align buffer on page boundary if user enables HASH_DIRECT (formerly DIRECT_IO); let user specify num blocks per read. 2016-05-16 19:32:38 -07:00
Brian Cox eaca9fcedf Support posix_fadvise() where available; optionally enable O_DIRECT/F_NOCACHE if DIRECT_IO=true in tw.cfg; fix internal naming of update 'secure mode' flag for clarity. 2016-05-05 00:19:56 -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
Brian Cox 5819201c68 GCC 6's new 'misleading indentation' warning showed up a few times in OST, so this commit squashes all the current examples of that. Also adds Fedora 24 alpha 7 (x64) + gcc 6.0.0 to the list of tested platforms. 2016-04-22 18:27:02 -07:00
Brian Cox 9e5dd61e39 Fix various compiler warnings; enable -Wextra warnings except for unused params. 2016-04-15 12:42:31 -07:00
Brian Cox f47e5e7a9d Resolve a bunch of non-virtual destructor warnings 2016-04-14 21:45:46 -07:00
Brian Cox 2cff64ebe7 Merge branch 'master' of https://github.com/brc0x1/tripwire-open-source 2016-04-11 11:46:42 -07:00
Brian Cox 12cef61f40 Support MAILFROMADDRESS, per longstanding user requests. Documented in twconfig man page. 2016-04-11 11:43:45 -07:00
Brian Cox da16d91146 Add option to show hashes as hex instead of base64. Siggen already provided this. 2016-04-09 16:36:39 -07:00
Brian Cox 943d17ceb8 Add SkyOS syslog fix to this branch so merge doesn't clobber it 2016-04-03 20:54:44 -07:00
Brian Cox 5e5cf96bf5 Merge branch 'master' into dev/aros 2016-04-02 23:12:50 -07:00
Brian Cox ca2242079d Build fixes for Sortix, mostly relating to missing headers 2016-04-02 23:11:37 -07:00
Brian Cox e71023730e Add Posix<-->Native path conversion, and handle absence of Unix unlinked-but-open tempfile trick on AROS 2016-04-01 18:01:59 -07:00
Brian Cox f3fd9f0a49 Initial AROS commit, such that it compiles & links now, but doesn't run properly yet. 2016-04-01 08:22:13 -07:00
Brian Cox 1e06389361 Fix SHA hashes when using OpenSSL impl; build fix for SkyOS 5.0 which doesn't have syslog(). 2016-03-26 16:08:04 -07:00
Brian Cox 9698ca5333 Update buildsys for oddball platforms that don't support hardlinks, or have gethostbyname() in a weird library. Still generated w/ older v1.8.x automake/aclocal in order to keep diffs a reviewable size. 2016-03-25 10:59:56 -07:00
Brian Cox 261cef1392 Additional build fixes: Warning fixes from FreeBSD ports patch set, plus platform-specific build fixes for OpenBSD, Minix, Hurd, Syllable, (possibly) Android. 2016-03-22 21:30:23 -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