2016-07-08 12:11:43 +00:00
|
|
|
# Ignore editor artefacts
|
2015-08-31 19:45:56 +00:00
|
|
|
/.dir-locals.el
|
2013-01-19 12:20:21 +00:00
|
|
|
|
2013-01-06 16:47:36 +00:00
|
|
|
# Top level excludes
|
2016-01-12 21:25:30 +00:00
|
|
|
/Makefile.orig
|
2013-02-26 21:50:40 +00:00
|
|
|
/MINFO
|
2015-03-16 21:36:19 +00:00
|
|
|
/TABLE
|
2013-01-06 16:47:36 +00:00
|
|
|
/*.pc
|
|
|
|
/rehash.time
|
2013-06-13 14:39:23 +00:00
|
|
|
/inc.*
|
|
|
|
/makefile.*
|
|
|
|
/out.*
|
|
|
|
/tmp.*
|
Refactor file writing - introduce template driven file writing
apps/CA.pl and tools/c_rehash are built from template files. So far,
this was done by Configure, which created its own problems as it
forced everyone to reconfigure just because one of the template files
had changed.
Instead, have those files created as part of the normal build in apps/
and in tools/.
Furthermore, this prepares for a future where Configure may produce
entirely other build files than Makefile, and the latter can't be
guaranteed to be the holder of all information for other scripts.
Instead, configdata.pm (described below) becomes the center of
configuration information.
This introduces a few new things:
%config a hash table to hold all kinds of configuration data
that can be used by any other script.
configdata.pm a perl module that Configure writes. It currently
holds the hash tables %config and %target.
util/dofile.pl a script that takes a template on STDIN and outputs
the result after applying configuration data on it.
It's supposed to be called like this:
perl -I$(TOP) -Mconfigdata < template > result
or
perl -I$(TOP) -Mconfigdata templ1 templ2 ... > result
Note: util/dofile.pl requires Text::Template.
As part of this changed, remove a number of variables that are really
just copies of entries in %target, and use %target directly. The
exceptions are $target{cflags} and $target{lflags}, they do get copied
to $cflags and $lflags. The reason for this is that those variable
potentially go through a lot of changes and would rather deserve a
place in %config. That, however, is for another commit.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-05-18 20:35:23 +00:00
|
|
|
/configdata.pm
|
2013-01-06 16:47:36 +00:00
|
|
|
|
2016-02-12 13:13:06 +00:00
|
|
|
# *all* Makefiles
|
|
|
|
Makefile
|
2016-09-08 23:01:15 +00:00
|
|
|
# ... except in demos
|
|
|
|
!/demos/*/Makefile
|
2016-01-12 21:25:30 +00:00
|
|
|
|
2013-01-06 16:47:36 +00:00
|
|
|
# Links under apps
|
2013-01-06 19:06:40 +00:00
|
|
|
/apps/CA.pl
|
2016-04-06 14:04:55 +00:00
|
|
|
/apps/tsget
|
2016-06-08 12:08:53 +00:00
|
|
|
/apps/tsget.pl
|
2013-01-06 19:06:40 +00:00
|
|
|
/apps/md4.c
|
2013-01-06 16:47:36 +00:00
|
|
|
|
|
|
|
# Auto generated headers
|
2013-01-06 19:06:40 +00:00
|
|
|
/crypto/buildinf.h
|
2016-01-25 14:44:08 +00:00
|
|
|
/crypto/include/internal/*_conf.h
|
2016-03-18 23:51:51 +00:00
|
|
|
/openssl/include/opensslconf.h
|
|
|
|
/util/domd
|
2013-01-06 16:47:36 +00:00
|
|
|
|
2017-06-07 19:12:03 +00:00
|
|
|
# error code files
|
|
|
|
/crypto/err/openssl.txt.old
|
|
|
|
/engines/e_afalg.txt.old
|
|
|
|
/engines/e_capi.txt.old
|
|
|
|
/engines/e_dasync.txt.old
|
|
|
|
/engines/e_ossltest.txt.old
|
|
|
|
|
2013-01-06 16:47:36 +00:00
|
|
|
# Executables
|
2013-01-06 19:06:40 +00:00
|
|
|
/apps/openssl
|
|
|
|
/test/sha256t
|
|
|
|
/test/sha512t
|
2013-01-19 17:41:44 +00:00
|
|
|
/test/gost2814789t
|
2016-04-06 14:04:55 +00:00
|
|
|
/test/ssltest_old
|
2013-01-06 19:06:40 +00:00
|
|
|
/test/*test
|
|
|
|
/test/fips_aesavs
|
|
|
|
/test/fips_desmovs
|
|
|
|
/test/fips_dhvs
|
|
|
|
/test/fips_drbgvs
|
|
|
|
/test/fips_dssvs
|
|
|
|
/test/fips_ecdhvs
|
|
|
|
/test/fips_ecdsavs
|
|
|
|
/test/fips_rngvs
|
|
|
|
/test/fips_test_suite
|
2016-04-06 14:03:06 +00:00
|
|
|
/test/ssltest_old
|
2016-05-23 12:48:22 +00:00
|
|
|
/test/x509aux
|
2016-06-08 15:37:06 +00:00
|
|
|
/test/v3ext
|
2018-04-04 15:54:33 +00:00
|
|
|
/test/versions
|
2016-10-12 11:07:33 +00:00
|
|
|
/test/ossl_shim/ossl_shim
|
2018-09-16 22:09:25 +00:00
|
|
|
/test/rsa_complex
|
2019-03-30 21:10:39 +00:00
|
|
|
# Other generated files in test/
|
|
|
|
/test/provider_internal_test.conf
|
2016-07-08 12:11:43 +00:00
|
|
|
|
|
|
|
# Certain files that get created by tests on the fly
|
2017-10-09 15:58:50 +00:00
|
|
|
/test/test-runs
|
2016-07-08 12:11:43 +00:00
|
|
|
/test/buildtest_*
|
|
|
|
|
|
|
|
# Fuzz stuff.
|
|
|
|
# Anything without an extension is an executable on Unix, so we keep files
|
|
|
|
# with extensions. And we keep the corpora subddir versioned as well.
|
|
|
|
# Anything more generic with extensions that should be ignored will be taken
|
|
|
|
# care of by general ignores for those extensions (*.o, *.obj, *.exe, ...)
|
|
|
|
/fuzz/*
|
|
|
|
!/fuzz/README*
|
|
|
|
!/fuzz/corpora
|
|
|
|
!/fuzz/*.*
|
2013-01-06 16:47:36 +00:00
|
|
|
|
|
|
|
# Misc auto generated files
|
2018-12-03 14:37:07 +00:00
|
|
|
/doc/man7/openssl_user_macros.pod
|
2016-01-22 12:06:26 +00:00
|
|
|
/include/openssl/opensslconf.h
|
2013-01-06 19:06:40 +00:00
|
|
|
/tools/c_rehash
|
2016-06-08 12:08:53 +00:00
|
|
|
/tools/c_rehash.pl
|
2016-09-11 16:47:39 +00:00
|
|
|
/util/shlib_wrap.sh
|
2016-01-22 12:06:26 +00:00
|
|
|
/tags
|
|
|
|
/TAGS
|
2018-10-02 13:05:14 +00:00
|
|
|
*.map
|
|
|
|
*.ld
|
2015-01-09 10:19:10 +00:00
|
|
|
|
2016-06-08 12:08:53 +00:00
|
|
|
# Windows (legacy)
|
2015-04-01 09:36:18 +00:00
|
|
|
/tmp32
|
|
|
|
/tmp32.dbg
|
2015-01-09 10:19:10 +00:00
|
|
|
/tmp32dll
|
2015-01-09 23:01:20 +00:00
|
|
|
/tmp32dll.dbg
|
2015-04-01 09:36:18 +00:00
|
|
|
/out32
|
|
|
|
/out32.dbg
|
2015-01-09 10:19:10 +00:00
|
|
|
/out32dll
|
2015-01-09 23:01:20 +00:00
|
|
|
/out32dll.dbg
|
2015-01-09 10:19:10 +00:00
|
|
|
/inc32
|
|
|
|
/MINFO
|
2016-03-09 14:38:06 +00:00
|
|
|
/ms/.rnd
|
2016-01-22 12:06:26 +00:00
|
|
|
/ms/bcb.mak
|
|
|
|
/ms/libeay32.def
|
|
|
|
/ms/nt.mak
|
|
|
|
/ms/ntdll.mak
|
|
|
|
/ms/ssleay32.def
|
|
|
|
/ms/version32.rc
|
2015-05-22 08:28:43 +00:00
|
|
|
|
|
|
|
# Files created on other branches that are not held in git, and are not
|
|
|
|
# needed on this branch
|
2016-01-22 12:06:26 +00:00
|
|
|
/include/openssl/asn1_mac.h
|
|
|
|
/include/openssl/des_old.h
|
|
|
|
/include/openssl/fips.h
|
|
|
|
/include/openssl/fips_rand.h
|
|
|
|
/include/openssl/krb5_asn.h
|
|
|
|
/include/openssl/kssl.h
|
|
|
|
/include/openssl/pq_compat.h
|
|
|
|
/include/openssl/ssl23.h
|
|
|
|
/include/openssl/tmdiff.h
|
|
|
|
/include/openssl/ui_compat.h
|
|
|
|
/test/fips_aesavs.c
|
|
|
|
/test/fips_desmovs.c
|
|
|
|
/test/fips_dsatest.c
|
|
|
|
/test/fips_dssvs.c
|
|
|
|
/test/fips_hmactest.c
|
|
|
|
/test/fips_randtest.c
|
|
|
|
/test/fips_rngvs.c
|
|
|
|
/test/fips_rsagtest.c
|
|
|
|
/test/fips_rsastest.c
|
|
|
|
/test/fips_rsavtest.c
|
|
|
|
/test/fips_shatest.c
|
|
|
|
/test/fips_test_suite.c
|
|
|
|
/test/shatest.c
|
2016-07-08 12:11:43 +00:00
|
|
|
|
|
|
|
##### Generic patterns
|
|
|
|
# Auto generated assembly language source files
|
|
|
|
*.s
|
|
|
|
!/crypto/*/asm/*.s
|
|
|
|
/crypto/arm*.S
|
|
|
|
/crypto/*/*.S
|
|
|
|
*.asm
|
|
|
|
!/crypto/*/asm/*.asm
|
|
|
|
|
|
|
|
# Object files
|
|
|
|
*.o
|
|
|
|
*.obj
|
|
|
|
|
|
|
|
# editor artefacts
|
|
|
|
*.swp
|
|
|
|
.#*
|
|
|
|
\#*#
|
|
|
|
*~
|
|
|
|
|
|
|
|
# Certificate symbolic links
|
|
|
|
*.0
|
|
|
|
|
2017-04-25 16:29:04 +00:00
|
|
|
# All kinds of libraries and executables
|
|
|
|
*.a
|
2016-07-08 12:11:43 +00:00
|
|
|
*.so
|
|
|
|
*.so.*
|
|
|
|
*.dylib
|
|
|
|
*.dylib.*
|
|
|
|
*.dll
|
|
|
|
*.dll.*
|
|
|
|
*.exe
|
|
|
|
*.pyc
|
|
|
|
*.exp
|
|
|
|
*.lib
|
|
|
|
*.pdb
|
|
|
|
*.ilk
|
|
|
|
*.def
|
|
|
|
*.rc
|
|
|
|
*.res
|
|
|
|
|
|
|
|
# Misc generated stuff
|
|
|
|
Makefile.save
|
|
|
|
/crypto/**/lib
|
|
|
|
/engines/**/lib
|
|
|
|
/ssl/**/lib
|
|
|
|
*.bak
|
|
|
|
cscope.*
|
|
|
|
*.d
|
2016-08-03 17:53:21 +00:00
|
|
|
pod2htmd.tmp
|
|
|
|
|
|
|
|
# Windows manifest files
|
|
|
|
*.manifest
|
2017-01-12 13:20:54 +00:00
|
|
|
doc-nits
|