115 Commits

Author SHA1 Message Date
ajacoutot
90877a9ad4 No need for _XOPEN_SOURCE_EXTENDED, just define _XOPEN_SOURCE properly. 2022-11-07 18:15:54 +00:00
ajacoutot
d3aaddb10c WANTLIB: pcre -> pcre2-8 after recent glib2 update. 2022-11-05 17:06:22 +00:00
ajacoutot
698d292d92 Fix up permissions for multi-function device or multi-user access to a
scanner.

reported by Robert Bagdan, thanks
2022-11-04 17:06:46 +00:00
ajacoutot
049b2f35bf Remove "daemon" class from @newuser. 2022-04-18 16:09:45 +00:00
naddy
af6a79943b drop RCS Ids 2022-03-11 19:22:04 +00:00
ajacoutot
5c3a3dd134 Update to sane-backends-1.1.1. 2022-01-21 07:09:33 +00:00
ajacoutot
320d3e3df2 net/avahi -> net/avahi,-libs for LDEP
Add explicity RDEP on net/avahi (the daemon part) because some packages
make no sense without it.
2021-09-03 11:48:53 +00:00
ajacoutot
082a3ea9da Set lockdir to /var/spool/lock/sane.
Fix a couple of build warning while here.

lockdir issue reported by Predrag Punosevac
2021-05-18 09:52:33 +00:00
ajacoutot
9cd680f87a Add an 'escl' FLAVOR:
build support for the eSCL protocol (vendor-neutral network protocol for
driverless scanning)
2021-04-25 06:54:52 +00:00
sthen
745105c362 automatically handle ports which use the python module and have flavours
other than the usual "python3/<blank>" python version selection and
remove setting MODPY_VERSION=${MODPY_DEFAULT_VERSION_3} again from the
affected ports.
2021-02-23 22:04:35 +00:00
sthen
761c9f34ff ports which use the python module and have flavours other than the
usual "python3/<blank>" python version selection still require setting
MODPY_VERSION for now.
2021-02-23 21:45:49 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
ajacoutot
271ac8f826 Update to sane-backends-1.0.32.
Add hidden python dep (py3).
2021-02-14 17:15:05 +00:00
mglocker
e36ca13aeb Add patch to fix timeout issue seen on some PIXMA scanners.
ok ajacoutot@
2021-01-25 19:28:00 +00:00
ajacoutot
dc6190da19 Fix HP 5370C flatbed resolution output.
Bug reported by Byron Campbell and fix from usptream.
2020-12-20 09:56:36 +00:00
ajacoutot
1045b917aa Add a bit more information regarding HP scanners.
from a discussion with landry@
2020-10-11 15:45:31 +00:00
ajacoutot
e99c633b65 Update to sane-backends-1.0.31. 2020-08-23 15:52:11 +00:00
stsp
c2d317b5d1 Fix segfault during 'scanimage -L' if e.g. a "pflog0" interface exists.
ok ajacoutot@
2020-08-04 12:59:41 +00:00
ajacoutot
fdc963bb49 SECURITY update to sane-backends-1.0.30.
CVE-2020-12867, CVE-2020-12862, CVE-2020-12863, CVE-2020-12865,
CVE-2020-12866, CVE-2020-12864
2020-05-17 15:30:11 +00:00
naddy
d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
cwen
5dd8ba4b6f sane-backends: fix the build on big endian archs
There was an undeclared variable issue (from upstream bug tracker)

OK aja@ (maintainer), jca@
2020-02-09 20:33:40 +00:00
ajacoutot
02774bf9ad Update to sane-backends-1.0.29. 2020-02-08 13:35:52 +00:00
ajacoutot
d2e8650e22 Rework README after the recen ugen(4) default permissions change.
Also sync the READMEs as close as possible.
2019-12-14 13:02:28 +00:00
ajacoutot
764b2ee604 Update to sane-backends-1.0.28. 2019-08-03 12:56:09 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
naddy
ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00
danj
4cb6cc61c4 Replace urls using alioth.debian.org
They replaced it with a gitlab hosted on salsa.debian.org and they
provide alioth-archive.debian.org for the source archives, but
they didn't move everything there.

ok sthen@
2019-01-06 14:50:49 +00:00
ajacoutot
47d0b019bb Fix USB ownership change example after usbdevs syntax change.
triggered by a mail from Marcus MERIGHI
2018-11-18 15:52:18 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
e4564c6b4d un-tedu graphics/sane-backends, removing sys/scanio.h caused one of the backends
not to be built, breaking packaging and knocking out about 15 ports.  ok aja
2017-06-01 07:42:48 +00:00
ajacoutot
7946c8a65e --without-api-spec in case we detect ghostscript, transig and/or texlive
which may break the port if dpb junks one of them.

reported by naddy@
2017-05-27 14:39:34 +00:00
ajacoutot
5ed6879e4a Update to sane-backends-1.0.27.
- now uses libusb1, so ping me if you see a regression
2017-05-23 13:00:46 +00:00
sthen
cc4b468c4f Make sure we pull in errno.h for all files in sane-backends that use
errno. This is a requirement on OpenBSD now that errno is stored in the
TIB; most uses have already been taken care of, but this slipped through
the cracks as it only provides a dlopen()'d module rather than object
code which is linked during build.  ok guenther@ ajacoutot@

Note to readers, if you see "undefined symbol 'errno'" messages when you
run or use programs on OpenBSD following this change (libc 87.0 etc.),
please report them, even if the program appears to otherwise run normally.
2016-05-18 20:02:27 +00:00
naddy
8c9ed2059f g/c PFRAG.shared 2016-04-04 22:57:45 +00:00
naddy
ce859edcb4 garbage collect CONFIGURE_SHARED 2016-03-11 20:28:21 +00:00
ajacoutot
81483bcbfb This picked up libv4l but did not build libsane-v4l.so; so fix that. 2016-01-09 09:52:03 +00:00
ajacoutot
dbc1988e27 Enable pthread to support kvs40xx amd mustek_usb2. 2015-12-21 08:39:59 +00:00
ajacoutot
c3ccf65c94 Move the `-a' flags from daemon_flags to daemon; it is always required to
run in standalone daemon mode.
2015-12-02 11:00:50 +00:00
ajacoutot
9b11ac57b6 Update to sane-backends-1.0.25. 2015-10-09 07:06:52 +00:00
ajacoutot
c703e5ebf9 Change some obvious sudo usage to '#' in READMEs. 2015-07-07 14:33:34 +00:00
sthen
794f9915f3 sync WANTLIB 2015-06-10 22:04:04 +00:00
ajacoutot
a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00
ajacoutot
aa988913b0 Bump after the recent changes in packaging dbus and dconf. 2015-04-04 09:20:59 +00:00
ajacoutot
a24658901f Remove unneeded chunk. 2014-07-11 16:59:35 +00:00
ajacoutot
497984ddf0 rc.conf.local is in man(1) section 8, at least for now. 2014-07-10 13:09:06 +00:00
ajacoutot
dda46ec637 Sync wantlib after kerberos removal from cups. 2014-04-21 12:23:22 +00:00
ajacoutot
e6814dc644 Update to sane-backends-1.0.24. 2013-10-01 08:59:10 +00:00
landry
5d310465f6 Mark as BROKEN-alpha:
hp5590.c: In function 'sane_hp5590_start':
hp5590.c:1141: error: unrecognizable insn:
(insn 2143 2142 2144 196 (set (reg:DI 929)
        (plus:DI (reg/f:DI 65 virtual-stack-vars)
            (const_int -131110 [0xfffffffffffdffda]))) -1 (nil)
    (nil))
hp5590.c:1141: internal compiler error: in extract_insn, at recog.c:2077

(yeah, right..)
2013-09-05 06:24:34 +00:00
ajacoutot
25b3041f91 Unbreak after hx509 and ntlm removal from Kerberos. 2013-06-20 06:54:36 +00:00