Package Details: autenticacao-gov-pt 3.13.0-4

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) source code based version
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: 19
Popularity: 0.000000
First Submitted: 2015-10-18 15:16 (UTC)
Last Updated: 2024-12-14 17:15 (UTC)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

cvalente commented on 2024-12-14 19:43 (UTC) (edited on 2024-12-14 20:31 (UTC) by cvalente)

There's a nice ini config file at ~/.config/pteid.conf that allows the user to change a lot of nice parameters, like where the certificates are installed and other low level things.

Just a heads up for someone wanting more granular control.

cvalente commented on 2024-12-14 19:37 (UTC) (edited on 2024-12-14 22:30 (UTC) by cvalente)

I've modified it for my own system.

I added two patches:

  • One to remove dependencies from JNI (this version breaks in my machine because I don't have it installed and it's actually a major pain). There is no need since we're not installing the JAVA bindings.
  • Another to normalize where files are installed. No more files under /usr/local and such

I tested everything but Address update.

PKGBUILD is much smaller since things now install in the correct locations by default and the JNI nonsense is gone.

Also it doesn't download from the git repo, but instead it downloads a tarball for the version, so you can remove the git makedep as well

The swig dependency also sounds bogus since we're not building bindings for python, PHP, node, etc.

If people really need those it should be separate packages.

The classpath conflict is now probably bogus as well, since no java is actually involved.

No more linking hard-coded libs in the filesystem (WTF!?)

Do with this as you wish.

cvalente commented on 2024-12-14 16:58 (UTC)

The real issue is/was that you were building against the head of git.

Suppose the upstream makes a new version. Pushes the commit and creates a new tag.

Congratulations, now you are installing a different version when the package states 3.13.0.

This is the major issue.

Plus, nothing guarantees the upstream doesn't start pushing code in between versions.

And tags have been used in this project since Dec 16, 2021. That's almost 3 years ago!

I see that at least you've fixed that.

Thank you.

fix-xml-security in the .install is also no longer needed.

This "seems" to work fine with version 3.0.0. Please remove it.

a36233 commented on 2024-12-14 11:59 (UTC)

@valente, building it from git doesn't mean that you'll have an instable version, this is a release branch and not full development branch. Also this package started when there was no release tags in place. If you want proper releases, pre-built ones, you can pick autenticacao-gov-pt-bin. But since now there is tags, it's time to proper handle them.

cvalente commented on 2024-12-14 04:29 (UTC)

Warning to all.

This builds from the current github head

That means that you will install a development/unstable version.

This is not OK since the package has an actual version 3.13.0.

This should be autenticacao-gov-pt-git.

Seriously. This is BAD and almost fooled me.

At the very least use '#tag=v3.13.0' in the source link.

As it stands this is very deceptive!

GPereira commented on 2024-07-06 09:45 (UTC)

cvalente can you provide the PKGBUILD file? your pastebin lins expired

danisantos commented on 2024-04-03 17:05 (UTC)

Compilation error. Needs cjson package as a dependency (and not as a build dependency, tested).

cvalente commented on 2024-01-10 01:54 (UTC) (edited on 2024-01-10 02:15 (UTC) by cvalente)

Duplicate fonts files:

fdupes -r /usr/share/fonts/pteid/ /usr/share/pteid-mw/fonts/
/usr/share/fonts/pteid/lato/Lato-Regular.ttf
/usr/share/pteid-mw/fonts/Lato-Regular.ttf

Also, the flatpak only has folder under

ls  ./share/pteid-mw/fonts/
Lato-Regular.ttf  MyriadPro-Bold.otf  MyriadPro-Regular.otf

cvalente commented on 2023-12-26 01:52 (UTC)

Outdated.

The current version is 3.11.0 but uses the old openssl version 1.1 and the development has been taking place in that branch.

There's no need for java just for the GUI application

There's also no longer any need for libxerces-c-3.1 The current version works.

There's also a zipfile for every version's source, so no need for git

I've patched the files to build the most current version, depending only on openssl-1.1 as far as specific versions go. This is not fixable as of now without seriously patching the source code.

No more java either. Whoever needs the java bindings can create their own package.

Tested everything but changing address and chave movel digital.

https://pastebin.com/AY0d947b

https://pastebin.com/2VUjfHMF

dllud commented on 2023-01-09 18:22 (UTC) (edited on 2023-01-09 18:22 (UTC) by dllud)

The current version is installing cmake files into /usr/lib/openjpeg-2.3/:

/usr/lib/openjpeg-2.3/OpenJPEGConfig.cmake
/usr/lib/openjpeg-2.3/OpenJPEGTargets-noconfig.cmake
/usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake

These appear to be unnecessary. What's more, they create issues when building anything that uses a CMake build system and depends on openjpeg2. Here's what happens:

CMake Error at /usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake:81 (message):
  The imported target "openjp2" references the file
     "/usr/lib/libopenjp2.so.2.3.1"
  but this file does not exist.

Arch's openjpeg2 is on version 2.5.

Please review all the files installed by your package. Maybe there are other unnecessary files in there.