Subject: CVS commit: pkgsrc/graphics/sane-backends
From: Leonardo Taccari
Date: 2020-06-13 22:54:33
Message id: 20200613205433.1FAC2FB27@cvs.NetBSD.org

Log Message:
sane-backends: Update to 1.0.30

pkgsrc changes:
 - sane-backends seems now make jobs safe
 - Add dependency to c++11 for genesys backend
 - Remove no longer needed patch-backend_epsonds.c: now sys/time.h is included
 - Use BJNP_HOST_MAX instead of non-portable/POSIX HOST_NAME_MAX via
   patch-backend_pixma_pixma__bjnp.c
 - Update MASTER_SITES and remove it from Makefile.common: the current one is
   specific to sane-backends

Changes:
1.0.30
------
This release fixes several security related issues and a build issue.

### Backends
- `epson2`: fixes CVE-2020-12867 (GHSL-2020-075) and several memory
  management issues found while addressing that CVE
- `epsonds`: addresses out-of-bound memory access issues to fix
  CVE-2020-12862 (GHSL-2020-082) and CVE-2020-12863 (GHSL-2020-083),
  addresses a buffer overflow fixing CVE-2020-12865 (GHSL-2020-084)
  and disables network autodiscovery to mitigate CVE-2020-12866
  (GHSL-2020-079), CVE-2020-12861 (GHSL-2020-080) and CVE-2020-12864
  (GHSL-2020-081).  Note that this backend does not support network
  scanners to begin with.
- `magicolor`: fixes a floating point exception and uninitialized data
  read
- fixes an overflow in `sanei_tcp_read()`

### Build
- fixes a build issue where linker flags would become link time
  dependencies (#239)

1.0.29
------
### Backends
- adds an `escl` backend (theoretically supporting *all* AirPrint
  devices with a scan unit)
- adds support for 23 new scanner models via existing backends
- significantly changes `genesys` and `pixma` backends
- fixes bugs in `canon_dr`, `fujitsu`, `hp3900`, `mustek_usb2`,
  `plustek` and `xerox_mfp` backends
- fixes *all* compiler warnings on Debian 10 (#120)
- fixes portability issues for uClibc-ng and MacOS builds
- adds support to record and replay USB I/O traffic
- adds timestamps to debug logs

### Frontends
- fixes a 32-bit arithmetic overflow issue in `scanimage`

### Documentation
- updates translations for British English, Catalan, German,
  Ukrainian, Valencian
- adds `scangearmp2` external backend descriptions
- updates `hpaio` and `utsushi` external backend descriptions
- adds the `ChangeLogs/` directory to the source tarball (#103)

### Build
- additionally requires `libcurl` and `libxml2` to build the `escl`
  backend
- requires `libxml2` for USB I/O recording and replay functionality
- re-enables pthread support for backends that use its API directly,
  irrespective of the `pthread_t` type (#153)
- moves the `genesys` and `pixma` backends to a directory of their own

1.0.28
------
### Backends
- adds a `ricoh2` backend
- adds support for 40+ new scanner models
- significantly changes `canon_dr`, `fujitsu`, `genesys`, `gt68xx`,
  `hp5590` and, `pixma` backends
- fixes bugs in `as6e`, `avision`, `mustek` and `plustek` backends
- fixes scores of compiler warnings

### Frontends
- adds, changes and removes options for `saned` (see `man 8 saned` for
  details)
  - adds: `-l` (listen), `-D` (daemonize), `-o` (once), `-e` (stderr),
    `-u` (user)
  - removes: `-s` (syslog).
    Use `-a -d level -o -f` for the old behavior
  - changes: `-d` (debug).
    Use `-a -d level -o -f -e` for the old behavior
- `saned` now cancels scans if the data connections appears to have
  gone away (after 4 seconds by default, configurable in `saned.conf`)
- adds `--output-file` option to `scanimage`
- adds `--help` option to `scan-find-scanner`
- changes `sane-desc` to create relative hyperlinks

### Documentation
- adds translations for Catalan, Hebrew and Valencian
- updates translations for British English, Dutch, German and
  Ukrainian
- marks unmaintained backends as such
- documents USB workaround in `sane-usb` manual page

### Build
- requires a C++11 compatible compiler for the `genesys` backend
- requires a JPEG library when building the `pixma` backend
- fixes unneeded linking when not using preloadable backend support
- disables pthread support for systems with non-integral `pthread_t`
  type
- fixes USB support detection on BeOS and OS/2 at `./configure` time
- normalizes trailing whitespace in source code files.  If you have
  local patches that no longer apply, have a look at the whitespace
  ignoring options of `patch` and `git apply`.

Files:
RevisionActionfile
1.73modifypkgsrc/graphics/sane-backends/Makefile
1.35modifypkgsrc/graphics/sane-backends/Makefile.common
1.35modifypkgsrc/graphics/sane-backends/PLIST
1.47modifypkgsrc/graphics/sane-backends/distinfo
1.1addpkgsrc/graphics/sane-backends/patches/patch-backend_pixma_pixma__bjnp.c
1.1removepkgsrc/graphics/sane-backends/patches/patch-backend_epsonds.c