From 2689701590948ff5bfa30e015ee9f18c31bba348 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 26 Oct 2017 09:13:32 +0200 Subject: [PATCH] - up to 0.7 --- avahi-autoipd-sbin_ip.patch | 8 +++++--- avahi.spec | 5 ++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/avahi-autoipd-sbin_ip.patch b/avahi-autoipd-sbin_ip.patch index 256d39a..3cd2e0b 100644 --- a/avahi-autoipd-sbin_ip.patch +++ b/avahi-autoipd-sbin_ip.patch @@ -1,6 +1,6 @@ ---- avahi-0.6.26/avahi-autoipd/avahi-autoipd.action.linux~ 2010-06-25 20:50:59.000000000 +0200 -+++ avahi-0.6.26/avahi-autoipd/avahi-autoipd.action.linux 2010-07-07 11:18:35.704019843 +0200 -@@ -35,19 +35,19 @@ +--- avahi-0.7/avahi-autoipd/avahi-autoipd.action.linux~ 2017-07-10 12:12:38.000000000 +0200 ++++ avahi-0.7/avahi-autoipd/avahi-autoipd.action.linux 2017-10-26 09:10:43.453751871 +0200 +@@ -35,20 +35,20 @@ PATH="$PATH:/usr/bin:/usr/sbin:/bin:/sbi METRIC=$((1000 + `cat "/sys/class/net/$2/ifindex" 2>/dev/null || echo 0`)) @@ -11,8 +11,10 @@ case "$1" in BIND) +- ip addr flush dev "$2" label "$2:avahi" - ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" - ip route add default dev "$2" metric "$METRIC" scope link ||: ++ /sbin/ip addr flush dev "$2" label "$2:avahi" + /sbin/ip addr add "$3"/16 brd 169.254.255.255 label "$2:avahi" scope link dev "$2" + /sbin/ip route add default dev "$2" metric "$METRIC" scope link ||: ;; diff --git a/avahi.spec b/avahi.spec index 463c7e3..f90bcb7 100644 --- a/avahi.spec +++ b/avahi.spec @@ -33,12 +33,12 @@ Summary: Free mDNS/DNS-SD/Zeroconf implementation Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf Name: avahi -Version: 0.6.32 +Version: 0.7 Release: 1 License: LGPL v2.1+ Group: Applications/Networking Source0: https://github.com/lathiat/avahi/archive/v%{version}.tar.gz -# Source0-md5: 0c408c4baa330e751d8731038ca43db0 +# Source0-md5: cf4c062467098b42106ca2a9c0c39fa5 Source1: %{name}-daemon Source2: %{name}-dnsconfd Source3: %{name}.png @@ -800,7 +800,6 @@ fi %dir %{_libdir}/%{name} %{_libdir}/%{name}/service-types.db %{_datadir}/%{name}/avahi-service.dtd -%{_datadir}/%{name}/service-types %{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml %{_mandir}/man1/avahi-set-host-name.1* -- 2.44.0