Created attachment 201463 [details] patch that places the extension directory under libexec instead of lib Hi, I am currently working on a port for the pass-audit extension. This is why I noticed, that the pass shell script is looking for its extensions in $PREFIX/lib/password-store/extensions. As extensions are executables I think that $PREFIX/libexec/password-store/extensions might be the better place. What do you think? Please find attached the according patch. I have a working port for pass-audit and just need to know where to place the executable. So I figured it would be good idea to ask the maintainer. Best regards, Tobias
Thinking about this I noticed that this port uses other files that are already placed in libexec. I guess it would be best to relocate them to libexec/password-store too. I will provide a corresponding patch tomorrow.
Created attachment 201514 [details] patch that places executables in dedicated libexec subdirectory Find attached a patch that moves all executables in libexec into a dedicated subdirectory. While here create the extensions directory, enabling extension ports to use it.
One last update from my side: poudriere testport succeeded without any problems.
Yes, libexec would be a better place than lib, because according to hier(7) lib is for libraries and libexec is for helper executables.
Committed, thanks for the idea.
A commit references this bug: Author: rene Date: Wed Jan 30 19:47:49 UTC 2019 New revision: 491655 URL: https://svnweb.freebsd.org/changeset/ports/491655 Log: sysutils/password-store: install extensions into libexec instead of lib This is more in line with hier(7) PR: 235255 Submitted by: tobias.rehbein@web.de Changes: head/sysutils/password-store/Makefile head/sysutils/password-store/files/pass.in head/sysutils/password-store/pkg-plist