aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/sane/APKBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/community/sane/APKBUILD b/community/sane/APKBUILD
index 8365190db3..98d6b2688c 100644
--- a/community/sane/APKBUILD
+++ b/community/sane/APKBUILD
@@ -3,14 +3,15 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=sane
_pkgname=sane-backends
-pkgver=1.0.29
+pkgver=1.0.31
pkgrel=0
pkgdesc="Scanner Access Now Easy - universal scanner interface"
url="http://www.sane-project.org/"
arch="all"
license="GPL-2.0-or-later GPL-2.0-or-later-with-sane-exception Public-Domain"
-makedepends="diffutils file libtool libusb-dev v4l-utils-dev net-snmp-dev avahi-dev libpng-dev
- libjpeg-turbo-dev tiff-dev libgphoto2-dev linux-headers libieee1284-dev"
+makedepends="diffutils file libtool libusb-dev v4l-utils-dev net-snmp-dev
+ avahi-dev libpng-dev libjpeg-turbo-dev tiff-dev libgphoto2-dev
+ linux-headers libieee1284-dev libxml2-dev"
install="$pkgname-saned.pre-install $pkgname.pre-install"
pkgusers="saned"
pkggroups="scanner"
@@ -28,10 +29,10 @@ _backends="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon
case "$CARCH" in
x86)
options="$options !check"
- _backends="$_backends qcam"
+ _backends="$_backends qcam canon_lide70"
;;
x86_64)
- _backends="$_backends qcam"
+ _backends="$_backends qcam canon_lide70"
;;
esac
@@ -41,16 +42,24 @@ for _backend in $_backends; do
done
subpackages="$pkgname-doc $pkgname-dev $subpackages $pkgname-utils $pkgname-saned
$pkgname-udev::noarch $_pkgname::noarch"
-source="https://gitlab.com/sane-project/backends/uploads/54f858b20a364fc35d820df935a86478/sane-backends-$pkgver.tar.gz
+source="https://gitlab.com/sane-project/backends/uploads/8bf1cae2e1803aefab9e5331550e5d5d/sane-backends-$pkgver.tar.gz
saned.initd
- endian.patch
include.patch
- network.patch
pidfile.patch
check.patch
"
builddir="$srcdir"/$_pkgname-$pkgver
+# secfixes:
+# 1.0.30-r0:
+# - CVE-2020-12861
+# - CVE-2020-12862
+# - CVE-2020-12863
+# - CVE-2020-12864
+# - CVE-2020-12865
+# - CVE-2020-12866
+# - CVE-2020-12867
+
build() {
./configure \
--prefix=/usr \
@@ -140,10 +149,8 @@ _backend() {
fi
}
-sha512sums="9ee431b0c048119719e15905f8743c7a0fd8bc6fcee81d75df8459a989cab7e39bf045518976713a7e1d94c816dd1a1e0fa190612d815c0ddb6a51d2abf3fd54 sane-backends-1.0.29.tar.gz
+sha512sums="5d49ca698af38a30a3d23349f2fe82a4a21262b014ca38407d5ea0b3fe7cec72860a39c8651c8a5e2f561a9a740008658a36ed6bd96324be84646dbcf1461bfb sane-backends-1.0.31.tar.gz
0a06eaa28b345202f2bdf8361e06f843bb7a010b7d8f80132f742672c94249c43f64031cefa161e415e2e2ab3a53b23070fb63854283f9e040f5ff79394ac7d1 saned.initd
-918267659267264d0bc6f8b949f507f5e6d13c9df642bcdce5848f4217c7844399e515c589f44aef5aabf8667fc1034360e9b71a959612b1d16698fe40a0c16b endian.patch
1779ff8beb1ba5f9238c25d819a7f0045f7e257c19b511315feb85650e445ca86450a9e1d7ff8650499d3dae808589a6c2e358d5f3f39a3f40ce4999179b86d6 include.patch
-9cb595841f59b5105ecc85e4c0ad8781c52caa2354fb823c920ec467e88afbe47f2b3f4a7a3980bef5dbf22983c5786f051a9d10aea97b4bf7c4a05378592029 network.patch
09505943f9441854a6c333f19e2535b4a646a8cc060fe82c6261e7d29c72773ebe98d43a91acc951f4336a3c8b4c84ab7c7b0763426136b4b59d9546bc2fa8c0 pidfile.patch
cfa327209efd9a2a2db7cbcf571852959823aaa19b43d5f6415834cd5ae38b6324ecae16779f6f896aa0d7ac890fe23244100b7d6a68e5e9d52cd38ec82bfac8 check.patch"