FreeBSD Ports

graphics/sane-backends 1.4.0_3

API for accessing scanners, digital cameras, frame grabbers, etc

Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2+
Categories
graphics
Package size
3909.1 KiB, 18629.0 KiB installed

Description

SANE ("Scanner Access Now Easy") is a universal scanner interface. This package contains the SANE libraries (this means backends and network scanning parts) and the command line frontend scanimage.

Install

As a binary package — by origin, or by package name:

pkg install graphics/sane-backends
pkg install sane-backends

From the ports tree:

cd /usr/ports/graphics/sane-backends/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sane-backends>0:graphics/sane-backends
LIB_DEPENDS=	libsane.so:graphics/sane-backends

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.0_31.4.0_31.1.1_131.4.0_11.4.0_3
FreeBSD:14:quarterly1.4.0_31.4.0_3n/a1.4.0_11.4.0_3
FreeBSD:15:latest1.4.0_31.4.0_3n/a1.4.0_11.4.0_1
FreeBSD:15:quarterly1.4.0_31.4.0_3n/an/an/a
FreeBSD:16:latest1.4.0_31.4.0_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

All build dependencies 86
All run dependencies 82

Configuration

Options name: graphics_sane-backends

OptionDefaultDescription
AVAHIonZeroconf support via Avahi
DOCSoffBuild and/or install documentation
GPHOTOonDigital cameras support via libgphoto2
IEEE1284offParallel port support via libieee1284 (for i386 only)
IPV6offIPv6 protocol support
NLSoffNative Language Support
SNMPoffSNMP network protocol support
USBonUSB support
V4LoffVideo 4 Linux support
USES
compiler:c++11-lang gmake gnome jpeg libtool localbase:ldflags pathfix pkgconfig python:build
Service scripts
saned

Message after installing

saned will log to the 'daemon' facility; this is a hard-coded
default. Also, saned has no support for SSL/TLS or cryptographic
authentication; you may wish to deploy security/stunnel to wrap
it if you have concerns about security.

If you are using a USB scanner, you should create
/usr/local/etc/devd/saned.conf to allow saned access permissions.
Currently, devfs.rules(5) has no support for USB specific filters
such as vendor, product and serial number.

Here is an example saned.conf for an Epson CX3650
multi-function scanner/printer device (assuming you are sharing
the printer function with cups):

notify 100 {
	match "system" "USB";
	match "subsystem" "INTERFACE";
	match "type" "ATTACH";
	match "cdev" "ugen[0-9].[0-9]";
	match "vendor" "0x04b8";
	match "product" "0x080e";
	action "chown -L cups:saned /dev/$cdev && chmod -L 660 /dev/$cdev";
};

To determine which port your scanner is connected to, inspect the
output of 'usbconfig list' before and after connecting your scanner,
and note the numbers which appear after 'ugen' in the first column.
Then, use 'usbconfig -d X.Y dump_device_desc' to learn the idVendor
and idProduct fields, and plug them into the above example entry.

Finally, restart devd with the command:
 # /etc/rc.d/devd restart

Please take /usr/local/etc/sane.d/dll.conf
as an example only; you may wish to enable only the 'net' backend
on client machines; be sure to point it at your scan server.

If you are setting up a scan server, you may also wish to edit
/usr/local/etc/sane.d/saned.conf
to only permit specific machines.

Files

Manual pages 98
  • gamma4scanimage(1)
  • sane(7)
  • sane-abaton(5)
  • sane-agfafocus(5)
  • sane-apple(5)
  • sane-artec(5)
  • sane-artec_eplus48u(5)
  • sane-as6e(5)
  • sane-avision(5)
  • sane-bh(5)
  • sane-canon(5)
  • sane-canon630u(5)
  • sane-canon_dr(5)
  • sane-canon_lide70(5)
  • sane-canon_pp(5)
  • sane-cardscan(5)
  • sane-config(1)
  • sane-coolscan(5)
  • sane-coolscan2(5)
  • sane-coolscan3(5)
  • sane-dc210(5)
  • sane-dc240(5)
  • sane-dc25(5)
  • sane-dll(5)
  • sane-dmc(5)
  • sane-epjitsu(5)
  • sane-epson(5)
  • sane-epson2(5)
  • sane-epsonds(5)
  • sane-escl(5)
  • sane-find-scanner(1)
  • sane-fujitsu(5)
  • sane-genesys(5)
  • sane-gphoto2(5)
  • sane-gt68xx(5)
  • sane-hp(5)
  • sane-hp3500(5)
  • sane-hp3900(5)
  • sane-hp4200(5)
  • sane-hp5400(5)
  • sane-hp5590(5)
  • sane-hpljm1005(5)
  • sane-hpsj5s(5)
  • sane-hs2p(5)
  • sane-ibm(5)
  • sane-kodak(5)
  • sane-kodakaio(5)
  • sane-kvs1025(5)
  • sane-kvs20xx(5)
  • sane-kvs40xx(5)
  • sane-leo(5)
  • sane-lexmark(5)
  • sane-lexmark_x2600(5)
  • sane-ma1509(5)
  • sane-magicolor(5)
  • sane-matsushita(5)
  • sane-microtek(5)
  • sane-microtek2(5)
  • sane-mustek(5)
  • sane-mustek_pp(5)
  • sane-mustek_usb(5)
  • sane-mustek_usb2(5)
  • sane-nec(5)
  • sane-net(5)
  • sane-niash(5)
  • sane-p5(5)
  • sane-pie(5)
  • sane-pieusb(5)
  • sane-pixma(5)
  • sane-plustek(5)
  • sane-plustek_pp(5)
  • sane-ricoh(5)
  • sane-ricoh2(5)
  • sane-rts8891(5)
  • sane-s9036(5)
  • sane-sceptre(5)
  • sane-scsi(5)
  • sane-sharp(5)
  • sane-sm3600(5)
  • sane-sm3840(5)
  • sane-snapscan(5)
  • sane-sp15c(5)
  • sane-st400(5)
  • sane-stv680(5)
  • sane-tamarack(5)
  • sane-teco1(5)
  • sane-teco2(5)
  • sane-teco3(5)
  • sane-test(5)
  • sane-u12(5)
  • sane-umax(5)
  • sane-umax1220u(5)
  • sane-umax_pp(5)
  • sane-usb(5)
  • sane-v4l(5)
  • sane-xerox_mfp(5)
  • saned(8)
  • scanimage(1)
pkg-plist 606
  • bin/gamma4scanimage
  • bin/sane-config
  • bin/sane-find-scanner
  • bin/scanimage
  • bin/umax_pp
  • @sample etc/sane.d/dist/abaton.conf etc/sane.d/abaton.conf
  • @sample etc/sane.d/dist/agfafocus.conf etc/sane.d/agfafocus.conf
  • @sample etc/sane.d/dist/apple.conf etc/sane.d/apple.conf
  • @sample etc/sane.d/dist/artec.conf etc/sane.d/artec.conf
  • @sample etc/sane.d/dist/artec_eplus48u.conf etc/sane.d/artec_eplus48u.conf
  • @sample etc/sane.d/dist/avision.conf etc/sane.d/avision.conf
  • @sample etc/sane.d/dist/bh.conf etc/sane.d/bh.conf
  • @sample etc/sane.d/dist/canon.conf etc/sane.d/canon.conf
  • @sample etc/sane.d/dist/canon630u.conf etc/sane.d/canon630u.conf
  • @sample etc/sane.d/dist/canon_dr.conf etc/sane.d/canon_dr.conf
  • @sample etc/sane.d/dist/canon_lide70.conf etc/sane.d/canon_lide70.conf
  • @sample etc/sane.d/dist/canon_pp.conf etc/sane.d/canon_pp.conf
  • @sample etc/sane.d/dist/cardscan.conf etc/sane.d/cardscan.conf
  • @sample etc/sane.d/dist/coolscan.conf etc/sane.d/coolscan.conf
  • @sample etc/sane.d/dist/coolscan2.conf etc/sane.d/coolscan2.conf
  • @sample etc/sane.d/dist/coolscan3.conf etc/sane.d/coolscan3.conf
  • @sample etc/sane.d/dist/dc210.conf etc/sane.d/dc210.conf
  • @sample etc/sane.d/dist/dc240.conf etc/sane.d/dc240.conf
  • @sample etc/sane.d/dist/dc25.conf etc/sane.d/dc25.conf
  • @sample etc/sane.d/dist/dell1600n_net.conf etc/sane.d/dell1600n_net.conf
  • @sample etc/sane.d/dist/dll.conf etc/sane.d/dll.conf
  • @sample etc/sane.d/dist/dmc.conf etc/sane.d/dmc.conf
  • @sample etc/sane.d/dist/epjitsu.conf etc/sane.d/epjitsu.conf
  • @sample etc/sane.d/dist/epson.conf etc/sane.d/epson.conf
  • @sample etc/sane.d/dist/epson2.conf etc/sane.d/epson2.conf
  • @sample etc/sane.d/dist/epsonds.conf etc/sane.d/epsonds.conf
  • @sample etc/sane.d/dist/escl.conf etc/sane.d/escl.conf
  • @sample etc/sane.d/dist/fujitsu.conf etc/sane.d/fujitsu.conf
  • @sample etc/sane.d/dist/genesys.conf etc/sane.d/genesys.conf
  • @sample etc/sane.d/dist/gphoto2.conf etc/sane.d/gphoto2.conf
  • @sample etc/sane.d/dist/gt68xx.conf etc/sane.d/gt68xx.conf
  • @sample etc/sane.d/dist/hp.conf etc/sane.d/hp.conf
  • @sample etc/sane.d/dist/hp3900.conf etc/sane.d/hp3900.conf
  • @sample etc/sane.d/dist/hp4200.conf etc/sane.d/hp4200.conf
  • @sample etc/sane.d/dist/hp5400.conf etc/sane.d/hp5400.conf
  • @sample etc/sane.d/dist/hpsj5s.conf etc/sane.d/hpsj5s.conf
  • @sample etc/sane.d/dist/hs2p.conf etc/sane.d/hs2p.conf
  • @sample etc/sane.d/dist/ibm.conf etc/sane.d/ibm.conf
  • @sample etc/sane.d/dist/kodak.conf etc/sane.d/kodak.conf
  • @sample etc/sane.d/dist/kodakaio.conf etc/sane.d/kodakaio.conf
  • @sample etc/sane.d/dist/kvs1025.conf etc/sane.d/kvs1025.conf
  • @sample etc/sane.d/dist/leo.conf etc/sane.d/leo.conf
  • @sample etc/sane.d/dist/lexmark.conf etc/sane.d/lexmark.conf
  • @sample etc/sane.d/dist/lexmark_x2600.conf etc/sane.d/lexmark_x2600.conf
  • @sample etc/sane.d/dist/ma1509.conf etc/sane.d/ma1509.conf
  • @sample etc/sane.d/dist/magicolor.conf etc/sane.d/magicolor.conf
  • @sample etc/sane.d/dist/matsushita.conf etc/sane.d/matsushita.conf
  • @sample etc/sane.d/dist/microtek.conf etc/sane.d/microtek.conf
  • @sample etc/sane.d/dist/microtek2.conf etc/sane.d/microtek2.conf
  • @sample etc/sane.d/dist/mustek.conf etc/sane.d/mustek.conf
  • @sample etc/sane.d/dist/mustek_pp.conf etc/sane.d/mustek_pp.conf
  • @sample etc/sane.d/dist/mustek_usb.conf etc/sane.d/mustek_usb.conf
  • @sample etc/sane.d/dist/nec.conf etc/sane.d/nec.conf
  • @sample etc/sane.d/dist/net.conf etc/sane.d/net.conf
  • @sample etc/sane.d/dist/p5.conf etc/sane.d/p5.conf
  • @sample etc/sane.d/dist/pie.conf etc/sane.d/pie.conf
  • @sample etc/sane.d/dist/pieusb.conf etc/sane.d/pieusb.conf
  • @sample etc/sane.d/dist/pixma.conf etc/sane.d/pixma.conf
  • @sample etc/sane.d/dist/plustek.conf etc/sane.d/plustek.conf
  • @sample etc/sane.d/dist/plustek_pp.conf etc/sane.d/plustek_pp.conf
  • @sample etc/sane.d/dist/ricoh.conf etc/sane.d/ricoh.conf
  • @sample etc/sane.d/dist/rts8891.conf etc/sane.d/rts8891.conf
  • @sample etc/sane.d/dist/s9036.conf etc/sane.d/s9036.conf
  • @sample etc/sane.d/dist/saned.conf etc/sane.d/saned.conf
  • @sample etc/sane.d/dist/sceptre.conf etc/sane.d/sceptre.conf
  • @sample etc/sane.d/dist/sharp.conf etc/sane.d/sharp.conf
  • @sample etc/sane.d/dist/sm3840.conf etc/sane.d/sm3840.conf
  • @sample etc/sane.d/dist/snapscan.conf etc/sane.d/snapscan.conf
  • @sample etc/sane.d/dist/sp15c.conf etc/sane.d/sp15c.conf
  • @sample etc/sane.d/dist/st400.conf etc/sane.d/st400.conf
  • @sample etc/sane.d/dist/stv680.conf etc/sane.d/stv680.conf
  • @sample etc/sane.d/dist/tamarack.conf etc/sane.d/tamarack.conf
  • @sample etc/sane.d/dist/teco1.conf etc/sane.d/teco1.conf
  • @sample etc/sane.d/dist/teco2.conf etc/sane.d/teco2.conf
  • @sample etc/sane.d/dist/teco3.conf etc/sane.d/teco3.conf
  • @sample etc/sane.d/dist/test.conf etc/sane.d/test.conf
  • @sample etc/sane.d/dist/u12.conf etc/sane.d/u12.conf
  • @sample etc/sane.d/dist/umax.conf etc/sane.d/umax.conf
  • @sample etc/sane.d/dist/umax1220u.conf etc/sane.d/umax1220u.conf
  • @sample etc/sane.d/dist/umax_pp.conf etc/sane.d/umax_pp.conf
  • @sample etc/sane.d/dist/v4l.conf etc/sane.d/v4l.conf
  • @sample etc/sane.d/dist/xerox_mfp.conf etc/sane.d/xerox_mfp.conf
  • include/sane/sane.h
  • include/sane/saneopts.h
  • lib/libsane.so
  • lib/libsane.so.1
  • lib/libsane.so.
  • lib/sane/libsane-abaton.so
  • lib/sane/libsane-abaton.so.1
  • lib/sane/libsane-abaton.so.
  • lib/sane/libsane-agfafocus.so
  • lib/sane/libsane-agfafocus.so.1
  • lib/sane/libsane-agfafocus.so.
  • lib/sane/libsane-apple.so
  • lib/sane/libsane-apple.so.1

The first 100 are listed.

distinfo 1
FileSizeSHA256
sane-backends-1.4.0.tar.gz7.505056e+06f99205c903dfe2fb8990f0c531232c9a00ec9c2c66ac7cb0ce50b4af9f407a72
Master sites 1
  • https://gitlab.com/-/project/429008/uploads/843c156420e211859e974f78f64c3ea3/

Commit history 0

No commits in the history this site was built from.