If the user passed `-ip` they almost certainly want to use it, even if
they also passed `-if` and `-web`.
Similarly, if the user passed `-if` they almost certainly want to use
it even if they also passed `-web`.
This allows us to use the `//` and `//=` operators.
v5.10.1 was chosen because that is the oldest version of Perl among
all currently supported releases of Ubuntu, CentOS, RHEL, Fedora, and
Debian.
Create a document whose main purpose is to describe notable changes
between released versions. Populate it with the contents of
RELEASENOTE over time and the entries from ChangeLog and
Changelog.old.
For recent releases, the full announcement text can still be found at
https://github.com/ddclient/ddclient/releases
* Add the `m` modifier because the `$headers` variable can contain
multiple headers. If `$headers` contains a Content-Type header but
it is the second or later header then the regex won't match
without `m`.
* Add the `i` modifier because RFC 7230 says that header field names
are case-insensitive.
* Don't require a space after the colon because RFC 7230 says that
the space is optional.
Create a document that describes notable changes between released
versions. Populate it with the contents of RELEASENOTE over time, and
delete RELEASENOTE as it is now redundant. (The full announcements can
still be found at https://github.com/ddclient/ddclient/releases.)
The name NEWS.md was chosen because it is the convention, and because
Debian policy says documents of this nature must be installed at
/usr/share/doc/ddclient/NEWS.gz. For details, see:
https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes
* Remove interpolations from the format specifier (in case the
variable contains a `%` character).
* Match the number of arguments to the number of `%` substitutions
in the format specifier.
There's not much point in writing a PID file if the user does not want
to fork. (The process executing ddclient already knows the PID, so it
can save it to a file if desired.)
This change is a prerequisite to using Proc::Daemon to fix the buggy
daemonization logic.