J'ai donc refait le fichier.
Installer les paquets opensc, pcsc-tools, ccid acsccid usbutils via
sudo pacman -S
il ne faut pas oublier d'activer le service via
sudo systemctl enable pcscd
Alors, pour la modif du PKGBUIL
git clone
https://aur.archlinux.org/eid-mw.git
voici la nouvelle version 5.0.27
git clone
https://gitlab.com/ddelvigne/eid-mw.git
sha512sum eid-mw-5.0.27-v5.0.27.tar.gz et remplacé la clé dans PKGBUILD
sha512sum eid-mw-5.0.27-v5.0.27.tar.gz.asc et remplacé la clé dans PKGBUILD
cd eid-mw
modifier le fichier PKGBUILD
compiller avec
makepkg -S
Installer avec
sudo pacman -U eid-mw-5.0.27-1-x86_64.pkg.tar.xz
et j'ai bien la dernière version du eid-viewer sur mon pc
Comment la mettre à disposition pour tout le monde ?
Là vraiment je calle.
voici le code du PKGBUILD modifié
# Maintainer: William Gathoye <william + aur at gathoye dot be>
# Contributor: Emil Vanherp <emil dot vanherp at hotmail dot com>
# Contributor: Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailU>
# Contributor: Xavier D. <magicrhesus at ouranos dot be>
# Contributor: Valere Monseur <valere dot monseur at ymail dot com>
# Contributor: Delvigne Dominic <tuxdata at protonmail dot com>
pkgname=eid-mw
pkgver=5.0.27
pkgrel=1
pkgdesc='The middleware, viewer and Firefox extension for the Belgian electroni>
arch=('i686' 'x86_64')
url='http://eid.belgium.be/'
license=('LGPL3')
depends=('gtk3' 'libproxy' 'curl')
optdepends=(
'firefox: Extension for Belgian eid'
'acsccid: ACS CCID smart card readers'
'ccid: A generic USB Chip/Smart Card Interface Devices driver (needed for B>
'pcsc-tools: PC/SC smartcard tools')
makedepends=('pcsclite')
conflicts=('eid-viewer')
replaces=('eid-viewer')
# confusing users who are not used to use .asc signature files. So while the
# binaries proposed on the following page
# https://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux
# are signed, the sources are not. It is asked to security-conscious users
# using the dist server instead.
#
# On Wed, Mar 29, 2017 at 11:08:34AM +0200, William Gathoye wrote:
# > On 03/29/2017 10:54 AM, Wouter Verhelst wrote:
# >> It is not meant for the security-conscious. If you want to be 100%
# >> certain, then https://dist.eid.belgium.be/continuous/sources/ is signed
# >> by a GPG key.
# >
# > Ok. I'm gonna switch to that channel again then (for Arch).
#
# Good, I was hoping you'd say that
#
# > But then why do you have specified on the eid.belgium.be page that the
# > binaries could be checked using the GPG key
# > B37D904098C3DEEE00F6D08A35743EA6773D225 as we cannot check it as the
# > .asc file is not present.?
# The precompiled binaries in the repositories that can be found on
# files.eid.belgium.be (and for which the "eid-archive" packages on that page a>
# configuration to supported distributions) *are* signed with that key. The
# sources aren't, for reasons as explained above.
#
# >> Yes, I know, I set that up (by request of the then-current arch
# >> maintainer, as it happens)
# >
# > Yes, indeed. wget is me. I'm AM the Arch Linux. Thanks for taking this up
#
# I know, but it was your predecessor ("Alad") who asked for that, and by
# whose request I set that up.
#
# [...]
source=(
"https://dist.eid.belgium.be/continuous/sources/${pkgname}-${pkgver}-v${pkg>
)
sha512sums=(
'1d560bab6cb202e14781a269e9116150a6420a1a21b19a02658a56a71772fdcec4a6ea06cc>
'c41c74620cbfec58c68c7076faa78a9187e5e113f4bf013d03ba79c5221b79ca4f6d869a05>
)
validpgpkeys=(
# Belgian eID Automatic Signing Key (continuous builds)
# If you trust it, you can import it with
# gpg --recv-keys B37D9040098C3DEEE00F6D08A35743EA6773D225
# OLD D95426E309C0492990D8E8E2824A5E0010A04D46
# Receiving GPG keys might fail with the following error message:
# gpg: keyserver receive failed: Connection refused
# If this happens, just check your DNS or use another one.
#B37D9040098C3DEEE00F6D08A35743EA6773D225
D95426E309C0492990D8E8E2824A5E0010A04D46
)
build() {
cd "${pkgname}-${pkgver}-v${pkgver}"
sed -i "s%c_rehash%openssl rehash%g" plugins_tools/eid-viewer/Makefile.in
./configure --prefix=/usr --libexecdir=/usr/bin
make
}
package() {
cd "${pkgname}-${pkgver}-v${pkgver}"
make install DESTDIR="${pkgdir}"
}