From 94596d7c2e5f795184b0207c4cbc5337a5485087360480efcabbc696240f3c45 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 24 Sep 2019 16:46:15 +0000 Subject: [PATCH] Accepting request 732866 from home:marxin:branches:network:utilities - Add tcp_wrappers_7.6-ipv6.fix.fix3.diff in order to fix boo#1149708. OBS-URL: https://build.opensuse.org/request/show/732866 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpd?expand=0&rev=31 --- tcp_wrappers_7.6-ipv6.fix.fix3.diff | 10 ++++++++++ tcpd.changes | 6 ++++++ tcpd.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 tcp_wrappers_7.6-ipv6.fix.fix3.diff diff --git a/tcp_wrappers_7.6-ipv6.fix.fix3.diff b/tcp_wrappers_7.6-ipv6.fix.fix3.diff new file mode 100644 index 0000000..77a7df7 --- /dev/null +++ b/tcp_wrappers_7.6-ipv6.fix.fix3.diff @@ -0,0 +1,10 @@ +--- scaffold.c 2019-09-24 10:22:50.334175241 +0200 ++++ scaffold.c 2019-09-24 10:23:16.773896312 +0200 +@@ -160,7 +160,6 @@ + } + } + res_options = _res.options; +- _res.options |= RES_USE_INET6; + if ((hp1 = gethostbyname2(host, AF_INET6)) != NULL) + hp1 = dup_hostent(hp1); + if ((hp2 = gethostbyname2(host, AF_INET)) != NULL) diff --git a/tcpd.changes b/tcpd.changes index 112da32..c5b3c7f 100644 --- a/tcpd.changes +++ b/tcpd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 24 08:25:45 UTC 2019 - Martin Liška + +- Add tcp_wrappers_7.6-ipv6.fix.fix3.diff in order to fix + boo#1149708. + ------------------------------------------------------------------- Fri Aug 2 08:23:22 UTC 2019 - Martin Liška diff --git a/tcpd.spec b/tcpd.spec index 9013ff7..1c75620 100644 --- a/tcpd.spec +++ b/tcpd.spec @@ -61,6 +61,7 @@ Patch30: tcp_wrappers_%{version}-ipv6-sockaddr-storage.patch Patch31: tcp_wrappers_%{version}-ipv6-subnet.diff Patch32: tcp_wrappers_%{version}-ipv6-host-match.patch Patch33: tcp_wrappers_%{version}-ipv6-mapped-v4.patch +Patch34: tcp_wrappers_%{version}-ipv6.fix.fix3.diff BuildRequires: linux-kernel-headers Provides: nkitb:%{_sbindir}/tcpd # bug437293 @@ -133,6 +134,7 @@ to compile and link programs against the TCP wrapper library. %patch31 %patch32 -p1 %patch33 -p1 +%patch34 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects