Package Details: iscan-plugin-network 1.1.2-15

Git Clone URL: https://aur.archlinux.org/iscan-plugin-network.git (read-only, click to copy)
Package Base: iscan-plugin-network
Description: Plugin for using Epson scanners with ISCAN over network
Upstream URL: http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
Keywords: Epson network scanner
Licenses: custom:COPYING.EPSON
Submitter: None
Maintainer: alexdw
Last Packager: alexdw
Votes: 69
Popularity: 0.39
First Submitted: 2010-01-22 08:56
Last Updated: 2020-08-23 23:19

Latest Comments

1 2 3 4 5 Next › Last »

alexdw commented on 2020-08-23 23:23

@jonathon: Thanks! I've applied your patch. Let me know if you would like to take over as (Co-)Maintainer of this package - as mentioned previously I no longer have a compatible device so beyond verifying the checksums and making sure this installs I can't really test that this works any more.

jonathon commented on 2020-08-21 10:38

Here's a git diff which should help streamline a little, e.g. use the built-in handling for multiple architectures.

diff --git a/.SRCINFO b/.SRCINFO
index b2a65b7..d4bf740 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,10 +7,11 @@ pkgbase = iscan-plugin-network
    arch = i686
    arch = x86_64
    license = custom:COPYING.EPSON
-   makedepends = gzip
    depends = iscan
-   source = iscan-bundle.deb.tar.gz::https://download2.ebz.epson.net/iscan/general/deb/x64/iscan-bundle-2.30.4.x64.deb.tar.gz
-   sha512sums = 6d967f5d2d554478df49c784d0ee785a9e1fc4f4b6ea4dc320270a50eca35cc3d533b918a1bda33cf3b0e9b783380e7828b77543730079b2e2f40ad9578db79d
+   source_i686 = https://download2.ebz.epson.net/iscan/general/deb/x86/iscan-bundle-2.30.4.x86.deb.tar.gz
+   b2sums_i686 = 4ed4c5e833fa3d8f7c587a2fa646d2931e041b50b4eb15ba76f62e7970306a62736e11495b7995923e29e5c6f9c5ff49c333918f0131c4d9f9a19b01b7832f82
+   source_x86_64 = https://download2.ebz.epson.net/iscan/general/deb/x64/iscan-bundle-2.30.4.x64.deb.tar.gz
+   b2sums_x86_64 = 424a43597b9f367315ff9904d72b0be2b929e249ff94ed343a918a65b14a3e47e93910dae73711c5ad302bd4af74d858bf2ff930ddc7c157e9c61eb2c5639155

 pkgname = iscan-plugin-network

diff --git a/PKGBUILD b/PKGBUILD
index f7e34d8..6dce0ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,31 +16,19 @@ arch=('i686' 'x86_64')
 url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
 license=('custom:COPYING.EPSON')
 depends=(iscan)
-makedepends=(gzip)
 install=iscan-plugin-network.install
-if [[ ${CARCH} = 'x86_64' ]]; then
-    _pkgdlarch='x64'
-    _pkgarch='amd64'
-    sha512sums=('6d967f5d2d554478df49c784d0ee785a9e1fc4f4b6ea4dc320270a50eca35cc3d533b918a1bda33cf3b0e9b783380e7828b77543730079b2e2f40ad9578db79d')
-    source=("iscan-bundle.deb.tar.gz::https://download2.ebz.epson.net/iscan/general/deb/${_pkgdlarch}/${_pkgdlname}-${_pkgdlver}.${_pkgdlarch}.deb.tar.gz")
-else
-    _pkgdlarch='x86'
-    _pkgarch='i386'
-    sha512sums=('6d967f5d2d554478df49c784d0ee785a9e1fc4f4b6ea4dc320270a50eca35cc3d533b918a1bda33cf3b0e9b783380e7828b77543730079b2e2f40ad9578db79d')
-    source=("iscan-bundle.deb.tar.gz::https://download2.ebz.epson.net/iscan/general/deb/${_pkgdlarch}/${_pkgdlname}-${_pkgdlver}.${_pkgdlarch}.deb.tar.gz")
-fi
+source_x86_64=("https://download2.ebz.epson.net/iscan/general/deb/x64/${_pkgdlname}-${_pkgdlver}.x64.deb.tar.gz")
+source_i686=("https://download2.ebz.epson.net/iscan/general/deb/x86/${_pkgdlname}-${_pkgdlver}.x86.deb.tar.gz")
+b2sums_i686=('4ed4c5e833fa3d8f7c587a2fa646d2931e041b50b4eb15ba76f62e7970306a62736e11495b7995923e29e5c6f9c5ff49c333918f0131c4d9f9a19b01b7832f82')
+b2sums_x86_64=('424a43597b9f367315ff9904d72b0be2b929e249ff94ed343a918a65b14a3e47e93910dae73711c5ad302bd4af74d858bf2ff930ddc7c157e9c61eb2c5639155')

-build() {
-cd $srcdir
-cd ${_pkgdlname}-${_pkgdlver}.${_pkgdlarch}.deb/plugins
-bsdtar -xf ${_pkgintname}_${_pkgver}_${_pkgarch}.deb
-bsdtar -xf data.tar.gz
-cp -R usr $srcdir
+prepare() {
+  bsdtar -xf ${_pkgdlname}-${_pkgdlver}.*.deb/plugins/${_pkgintname}_${_pkgver}_*.deb
+  bsdtar -xf data.tar.gz
+  gunzip usr/share/doc/${_pkgintname}/COPYING.EPSON.en.txt.gz
 }

 package() {
-cd $srcdir
-cp -R usr $pkgdir
-gunzip usr/share/doc/${_pkgintname}/COPYING.EPSON.en.txt.gz
-install -Dm644 usr/share/doc/${_pkgintname}/COPYING.EPSON.en.txt $pkgdir/usr/share/licenses/${pkgname}/COPYING.EPSON
-} 
+  cp -R usr "$pkgdir"
+  install -Dm644 usr/share/doc/${_pkgintname}/COPYING.EPSON.en.txt "$pkgdir"/usr/share/licenses/${pkgname}/COPYING.EPSON
+}

alexdw commented on 2020-07-29 23:08

@benka: Sure, thanks. I can have a look at updating the hashes over the weekend. @IEPforAUR: Ah right - yes, this package is only required for network scanning for (some, mostly older) Epson scanners/all-in-ones.

IEPforAUR commented on 2020-07-29 21:04

Basically I thought I needed this package to get xsane/skanlite/etc to work again, but it turns out I just needed to join the 'scanner' group (was already in lp)...I don't actually know how to set up network scanning...

benka commented on 2020-07-29 19:26

@alexdw Basically I am using an Epson scanner (over the network), but without this package. I am not to deep into the details of scanners in linux, but mine seems to work out of the box in arch linux. During analysis of another problem I came across this package. I could update the hashes inside PKGBUILD without deeper testing. But I am not sure whether I am able to care about bigger problems with the package ...

alexdw commented on 2020-07-28 23:42

@benka: Thanks for flagging. You are correct - the PKGBUILD hashes look wrong (in particular as they match for both x64 and x86, which is not expected as they are different files). Would you like to take over as Maintainer for this package? I no longer have a scanner that uses this so while I can update the PKBGUILD I can't properly test it any more.

@IEPforAUR: Is this what you meant by the keys failing validity checks? The hash didn't match? If so then please ignore my previous comment as it was probably coincidental/unrelated.

benka commented on 2020-07-28 18:17

Hi, I recently observed that the SHA512 hash inside the PKGBUILD does not match the hash of the downloaded file. If I download the file https://download2.ebz.epson.net/iscan/general/deb/x64/iscan-bundle-2.30.4.x64.deb.tar.gz directly, the hash is 1439cc45b3ac21f34154d03421e3d2e9dba6a3367222920773f5153f3d12997773101ff891a327a3dba6d4d210ab3c448d184b395554f7fa0766bbb5d6084b9e. Maybe the file on the epson servers changed...

IEPforAUR commented on 2020-07-28 17:47

Ah...do I have to wait for Manjaro to do something about that? I don't know what to do with those keys...Do I copy them to a host file or something?

alexdw commented on 2020-07-28 05:43

@IEPforAUR: Are you getting the validity check issue with the keys for this package specifically? There was a general SSH HostKeys update for AUR: https://www.archlinux.org/news/aur-migration-new-ssh-hostkeys/

IEPforAUR commented on 2020-07-28 01:45

Is this package still safe? The keys all fail validity checks...