From: Mark Wooding Date: Sat, 30 Apr 2022 19:54:48 +0000 (+0100) Subject: .gitignores: Organize and clean up. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/01386fc8db473eac03c5aaaa53f3790cde319a76 .gitignores: Organize and clean up. Divide into sections and add headings; add leading `/' to patterns which are only expected to match in the same directory as the `.gitignore' file; and add trailing `/' to patterns which should match directories. --- diff --git a/.gitignore b/.gitignore index 9c2b37dd..3a327810 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,22 @@ +## Pervasive build machinery. Makefile.in -/aclocal.m4 -/configure + +## Additional kinds of object files. +*.sage.py +*.t +*.to + +## Other common files. /COPYING.LIB + +## Top-level generated files. +/aclocal.m4 /autom4te.cache/ /config/ +/configure /precomp/ -*.sage.py -*.t -*.to + +## m4 configuration macros installed by `aclocal' and `libtoolize'. +/m4/ax_*.m4 +/m4/libtool.m4 +/m4/lt*.m4 diff --git a/debian/.gitignore b/debian/.gitignore index 4b961cd8..c5fc5164 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -1,10 +1,13 @@ -files -tmp -substvars -*.substvars -*.debhelper -catacomb -catacomb-bin -catacomb-data -catacomb-dev -catacomb2 +## General stuff. +/build/ +/files +/substvars +/tmp/ +/*.debhelper +/*.substvars + +## Individual packages. +/catacomb-bin/ +/catacomb-data/ +/catacomb-dev/ +/catacomb2/ diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index 94f2b516..00000000 --- a/m4/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -libtool.m4 -lt*.m4 diff --git a/pub/.gitignore b/pub/.gitignore new file mode 100644 index 00000000..769d67fa --- /dev/null +++ b/pub/.gitignore @@ -0,0 +1,2 @@ +## Generated test vector files. +/t/ed25519 diff --git a/pub/t/.gitignore b/pub/t/.gitignore deleted file mode 100644 index 1da7fc04..00000000 --- a/pub/t/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ed25519 diff --git a/symm/.gitignore b/symm/.gitignore index 5c18b126..689f11d0 100644 --- a/symm/.gitignore +++ b/symm/.gitignore @@ -1,41 +1,11 @@ -/modes/ +## Generated modes. /modes.am +/modes/ + +## Stub implementation files. /stubs.am /stubs.gen-stamp -/t/salsa20 -/t/sha3 - -/sha224.c -/sha224.h -/sha384.h -/sha384.c -/sha512-224.c -/sha512-224.h -/sha512-256.c -/sha512-256.h - -/safersk.c -/safersk.h - -/whirlpool256.c -/whirlpool256.h - -/sha3-224.c -/sha3-224.h -/sha3-256.c -/sha3-256.h -/sha3-384.c -/sha3-384.h -/sha3-512.c -/sha3-512.h -/kmac128.h -/kmac256.h -/shake128.h -/shake256.h -/shake128-xof.h -/shake256-xof.h - /chacha20.h /chacha12.h /chacha8.h @@ -53,6 +23,11 @@ /chacha12-poly1305.h /chacha8-poly1305.h +/kmac128.h +/kmac256.h + +/safersk.[ch] + /salsa2012.h /salsa208.h /salsa20-ietf.h @@ -67,3 +42,29 @@ /salsa20-poly1305.h /salsa2012-poly1305.h /salsa208-poly1305.h + +/sha224.[ch] +/sha384.[ch] +/sha512-224.[ch] +/sha512-256.[ch] + +/sha3-224.[ch] +/sha3-256.[ch] +/sha3-384.[ch] +/sha3-512.[ch] + +/shake128.h +/shake256.h +/shake128-xof.h +/shake256-xof.h + +/whirlpool256.[ch] + +## Generated test vector files. +/t/cast256 +/t/mars +/t/rijndael +/t/salsa20 +/t/serpent +/t/sha3 +/t/twofish diff --git a/symm/t/.gitignore b/symm/t/.gitignore deleted file mode 100644 index 88cf4713..00000000 --- a/symm/t/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -cast256 -mars -rijndael -serpent -twofish