1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/print/hplip
Tijl Coosemans 0248b27409 Fix mDNS support for network printers.
At least on FreeBSD 13, SO_REUSEPORT is no longer sufficient when Avahi
already uses port 5353.  It seems that port reuse is only allowed for
processes from the same user now.  But even if Avahi is not running and
port 5353 is available my printer still failed to be detected.  According
to RFC 6762 only fully compliant queriers should be using that port which
HPLIP isn't.  I suspect the printer is sending responses that HPLIP can't
parse.  Patch HPLIP to use a simple socket (dynamically allocated port)
which is enough for the one-shot mDNS queries it performs.

Now my printer is detected by "hp-probe --method=mdns" and xsane can find
the scanner part using the hpaio plugin.

PR:		247723
Approved by:	maintainer timeout (19 days)
2020-07-21 19:00:39 +00:00
..
files Fix mDNS support for network printers. 2020-07-21 19:00:39 +00:00
distinfo print/hplip[-plugin]: update to 3.20.3 release 2020-04-27 11:13:32 +00:00
Makefile Fix mDNS support for network printers. 2020-07-21 19:00:39 +00:00
pkg-descr
pkg-plist print/hplip and print/hplip-plugin: Update to 3.19.12 2019-12-23 09:53:38 +00:00