Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198688 - dev-libs/libp11-0.2.3 stable request
Summary: dev-libs/libp11-0.2.3 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2007-11-10 14:39 UTC by Alon Bar-Lev (RETIRED)
Modified: 2008-10-31 21:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2007-11-10 14:39:22 UTC
Hello,
Please mark stable.
Thanks!
Comment 1 nixnut (RETIRED) gentoo-dev 2007-11-10 16:09:33 UTC
ppc stable
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-11-10 21:06:29 UTC
amd64 done
Comment 3 Ferris McCormick (RETIRED) gentoo-dev 2007-11-10 22:02:23 UTC
How do you test this?  Examples are not helpful, no tests provided, and it can't load anything (for me) from sys-auth/pam_pkcs11,  engine_pkcs11, pkcs11-helper, itself, ... and gnupg-pkcs11-scd has no sparc keyword.  It builds and does not abort on the examples, but?  (home page is not helpful.)

By the way, 
pkg-config --libs libp11
-lp11
(correct)

polylepis examples # pkg-config --cflags libp11
 
polylepis examples #
(wrong! I hope.  It build with correct CFLAGS, but a user relying on what pkg-config reports will not be happy.)

No sparc for now --- not enough information to get a clue whether it works or not.
Comment 4 Dawid Węgliński (RETIRED) gentoo-dev 2007-11-11 04:28:30 UTC
x86 stable
Comment 5 Dawid Węgliński (RETIRED) gentoo-dev 2007-11-11 04:35:25 UTC
Ferris, you can check it using pam_p11 as it has libp11 in depend.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2007-11-11 05:46:03 UTC
Hello Ferris,

Most packages that put their files in default /usr/include returns empty string as --cflags.

You can use:
sys-auth/pam_p11
dev-libs/engine_pkcs11

To test this.
I think the engine_pkcs11 is the simplest one...
http://www.opensc-project.org/engine_pkcs11/wiki/QuickStart

Thanks!
Comment 7 Ferris McCormick (RETIRED) gentoo-dev 2007-11-11 15:09:03 UTC
(In reply to comment #6)
> Hello Ferris,
> 
> Most packages that put their files in default /usr/include returns empty string
> as --cflags.
> 
> You can use:
> sys-auth/pam_p11
> dev-libs/engine_pkcs11
> 
> To test this.
> I think the engine_pkcs11 is the simplest one...
> http://www.opensc-project.org/engine_pkcs11/wiki/QuickStart
> 
> Thanks!
> 

I'm very slow today, I guess,  Every example I can find wants me to use this module:  /usr/lib/opensc-pkcs11.so, but I have no file opensc-pkcs11.so anywhere at all on the system.  And nothing I try will do anything without that module or its equivalent someplace.  (libp11 itself has a few examples, all of which need that module, and the URL to opensc-project.org has examples assuming that module is lying around someplace.  But it isn't.)
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2007-11-12 05:15:03 UTC
Do you have any PKCS#11 provider on your system? The opensc-pkcs11.so is only a default.
If you use engine_pkcs11 you can use MODULE_PATH:/usr/lib/XXX to override.
If you use pam_p11 you can use auth       required   pam_p11_opensc.so /usr/lib/XXX to override.

The whole point of PKCS#11 is that it is as well-known interface that allows you to use different modules.
Comment 9 Ferris McCormick (RETIRED) gentoo-dev 2007-11-12 13:16:03 UTC
(In reply to comment #8)
> Do you have any PKCS#11 provider on your system? The opensc-pkcs11.so is only a
> default.
> If you use engine_pkcs11 you can use MODULE_PATH:/usr/lib/XXX to override.
> If you use pam_p11 you can use auth       required   pam_p11_opensc.so
> /usr/lib/XXX to override.
> 
> The whole point of PKCS#11 is that it is as well-known interface that allows
> you to use different modules.
> 

OK, I have:
  dev-libs/libp11-0.2.3
  dev-libs/engine_pkcs11-0.1.4
  pam_pkcs11-0.6.0
installed.

Now, none of these supplies anything that can be used as a module.  What does, and what would it be called?  So far, I can't test this at all.
  
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2007-11-12 17:36:15 UTC
I guess you don't have smartcard on your disposal... You cannot test this without smartcard... :)
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2007-11-13 17:46:19 UTC
this was stabilized on a lot of arches without it being tested, so ia64/sparc stable. Alpha doesn't have it stable
Comment 12 Markus Rothe (RETIRED) gentoo-dev 2007-11-13 18:22:56 UTC
ppc64 stable
Comment 13 Guy Martin (RETIRED) gentoo-dev 2008-10-31 21:52:22 UTC
hppa stable