mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 11:40:31 -04:00
mail/opensmtpd: - Update to 5.4.4p1 - Add LIBASRDEVEL option to depend on dns/libasr-devel - Use OpenSSL from ports, should help with migration to LibreSSL - Explicitly provide path to OpenSSL[1] mail/opensmtpd-devel: - Update to 201502012312 - Add LIBASR option to depend on dns/libasr - Remove MYSQL, PGSQL, LDAP, and REDIS options as they're removed upstream - Add a note for above to UPDATING - Explicitly provide path to OpenSSL[1] - Add a diff to fix build failure on FreeBSD[2] Reported by: TJ <tj at mrsk.me> (via private email) Submitted by: Herbert J. Skuhra <herbert at oslo.ath.cx> (via list)
20 lines
350 B
C
20 lines
350 B
C
|
|
$FreeBSD$
|
|
|
|
Fix for a build failure, taken from
|
|
|
|
http://article.gmane.org/gmane.mail.opensmtpd.general/2291
|
|
|
|
--- openbsd-compat/defines.h.orig
|
|
+++ openbsd-compat/defines.h
|
|
@@ -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
|