We also expose _sftp-ssh._tcp via /etc/avahi/services/openssh.service from openssh-server

This commit is contained in:
Mikhail Novosyolov 2019-04-12 16:03:45 +03:00
parent f575f71ecf
commit 132fda6e9a

View file

@ -67,7 +67,7 @@
Summary: Avahi service discovery (mDNS/DNS-SD) suite
Name: avahi
Version: 0.6.32
Release: 4
Release: 5
License: LGPLv2+
Group: System/Servers
Url: http://avahi.org/
@ -692,7 +692,9 @@ grep -q '^publish-workstation=yes' \
grep -q '^use-ipv6=no' \
%{buildroot}/%{_sysconfdir}/%{name}/avahi-daemon.conf || exit 1
# We have a seperate Avahi service in openssh package
rm -f %{buildroot}/%{_sysconfdir}/%{name}/services/ssh.service
rm -f %{buildroot}/%{_sysconfdir}/%{name}/services/sftp-ssh.service
ln -s avahi-compat-howl.pc %{buildroot}%{_libdir}/pkgconfig/howl.pc
%if "%{_lib}" != "lib" && %{with mono}
mkdir -p %{buildroot}%{_prefix}/lib