First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 109600
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: step <step@step.ee>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
opensc-0.11.0-r1.ebuild.diff opensc-0.11.0-r1.ebuild.diff patch Alon Bar-Lev (RETIRED) 2006-09-12 10:53 0000 1.28 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109600 depends on: Show dependency tree
Bug 109600 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-17 11:20 0000
opensc does not need openct, please remove the requirement from ebuild. 

openct will cause problems to pcsc-lite too. 




Reproducible: Always
Steps to Reproduce:
1. emerge opensc -p 

[ebuild  N    ] dev-libs/openct-0.5.0
[ebuild  N    ] dev-libs/opensc-0.9.6

------- Comment #1 From Daniel Black 2005-11-07 11:54:23 0000 -------
should openct be an optional dependency pulled in by a user flag? 
 
like this? 
RDEPEND=.... 
pcsc-lite? ( sys-apps/pcsc-lite ) 
!pcsc-lite? ( openct? ( >=dev-libs/openct-0.5.0 ) )" 
 

------- Comment #2 From Marcelo Goes 2005-12-10 14:46:46 0000 -------
step, any ideas with regard to comment #1?

------- Comment #3 From step 2005-12-11 00:24:33 0000 -------
if it lets you emerge only the opensc, then this is OK.

------- Comment #4 From Andreas Jellinghaus 2006-05-29 04:48:23 0000 -------
!pcsc-lite? ( openct? ( >=dev-libs/openct-0.5.0 ) )" 

is wrong I think, openct does not conflict pcsc-lite.

opensc is doing well with both openct and pcsc-lite installed.

------- Comment #5 From petre rodan (RETIRED) 2006-06-03 04:17:20 0000 -------
opensc provides a number of generic pkcs#11 utilities that could (in theory) be
useful to a lot of different smartcard/token implementations. these include,
but are not limited to openct, pcsc-lite, opencryptoki and maybe athena-scs
(pcsc-ase) or the aladdin sdk.

so I think the user should decide if opensc is to be merged with openct or
pcsc-lite support or simply merged as-is and only used to maintain an
opencryptoki/whatever token that provides a module that can be loaded by
pkcs11-tool.

------- Comment #6 From Alon Bar-Lev (RETIRED) 2006-09-12 10:53:07 0000 -------
Created an attachment (id=96810) [details]
opensc-0.11.0-r1.ebuild.diff

I agree.
I've added a new local use flag opensc so people can choose if they want such
dependency.
In order to be backward compatible opensc use flag may be set by default, but I
am not sure that it should. It is better that user will set the correct
underline drivers.

I've also removed much of the dependencies that were incorrect for the modular
opensc distribution. And introduce currect ones.

There is a problem with sparc and alpha dependency, since pcsc-lite is not on
~ARCH.

------- Comment #7 From Daniel Black 2006-09-19 14:10:17 0000 -------
(In reply to comment #6)
> Created an attachment (id=96810) [edit] [details]
> opensc-0.11.0-r1.ebuild.diff
> 
> I agree.
> I've added a new local use flag opensc so people can choose if they want such
> dependency.
> In order to be backward compatible opensc use flag may be set by default, but I
> am not sure that it should. It is better that user will set the correct
> underline drivers.

Good. Thanks for the patch. Is it possible to force the compile process towards
the underlying drivers rather than relying on dependencies?

> I've also removed much of the dependencies that were incorrect for the modular
> opensc distribution. And introduce currect ones.
> 
> There is a problem with sparc and alpha dependency, since pcsc-lite is not on
> ~ARCH.
> 
Can you create a testing bug for the sparc and alpha teams and make it block
this bug?

------- Comment #8 From Alon Bar-Lev (RETIRED) 2006-09-20 04:21:46 0000 -------
(In reply to comment #7)
> Good. Thanks for the patch. Is it possible to force the compile process towards
> the underlying drivers rather than relying on dependencies?

No.
The configure uses pkgconfig in order to do the detection.

> > There is a problem with sparc and alpha dependency, since pcsc-lite is not on
> > ~ARCH.
> > 
> Can you create a testing bug for the sparc and alpha teams and make it block
> this bug?

The problem is on current ebuilds too... So this is not new to this change.
Maybe first commit this fix?
We can mask out pcsc-lite USE for alpha and sparc, then ask them to check it
out.

------- Comment #9 From Daniel Black 2006-09-22 19:36:14 0000 -------
sounds good - done.

First Last Prev Next    No search results available      Search page      Enter new bug