|
+ All copyright dates now declare yyyy-2017.
+ For LGPL files, use the current form of the license grant, with a
URL for the FSF, rather than a street address.
+ For files written by Zack Weinberg in 2017 with no other potential
copyright holders, use the CC0 public domain dedication rather than
Solar Designer's ad-hoc public domain dedication.
+ Add some form of copyright and license statement to the head of
every file, except libcrypt.map.in and libcrypt.minver (which are
tables of historical facts and therefore not copyrightable) and
test-*.c (I don't know enough about who wrote these and what their
intentions were).
+ Correct license grant for the files originally written by Thorsten
Kukuk from GPL (v2, only) to LGPL (v2.1, or later). This seems to
have been a mistake at the time the files were created. The
library-as-a-whole has always been described as LGPLed.
+ Make LICENSING a comprehensive short index: these files are LGPL,
these are 3-clause-BSD, these are public domain, etc., rather than
a laundry list of license grants that applied at one time to some
part of the library.
|
|
This allows us to cleanly use <sys/cdefs.h>'s definitions of
__BEGIN_DECLS, __END_DECLS, __THROW, and __nonnull, with fallbacks if
the header doesn't exist or doesn't provide the expected set of
declarations.
* crypt.h: Rename to crypt-base.h. Replace header and trailer
with marker comments.
* crypt-private.h: Include crypt-base.h and stddef.h, not crypt.h.
* crypt-symbols.h: Based on configure results, conditionally
include sys/cdefs.h and define __THROW and __nonnull.
* test-crypt-bcrypt.c, test-crypt-des.c, test-crypt-md5.c
* test-crypt-sha256.c, test-crypt-sha512.c, test-gensalt.c
* test-des-obsolete.c: Include crypt-base.h, not crypt.h.
* crypt-obsolete.h: Include crypt-base.h, not crypt.h.
Remove extern "C" wrapper and all uses of __THROW; this header is
not installed and never used from C++.
* gen-crypt-h.awk: New build script.
* Makefile.am (crypt.h): Generate from crypt-base.h and config.h,
using gen-crypt-h.awk.
* configure.ac: Add checks for sys/cdefs.h and the macros we
want from it.
(AC_CONFIG_SRCDIR): Key off crypt.c instead.
|