Package Details: latvia-eid-middleware 2.1.1-1

Git Clone URL: https://aur.archlinux.org/latvia-eid-middleware.git (read-only, click to copy)
Package Base: latvia-eid-middleware
Description: Middleware for using Latvia-eid smart cards
Upstream URL: https://www.pmlp.gov.lv
Keywords: eparaksts
Licenses: LGPL
Groups: eparaksts
Provides: eidlv-pintool
Submitter: kaaposc
Maintainer: kaaposc
Last Packager: kaaposc
Votes: 3
Popularity: 1.20
First Submitted: 2018-04-29 18:26 (UTC)
Last Updated: 2023-03-23 07:17 (UTC)

Latest Comments

kaaposc commented on 2022-05-30 11:26 (UTC)

Unbelievable. Why would they filter user agents? Thanks @rstarik, your solution works perfectly.

rstarik commented on 2022-05-30 11:03 (UTC)

There is an error when trying to execute makepkg:

==> Making package: latvia-eid-middleware 2.0.13-1 (Пн 30 мая 2022 13:04:17) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading latvia-eid-middleware-2.0.13-1.zip... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2) ==> ERROR: Failure while downloading https://www.pmlp.gov.lv/sites/pmlp/files/media_file/latvia-eid_2.0.13-1_ubuntu_0.zip Aborting...

It happens because www.pmlp.gov.lv has User-Agent filter, workaround for me in PKGBUILD:

DLAGENTS=('https::/usr/bin/curl -gqb "" -A "Mozilla" -fLC - --retry 3 --retry-delay 3 -o %o %u')

andreyv commented on 2021-03-21 11:59 (UTC)

The current .install file changes quite a lot of files. Maybe this can be moved to package()?

The dynamic linker cache is rebuilt automatically, see /usr/share/libalpm/hooks/30-systemd-update.hook and ldconfig.service.