Commit Graph

44 Commits (ad5de848c787a18d770125aca22e5fb41c39f488)

Author SHA1 Message Date
Daniel Roethlisberger dd0d3238ca Add sha1(NEWS.md) to BUILD_INFO when VERSION from dir
Issue:		#85
9 years ago
Daniel Roethlisberger 9b5006d6f7 Add PCFLAGS for additional pkg-config flags
Allow for additional flags to pkg-config by means of a PCFLAGS variable.
This e.g. allows to set PCFLAGS='--static' for static builds in
combination with CFLAGS='-static' and LDFLAGS='-static'.

Issue:		#82
Reported by:	@kickwindbg
9 years ago
Daniel Roethlisberger a14354d18b Allow uid, gid and mode of installed files to be tuned
Introducing the overridable variables INSTALLUID, INSTALLGID, BINUID,
BINGID, BINMODE, MANUID, MANGID, MANMODE that allow overriding of uid,
gid and mode of installed files.  Note that this solution still has the
limitation that uid, gid and mode of created directories cannot be set.

Issue:		#81
Reported by:	Shiloh Heurich
9 years ago
Daniel Roethlisberger da47cd3fe1 Improve documentation of build process 9 years ago
Daniel Roethlisberger 3231c9c031 Record the actual XNU version detected 9 years ago
Daniel Roethlisberger 20ea783cf7 Add XNU header selection fallback
If the proper headers matching either the reported XNU version or OS X
version exactly cannot be found, use the latest headers that SSLsplit
knows about.  This fixes build on new releases of OS X that have no
source code published by Apple yet.
9 years ago
Daniel Roethlisberger bb071336e0 Escape # in shell invocation
This fixes the following make error on Mac OS X versions that we don't
explicitly support yet due to missing sources:

    GNUmakefile:55: *** unterminated call to function `shell': missing `)'.
    Stop.

Reported by:	Justin Garrick
10 years ago
Daniel Roethlisberger c9aa840214 Quote dollar signs in shell invocation
Reported by:	Justin Garrick
10 years ago
Daniel Roethlisberger 47abb0030d Update clean target for newer clang build artefacts 10 years ago
Daniel Roethlisberger e1156a3482 Make awk regexp more robust 10 years ago
Daniel Roethlisberger ec9cc5fb23 Fix usr/grp test with Linux `id` 10 years ago
Daniel Roethlisberger 6f2f0af0c3 Fix usr/grp formatting unit test when id fails 10 years ago
Daniel Roethlisberger 8c71970f33 Add unit test for sys_user_str and sys_group_str 10 years ago
Daniel Roethlisberger f8867368ee Detect presence of Darwin libproc.h 10 years ago
Landon Fuller 137d10aa6e
Define HAVE_DARWIN_LIBPROC on Darwin. 10 years ago
Daniel Roethlisberger 6b0e47dc89 Allow more control over used SSL/TLS versions
Add -r to force a specific SSL/TLS protocol version.
Add -R to disable one or several SSL/TLS protocol versions.
Replace WANT_SSLV2_CLIENT and WANT_SSLV2_SERVER to WITH_SSLV2.

Issue:		#30
Reported by:	@Apollo2342
10 years ago
Daniel Roethlisberger 259d470498 Use -I instead of -isystem with clang-analyzer 10 years ago
Daniel Roethlisberger d0665377ee Remove WGET_FLAGS from developer targets 10 years ago
Daniel Roethlisberger c210641783 Don't add XNU includes to cppcheck invocation 10 years ago
Daniel Roethlisberger 78a573121d Add some CPPFLAGS to cppcheck arguments 10 years ago
Daniel Roethlisberger fcb64e85e7 Make SSLv2 support opt-in instead of opt-out
Migrate knobs from DISABLE_SSLV2_CLIENT and DISABLE_SSLV2_SERVER to
WANT_SSLV2_CLIENT and WANT_SSLV2_SERVER and remove the
DISABLE_SSLV2_SESSION_CACHE knob entirely, automatically including the
respective code if SSLv2 support is compiled into SSLsplit.
10 years ago
Daniel Roethlisberger cc6cb59485 Rewrite Mac OS X support to use proper XNU headers
Move from one set of headers per major OS X release to one set of
headers per XNU release.  Fetch the header files from Apple's official
Open Source site instead of GitHub in the fetchdeps developer target.
As a side effect, 10.6.x is now supported as well (untested), and proper
headers are used for 10.10.

Issue:		#39
10 years ago
Daniel Roethlisberger d85e5ddbe2 Disable SSLv2 support by default 10 years ago
Daniel Roethlisberger 79c67ebed7 Merge pull request #32 from fix-macosx/macosx-yosemite
Support Mac OS X 10.10 by using 10.9 headers
10 years ago
Steve Wills b8c8cb73ed add DESTDIR, MANDIR to install target
DESTDIR to allow installing in chroot
MANDIR to allow specifying different dir for man pages
10 years ago
Landon Fuller 8ef5011fcb Enable Mac OS X 10.10 feature detection
This is pointed at the 10.9 pf headers for testing, as
the 10.10 kernel sources are unavailable.
10 years ago
Daniel Roethlisberger fe558af0a3 Remove duplicates from FEATURES 11 years ago
Daniel Roethlisberger 6b99bde4fb Only use -pthread on non-Darwin systems 11 years ago
Daniel Roethlisberger ba991dcdf8 Minor overhaul of the Mac OS X hacks 11 years ago
Daniel Roethlisberger 05410fe9b3 Enable SSL_MODE_RELEASE_BUFFERS by default 11 years ago
Daniel Roethlisberger 6643d832d9 Add experimental support for pf on Mac OS X
Support pf rdr on Mac OS X 10.7, 10.8 and 10.9 by including the missing
Apple headers in the source tree and enable private Apple code.  Since
we are using an interface marked private by Apple, this code is very
experimental.

Issue:		#15
Reported by:	Amit Chowdhary
11 years ago
Daniel Roethlisberger 13c85ce5c1 Also build ipfw if pf is detected
OpenBSD 4.7+ and FreeBSD 9.0+ also include ipfw-style divert-to in pf,
so build ipfw NAT engine as well if pf is detected.

Reported by:	Stuart Henderson
11 years ago
Daniel Roethlisberger fc8c0110c5 Do not generate ECC keys for unit tests 12 years ago
Daniel Roethlisberger 5ed3e5172b Make explanation of DEBUG_CFLAGS clearer 12 years ago
Daniel Roethlisberger a4040d8372 Suppress warnings for system headers with -isystem
Use -isystem instead of -I in CPPFLAGS to suppress compiler warnings for
system and library headers.
12 years ago
Daniel Roethlisberger 6fe4c5bf01 Sign release tarball using GnuPG 12 years ago
Daniel Roethlisberger e270fb127b Unconditionally define _GNU_SOURCE
Get rid of the fragile glibc auto-detection mechanism and define
_GNU_SOURCE unconditionally in order to fix the build on recent GNU libc
systems such as Debian and Ubuntu.  On non-GNU libc implementations,
_GNU_SOURCE should not have any effect.

Issue:          #2
Reported by:    Vincent Bernat
12 years ago
Daniel Roethlisberger 0e19243307 Reorder wildcard rules and improve error messages 12 years ago
Daniel Roethlisberger ddbb945406 Rename unit test sources to fix language detection 12 years ago
Daniel Roethlisberger 6a93c73164 Add test server cert with OCSP and CDP extensions 12 years ago
Daniel Roethlisberger 557537957f Use FORCE target to force rebuild of version.o 12 years ago
Daniel Roethlisberger 423c1b0a32 Move volatile build-time information into separate compilation unit 12 years ago
Daniel Roethlisberger 419cb7d31f Add targets for manual page conversion 12 years ago
Daniel Roethlisberger 4cfdef405a Initial import of sslsplit-0.4.2 12 years ago