Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Il 05/03/2018 12:10, Florian Weimer ha scritto: > On 03/05/2018 11:43 AM, Germano Massullo wrote: >> Il 05/03/2018 08:25, Florian Weimer ha scritto: >>> On 03/04/2018 03:02 PM, Germano Massullo wrote: This tag is wrong and for example on x86_64 CPU architecture systems, it must be

Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

2018-03-05 Thread Florian Weimer
On 03/05/2018 11:43 AM, Germano Massullo wrote: Il 05/03/2018 08:25, Florian Weimer ha scritto: On 03/04/2018 03:02 PM, Germano Massullo wrote: This tag is wrong and for example on x86_64 CPU architecture systems, it must be "path": "/usr/lib64/pkcs11/onepin-opensc-pkcs11.so" How could I

Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

2018-03-05 Thread Germano Massullo
Il 05/03/2018 08:25, Florian Weimer ha scritto: > On 03/04/2018 03:02 PM, Germano Massullo wrote: >> This tag is wrong and for example on x86_64 CPU architecture systems, it >> must be >> "path": "/usr/lib64/pkcs11/onepin-opensc-pkcs11.so" >> >> How could I patch this file without having to

Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

2018-03-04 Thread Florian Weimer
On 03/04/2018 03:02 PM, Germano Massullo wrote: This tag is wrong and for example on x86_64 CPU architecture systems, it must be "path": "/usr/lib64/pkcs11/onepin-opensc-pkcs11.so" How could I patch this file without having to hardcode the /usr/lib64 path? I'm not entirely sure what you mean,

Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

2018-03-04 Thread Germano Massullo
Il 04/03/2018 16:57, Rex Dieter ha scritto: > What's wrong with hard-coding? (e.g. so it to be something like > %{_libdir}/pkcs11/onepin-opensc-pkcs11.so > ) The path /usr/lib64/pkcs11/onepin-opensc-pkcs11.so on a 32bit system would be /usr/lib/pkcs11/onepin-opensc-pkcs11.so then something like

Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

2018-03-04 Thread Fabio Valentini
On Mar 4, 2018 16:59, "Rex Dieter" wrote: Germano Massullo wrote: > Package > https://src.fedoraproject.org/rpms/firefox-pkcs11-loader > (upstream) https://github.com/open-eid/firefox-pkcs11-loader > > contains file > https://github.com/open-eid/firefox-pkcs11-loader/blob/

Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

2018-03-04 Thread Rex Dieter
Germano Massullo wrote: > Package > https://src.fedoraproject.org/rpms/firefox-pkcs11-loader > (upstream) https://github.com/open-eid/firefox-pkcs11-loader > > contains file > https://github.com/open-eid/firefox-pkcs11-loader/blob/master/onepinopenscpkcs11.json > that has the tag > "path":