mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
- fix build with LibreSSL [1] 20160601 Cleanup: moved parsing of '!' operators from cidr_match.c to dict_cidr.c. Files: util/cidr_match.[hc], util/dict_cidr.c, util/match_ops.c. 20160604 Cleanup: made parsing of '!' operators in regexp and pcre tables consistent with cidr tables. Files: util/dict_regexp.c, util/dict_pcre.c. 20160605 Cleanup: integer wrap-around detection in the MySQL and PostgreSQL clients. This is totally non-critical because Postfix strings are size-limited by design. Files: global/dict_mysqql.c, global/dict_pgsql.c. 20160607 Documentation: dnsblog. 20160609 Documentation: postsuper(1) manpage text for multiple -[dhH] options. File: postsuper/postsuper.c. 20160611 Cleanup: Postfix SMTP server local IP address and port attributes in the policy delegation protocol (attribute names: server_address, server_port), in the Milter protocol (macro names: {daemon_addr}, {daemon_port}) and in the XCLIENT protocol (attribute names: DESTADDR, DESTPORT). Files: proto/MILTER_README.html, proto/SMTPD_POLICY_README.html, cleanup/cleanup.h, cleanup/cleanup_milter.c, global/mail_proto.h, milter/milter.h, smtpd/smtpd.c, smtpd/smtpd.h, smtpd/smtpd_check.c, smtpd/smtpd_haproxy.c, smtpd/smtpd_milter.c, smtpd/smtpd_peer.c. 20140612 Bugfix: missing server address/port conversion. File: smtpd/smtpd_peer.c. Submitted by: brnrd@ [1] Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/ [1]
14 lines
546 B
C
14 lines
546 B
C
# fix build against LibreSSL
|
|
# Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/
|
|
#
|
|
--- src/tls/tls.h.orig 2016-02-06 20:09:41 UTC
|
|
+++ src/tls/tls.h
|
|
@@ -89,7 +89,7 @@ extern const char *str_tls_level(int);
|
|
#endif
|
|
|
|
/* Backwards compatibility with OpenSSL < 1.1.0 */
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
#define OpenSSL_version_num SSLeay
|
|
#define OpenSSL_version SSLeay_version
|
|
#define OPENSSL_VERSION SSLEAY_VERSION
|