Revise email_addresses and rename it to directory_email_addresses
authorJacob Bachmeyer <jcb@gnu.org>
Fri, 28 Oct 2022 04:13:55 +0000 (23:13 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Fri, 28 Oct 2022 04:13:55 +0000 (23:13 -0500)
commita10091b9b091f7d7a8648d1f52e7823fd7f9fdcc
tree5102ccaa8d475e47f45a99dc739de4d85ba08cd6
parentcad155aa991f0c1dacbbceb095c4bf1d3ba84410
Revise email_addresses and rename it to directory_email_addresses

This also adds a new feature:  email addresses can be registered only for
certain subdirectories belonging to a package if desired, by listing them
in an "email" file at the corresponding location in the configuration tree.
This uses the same code as is used to locate authorized keyrings.

The use of pattern matching to extract email addresses is a precaution,
although observant readers may notice that the patterns are very lax.
Perl taint mode checks do not require this, since the email addresses will
be written to a socket rather than passed as command arguments, and hash
keys, used here for efficient de-duplication, do not carry taintedness.
gatekeeper.pl