Closed TomasKorbar closed 4 years ago
Wow... Thanks!
Accidentially filed same bug to SourceForge and Debian on this, but that configure
has that inability to detect the file/file.h
for strlcat/strlcpy
C declarators and is still an issue with 2.11.0-alpha-8 (Debian variant).
Perhaps, updating the opendkim to point to a NEWER "bugzilla" location/URL?
References:
@egberts This pull request does not fix a bug, it is a proposal to get rid of a dependency. It is a preference not something strictly necessary.
I fixed my issue by installing libbsd-dev, Debian package.
@egberts This pull request does not fix a bug, it is a proposal to get rid of a dependency. It is a preference not something strictly necessary.
Yes
I fixed my issue by installing libbsd-dev, Debian package.
Of course. This is just a way how to build OpenDKIM without that dependency:)
The dependency is there so that we don't have to maintain a separate implementation of these functions. Although we don't specifically target any distributions... the Trusted Domain Project does strive to maintain compatibility, maintainability, and security as much as possible.
The dependency on libbsd-dev is there as designed and will remain for now. If we need to change that in the future, this PR may help, but it will not be merged in.
Add implementations of strlcpy and strlcat to opendkim
Implementations were taken from libbsd to maintain compatibility.
List of changes and their justification:
configure
configure.ac
libopendkim/Makefile.am
opendkim/Makefile.am
*.c files