aboutsummaryrefslogtreecommitdiffstats
path: root/Configure
Commit message (Collapse)AuthorAgeFilesLines
* Configure: complete the changed fuzz option checksRichard Levitte2016-06-051-1/+2
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* Clean away the last unixmake vestigesRichard Levitte2016-06-041-39/+0
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add support for fuzzing with AFLKurt Roeckx2016-06-041-3/+18
| | | | | | Reviewed-by: Ben Laurie <ben@links.org> MR: #2740
* Add final(?) set of copyrights.Rich Salz2016-06-011-2/+0
| | | | | | | | | Add copyright to missing assembler files. Add copyrights to missing test/* files. Add copyrights Various source and misc files. Reviewed-by: Richard Levitte <levitte@openssl.org>
* perl: use the 'if' module to conditionally load File::GlobRichard Levitte2016-05-301-3/+1
| | | | | | | Trying to use normal perl conditions to conditionally 'use' a perl module didn't quite work. Using the 'if' module to do so does work. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Configure,test/recipes: "pin" glob to File::Glob::glob.Andy Polyakov2016-05-291-2/+5
| | | | | | | | | | | | | | As it turns out default glob's behaviour for quoted argument varies from version to version, making it impossible to Configure or run tests in some cases. The reason for quoting globs was to accommodate source path with spaces in its name, which was treated by default glob as multiple paths. File::Glob::glob on the other hand doesn't consider spaces as delimiters and therefore works with unquoted patterns. [Unfortunaltely File::Glob::glob, being too csh-ly, doesn't work on VMS, hence the "pinning" is conditional.] Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configure: handle spaces in source directory specRichard Levitte2016-05-271-2/+2
| | | | | | RT#4486 Reviewed-by: Matt Caswell <matt@openssl.org>
* Configure: pull 'which' back.Andy Polyakov2016-05-251-3/+23
| | | | | | | | | | At earlier point 'which' was replaced with IPC::Cmd::can_run call. Unfortunately on RPM-based systems it is a separate package and it's not given that it's installed. Resurrected 'which' provides poor-man fallback for IPC::Cmd::can_run. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* Don't clean away headers generated by ConfigureRichard Levitte2016-05-251-7/+0
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Make sure crypto-mdebug-backtrace must be enabled explicitelyRichard Levitte2016-05-251-0/+1
| | | | | | | As it was until now, crypto-mdebug-backtrace was enabled by default and only disabled if crypto-mdebug was disabled. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Configure: To allow file names with spaces, tokenize with respect for quotesRichard Levitte2016-05-251-13/+51
| | | | | | | | For parsing build.info files. RT#4492 Reviewed-by: Tim Hudson <tjh@openssl.org>
* Communicate Configure generated header files to build filesRichard Levitte2016-05-251-0/+7
| | | | | | | | | Add Configure generated header files to $unified_info{generate}. This makes sure the build files will pick them up with the rest for the GENERATED macro, and thereby make sure they get cleaned away by 'make clean' Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add buf-freelists to deprecated optionsTodd Short2016-05-231-0/+1
| | | | | | | | The buf-freelists option was removed in master. There may be some things that try to disable it, so don't error out. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Add support for RC / WINDRES env variablesRichard Levitte2016-05-161-0/+2
| | | | | | RT#2558 Reviewed-by: Tim Hudson <tjh@openssl.org>
* Configure: replace which() with IPC::Cmd::can_run.Andy Polyakov2016-05-101-18/+3
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configure: adhere to $(CROSS_COMPILE)ranlib.Andy Polyakov2016-05-101-3/+7
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configure: make it work with Perl 5.10.Andy Polyakov2016-05-101-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Add fuzzing!Ben Laurie2016-05-071-0/+24
| | | | Reviewed-by: Emilia Käsper <emilia@openssl.org>
* Add the possibility for local build file templatesRichard Levitte2016-05-021-6/+21
| | | | | | | Use the environment variable OPENSSL_LOCAL_CONFIG_DIR to find build file templates as well. Reviewed-by: Stephen Henson <steve@openssl.org>
* Add the possibility to have an extra local OpenSSL configs directoryRichard Levitte2016-05-021-0/+16
| | | | | | | The environment variable OPENSSL_LOCAL_CONFIG_DIR is used to indicate that there's a local directory with extra configuration files. Reviewed-by: Stephen Henson <steve@openssl.org>
* various spelling fixesFdaSilvaYY2016-04-281-10/+10
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/952)
* Remove the never-functional no-sctBenjamin Kaduk2016-04-261-1/+0
| | | | | | | | | | | | It was added as part of 2df84dd3299ff25fa078ca7ffbdeaac65b361feb but has never actually been used for anything; presumably it was a typo for one of SCTP or CT. This removes the last '??' entry from INSTALL. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Build system: add include directories and dependencies for generatorsRichard Levitte2016-04-251-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of generating a file like this: GENERATE[foo.S]=mkfoo.pl arg1 arg2 the 'mkfoo.pl' generator itself might need to include other files, such as perl modules within our source tree. We can reuse already existing syntax for it, like this: INCLUDE[mkfoo.pl]=module/path or: DEPEND[mkfoo.pl]=modules/mymodule.pm This change implements the support for such constructs, and for the DEPEND statement, for any value that indicates a perl module (.pm file), it will automatically infer an INCLUDE statement for its directory, just like it does for C header files, so you won't have do write this: DEPEND[mkfoo.pl]=modules/mymodule.pm INCLUDE[mkfoo.pl]=modules Reviewed-by: Emilia Käsper <emilia@openssl.org>
* Warn when doing an out-of-source build and finding in-source build artifactsRichard Levitte2016-04-221-0/+8
| | | | | | | | | The reason to warn is that configuration *may* pick up on configuration header files that are in the source tree, that might be for a wildly different configuration than what is expected in the current out-of-source configuration. Reviewed-by: Matt Caswell <matt@openssl.org>
* Copyright consolidation; .pm and ConfigureRich Salz2016-04-201-0/+6
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove --classic build entirelyRichard Levitte2016-04-201-23/+1
| | | | | | | | The Unix build was the last to retain the classic build scheme. The new unified scheme has matured enough, even though some details may need polishing. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Cascade no-dgram from no-sock in Configure not e_os.hMatt Caswell2016-04-201-1/+1
| | | | | | | | e_os.h was defining OPENSSL_NO_DGRAM if OPENSSL_NO_SOCK was defined. This causes link problems on Windows because the generated .def files still contain the DGRAM symbols even though they have not been compiled. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Make "shared" builds the defaultMatt Caswell2016-04-141-1/+0
| | | | | | | In most cases we expect that people will be using shared libraries not static ones, therefore we make that the default. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix no-stdio and no-autoalginitMatt Caswell2016-04-141-0/+6
| | | | | | | | | | | | | | no-stdio does not work with the apps. Since the tests also need the apps it doesn't support that either. Therefore we disable building of both. no-autoalginit is not compatible with the apps because it requires explicit loading of the algorithms, and the apps don't do that. Therefore we disable building the apps for this option. Similarly the tests depend on the apps so we also disable the tests. Finally the whole point about no-autoalginit is to avoid excessive executable sizes when doing static linking. Therefore we disable "shared" if this option is selected. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove no-aes, no-rsa, no-sha, no-md5 and no-hmacMatt Caswell2016-04-131-5/+0
| | | | | | | | These algorithms are fundamental and extensively used. The "no-" options do not work either in 1.1.0 or in other released branches. Therefore the ability to disable them should be removed. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix the handling of --with-zlib-includeRichard Levitte2016-04-131-1/+1
| | | | | | | | The handling was Unix centric, already in Configure. Change that to just collect the value and let the build file templates figure out what to do with it. Reviewed-by: Matt Caswell <matt@openssl.org>
* Clean-up *_DEBUG options.Andy Polyakov2016-04-071-3/+14
| | | | | | | | | Since NDEBUG is defined unconditionally on command line for release builds, we can omit *_DEBUG options in favour of effective "all-on" in debug builds exercised though CI. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
* Perl cleanup: don't create lists unnecessarilyRichard Levitte2016-04-061-5/+5
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Configure: add BLAKE_DEBUG to --strict-warnings set.Andy Polyakov2016-04-061-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Revert "various spelling fixes"Rich Salz2016-04-041-10/+10
| | | | | | | This reverts commit 620d540bd47a96fb6905fbbdd8ea5167a8841a3e. It wasn't reviewed. Reviewed-by: Rich Salz <rsalz@openssl.org>
* various spelling fixesFdaSilvaYY2016-04-041-10/+10
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add the C macro NDEBUG when configuring for releaseRichard Levitte2016-04-011-0/+2
| | | | | Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
* Make the use of perl more consistentRichard Levitte2016-04-011-1/+1
| | | | | | | | | | | | | | | - In Configure, register the perl interpreter used to run Configure, so that's the one being used throughout instead of something else that Configure happens to find. This is helpful for using a perl version that's not necessarely first in $PATH: /opt/perl/5.22.1/bin/perl ./Configure - Make apps/tsget a generated file, just like apps/CA.pl, so the perl interpreter registered by Configure becomes the hashbang path instead of a hardcoded /usr/bin/perl Reviewed-by: Andy Polyakov <appro@openssl.org>
* More things that don't work together.Ben Laurie2016-03-301-0/+2
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Make it possible to specify source files that will only be used for shared libsRichard Levitte2016-03-301-1/+31
| | | | | | | | | | There are rare cases when an object file will only be used when building a shared library. To enable this, we introduce SHARED_SOURCE: SHARED_SOURCE[libfoo]=dllmain.c Reviewed-by: Andy Polyakov <appro@openssl.org>
* When using no-dtls create OPENSSL_NO_DTLSKurt Roeckx2016-03-281-0/+1
| | | | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org> MR: #2452
* Fix enable-zlib no-comp.Ben Laurie2016-03-221-0/+1
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* sctp requires dgram.Ben Laurie2016-03-221-1/+1
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* Fix no-gostMatt Caswell2016-03-211-1/+1
| | | | | | Configure had the wrong name for the no-gost option. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove the no-rijndael optionMatt Caswell2016-03-211-2/+0
| | | | | | | Rijndael is an old name for AES. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Remove the remainder of util/mk1mf.pl and companion scriptsRichard Levitte2016-03-211-6/+0
| | | | | | | This removes all scripts that deal with MINFO as well, since that's only used by mk1mf. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Remove generation of ms/version32.rc from Configure, use util/mkrc.plRichard Levitte2016-03-211-60/+0
| | | | | | | | | utils/mkrc.pl was added a while ago as a better generator for the Windows DLL resource file. Finalize the change by removing the ms/version32.rc generator from Configure and adding resource file support using mkrc.pl in Configurations/windows-makefile.pl Reviewed-by: Andy Polyakov <appro@openssl.org>
* Make apps/progs.pl more flexibleRichard Levitte2016-03-191-1/+9
| | | | | | | Make Configure write @disablables to configdata.pm and have apps/progs.pl use that data. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Correct the export list when writing configdata.pmRichard Levitte2016-03-191-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Correct the check of files to depend on against known generated onesRichard Levitte2016-03-191-3/+3
| | | | | | The check was erroneously inversed Reviewed-by: Rich Salz <rsalz@openssl.org>