On Sun, Feb 01, 2015 at 11:06:00PM +0100, gilles chehade wrote:
> A new opensmtpd portable snapshot is available at:
>
> http://www.opensmtpd.org/archives/opensmtpd-201502012312p1.tar.gz
>
> Checksum:
>
> SHA256 (opensmtpd-201502012312p1.tar.gz) =
> e35b30861ac65c280b6c705bda9dad0f82eb846a1064e46bb18b4a3a1c78c2df
>
> A summary of the content of this snapshot is available below.
>
> Please test and let us know if it breaks something!
>
> If this snapshot doesn't work, please also test with a previous one,
> to help us spot where the issue is coming from. You can access all
> previous snapshots here:
>
> http://www.opensmtpd.org/archives/
>
> The OpenSMTPD team ;-)
Build fails on FreeBSD because HOST_NAME_MAX is undefined:
In file included from ../../smtpd/aliases.c:41:
../../smtpd/smtpd.h:141:16: error: use of undeclared identifier 'HOST_NAME_MAX'
char hostname[HOST_NAME_MAX+1];
[...]
--- openbsd-compat/defines.h.orig 2015-02-05 07:05:17.356087970 +0100
+++ openbsd-compat/defines.h 2015-02-05 07:07:29.819078737 +0100
@@ -79,6 +79,10 @@
# define MAXHOSTNAMELEN 64
#endif
+#ifndef HOST_NAME_MAX
+# define HOST_NAME_MAX 255
+#endif
+
#ifndef LOGIN_NAME_MAX
# define LOGIN_NAME_MAX 9
#endif
--
Herbert
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]