Commit Graph

2 Commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca 794c950b32 sane-backends: run (xinetd) saned as non-root
saned requires write access scanner USB bus for its process and
to usblp/bind in order to rebind multifunctional printers back
to usblp (for printing with p910nd).

A hotplug script monitor new USB devices for scanners. Scanners
are detected by searching /usr/share/sane/<vendor>-<backend>.usbid
for the device product_id.

The package saned creates user saned:scanners. Access is granted to
group scanners.

The default xinetd conf was updated to run as saned:scanner.

sane-daemon pkg now has a postinst trigger that runs udevtrigger for
granting perms where there are connected scanners during installation.

Existing hotplug scripts from hplip were removed. They were mostly
useless.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-12-21 20:44:56 -03:00
Luiz Angelo Daros de Luca 623d66853b sane-backends: update to 1.0.28 (WIP)
Just Need runtime tests

* libsane dependency on libusb moved to those drivers that requires it
* clean up some ./configure args
* added saned-ricoh2 for new backend
* enabled saned-gphoto2 (after c8fbe26c53)
* disabled kvs40xx and mustek_usb2 that requires pthread while the issue is
not solved (https://gitlab.com/sane-project/backends/issues/153)
* patches refreshed:
 - 002-remove-uneeded.patch
* patches dropped:
 - 031-fix_uclibc.patch
 - 050-remove_linked_libs_for_unused_preload.patch (with --disable-preload)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-11-01 04:21:14 -03:00