SHA256
1
0
forked from pool/postfix

Accepting request 732857 from home:marxin:branches:server:mail

- Backport deprecated-RES_INSECURE1.patch in order to fix
  boo#1149705.

OBS-URL: https://build.opensuse.org/request/show/732857
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=350
This commit is contained in:
Peter Varkoly 2019-09-25 09:37:32 +00:00 committed by Git OBS Bridge
parent 566b0da6bd
commit f801426f8b
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,33 @@
diff --git a/postfix/src/dns/dns_str_resflags.c b/postfix/src/dns/dns_str_resflags.c
index 5f2cce5e0..472394c3a 100644
--- a/postfix/src/dns/dns_str_resflags.c
+++ b/postfix/src/dns/dns_str_resflags.c
@@ -52,18 +52,28 @@
static const LONG_NAME_MASK resflag_table[] = {
"RES_INIT", RES_INIT,
"RES_DEBUG", RES_DEBUG,
+#ifdef RES_AAONLY
"RES_AAONLY", RES_AAONLY,
+#endif
"RES_USEVC", RES_USEVC,
+#ifdef RES_PRIMARY
"RES_PRIMARY", RES_PRIMARY,
+#endif
"RES_IGNTC", RES_IGNTC,
"RES_RECURSE", RES_RECURSE,
"RES_DEFNAMES", RES_DEFNAMES,
"RES_STAYOPEN", RES_STAYOPEN,
"RES_DNSRCH", RES_DNSRCH,
+#ifdef RES_INSECURE1
"RES_INSECURE1", RES_INSECURE1,
+#endif
+#ifdef RES_INSECURE2
"RES_INSECURE2", RES_INSECURE2,
+#endif
"RES_NOALIASES", RES_NOALIASES,
+#ifdef RES_USE_INET6
"RES_USE_INET6", RES_USE_INET6,
+#endif
#ifdef RES_ROTATE
"RES_ROTATE", RES_ROTATE,
#endif

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 24 07:59:04 UTC 2019 - Martin Liška <mliska@suse.cz>
- Backport deprecated-RES_INSECURE1.patch in order to fix
boo#1149705.
-------------------------------------------------------------------
Thu Sep 19 06:20:48 UTC 2019 - Peter Varkoly <varkoly@suse.com>

View File

@ -74,6 +74,7 @@ Patch7: %{name}-ssl-release-buffers.patch
Patch8: %{name}-vda-v14-3.0.3.patch
Patch9: fix-postfix-script.patch
Patch10: %{name}-avoid-infinit-loop-if-no-permission.patch
Patch11: deprecated-RES_INSECURE1.patch
BuildRequires: ca-certificates
BuildRequires: cyrus-sasl-devel
BuildRequires: db-devel
@ -175,6 +176,7 @@ PostgreSQL.
%patch8
%patch9
%patch10
%patch11 -p2
# ---------------------------------------------------------------------------