From ed6d8b81ffc3fd568a96e9a05162d13313cc861a Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 21 Nov 2015 07:58:30 -0600 Subject: [PATCH] enable use-ipv6=yes only for f24+ --- avahi-0.6.32-use_ipv6_no.patch | 12 ++++++++++++ avahi.spec | 8 ++++++++ 2 files changed, 20 insertions(+) create mode 100644 avahi-0.6.32-use_ipv6_no.patch diff --git a/avahi-0.6.32-use_ipv6_no.patch b/avahi-0.6.32-use_ipv6_no.patch new file mode 100644 index 0000000..462cf26 --- /dev/null +++ b/avahi-0.6.32-use_ipv6_no.patch @@ -0,0 +1,12 @@ +diff -up avahi-0.6.32-rc/avahi-daemon/avahi-daemon.conf.use_ipv6_no avahi-0.6.32-rc/avahi-daemon/avahi-daemon.conf +--- avahi-0.6.32-rc/avahi-daemon/avahi-daemon.conf.use_ipv6_no 2015-10-09 19:39:05.000000000 -0500 ++++ avahi-0.6.32-rc/avahi-daemon/avahi-daemon.conf 2015-11-21 07:53:38.332358201 -0600 +@@ -23,7 +23,7 @@ + #domain-name=local + #browse-domains=0pointer.de, zeroconf.org + use-ipv4=yes +-use-ipv6=yes ++use-ipv6=no + #allow-interfaces=eth0 + #deny-interfaces=eth1 + #check-response-ttl=no diff --git a/avahi.spec b/avahi.spec index 99da5cf..f3a8667 100644 --- a/avahi.spec +++ b/avahi.spec @@ -85,7 +85,12 @@ Patch3: 0003-Sets-the-translation-domain-of-builder.patch Patch4: 0004-Sets-the-translation-domain-of-builder-python.patch Patch5: 0005-Fix-Korean-translation-file-name.patch +## downstream patches Patch100: avahi-0.6.30-mono-libdir.patch +# selectively set use-ipv6=yes +%if 0%{?fedora} < 24 +Patch101: avahi-0.6.32-use_ipv6_no.patch +%endif %description Avahi is a system which facilitates service discovery on @@ -673,6 +678,9 @@ exit 0 %{python3_sitelib}/avahi/ %changelog +* Sat Nov 21 2015 Rex Dieter 0.6.32-0.5.rc +- enable use-ipv6=yes only for f24+ + * Thu Nov 19 2015 Rex Dieter 0.6.32-0.4.rc - pull in upstream fixes, translations mostly (#1270332)