Bug 22319

Summary: advertising itself for zeroconf (dnssd) and using other dnssd published printers
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: cupsAssignee: Fr. Br. George <george>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P3 CC: aen, boyarsh, george, ildar, lav, mike, morozov, rider, sin
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2009-11-17 15:32:28 MSK
cups-1.4.2-alt0.M51.1

It'd be nice if cups advertised itself for zeroconf (a use case: http://blog.venthur.de/2007/08/17/howto-setup-a-print-server-for-windows-and-others-using-cups-and-zeroconf/ ).

But, as it can be seen in the "Advanced" view of https://localhost:631/admin in cups-1.4.2-alt0.M51.1, "dnssd" protocol is not available as a "Browse*Protocol" option.

Perhaps, that's because CUPS hasn't been compiled with avahi -- https://bugs.launchpad.net/ubuntu/+source/cups/+bug/465916/comments/1 .

dnssd advertising didn't work either in cups-1.3.9-alt2.
Comment 1 Ivan Zakharyaschev 2009-11-17 15:37:20 MSK
(In reply to comment #0)

> dnssd advertising didn't work either in cups-1.3.9-alt2.

I tested it by switching it on in the web interface or in /etc/cups/cupsd.conf, and then looking through " avahi-browse -a" or "avahi-discover".
Comment 2 Alexey Morozov 2010-04-20 11:26:37 MSD
Собранный в АльтЛинукс cups не поддерживает Avahi, ведущую реализацию протокола dnssd под Linux

В http://git.altlinux.org/people/morozov/packages/cups.git?p=cups.git;a=shortlog;h=refs/heads/alm есть подготовленный пакет с патчем имени RH/Fedora, который решает эту проблему. Пакет выглядит работающим (с моей точки зрения)

Кроме того, следует подумать об инкорпорировании других патчей из Fedora, некоторые из них выглядят небесполезными.

The cups package in ALTLinux doesn't support Avahi, the leading DNSSD protocol implementation under Linux.

There's a prepared package in http://git.altlinux.org/people/morozov/packages/cups.git?p=cups.git;a=shortlog;h=refs/heads/alm with RH/Fedora-originated patch to solve this problem. The package looks working, at least for me.

BTW one should consider other patches from RH/Fedora as well, at least some of them worth attention.
Comment 3 Michael Shigorin 2010-04-25 00:14:11 MSD
Давайте-ка с этим на сизифный пакет, чтоб не потерялось.
Comment 4 Evgeny Sinelnikov 2013-07-12 04:08:42 MSK
*** Bug 29118 has been marked as a duplicate of this bug. ***
Comment 5 Fr. Br. George 2013-10-21 15:25:03 MSK
It seems like current CUPS 1.6.2 does this already