Fix build problems on systems that don't have blacklistd. Since

this is a build fix, no PKGREVISION bump is needed.
This commit is contained in:
jnemeth 2019-07-26 19:33:33 +00:00
parent fe3660e601
commit 8ddc076ee6
2 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.60 2019/07/15 05:30:33 jnemeth Exp $
$NetBSD: distinfo,v 1.61 2019/07/26 19:33:33 jnemeth Exp $
SHA1 (sendmail.8.15.2.tar.gz) = 5801d4b06f4e38ef228a5954a44d17636eaa5a16
RMD160 (sendmail.8.15.2.tar.gz) = 1fe2210e1ded1fe2ee640fceb1de29f19ceaa8e4
@ -34,7 +34,7 @@ SHA1 (patch-bk) = 0b0b85fb6c5c80c8419c783dc3e35d28edbdb70b
SHA1 (patch-bl) = 4fff262691deb2fcacf5013bfeb5aede45783dcd
SHA1 (patch-bm) = b1ec82ab5a97c2dc7f7230d31e47c89b7b5ac1d9
SHA1 (patch-bn) = 3af37c9d3523d6093181ae3b7d4c25bc8173b7f9
SHA1 (patch-bo) = b92941be46a3dc86226a774b5df31ce62e9fbc17
SHA1 (patch-bo) = f5bc3abd58f2d0dd89929ea4aed2abd0e2993df5
SHA1 (patch-bp) = 9a1daac264aba6c4fc39a63a464b942dd25b06eb
SHA1 (patch-bq) = 548bf6d373cb49958437548a65803b6f3c6b35d2
SHA1 (patch-br) = 1f0b9716906b91ce2b867bf65e5c06ad16749e36

View file

@ -1,21 +1,23 @@
$NetBSD: patch-bo,v 1.1 2019/07/15 04:32:49 jnemeth Exp $
$NetBSD: patch-bo,v 1.2 2019/07/26 19:33:33 jnemeth Exp $
--- sendmail/sendmail.h.orig 2015-06-19 12:59:29.000000000 +0000
+++ sendmail/sendmail.h
@@ -57,6 +57,8 @@ SM_UNUSED(static char SmailId[]) = "@(#)
@@ -57,6 +57,10 @@ SM_UNUSED(static char SmailId[]) = "@(#)
#endif /* _DEFINE */
#include "bf.h"
+#ifdef USE_BLACKLIST
+#include <blacklist.h>
+#endif
+#include "blacklist_client.h"
#include "timers.h"
#include <sm/exc.h>
#include <sm/heap.h>
@@ -2544,6 +2546,10 @@ EXTERN int ConnectionRateWindowSize;
@@ -2544,6 +2548,10 @@ EXTERN int ConnectionRateWindowSize;
EXTERN bool SSLEngineInitialized;
#endif /* STARTTLS && USE_OPENSSL_ENGINE */
+#if USE_BLACKLIST
+#ifdef USE_BLACKLIST
+EXTERN bool UseBlacklist;
+#endif
+