1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Sven Eckelmann
bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Luiz Angelo Daros de Luca
7dd2e1776e sane-backends: rebind printers to usblp after scan
While scanning, sane unbinds usb device from usblp module. This
patch creates a saned wrapper that keep track of all usb devices
binded to usblp before saned is launched and rebind them back
if not still bound after saned exits.

This workaround is only effective if saned is launched by a super
daemon like xinetd as it needs to exit after scan job finish. If
not, printing will not be available while saned service is running.

Write access to /sys/bus/usb/drivers/usblp/bind is required. So,
normally it would require root access.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-05-02 03:31:45 -03:00
Luiz Angelo Daros de Luca
82fa9f35c5 sane-backends: add PKG_CPE_ID id
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-08-26 02:29:03 -03:00
Luiz Angelo Daros de Luca
c4a25df0c6 sane-backends: fix libusb dependency
libusb-compat was still required by package but sane was already
builing and linking libusb-1.0. It was working because libusb-compat
requires libusb-1.0.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-06-28 00:36:54 -03:00
Sebastian Muszynski
859d441761 sane-backends: Make sane-backends.pc available
Signed-off-by: Sebastian Muszynski <basti@linkt.de>
2018-05-01 16:56:35 +02:00
Luiz Angelo Daros de Luca
275bc8edcf sane-backends: bump to 1.0.27
Fixes CVE-2017-6318

Patches where refreshed and the following removed:
- 020-fix_pieusb.patch: fixed upstream
- 030-musl.patch: accepted upstream

PS: there was no sane-backends 1.0.26

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-05-31 00:18:23 -03:00
Luiz Angelo Daros de Luca
5df4a3c6e2 sane-backends: add missing config file
/etc/xinetd.d/sane-port is a config file.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-04-12 02:51:06 -03:00
Luiz Angelo Daros de Luca
0bab5a449e sane-backends: minor Makefile text typo
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-01-03 01:06:24 -02:00
Luiz Angelo Daros de Luca
aa48cd404a sane-backends: select all backends when CONFIG_ALL
sane-xxx backend packages are hidden packages with custom
config and CONFIG_ALL does not select them alone. Now
sane-backends depends on +ALL:sane-backends-all.

No existing ipk is affected as the changed package/sane-backends
does not exist as an ipk.

030-musl.patch was updated to be submitted upstream. However,
the added preprocessor #if are always true for OpenWRT and will
not change the resulting code.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-10-26 14:17:28 -02:00
Luiz Angelo Daros de Luca
e8e9196a30 sane-backends: import from oldpackages and update
Changes since oldpackages:
- updated to 1.0.25
  * most of openwrt patches are upstreamed now
- cups dependency was completely removed
- small musl patch
- small uclibc patch
- removed link to extra libraries in libsane (used only
  for preload backends)
- sane-libs and sane-backends merged and exploded into
  individual packages for each backend:
  * libsane for sane library (which backends should dep on)
  * sane-daemon for saned daemon
  * sane-xxx for sane backend for xxx
  ** each backend has its own custom dep libraries
  * sane-backends-all (with no files) that deps on all backends
  * sane-qcam is only available for x86/x86_64
  ** other archs does not implement inb/outb (at least in musl)

Now it is possible to use SANE with much less FS space (KB
instead of MB).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-10-11 00:39:22 -03:00
Luiz Angelo Daros de Luca
38d34e7eae Revert "sane-backends: import from oldpackages" 2015-09-15 19:15:57 -03:00
Luiz Angelo Daros de Luca
e11fbf71f7 sane-backends: import from oldpackages
Changes since oldpackages:
- cups dependency was completely removed
  * This also happened in sane trunk version
- small musl patch
- added detection of inb,outb (link error with musl)
  * this also removes hack 020-non-i386-qcam.patch
- fix for segfault when using sane-test backend
- removed link to extra libraries in libsane (used only
  for preload backends)
- added format-security fix
- sane-libs and sane-backends merged and exploded into
  individual packages for each backend:
  * libsane for sane library (which backends should dep on)
  * sane-daemon for saned daemon
  * sane-xxx for sane backend for xxx
  ** each backend has its own custom dep libraries
  * sane-backends-all (with no files) that deps on all backends
  * sane-qcam is only available for x86/x86_64
  ** other archs does not implement inb/outb (at least in musl)

Now it is possible to use SANE with much less FS space (KB
instead of MB).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-09-10 18:39:40 -03:00