Package Details: autenticacao-gov-pt 3.12.0-2

Git Clone URL: https://aur.archlinux.org/autenticacao-gov-pt.git (read-only, click to copy)
Package Base: autenticacao-gov-pt
Description: Portuguese Citizen Card Application (Portugal eID)
Upstream URL: http://www.cartaodecidadao.pt/
Keywords: autenticacao cartao cartaodecidadao cidadao de gov portugal pt
Licenses: GPL2, LGPL3, custom:EUPL
Conflicts: cartaodecidadao, cartaodecidadao-bin, classpath
Replaces: cartaodecidadao
Submitter: r3pek
Maintainer: a36233
Last Packager: a36233
Votes: 20
Popularity: 0.076969
First Submitted: 2015-10-18 15:16 (UTC)
Last Updated: 2024-03-11 23:06 (UTC)

Dependencies (24)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

ruifm commented on 2021-09-27 16:13 (UTC) (edited on 2021-09-29 08:05 (UTC) by ruifm)

Fails since last change to PKGBUILD with:

g++ -c -pipe -fPIC -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -std=gnu++11 -fPIC -DPTEID_35 -DEIDMW_PREFIX=/usr/local -DEIDMW_CMN_EXPORT -DEIDMW_EIDLIB_EXPORTS -DEIDMW_JAVA_WRAPPER -I. -I. -I../applayer -I../dialogs -I../common -I../cardlayer -I../eidlib -I/usr/lib/jvm/java-11-openjdk-amd64/include -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux -I/usr/include/PCSC -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux -I/usr/lib/qt/mkspecs/linux-g++ -o eidlibJava_Wrapper.o GeneratedFiles/eidlibJava_Wrapper.cpp
GeneratedFiles/eidlibJava_Wrapper.cpp:178:10: fatal error: jni.h: No such file or directory
  178 | #include <jni.h>
      |          ^~~~~~~
compilation terminated.
make[1]: *** [Makefile:874: eidlibJava_Wrapper.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/makepkg/autenticacao-gov-pt/src/autenticacao.gov/pteid-mw-pt/_src/eidmw/eidlibJava_Wrapper'
make: *** [Makefile:401: sub-eidlibJava_Wrapper-make_first-ordered] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'autenticacao-gov-pt-3.6.1-1':

degovial commented on 2021-09-25 03:24 (UTC)

@a36233 thank you, it is working now.

a36233 commented on 2021-09-24 19:09 (UTC) (edited on 2021-09-24 19:10 (UTC) by a36233)

@joserebelo thanks for the heads up, i'll test it and if works I'll merge the changes. @degovial that's a known issue, Chave móvel digital module has to be generated with validated key/certificate... Only solution for now is to use pre built binary version present on the https://aur.archlinux.org/packages/autenticacao-gov-pt-bin/ package.

degovial commented on 2021-09-24 18:44 (UTC) (edited on 2021-09-24 18:45 (UTC) by degovial)

On Manjaro, the application does not allow PDF validation with Chave Móvel Digital. Is it an expected behaviour, or am I missing something?

I also installed the optional packages:

https://aur.archlinux.org/autenticacao-gov-pt-pki.git

https://aur.archlinux.org/plugin-autenticacao-gov-pt.git

https://aur.archlinux.org/ecce-gov-pt-certificates.git

joserebelo commented on 2021-07-15 17:55 (UTC) (edited on 2021-07-15 17:58 (UTC) by joserebelo)

@a36233 can we consider dropping the sudo calls in prepare()? They don't seem to be needed anymore:

  • I managed to build/run it on java 16
  • The includes for openjpeg do not seem to be needed
  • The includes for jni can be replaced with the following:
cat >> ${srcdir}/${_pkgname}/pteid-mw-pt/_src/eidmw/eidlibJava_Wrapper/eidlibJava_Wrapper.pro <<EOF
INCLUDEPATH += /usr/lib/jvm/default/include
INCLUDEPATH += /usr/lib/jvm/default/include/linux
EOF

nunonun commented on 2021-02-04 19:32 (UTC)

Thanks, @36233. Compiling with 'makepkg -s -c -f' solves the problem. For those who need, after compiling, just install with 'sudo pacman -U ./autenticacao-gov-pt-3.4.0-1-x86_64.pkg.tar.zst' or right-click the file and select "Open with Software Install".

a36233 commented on 2021-02-04 18:39 (UTC)

@nunonun that's your own (or local) gpg key. if you want to validate it with pacman you need to locally sign it. Otherwise you can just delete the signature and install without validation of the signature, since it was you that generated the file.

PS: to locally sign your key use the -lsign. More info at: https://wiki.archlinux.org/index.php/Pacman/Package_signing

nunonun commented on 2021-02-04 18:33 (UTC) (edited on 2021-02-04 18:34 (UTC) by nunonun)

@36233 I followed your instructions('makepkg --sign -s -c -f' inside the cloned folder) and successfully compiled the package. However, I cannot manage to install it. I tried

$ sudo pacman -U ./autenticacao-gov-pt-3.4.0-1-x86_64.pkg.tar.zst

but after accepting

:: Import PGP key 24780F1B47B32D52, "Unknown Packager"? [Y/n]

I get the following error messages:

error: key "24780F1B47B32D52" could not be looked up remotely error: required key missing from keyring error: './autenticacao-gov-pt-3.4.0-1-x86_64.pkg.tar.zst': unexpected error

I reloaded the signature keys with

$ sudo pacman -Syy && sudo pacman-key --refresh-keys && sudo pacman-key --populate archlinux manjaro

and tried to install the autenticacao-gov-pt pkg.tar.zst package again, but with no avail. Any hint on how can I solve this issue?

a36233 commented on 2021-01-15 17:53 (UTC)

@cbsousa it is working. Just compile it the Arch way (makepkg --sign -s -c -f) at command line.

cbsousa commented on 2021-01-14 19:38 (UTC)

Boa tarde, Alguém já conseguiu instalar? A mim dá este erro:

A clonar em 'autenticacao.gov'... concluído. Mudou para o novo ramo 'makepkg' ==> A iniciar prepare()... sudo: é necessário um terminal para ler a senha; use a opção -S para ler da entrada padrão ou configure um ajudante de pedido de senha (askpass) sudo: é necessária uma senha ==> ERRO: Uma falha ocorreu em prepare(). A cancelar...